@diplodoc/transform 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.diplodoc.md +38 -0
- package/CHANGELOG.md +404 -0
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/README.ru.md +36 -0
- package/dist/css/yfm.css +736 -0
- package/dist/css/yfm.css.map +7 -0
- package/dist/css/yfm.min.css +2 -0
- package/dist/css/yfm.min.css.map +7 -0
- package/dist/js/code.d.ts +1 -0
- package/dist/js/cut.d.ts +1 -0
- package/dist/js/index.d.ts +5 -0
- package/dist/js/polyfill.d.ts +1 -0
- package/dist/js/tabs.d.ts +1 -0
- package/dist/js/term/index.d.ts +1 -0
- package/dist/js/term/utils.d.ts +10 -0
- package/dist/js/utils.d.ts +2 -0
- package/dist/js/yfm.js +432 -0
- package/dist/js/yfm.js.map +7 -0
- package/dist/js/yfm.min.js +2 -0
- package/dist/js/yfm.min.js.map +7 -0
- package/lib/getObject.d.ts +2 -0
- package/lib/getObject.js +11 -0
- package/lib/getObject.js.map +1 -0
- package/lib/headings.d.ts +4 -0
- package/lib/headings.js +73 -0
- package/lib/headings.js.map +1 -0
- package/lib/highlight.d.ts +3 -0
- package/lib/highlight.js +29 -0
- package/lib/highlight.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +35 -0
- package/lib/index.js.map +1 -0
- package/lib/liquid/conditions.d.ts +4 -0
- package/lib/liquid/conditions.js +181 -0
- package/lib/liquid/conditions.js.map +1 -0
- package/lib/liquid/cycles.d.ts +4 -0
- package/lib/liquid/cycles.js +160 -0
- package/lib/liquid/cycles.js.map +1 -0
- package/lib/liquid/errors.d.ts +3 -0
- package/lib/liquid/errors.js +13 -0
- package/lib/liquid/errors.js.map +1 -0
- package/lib/liquid/evaluation.d.ts +3 -0
- package/lib/liquid/evaluation.js +138 -0
- package/lib/liquid/evaluation.js.map +1 -0
- package/lib/liquid/filters.d.ts +9 -0
- package/lib/liquid/filters.js +22 -0
- package/lib/liquid/filters.js.map +1 -0
- package/lib/liquid/index.d.ts +9 -0
- package/lib/liquid/index.js +87 -0
- package/lib/liquid/index.js.map +1 -0
- package/lib/liquid/lexical.d.ts +14 -0
- package/lib/liquid/lexical.js +79 -0
- package/lib/liquid/lexical.js.map +1 -0
- package/lib/liquid/services/argv.d.ts +15 -0
- package/lib/liquid/services/argv.js +17 -0
- package/lib/liquid/services/argv.js.map +1 -0
- package/lib/liquid/sourceMap.d.ts +24 -0
- package/lib/liquid/sourceMap.js +56 -0
- package/lib/liquid/sourceMap.js.map +1 -0
- package/lib/liquid/substitutions.d.ts +2 -0
- package/lib/liquid/substitutions.js +36 -0
- package/lib/liquid/substitutions.js.map +1 -0
- package/lib/liquid/utils.d.ts +8 -0
- package/lib/liquid/utils.js +24 -0
- package/lib/liquid/utils.js.map +1 -0
- package/lib/log.d.ts +18 -0
- package/lib/log.js +54 -0
- package/lib/log.js.map +1 -0
- package/lib/md.d.ts +14 -0
- package/lib/md.js +96 -0
- package/lib/md.js.map +1 -0
- package/lib/plugins/anchors/collect.d.ts +5 -0
- package/lib/plugins/anchors/collect.js +81 -0
- package/lib/plugins/anchors/collect.js.map +1 -0
- package/lib/plugins/anchors/constants.d.ts +2 -0
- package/lib/plugins/anchors/constants.js +6 -0
- package/lib/plugins/anchors/constants.js.map +1 -0
- package/lib/plugins/anchors/index.d.ts +7 -0
- package/lib/plugins/anchors/index.js +134 -0
- package/lib/plugins/anchors/index.js.map +1 -0
- package/lib/plugins/changelog/collect.d.ts +8 -0
- package/lib/plugins/changelog/collect.js +50 -0
- package/lib/plugins/changelog/collect.js.map +1 -0
- package/lib/plugins/changelog/index.d.ts +6 -0
- package/lib/plugins/changelog/index.js +131 -0
- package/lib/plugins/changelog/index.js.map +1 -0
- package/lib/plugins/changelog/types.d.ts +10 -0
- package/lib/plugins/changelog/types.js +3 -0
- package/lib/plugins/changelog/types.js.map +1 -0
- package/lib/plugins/checkbox/checkbox.d.ts +7 -0
- package/lib/plugins/checkbox/checkbox.js +91 -0
- package/lib/plugins/checkbox/checkbox.js.map +1 -0
- package/lib/plugins/checkbox/index.d.ts +8 -0
- package/lib/plugins/checkbox/index.js +12 -0
- package/lib/plugins/checkbox/index.js.map +1 -0
- package/lib/plugins/code.d.ts +3 -0
- package/lib/plugins/code.js +61 -0
- package/lib/plugins/code.js.map +1 -0
- package/lib/plugins/cut.d.ts +3 -0
- package/lib/plugins/cut.js +70 -0
- package/lib/plugins/cut.js.map +1 -0
- package/lib/plugins/deflist.d.ts +3 -0
- package/lib/plugins/deflist.js +8 -0
- package/lib/plugins/deflist.js.map +1 -0
- package/lib/plugins/file/const.d.ts +27 -0
- package/lib/plugins/file/const.js +47 -0
- package/lib/plugins/file/const.js.map +1 -0
- package/lib/plugins/file/file.d.ts +8 -0
- package/lib/plugins/file/file.js +63 -0
- package/lib/plugins/file/file.js.map +1 -0
- package/lib/plugins/file/index.d.ts +4 -0
- package/lib/plugins/file/index.js +9 -0
- package/lib/plugins/file/index.js.map +1 -0
- package/lib/plugins/images/collect.d.ts +8 -0
- package/lib/plugins/images/collect.js +43 -0
- package/lib/plugins/images/collect.js.map +1 -0
- package/lib/plugins/images/index.d.ts +10 -0
- package/lib/plugins/images/index.js +81 -0
- package/lib/plugins/images/index.js.map +1 -0
- package/lib/plugins/imsize/const.d.ts +7 -0
- package/lib/plugins/imsize/const.js +12 -0
- package/lib/plugins/imsize/const.js.map +1 -0
- package/lib/plugins/imsize/helpers.d.ts +6 -0
- package/lib/plugins/imsize/helpers.js +64 -0
- package/lib/plugins/imsize/helpers.js.map +1 -0
- package/lib/plugins/imsize/index.d.ts +8 -0
- package/lib/plugins/imsize/index.js +12 -0
- package/lib/plugins/imsize/index.js.map +1 -0
- package/lib/plugins/imsize/plugin.d.ts +3 -0
- package/lib/plugins/imsize/plugin.js +188 -0
- package/lib/plugins/imsize/plugin.js.map +1 -0
- package/lib/plugins/includes/collect.d.ts +8 -0
- package/lib/plugins/includes/collect.js +49 -0
- package/lib/plugins/includes/collect.js.map +1 -0
- package/lib/plugins/includes/index.d.ts +8 -0
- package/lib/plugins/includes/index.js +98 -0
- package/lib/plugins/includes/index.js.map +1 -0
- package/lib/plugins/links/collect.d.ts +7 -0
- package/lib/plugins/links/collect.js +74 -0
- package/lib/plugins/links/collect.js.map +1 -0
- package/lib/plugins/links/constants.d.ts +1 -0
- package/lib/plugins/links/constants.js +5 -0
- package/lib/plugins/links/constants.js.map +1 -0
- package/lib/plugins/links/index.d.ts +24 -0
- package/lib/plugins/links/index.js +178 -0
- package/lib/plugins/links/index.js.map +1 -0
- package/lib/plugins/meta.d.ts +3 -0
- package/lib/plugins/meta.js +8 -0
- package/lib/plugins/meta.js.map +1 -0
- package/lib/plugins/monospace.d.ts +3 -0
- package/lib/plugins/monospace.js +109 -0
- package/lib/plugins/monospace.js.map +1 -0
- package/lib/plugins/notes.d.ts +3 -0
- package/lib/plugins/notes.js +103 -0
- package/lib/plugins/notes.js.map +1 -0
- package/lib/plugins/sup.d.ts +3 -0
- package/lib/plugins/sup.js +8 -0
- package/lib/plugins/sup.js.map +1 -0
- package/lib/plugins/table/index.d.ts +3 -0
- package/lib/plugins/table/index.js +215 -0
- package/lib/plugins/table/index.js.map +1 -0
- package/lib/plugins/tabs.d.ts +4 -0
- package/lib/plugins/tabs.js +4 -0
- package/lib/plugins/tabs.js.map +1 -0
- package/lib/plugins/term/constants.d.ts +1 -0
- package/lib/plugins/term/constants.js +5 -0
- package/lib/plugins/term/constants.js.map +1 -0
- package/lib/plugins/term/index.d.ts +3 -0
- package/lib/plugins/term/index.js +108 -0
- package/lib/plugins/term/index.js.map +1 -0
- package/lib/plugins/term/termDefinitions.d.ts +4 -0
- package/lib/plugins/term/termDefinitions.js +125 -0
- package/lib/plugins/term/termDefinitions.js.map +1 -0
- package/lib/plugins/typings.d.ts +12 -0
- package/lib/plugins/typings.js +3 -0
- package/lib/plugins/typings.js.map +1 -0
- package/lib/plugins/utils.d.ts +6 -0
- package/lib/plugins/utils.js +30 -0
- package/lib/plugins/utils.js.map +1 -0
- package/lib/plugins/video/const.d.ts +10 -0
- package/lib/plugins/video/const.js +22 -0
- package/lib/plugins/video/const.js.map +1 -0
- package/lib/plugins/video/index.d.ts +8 -0
- package/lib/plugins/video/index.js +104 -0
- package/lib/plugins/video/index.js.map +1 -0
- package/lib/plugins/video/parsers.d.ts +6 -0
- package/lib/plugins/video/parsers.js +64 -0
- package/lib/plugins/video/parsers.js.map +1 -0
- package/lib/plugins/video/types.d.ts +34 -0
- package/lib/plugins/video/types.js +3 -0
- package/lib/plugins/video/types.js.map +1 -0
- package/lib/plugins/video/utils.d.ts +2 -0
- package/lib/plugins/video/utils.js +25 -0
- package/lib/plugins/video/utils.js.map +1 -0
- package/lib/plugins.d.ts +3 -0
- package/lib/plugins.js +36 -0
- package/lib/plugins.js.map +1 -0
- package/lib/sanitize.d.ts +12 -0
- package/lib/sanitize.js +572 -0
- package/lib/sanitize.js.map +1 -0
- package/lib/title.d.ts +7 -0
- package/lib/title.js +18 -0
- package/lib/title.js.map +1 -0
- package/lib/typings.d.ts +57 -0
- package/lib/typings.js +3 -0
- package/lib/typings.js.map +1 -0
- package/lib/utils.d.ts +13 -0
- package/lib/utils.js +79 -0
- package/lib/utils.js.map +1 -0
- package/lib/utilsFS.d.ts +27 -0
- package/lib/utilsFS.js +89 -0
- package/lib/utilsFS.js.map +1 -0
- package/lib/yfmlint/index.d.ts +26 -0
- package/lib/yfmlint/index.js +72 -0
- package/lib/yfmlint/index.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.d.ts +9 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.js +22 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.js +33 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.js +33 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.js +29 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.js +47 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.js.map +1 -0
- package/lib/yfmlint/typings.d.ts +12 -0
- package/lib/yfmlint/typings.js +3 -0
- package/lib/yfmlint/typings.js.map +1 -0
- package/lib/yfmlint/utils.d.ts +9 -0
- package/lib/yfmlint/utils.js +22 -0
- package/lib/yfmlint/utils.js.map +1 -0
- package/lib/yfmlint/yfmlint.d.ts +3 -0
- package/lib/yfmlint/yfmlint.js +69 -0
- package/lib/yfmlint/yfmlint.js.map +1 -0
- package/package.json +106 -0
- package/src/.eslintrc +10 -0
- package/src/js/code.ts +65 -0
- package/src/js/cut.ts +57 -0
- package/src/js/index.ts +6 -0
- package/src/js/polyfill.js +27 -0
- package/src/js/term/index.ts +79 -0
- package/src/js/term/utils.ts +151 -0
- package/src/js/utils.ts +9 -0
- package/src/scss/_anchor.scss +33 -0
- package/src/scss/_code.scss +23 -0
- package/src/scss/_common.scss +407 -0
- package/src/scss/_cut.scss +42 -0
- package/src/scss/_file.scss +35 -0
- package/src/scss/_highlight.scss +96 -0
- package/src/scss/_note.scss +73 -0
- package/src/scss/_print.scss +20 -0
- package/src/scss/_term.scss +79 -0
- package/src/scss/_variables.scss +16 -0
- package/src/scss/yfm.scss +11 -0
- package/src/transform/getObject.ts +10 -0
- package/src/transform/headings.ts +88 -0
- package/src/transform/highlight.ts +33 -0
- package/src/transform/index.ts +50 -0
- package/src/transform/liquid/conditions.ts +259 -0
- package/src/transform/liquid/cycles.ts +244 -0
- package/src/transform/liquid/errors.ts +10 -0
- package/src/transform/liquid/evaluation.ts +145 -0
- package/src/transform/liquid/filters.ts +19 -0
- package/src/transform/liquid/index.ts +141 -0
- package/src/transform/liquid/lexical.ts +86 -0
- package/src/transform/liquid/services/argv.ts +23 -0
- package/src/transform/liquid/sourceMap.ts +72 -0
- package/src/transform/liquid/substitutions.ts +40 -0
- package/src/transform/liquid/utils.ts +30 -0
- package/src/transform/log.ts +60 -0
- package/src/transform/md.ts +123 -0
- package/src/transform/plugins/anchors/collect.ts +101 -0
- package/src/transform/plugins/anchors/constants.ts +2 -0
- package/src/transform/plugins/anchors/index.ts +166 -0
- package/src/transform/plugins/changelog/collect.ts +66 -0
- package/src/transform/plugins/changelog/index.ts +164 -0
- package/src/transform/plugins/changelog/types.ts +10 -0
- package/src/transform/plugins/checkbox/checkbox.ts +107 -0
- package/src/transform/plugins/checkbox/index.ts +15 -0
- package/src/transform/plugins/code.ts +79 -0
- package/src/transform/plugins/cut.ts +98 -0
- package/src/transform/plugins/deflist.ts +5 -0
- package/src/transform/plugins/file/README.md +34 -0
- package/src/transform/plugins/file/const.ts +46 -0
- package/src/transform/plugins/file/file.ts +82 -0
- package/src/transform/plugins/file/index.ts +10 -0
- package/src/transform/plugins/images/collect.ts +60 -0
- package/src/transform/plugins/images/index.ts +119 -0
- package/src/transform/plugins/imsize/const.ts +7 -0
- package/src/transform/plugins/imsize/helpers.ts +75 -0
- package/src/transform/plugins/imsize/index.ts +14 -0
- package/src/transform/plugins/imsize/plugin.ts +214 -0
- package/src/transform/plugins/includes/collect.ts +73 -0
- package/src/transform/plugins/includes/index.ts +127 -0
- package/src/transform/plugins/links/collect.ts +92 -0
- package/src/transform/plugins/links/constants.ts +1 -0
- package/src/transform/plugins/links/index.ts +218 -0
- package/src/transform/plugins/meta.ts +5 -0
- package/src/transform/plugins/monospace.ts +141 -0
- package/src/transform/plugins/notes.ts +134 -0
- package/src/transform/plugins/sup.ts +5 -0
- package/src/transform/plugins/table/index.ts +290 -0
- package/src/transform/plugins/tabs.ts +3 -0
- package/src/transform/plugins/term/constants.ts +1 -0
- package/src/transform/plugins/term/index.ts +139 -0
- package/src/transform/plugins/term/termDefinitions.ts +177 -0
- package/src/transform/plugins/typings.ts +14 -0
- package/src/transform/plugins/utils.ts +38 -0
- package/src/transform/plugins/video/const.ts +20 -0
- package/src/transform/plugins/video/index.ts +134 -0
- package/src/transform/plugins/video/parsers.ts +65 -0
- package/src/transform/plugins/video/types.ts +27 -0
- package/src/transform/plugins/video/utils.ts +24 -0
- package/src/transform/plugins.ts +35 -0
- package/src/transform/sanitize.ts +596 -0
- package/src/transform/title.ts +22 -0
- package/src/transform/typings.ts +64 -0
- package/src/transform/utils.ts +91 -0
- package/src/transform/utilsFS.ts +128 -0
- package/src/transform/yfmlint/README.md +48 -0
- package/src/transform/yfmlint/index.ts +124 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/index.ts +9 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm001.ts +36 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm002.ts +33 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm003.ts +33 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm004.ts +27 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm005.ts +27 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm006.ts +26 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm007.ts +28 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm008.ts +26 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm009.ts +54 -0
- package/src/transform/yfmlint/typings.ts +13 -0
- package/src/transform/yfmlint/utils.ts +31 -0
- package/src/transform/yfmlint/yfmlint.ts +73 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Changelog @diplodoc/transform@4.0.0
|
|
2
|
+
|
|
3
|
+
## It's major update of @doc-tools/transform@3.11.0 with security changes.
|
|
4
|
+
|
|
5
|
+
### New term's linter
|
|
6
|
+
|
|
7
|
+
The main feature of term is generating a hidden content, that will be show on click. Terms plugins creates MarkadownIt tokens at place, where term was defined and it can brake our `@doc-tools/docs` navigation. Now `@diplodoc/transform` has new yfmlint rule: `no-term-definition-in-content`. There are several restrictions: - You can't define content between term-def - All term-def should be placed at the end of file.
|
|
8
|
+
|
|
9
|
+
### Enabling `needToSanitizeHtml` by default
|
|
10
|
+
|
|
11
|
+
The sanitizer includes default options with safe, allowed tags, and attributes. However, by default, both the `style` tag and the `style` attribute are also allowed. The values will be processed by the [cssfilter](https://github.com/leizongmin/js-css-filter) module to prevent XSS attacks. The cssfilter module includes a default CSS whitelist.
|
|
12
|
+
|
|
13
|
+
You can override the options for sanitizer like this:
|
|
14
|
+
|
|
15
|
+
```javascript
|
|
16
|
+
const transform = require('@doc-tools/transform');
|
|
17
|
+
const {defaultOptions} = require('@doc-tools/transform/lib/sanitize');
|
|
18
|
+
|
|
19
|
+
const sanitizeOptions = Object.assign({}, defaultOptions);
|
|
20
|
+
|
|
21
|
+
// Allow css property
|
|
22
|
+
sanitizeOptions.cssWhiteList['position'] = true;
|
|
23
|
+
|
|
24
|
+
// Disallow css property
|
|
25
|
+
delete sanitizeOptions.cssWhiteList['color'];
|
|
26
|
+
|
|
27
|
+
// Disable `style` tag
|
|
28
|
+
sanitizeOptions.allowedTags = sanitizeOptions.allowedTags.filter((tag) => tag !== 'style');
|
|
29
|
+
|
|
30
|
+
// Disable `style` attribute
|
|
31
|
+
sanitizeOptions.allowedAttributes['*'] = sanitizeOptions.allowedAttributes['*'].filter(
|
|
32
|
+
(attr) => attr !== 'style',
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
const {
|
|
36
|
+
result: {html},
|
|
37
|
+
} = transform(content, {sanitizeOptions});
|
|
38
|
+
```
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.0.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.11.0...v4.0.0) (2023-09-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
- New term's linter
|
|
8
|
+
- Enabling `needToSanitizeHtml` by default
|
|
9
|
+
|
|
10
|
+
[Full changelog](https://github.com/yandex-cloud/yfm-transform/blob/92d350168d9c7d6707df0473b1b6e614fe19f702/CHANGELOG.diplodoc.md)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* @diplodoc/transform@v4 ([92d3501](https://github.com/yandex-cloud/yfm-transform/commit/92d350168d9c7d6707df0473b1b6e614fe19f702))
|
|
15
|
+
|
|
16
|
+
## [3.11.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.10.3...v3.11.0) (2023-09-12)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* Update @diplodoc/tabs-extension ([#303](https://github.com/yandex-cloud/yfm-transform/issues/303)) ([5325f83](https://github.com/yandex-cloud/yfm-transform/commit/5325f83f1398a2cbd459e365310c606cce6d6344))
|
|
22
|
+
|
|
23
|
+
## [3.10.3](https://github.com/yandex-cloud/yfm-transform/compare/v3.10.2...v3.10.3) (2023-09-06)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* call transformLink callback for absolute links ([#301](https://github.com/yandex-cloud/yfm-transform/issues/301)) ([3222f5f](https://github.com/yandex-cloud/yfm-transform/commit/3222f5fb1ac4a9da053ab1d6e05e5c21d31d9445))
|
|
29
|
+
|
|
30
|
+
## [3.10.2](https://github.com/yandex-cloud/yfm-transform/compare/v3.10.1...v3.10.2) (2023-09-04)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* absolute links in included files ([cefe20a](https://github.com/yandex-cloud/yfm-transform/commit/cefe20af8a80827929fe36d2e85d5a9b56b3f701))
|
|
36
|
+
|
|
37
|
+
## [3.10.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.10.0...v3.10.1) (2023-09-01)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* table styles ([#297](https://github.com/yandex-cloud/yfm-transform/issues/297)) ([ea49cf2](https://github.com/yandex-cloud/yfm-transform/commit/ea49cf285616533e4d8be64c6596ee9dc44c84fd))
|
|
43
|
+
|
|
44
|
+
## [3.10.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.9.1...v3.10.0) (2023-08-30)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* add `highlight.js@11` to `peerDependencies` ([#294](https://github.com/yandex-cloud/yfm-transform/issues/294)) ([d3c1869](https://github.com/yandex-cloud/yfm-transform/commit/d3c1869ded30cd0d62a29c86c324f1e0a7a4a4f5))
|
|
50
|
+
|
|
51
|
+
## [3.9.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.9.0...v3.9.1) (2023-08-28)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* thead tables' styles ([#292](https://github.com/yandex-cloud/yfm-transform/issues/292)) ([b49eb50](https://github.com/yandex-cloud/yfm-transform/commit/b49eb501a21e9bf8c914472cb68a6efd14ac74f8))
|
|
57
|
+
|
|
58
|
+
## [3.9.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.5...v3.9.0) (2023-08-23)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
* WIKI-19593: implementation of new table design ([#283](https://github.com/yandex-cloud/yfm-transform/issues/283)) ([c208540](https://github.com/yandex-cloud/yfm-transform/commit/c208540ce14d18a705e4f31469b4e291436a7550))
|
|
64
|
+
|
|
65
|
+
## [3.8.5](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.4...v3.8.5) (2023-08-15)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Bug Fixes
|
|
69
|
+
|
|
70
|
+
* Change runtime builder to esbuild ([e3f6cb0](https://github.com/yandex-cloud/yfm-transform/commit/e3f6cb0783a39ec333935b596e05f8ecb45b6af5))
|
|
71
|
+
|
|
72
|
+
## [3.8.4](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.3...v3.8.4) (2023-08-14)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* Fix tabs extension runtime import ([51f0323](https://github.com/yandex-cloud/yfm-transform/commit/51f03235320801382e25629fcd50d5baa541f4fe))
|
|
78
|
+
|
|
79
|
+
## [3.8.3](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.2...v3.8.3) (2023-08-12)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* **plugins/tabs:** update tabs extension version ([ddd2dc8](https://github.com/yandex-cloud/yfm-transform/commit/ddd2dc84ba181427811863303fcb75f9d814ff61))
|
|
85
|
+
|
|
86
|
+
## [3.8.2](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.1...v3.8.2) (2023-08-10)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* Fix tabs extension runtime import ([321006d](https://github.com/yandex-cloud/yfm-transform/commit/321006d0861ce480e6775dae681a5b2ee1f40008))
|
|
92
|
+
|
|
93
|
+
## [3.8.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.8.0...v3.8.1) (2023-08-10)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
* **tabs-extension:** preserve tab items markup ([364ce16](https://github.com/yandex-cloud/yfm-transform/commit/364ce16c854898397c8a1f77d58c162a59ba13f6))
|
|
99
|
+
|
|
100
|
+
## [3.8.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.7.0...v3.8.0) (2023-08-09)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Features
|
|
104
|
+
|
|
105
|
+
* Update @diplodoc/tabs-extension version ([#268](https://github.com/yandex-cloud/yfm-transform/issues/268)) ([51a4ed2](https://github.com/yandex-cloud/yfm-transform/commit/51a4ed251904db640f7b98638b8e924cb849ab2e))
|
|
106
|
+
|
|
107
|
+
## [3.7.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.6.1...v3.7.0) (2023-08-07)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Features
|
|
111
|
+
|
|
112
|
+
* raise tabs-extension npm version ([#264](https://github.com/yandex-cloud/yfm-transform/issues/264)) ([a7954bf](https://github.com/yandex-cloud/yfm-transform/commit/a7954bf9280c09e05dc26023951a7e4a120656b7))
|
|
113
|
+
|
|
114
|
+
## [3.6.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.6.0...v3.6.1) (2023-08-03)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* include @diplodoc/tabs-extension css ([#261](https://github.com/yandex-cloud/yfm-transform/issues/261)) ([c2a604a](https://github.com/yandex-cloud/yfm-transform/commit/c2a604ae0186cd00c7b4286b15bbbcb246c06a81))
|
|
120
|
+
|
|
121
|
+
## [3.6.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.5.0...v3.6.0) (2023-08-03)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Features
|
|
125
|
+
|
|
126
|
+
* Update @diplodoc/tabs-extension ([#259](https://github.com/yandex-cloud/yfm-transform/issues/259)) ([4a39991](https://github.com/yandex-cloud/yfm-transform/commit/4a3999144104c331786bbcbd62e8d4f02b9218f3))
|
|
127
|
+
|
|
128
|
+
## [3.5.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.4.0...v3.5.0) (2023-07-31)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Features
|
|
132
|
+
|
|
133
|
+
* **tabs:** Start using @diplodoc/tabs-extension ([#257](https://github.com/yandex-cloud/yfm-transform/issues/257)) ([66b7f18](https://github.com/yandex-cloud/yfm-transform/commit/66b7f18a6ac98a1de6291721039dc9106b691243))
|
|
134
|
+
|
|
135
|
+
## [3.4.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.3.2...v3.4.0) (2023-07-27)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Features
|
|
139
|
+
|
|
140
|
+
* **anchors:** Add anchors to headings in table ([feef516](https://github.com/yandex-cloud/yfm-transform/commit/feef516683ae309dd96ee25c9ee7d91cb30cf07e))
|
|
141
|
+
* **diplodoc/term:** new terms ([9bf89ef](https://github.com/yandex-cloud/yfm-transform/commit/9bf89ef825d7f79c7bfacd77925a09b7b2e504ab))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Bug Fixes
|
|
145
|
+
|
|
146
|
+
* link breaks anchored header since version ([6611151](https://github.com/yandex-cloud/yfm-transform/commit/66111515337dd396f9ad7255462173c01e86a9a5)), closes [#253](https://github.com/yandex-cloud/yfm-transform/issues/253)
|
|
147
|
+
|
|
148
|
+
## [3.3.2](https://github.com/yandex-cloud/yfm-transform/compare/v3.3.1...v3.3.2) (2023-07-12)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Bug Fixes
|
|
152
|
+
|
|
153
|
+
* **plugins/table:** line map for table, table cell close tokens ([9600b7f](https://github.com/yandex-cloud/yfm-transform/commit/9600b7f8e22226be68dcbe570422c4c0b4a3abf5))
|
|
154
|
+
|
|
155
|
+
## [3.3.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.3.0...v3.3.1) (2023-07-07)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### Bug Fixes
|
|
159
|
+
|
|
160
|
+
* **heading:** Double text in mini-toc ([2d0a700](https://github.com/yandex-cloud/yfm-transform/commit/2d0a7007c49c2de361ac6f9188fe417083cf8ae7))
|
|
161
|
+
|
|
162
|
+
## [3.3.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.2.0...v3.3.0) (2023-07-07)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### Features
|
|
166
|
+
|
|
167
|
+
* **anchors:** Revert rel=nofollow and add invisible title for anchor links ([8ea800d](https://github.com/yandex-cloud/yfm-transform/commit/8ea800d0a630ecd3a765bed493e13cf766c53912))
|
|
168
|
+
* **cut:** decrease z-index of cut open/close icon ([39b5e38](https://github.com/yandex-cloud/yfm-transform/commit/39b5e380e35c002e548929942404053aaeaaa91e))
|
|
169
|
+
|
|
170
|
+
## [3.2.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.1.3...v3.2.0) (2023-07-05)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Features
|
|
174
|
+
|
|
175
|
+
* **anchors:** Add rel=nofollow for anchor links ([cb0efae](https://github.com/yandex-cloud/yfm-transform/commit/cb0efae167721d81d966137baa7f3f5f85a75ae7))
|
|
176
|
+
|
|
177
|
+
## [3.1.3](https://github.com/yandex-cloud/yfm-transform/compare/v3.1.2...v3.1.3) (2023-06-30)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### Bug Fixes
|
|
181
|
+
|
|
182
|
+
* **plugins/tabs:** save line mapping for tabs ([3e695db](https://github.com/yandex-cloud/yfm-transform/commit/3e695db020fc6a02f0ca35e8d150e0f085d511b4))
|
|
183
|
+
|
|
184
|
+
## [3.1.2](https://github.com/yandex-cloud/yfm-transform/compare/v3.1.1...v3.1.2) (2023-06-21)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Bug Fixes
|
|
188
|
+
|
|
189
|
+
* **changelog:** date is not required ([#235](https://github.com/yandex-cloud/yfm-transform/issues/235)) ([b7b1c4d](https://github.com/yandex-cloud/yfm-transform/commit/b7b1c4dec78a5f0d64496ba182af3990412e2652))
|
|
190
|
+
* **liquid:** move code indexes from global scope ([c877c48](https://github.com/yandex-cloud/yfm-transform/commit/c877c489745738031bba9ad8dbca38a5790815b4))
|
|
191
|
+
|
|
192
|
+
## [3.1.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.1.0...v3.1.1) (2023-06-14)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Bug Fixes
|
|
196
|
+
|
|
197
|
+
* **plugins/checkbox:** preserve line mapping ([9ccee18](https://github.com/yandex-cloud/yfm-transform/commit/9ccee1834ccd7203f0528330c7d3498cd61558ea))
|
|
198
|
+
|
|
199
|
+
## [3.1.0](https://github.com/yandex-cloud/yfm-transform/compare/v3.0.3...v3.1.0) (2023-06-01)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
### Features
|
|
203
|
+
|
|
204
|
+
* **changelog:** add support for changelog blocks ([#226](https://github.com/yandex-cloud/yfm-transform/issues/226)) ([8f5670b](https://github.com/yandex-cloud/yfm-transform/commit/8f5670bf4559f26cb9c88153089706d8163cef9b))
|
|
205
|
+
|
|
206
|
+
## [3.0.3](https://github.com/yandex-cloud/yfm-transform/compare/v3.0.2...v3.0.3) (2023-05-30)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Bug Fixes
|
|
210
|
+
|
|
211
|
+
* **plugins/cuts:** preserve line mapping ([9eb93f9](https://github.com/yandex-cloud/yfm-transform/commit/9eb93f998fd21818ccf427799e39e1d5707f9e95))
|
|
212
|
+
|
|
213
|
+
## [3.0.2](https://github.com/yandex-cloud/yfm-transform/compare/v3.0.1...v3.0.2) (2023-05-23)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
### Bug Fixes
|
|
217
|
+
|
|
218
|
+
* fonts ([2a0adfe](https://github.com/yandex-cloud/yfm-transform/commit/2a0adfef1078bae37d5cc228beff6a4ecb6f32f4))
|
|
219
|
+
|
|
220
|
+
## [3.0.1](https://github.com/yandex-cloud/yfm-transform/compare/v3.0.0...v3.0.1) (2023-05-22)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Bug Fixes
|
|
224
|
+
|
|
225
|
+
* **plugins/notes:** preserve line mapping ([29e4c5c](https://github.com/yandex-cloud/yfm-transform/commit/29e4c5c997d4a6933ac8330490f5bf9c07a9e3f1))
|
|
226
|
+
|
|
227
|
+
## [3.0.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.18.3...v3.0.0) (2023-05-10)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### ⚠ BREAKING CHANGES
|
|
231
|
+
|
|
232
|
+
* font from variable
|
|
233
|
+
|
|
234
|
+
### Bug Fixes
|
|
235
|
+
|
|
236
|
+
* font from variable ([fed80ee](https://github.com/yandex-cloud/yfm-transform/commit/fed80ee7caed028330f6460cb05845b7d34ba689))
|
|
237
|
+
|
|
238
|
+
## [2.18.3](https://github.com/yandex-cloud/yfm-transform/compare/v2.18.2...v2.18.3) (2023-04-20)
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### Bug Fixes
|
|
242
|
+
|
|
243
|
+
* Mark highlight.js as optional dependency ([cc24703](https://github.com/yandex-cloud/yfm-transform/commit/cc2470331f69abb7aa906a581ec0fd34ae63e13c))
|
|
244
|
+
|
|
245
|
+
## [2.18.2](https://github.com/yandex-cloud/yfm-transform/compare/v2.18.1...v2.18.2) (2023-04-19)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Bug Fixes
|
|
249
|
+
|
|
250
|
+
* Make env.meta writeable ([f6540bd](https://github.com/yandex-cloud/yfm-transform/commit/f6540bd8578cc197c4cb4c5ee5e42ea5da97da13))
|
|
251
|
+
|
|
252
|
+
## [2.18.1](https://github.com/yandex-cloud/yfm-transform/compare/v2.18.0...v2.18.1) (2023-04-14)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### Bug Fixes
|
|
256
|
+
|
|
257
|
+
* **cut:** fix inline markup parsing in cut title ([d24413f](https://github.com/yandex-cloud/yfm-transform/commit/d24413f0398217a2793990bfffc9f8d205d38033))
|
|
258
|
+
* **сheckbox:** fix inline markup parsing in the checkbox label ([ffa65a5](https://github.com/yandex-cloud/yfm-transform/commit/ffa65a5fae956267b57fea34ad1cc38fb132b118))
|
|
259
|
+
|
|
260
|
+
## [2.18.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.17.0...v2.18.0) (2023-04-06)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Features
|
|
264
|
+
|
|
265
|
+
* **sanitize:** allow 'allow' iframe attribute ([#214](https://github.com/yandex-cloud/yfm-transform/issues/214)) ([70d79b6](https://github.com/yandex-cloud/yfm-transform/commit/70d79b6e426d7e42d3bb9a422971e5b7fbb037fd))
|
|
266
|
+
|
|
267
|
+
## [2.17.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.16.4...v2.17.0) (2023-04-03)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
### Features
|
|
271
|
+
|
|
272
|
+
* **md:** Refactor transform index ([7df96ac](https://github.com/yandex-cloud/yfm-transform/commit/7df96ac626918ff21167dfce6daf9cf834d934d8))
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Bug Fixes
|
|
276
|
+
|
|
277
|
+
* wrap tab list on small screens ([#213](https://github.com/yandex-cloud/yfm-transform/issues/213)) ([cfb847e](https://github.com/yandex-cloud/yfm-transform/commit/cfb847edc752701829d3369d7c4c8889d7e11f93))
|
|
278
|
+
|
|
279
|
+
## [2.16.4](https://github.com/yandex-cloud/yfm-transform/compare/v2.16.3...v2.16.4) (2023-02-13)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Bug Fixes
|
|
283
|
+
|
|
284
|
+
* **liquid:** Add missed `contains` operator ([130c021](https://github.com/yandex-cloud/yfm-transform/commit/130c0210058edb3d49f77d42e05ddbbb0a5770c2))
|
|
285
|
+
* **liquid:** Process large fence blocks ([0e97260](https://github.com/yandex-cloud/yfm-transform/commit/0e97260b32d995682112bf5f6339be1dd621fe59))
|
|
286
|
+
|
|
287
|
+
## [2.16.3](https://github.com/yandex-cloud/yfm-transform/compare/v2.16.2...v2.16.3) (2023-01-26)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Bug Fixes
|
|
291
|
+
|
|
292
|
+
* fix sanitize-html package version ([#203](https://github.com/yandex-cloud/yfm-transform/issues/203)) ([3199c53](https://github.com/yandex-cloud/yfm-transform/commit/3199c533dfa9bae149d65ffee11c15ea7d6e266b))
|
|
293
|
+
|
|
294
|
+
## [2.16.2](https://github.com/yandex-cloud/yfm-transform/compare/v2.16.1...v2.16.2) (2022-11-30)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
### Bug Fixes
|
|
298
|
+
|
|
299
|
+
* **include:** passing conditionsInCode through pluginOptions ([dfa986f](https://github.com/yandex-cloud/yfm-transform/commit/dfa986f50ab8bd380a04c81ab1444e5419c4d7ef))
|
|
300
|
+
|
|
301
|
+
## [2.16.1](https://github.com/yandex-cloud/yfm-transform/compare/v2.16.0...v2.16.1) (2022-11-29)
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
### Bug Fixes
|
|
305
|
+
|
|
306
|
+
* **include:** support paths with sharp symbol ([a19bd3c](https://github.com/yandex-cloud/yfm-transform/commit/a19bd3c971f268d887527912c8bf833d78c09683))
|
|
307
|
+
|
|
308
|
+
## [2.16.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.15.0...v2.16.0) (2022-11-08)
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
### Features
|
|
312
|
+
|
|
313
|
+
* **checkbox:** add support for inline markup in checkbox label ([#194](https://github.com/yandex-cloud/yfm-transform/issues/194)) ([7582017](https://github.com/yandex-cloud/yfm-transform/commit/7582017ffb9d4f5befb0872af811d4453d629ee0))
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Bug Fixes
|
|
317
|
+
|
|
318
|
+
* include src folder for sourcemaps ([e0c831d](https://github.com/yandex-cloud/yfm-transform/commit/e0c831d80b5232c4c301c10d54014927c3576627))
|
|
319
|
+
|
|
320
|
+
## [2.15.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.14.2...v2.15.0) (2022-11-02)
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### Features
|
|
324
|
+
|
|
325
|
+
* add linkifyTlds option ([951fd7f](https://github.com/yandex-cloud/yfm-transform/commit/951fd7fbb8f6926dd3cd8256da927f00b1786b36))
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
### Bug Fixes
|
|
329
|
+
|
|
330
|
+
* add conditionsInCode and test ([00b5111](https://github.com/yandex-cloud/yfm-transform/commit/00b51112340522584cd62f43ae1baa445588dd83))
|
|
331
|
+
* sup,sub line-height ([291fac7](https://github.com/yandex-cloud/yfm-transform/commit/291fac711eb94847a712da79b5631952ed8af977))
|
|
332
|
+
* update test ([473d04a](https://github.com/yandex-cloud/yfm-transform/commit/473d04aa3140231fb7bcd9c3d6eac2a85b0839a2))
|
|
333
|
+
|
|
334
|
+
## [2.14.2](https://github.com/yandex-cloud/yfm-transform/compare/v2.14.1...v2.14.2) (2022-10-10)
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
### Bug Fixes
|
|
338
|
+
|
|
339
|
+
* **checkbox:** fix input and label alignment ([#186](https://github.com/yandex-cloud/yfm-transform/issues/186)) ([dbe772d](https://github.com/yandex-cloud/yfm-transform/commit/dbe772d74a5b2a605e6b4b08a66885fcd250374d))
|
|
340
|
+
* **checkbox:** make checkboxes non-editable ([#184](https://github.com/yandex-cloud/yfm-transform/issues/184)) ([097529f](https://github.com/yandex-cloud/yfm-transform/commit/097529f5aaa3a7f97ba88c2a8b8d4c78a7af9a1f))
|
|
341
|
+
|
|
342
|
+
## [2.14.1](https://github.com/yandex-cloud/yfm-transform/compare/v2.14.0...v2.14.1) (2022-09-20)
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
### Bug Fixes
|
|
346
|
+
|
|
347
|
+
* **term:** custom header top coordinate ([#182](https://github.com/yandex-cloud/yfm-transform/issues/182)) ([8ebd61f](https://github.com/yandex-cloud/yfm-transform/commit/8ebd61f8c1388f42071427ac3c334a37e7ee88d6))
|
|
348
|
+
|
|
349
|
+
## [2.14.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.13.0...v2.14.0) (2022-09-15)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
### Features
|
|
353
|
+
|
|
354
|
+
* add html sanitizing [DOCSTOOLS-1350] ([#177](https://github.com/yandex-cloud/yfm-transform/issues/177)) ([634f7f8](https://github.com/yandex-cloud/yfm-transform/commit/634f7f80ceaac8c996aed33d6c2005ecb1c935a4))
|
|
355
|
+
|
|
356
|
+
## [2.13.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.12.0...v2.13.0) (2022-09-13)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
### Features
|
|
360
|
+
|
|
361
|
+
* Add term syntax DOCSTOOLS-1268 ([#172](https://github.com/yandex-cloud/yfm-transform/issues/172)) ([ddfb30b](https://github.com/yandex-cloud/yfm-transform/commit/ddfb30b08c823cececb385416e1d7b649298c5f2))
|
|
362
|
+
|
|
363
|
+
## [2.12.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.11.1...v2.12.0) (2022-09-08)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Features
|
|
367
|
+
|
|
368
|
+
* Enable imsize by default ([a77710f](https://github.com/yandex-cloud/yfm-transform/commit/a77710f6116a31462966ea466568bd48ab9dd80f))
|
|
369
|
+
|
|
370
|
+
## [2.11.1](https://github.com/yandex-cloud/yfm-transform/compare/v2.11.0...v2.11.1) (2022-09-07)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
### Bug Fixes
|
|
374
|
+
|
|
375
|
+
* **cut:** add title search inside path ([8966384](https://github.com/yandex-cloud/yfm-transform/commit/8966384375962bf61f08c083f9b0752aac49d8b2))
|
|
376
|
+
|
|
377
|
+
## [2.11.0](https://github.com/yandex-cloud/yfm-transform/compare/v2.10.5...v2.11.0) (2022-08-22)
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### Features
|
|
381
|
+
|
|
382
|
+
* **note:** allow inline formatting in note title ([2a8bc0f](https://github.com/yandex-cloud/yfm-transform/commit/2a8bc0fe796509440d0b6672ac7c14179992cafc))
|
|
383
|
+
|
|
384
|
+
## [2.10.5](https://github.com/yandex-cloud/yfm-transform/compare/v2.10.4...v2.10.5) (2022-08-17)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
### Bug Fixes
|
|
388
|
+
|
|
389
|
+
* Update major dependencies ([1687c59](https://github.com/yandex-cloud/yfm-transform/commit/1687c595a2f5fe41d8c1d718c6b128a621c5f614))
|
|
390
|
+
|
|
391
|
+
## [2.10.4](https://github.com/yandex-cloud/yfm-transform/compare/v2.10.3...v2.10.4) (2022-08-17)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
### Bug Fixes
|
|
395
|
+
|
|
396
|
+
* Minor update dependencies ([20ba740](https://github.com/yandex-cloud/yfm-transform/commit/20ba7406eed7068384c661d6159b96b75d9791f7))
|
|
397
|
+
|
|
398
|
+
## [2.10.1](https://github.com/yandex-cloud/yfm-transform/compare/v2.10.0...v2.10.1) (2022-08-16)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
### Bug Fixes
|
|
402
|
+
|
|
403
|
+
* Add autorelease ([a946626](https://github.com/yandex-cloud/yfm-transform/commit/a946626804f76afc9e1fe7fbd472931df24e73e1))
|
|
404
|
+
* Fix autorelease ([2d6bcf7](https://github.com/yandex-cloud/yfm-transform/commit/2d6bcf75ee8c38ed9c913c03eb92dc844fb2beae))
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 YANDEX LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
**english** | [русский](https://github.com/yandex-cloud/yfm-transform/blob/master/README.ru.md)
|
|
2
|
+
- - -
|
|
3
|
+
|
|
4
|
+
[](https://www.npmjs.org/package/@doc-tools/transform)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML.
|
|
8
|
+
|
|
9
|
+
## Yandex Flavored Markdown
|
|
10
|
+
|
|
11
|
+
Yandex Flavored Markdown (YFM) is a Markdown dialect that is now used for
|
|
12
|
+
[Yandex.Cloud documentation](https://cloud.yandex.com/docs), [Yandex.Cloud website content](https://cloud.yandex.com), and in
|
|
13
|
+
a variety of internal Yandex projects.
|
|
14
|
+
|
|
15
|
+
The syntax is based on the CommonMark Spec, extending it with additional features. It's designed for creating
|
|
16
|
+
a full-fledged complex documentation project, such as the Yandex.Cloud documentation.
|
|
17
|
+
|
|
18
|
+
To build your documentation project in YFM, use the [@doc-tools/docs](https://www.npmjs.com/package/@doc-tools/docs) package.
|
|
19
|
+
|
|
20
|
+
[Learn more about YFM](https://ydocs.tech)
|
|
21
|
+
|
|
22
|
+
## Source files
|
|
23
|
+
|
|
24
|
+
### Installation
|
|
25
|
+
|
|
26
|
+
```shell script
|
|
27
|
+
git clone git@github.com:yandex-cloud/yfm-transform.git
|
|
28
|
+
cd yfm-transform
|
|
29
|
+
npm install
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
When you add changes to files from the SRC folder, before updating the package version, run
|
|
33
|
+
|
|
34
|
+
```shell script
|
|
35
|
+
npm run dist
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT
|
|
41
|
+
|
package/README.ru.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
**русский** | [english](https://github.com/yandex-cloud/yfm-transform/blob/master/README.md)
|
|
2
|
+
- - -
|
|
3
|
+
|
|
4
|
+
[](https://www.npmjs.org/package/@doc-tools/transform)
|
|
5
|
+
|
|
6
|
+
Простой трансформер текста на YFM (Yandex Flavored Markdown) в HTML.
|
|
7
|
+
|
|
8
|
+
## Yandex Flavored Markdown
|
|
9
|
+
|
|
10
|
+
Yandex Flavored Markdown (YFM) является диалектом Markdown, который используется сейчас для
|
|
11
|
+
[документации Яндекс.Облака](https://cloud.yandex.ru/docs), [контента сайта Я.Облака](https://cloud.yandex.ru) и в
|
|
12
|
+
различных внутренних проектах Яндекса.
|
|
13
|
+
|
|
14
|
+
Синтаксис базируется на CommonMark Spec, расширяя его дополнительными возможностями. В том числе, для создания
|
|
15
|
+
полноценного сложного документационного проекта, такого как документация Яндекс.Облака.
|
|
16
|
+
|
|
17
|
+
Для сборки своего документационного проекта на YFM вы можете использовать пакет [@doc-tools/docs](https://www.npmjs.com/package/@doc-tools/docs).
|
|
18
|
+
|
|
19
|
+
[Более подробное описание YFM](https://ydocs.tech)
|
|
20
|
+
|
|
21
|
+
## Исходники
|
|
22
|
+
### Установка
|
|
23
|
+
```shell script
|
|
24
|
+
git clone git@github.com:yandex-cloud/yfm-transform.git
|
|
25
|
+
cd yfm-transform
|
|
26
|
+
npm install
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
При добавлении изменений в файлы из директории src перед обновлением версии пакета нужно выполнить
|
|
30
|
+
```shell script
|
|
31
|
+
npm run dist
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT
|