@shell-shock/preset-cli 0.9.19 → 0.9.20
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/dist/_virtual/_rolldown/runtime.cjs +1 -45
- package/dist/components/banner-builtin.cjs +5 -93
- package/dist/components/banner-builtin.mjs +5 -90
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +56 -356
- package/dist/components/command-entry.mjs +56 -353
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +4 -60
- package/dist/components/command-router.mjs +4 -57
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/index.cjs +1 -15
- package/dist/components/index.mjs +1 -7
- package/dist/components/upgrade-builtin.cjs +14 -135
- package/dist/components/upgrade-builtin.mjs +14 -132
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +1 -113
- package/dist/components/virtual-command-entry.mjs +1 -110
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/get-global-options.cjs +1 -39
- package/dist/helpers/get-global-options.mjs +1 -38
- package/dist/helpers/get-global-options.mjs.map +1 -1
- package/dist/index.cjs +1 -173
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -165
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.d.cts +3 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +3 -3
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/package.json +22 -74
- package/dist/_virtual/_rolldown/runtime.mjs +0 -42
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +0 -94
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +0 -94
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
- package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
- package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
- package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
- package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
- package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
- package/dist/packages/unified/dist/markdown/index.cjs +0 -1
- package/dist/packages/unified/dist/markdown/index.mjs +0 -3
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
|
@@ -1,488 +0,0 @@
|
|
|
1
|
-
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
-
const require_decode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs');
|
|
3
|
-
const require_encode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs');
|
|
4
|
-
const require_format = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/format.cjs');
|
|
5
|
-
const require_parse = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs');
|
|
6
|
-
require('../../../../mdurl@2.0.0/node_modules/mdurl/index.cjs');
|
|
7
|
-
const require_utils = require('./common/utils.cjs');
|
|
8
|
-
const require_index$1 = require('./helpers/index.cjs');
|
|
9
|
-
const require_renderer = require('./renderer.cjs');
|
|
10
|
-
const require_parser_core = require('./parser_core.cjs');
|
|
11
|
-
const require_parser_block = require('./parser_block.cjs');
|
|
12
|
-
const require_parser_inline = require('./parser_inline.cjs');
|
|
13
|
-
const require_index$2 = require('../../../../linkify-it@5.0.0/node_modules/linkify-it/index.cjs');
|
|
14
|
-
const require_punycode$1 = require('../../../../punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs');
|
|
15
|
-
const require_default = require('./presets/default.cjs');
|
|
16
|
-
const require_zero = require('./presets/zero.cjs');
|
|
17
|
-
const require_commonmark = require('./presets/commonmark.cjs');
|
|
18
|
-
|
|
19
|
-
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs
|
|
20
|
-
var import_punycode = /* @__PURE__ */ require_runtime.__toESM(require_punycode$1.default, 1);
|
|
21
|
-
const config = {
|
|
22
|
-
default: require_default.default,
|
|
23
|
-
zero: require_zero.default,
|
|
24
|
-
commonmark: require_commonmark.default
|
|
25
|
-
};
|
|
26
|
-
const BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;
|
|
27
|
-
const GOOD_DATA_RE = /^data:image\/(gif|png|jpeg|webp);/;
|
|
28
|
-
function validateLink(url) {
|
|
29
|
-
const str = url.trim().toLowerCase();
|
|
30
|
-
return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) : true;
|
|
31
|
-
}
|
|
32
|
-
const RECODE_HOSTNAME_FOR = [
|
|
33
|
-
"http:",
|
|
34
|
-
"https:",
|
|
35
|
-
"mailto:"
|
|
36
|
-
];
|
|
37
|
-
function normalizeLink(url) {
|
|
38
|
-
const parsed = require_parse.default(url, true);
|
|
39
|
-
if (parsed.hostname) {
|
|
40
|
-
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) try {
|
|
41
|
-
parsed.hostname = import_punycode.default.toASCII(parsed.hostname);
|
|
42
|
-
} catch (er) {}
|
|
43
|
-
}
|
|
44
|
-
return require_encode.default(require_format.default(parsed));
|
|
45
|
-
}
|
|
46
|
-
function normalizeLinkText(url) {
|
|
47
|
-
const parsed = require_parse.default(url, true);
|
|
48
|
-
if (parsed.hostname) {
|
|
49
|
-
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) try {
|
|
50
|
-
parsed.hostname = import_punycode.default.toUnicode(parsed.hostname);
|
|
51
|
-
} catch (er) {}
|
|
52
|
-
}
|
|
53
|
-
return require_decode.default(require_format.default(parsed), require_decode.default.defaultChars + "%");
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* class MarkdownIt
|
|
57
|
-
*
|
|
58
|
-
* Main parser/renderer class.
|
|
59
|
-
*
|
|
60
|
-
* ##### Usage
|
|
61
|
-
*
|
|
62
|
-
* ```javascript
|
|
63
|
-
* // node.js, "classic" way:
|
|
64
|
-
* var MarkdownIt = require('markdown-it'),
|
|
65
|
-
* md = new MarkdownIt();
|
|
66
|
-
* var result = md.render('# markdown-it rulezz!');
|
|
67
|
-
*
|
|
68
|
-
* // node.js, the same, but with sugar:
|
|
69
|
-
* var md = require('markdown-it')();
|
|
70
|
-
* var result = md.render('# markdown-it rulezz!');
|
|
71
|
-
*
|
|
72
|
-
* // browser without AMD, added to "window" on script load
|
|
73
|
-
* // Note, there are no dash.
|
|
74
|
-
* var md = window.markdownit();
|
|
75
|
-
* var result = md.render('# markdown-it rulezz!');
|
|
76
|
-
* ```
|
|
77
|
-
*
|
|
78
|
-
* Single line rendering, without paragraph wrap:
|
|
79
|
-
*
|
|
80
|
-
* ```javascript
|
|
81
|
-
* var md = require('markdown-it')();
|
|
82
|
-
* var result = md.renderInline('__markdown-it__ rulezz!');
|
|
83
|
-
* ```
|
|
84
|
-
**/
|
|
85
|
-
/**
|
|
86
|
-
* new MarkdownIt([presetName, options])
|
|
87
|
-
* - presetName (String): optional, `commonmark` / `zero`
|
|
88
|
-
* - options (Object)
|
|
89
|
-
*
|
|
90
|
-
* Creates parser instanse with given config. Can be called without `new`.
|
|
91
|
-
*
|
|
92
|
-
* ##### presetName
|
|
93
|
-
*
|
|
94
|
-
* MarkdownIt provides named presets as a convenience to quickly
|
|
95
|
-
* enable/disable active syntax rules and options for common use cases.
|
|
96
|
-
*
|
|
97
|
-
* - ["commonmark"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -
|
|
98
|
-
* configures parser to strict [CommonMark](http://commonmark.org/) mode.
|
|
99
|
-
* - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -
|
|
100
|
-
* similar to GFM, used when no preset name given. Enables all available rules,
|
|
101
|
-
* but still without html, typographer & autolinker.
|
|
102
|
-
* - ["zero"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -
|
|
103
|
-
* all rules disabled. Useful to quickly setup your config via `.enable()`.
|
|
104
|
-
* For example, when you need only `bold` and `italic` markup and nothing else.
|
|
105
|
-
*
|
|
106
|
-
* ##### options:
|
|
107
|
-
*
|
|
108
|
-
* - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!
|
|
109
|
-
* That's not safe! You may need external sanitizer to protect output from XSS.
|
|
110
|
-
* It's better to extend features via plugins, instead of enabling HTML.
|
|
111
|
-
* - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags
|
|
112
|
-
* (`<br />`). This is needed only for full CommonMark compatibility. In real
|
|
113
|
-
* world you will need HTML output.
|
|
114
|
-
* - __breaks__ - `false`. Set `true` to convert `\n` in paragraphs into `<br>`.
|
|
115
|
-
* - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.
|
|
116
|
-
* Can be useful for external highlighters.
|
|
117
|
-
* - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.
|
|
118
|
-
* - __typographer__ - `false`. Set `true` to enable [some language-neutral
|
|
119
|
-
* replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +
|
|
120
|
-
* quotes beautification (smartquotes).
|
|
121
|
-
* - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement
|
|
122
|
-
* pairs, when typographer enabled and smartquotes on. For example, you can
|
|
123
|
-
* use `'«»„“'` for Russian, `'„“‚‘'` for German, and
|
|
124
|
-
* `['«\xA0', '\xA0»', '‹\xA0', '\xA0›']` for French (including nbsp).
|
|
125
|
-
* - __highlight__ - `null`. Highlighter function for fenced code blocks.
|
|
126
|
-
* Highlighter `function (str, lang)` should return escaped HTML. It can also
|
|
127
|
-
* return empty string if the source was not changed and should be escaped
|
|
128
|
-
* externaly. If result starts with <pre... internal wrapper is skipped.
|
|
129
|
-
*
|
|
130
|
-
* ##### Example
|
|
131
|
-
*
|
|
132
|
-
* ```javascript
|
|
133
|
-
* // commonmark mode
|
|
134
|
-
* var md = require('markdown-it')('commonmark');
|
|
135
|
-
*
|
|
136
|
-
* // default mode
|
|
137
|
-
* var md = require('markdown-it')();
|
|
138
|
-
*
|
|
139
|
-
* // enable everything
|
|
140
|
-
* var md = require('markdown-it')({
|
|
141
|
-
* html: true,
|
|
142
|
-
* linkify: true,
|
|
143
|
-
* typographer: true
|
|
144
|
-
* });
|
|
145
|
-
* ```
|
|
146
|
-
*
|
|
147
|
-
* ##### Syntax highlighting
|
|
148
|
-
*
|
|
149
|
-
* ```js
|
|
150
|
-
* var hljs = require('highlight.js') // https://highlightjs.org/
|
|
151
|
-
*
|
|
152
|
-
* var md = require('markdown-it')({
|
|
153
|
-
* highlight: function (str, lang) {
|
|
154
|
-
* if (lang && hljs.getLanguage(lang)) {
|
|
155
|
-
* try {
|
|
156
|
-
* return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value;
|
|
157
|
-
* } catch (__) {}
|
|
158
|
-
* }
|
|
159
|
-
*
|
|
160
|
-
* return ''; // use external default escaping
|
|
161
|
-
* }
|
|
162
|
-
* });
|
|
163
|
-
* ```
|
|
164
|
-
*
|
|
165
|
-
* Or with full wrapper override (if you need assign class to `<pre>` or `<code>`):
|
|
166
|
-
*
|
|
167
|
-
* ```javascript
|
|
168
|
-
* var hljs = require('highlight.js') // https://highlightjs.org/
|
|
169
|
-
*
|
|
170
|
-
* // Actual default values
|
|
171
|
-
* var md = require('markdown-it')({
|
|
172
|
-
* highlight: function (str, lang) {
|
|
173
|
-
* if (lang && hljs.getLanguage(lang)) {
|
|
174
|
-
* try {
|
|
175
|
-
* return '<pre><code class="hljs">' +
|
|
176
|
-
* hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +
|
|
177
|
-
* '</code></pre>';
|
|
178
|
-
* } catch (__) {}
|
|
179
|
-
* }
|
|
180
|
-
*
|
|
181
|
-
* return '<pre><code class="hljs">' + md.utils.escapeHtml(str) + '</code></pre>';
|
|
182
|
-
* }
|
|
183
|
-
* });
|
|
184
|
-
* ```
|
|
185
|
-
*
|
|
186
|
-
**/
|
|
187
|
-
function MarkdownIt(presetName, options) {
|
|
188
|
-
if (!(this instanceof MarkdownIt)) return new MarkdownIt(presetName, options);
|
|
189
|
-
if (!options) {
|
|
190
|
-
if (!require_utils.isString(presetName)) {
|
|
191
|
-
options = presetName || {};
|
|
192
|
-
presetName = "default";
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* MarkdownIt#inline -> ParserInline
|
|
197
|
-
*
|
|
198
|
-
* Instance of [[ParserInline]]. You may need it to add new rules when
|
|
199
|
-
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
200
|
-
* [[MarkdownIt.enable]].
|
|
201
|
-
**/
|
|
202
|
-
this.inline = new require_parser_inline.default();
|
|
203
|
-
/**
|
|
204
|
-
* MarkdownIt#block -> ParserBlock
|
|
205
|
-
*
|
|
206
|
-
* Instance of [[ParserBlock]]. You may need it to add new rules when
|
|
207
|
-
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
208
|
-
* [[MarkdownIt.enable]].
|
|
209
|
-
**/
|
|
210
|
-
this.block = new require_parser_block.default();
|
|
211
|
-
/**
|
|
212
|
-
* MarkdownIt#core -> Core
|
|
213
|
-
*
|
|
214
|
-
* Instance of [[Core]] chain executor. You may need it to add new rules when
|
|
215
|
-
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
216
|
-
* [[MarkdownIt.enable]].
|
|
217
|
-
**/
|
|
218
|
-
this.core = new require_parser_core.default();
|
|
219
|
-
/**
|
|
220
|
-
* MarkdownIt#renderer -> Renderer
|
|
221
|
-
*
|
|
222
|
-
* Instance of [[Renderer]]. Use it to modify output look. Or to add rendering
|
|
223
|
-
* rules for new token types, generated by plugins.
|
|
224
|
-
*
|
|
225
|
-
* ##### Example
|
|
226
|
-
*
|
|
227
|
-
* ```javascript
|
|
228
|
-
* var md = require('markdown-it')();
|
|
229
|
-
*
|
|
230
|
-
* function myToken(tokens, idx, options, env, self) {
|
|
231
|
-
* //...
|
|
232
|
-
* return result;
|
|
233
|
-
* };
|
|
234
|
-
*
|
|
235
|
-
* md.renderer.rules['my_token'] = myToken
|
|
236
|
-
* ```
|
|
237
|
-
*
|
|
238
|
-
* See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).
|
|
239
|
-
**/
|
|
240
|
-
this.renderer = new require_renderer.default();
|
|
241
|
-
/**
|
|
242
|
-
* MarkdownIt#linkify -> LinkifyIt
|
|
243
|
-
*
|
|
244
|
-
* [linkify-it](https://github.com/markdown-it/linkify-it) instance.
|
|
245
|
-
* Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)
|
|
246
|
-
* rule.
|
|
247
|
-
**/
|
|
248
|
-
this.linkify = new require_index$2.default();
|
|
249
|
-
/**
|
|
250
|
-
* MarkdownIt#validateLink(url) -> Boolean
|
|
251
|
-
*
|
|
252
|
-
* Link validation function. CommonMark allows too much in links. By default
|
|
253
|
-
* we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas
|
|
254
|
-
* except some embedded image types.
|
|
255
|
-
*
|
|
256
|
-
* You can change this behaviour:
|
|
257
|
-
*
|
|
258
|
-
* ```javascript
|
|
259
|
-
* var md = require('markdown-it')();
|
|
260
|
-
* // enable everything
|
|
261
|
-
* md.validateLink = function () { return true; }
|
|
262
|
-
* ```
|
|
263
|
-
**/
|
|
264
|
-
this.validateLink = validateLink;
|
|
265
|
-
/**
|
|
266
|
-
* MarkdownIt#normalizeLink(url) -> String
|
|
267
|
-
*
|
|
268
|
-
* Function used to encode link url to a machine-readable format,
|
|
269
|
-
* which includes url-encoding, punycode, etc.
|
|
270
|
-
**/
|
|
271
|
-
this.normalizeLink = normalizeLink;
|
|
272
|
-
/**
|
|
273
|
-
* MarkdownIt#normalizeLinkText(url) -> String
|
|
274
|
-
*
|
|
275
|
-
* Function used to decode link url to a human-readable format`
|
|
276
|
-
**/
|
|
277
|
-
this.normalizeLinkText = normalizeLinkText;
|
|
278
|
-
/**
|
|
279
|
-
* MarkdownIt#utils -> utils
|
|
280
|
-
*
|
|
281
|
-
* Assorted utility functions, useful to write plugins. See details
|
|
282
|
-
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).
|
|
283
|
-
**/
|
|
284
|
-
this.utils = require_utils.utils_exports;
|
|
285
|
-
/**
|
|
286
|
-
* MarkdownIt#helpers -> helpers
|
|
287
|
-
*
|
|
288
|
-
* Link components parser functions, useful to write plugins. See details
|
|
289
|
-
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
|
|
290
|
-
**/
|
|
291
|
-
this.helpers = require_utils.assign({}, require_index$1.helpers_exports);
|
|
292
|
-
this.options = {};
|
|
293
|
-
this.configure(presetName);
|
|
294
|
-
if (options) this.set(options);
|
|
295
|
-
}
|
|
296
|
-
/** chainable
|
|
297
|
-
* MarkdownIt.set(options)
|
|
298
|
-
*
|
|
299
|
-
* Set parser options (in the same format as in constructor). Probably, you
|
|
300
|
-
* will never need it, but you can change options after constructor call.
|
|
301
|
-
*
|
|
302
|
-
* ##### Example
|
|
303
|
-
*
|
|
304
|
-
* ```javascript
|
|
305
|
-
* var md = require('markdown-it')()
|
|
306
|
-
* .set({ html: true, breaks: true })
|
|
307
|
-
* .set({ typographer, true });
|
|
308
|
-
* ```
|
|
309
|
-
*
|
|
310
|
-
* __Note:__ To achieve the best possible performance, don't modify a
|
|
311
|
-
* `markdown-it` instance options on the fly. If you need multiple configurations
|
|
312
|
-
* it's best to create multiple instances and initialize each with separate
|
|
313
|
-
* config.
|
|
314
|
-
**/
|
|
315
|
-
MarkdownIt.prototype.set = function(options) {
|
|
316
|
-
require_utils.assign(this.options, options);
|
|
317
|
-
return this;
|
|
318
|
-
};
|
|
319
|
-
/** chainable, internal
|
|
320
|
-
* MarkdownIt.configure(presets)
|
|
321
|
-
*
|
|
322
|
-
* Batch load of all options and compenent settings. This is internal method,
|
|
323
|
-
* and you probably will not need it. But if you will - see available presets
|
|
324
|
-
* and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)
|
|
325
|
-
*
|
|
326
|
-
* We strongly recommend to use presets instead of direct config loads. That
|
|
327
|
-
* will give better compatibility with next versions.
|
|
328
|
-
**/
|
|
329
|
-
MarkdownIt.prototype.configure = function(presets) {
|
|
330
|
-
const self = this;
|
|
331
|
-
if (require_utils.isString(presets)) {
|
|
332
|
-
const presetName = presets;
|
|
333
|
-
presets = config[presetName];
|
|
334
|
-
if (!presets) throw new Error("Wrong `markdown-it` preset \"" + presetName + "\", check name");
|
|
335
|
-
}
|
|
336
|
-
if (!presets) throw new Error("Wrong `markdown-it` preset, can't be empty");
|
|
337
|
-
if (presets.options) self.set(presets.options);
|
|
338
|
-
if (presets.components) Object.keys(presets.components).forEach(function(name) {
|
|
339
|
-
if (presets.components[name].rules) self[name].ruler.enableOnly(presets.components[name].rules);
|
|
340
|
-
if (presets.components[name].rules2) self[name].ruler2.enableOnly(presets.components[name].rules2);
|
|
341
|
-
});
|
|
342
|
-
return this;
|
|
343
|
-
};
|
|
344
|
-
/** chainable
|
|
345
|
-
* MarkdownIt.enable(list, ignoreInvalid)
|
|
346
|
-
* - list (String|Array): rule name or list of rule names to enable
|
|
347
|
-
* - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
|
|
348
|
-
*
|
|
349
|
-
* Enable list or rules. It will automatically find appropriate components,
|
|
350
|
-
* containing rules with given names. If rule not found, and `ignoreInvalid`
|
|
351
|
-
* not set - throws exception.
|
|
352
|
-
*
|
|
353
|
-
* ##### Example
|
|
354
|
-
*
|
|
355
|
-
* ```javascript
|
|
356
|
-
* var md = require('markdown-it')()
|
|
357
|
-
* .enable(['sub', 'sup'])
|
|
358
|
-
* .disable('smartquotes');
|
|
359
|
-
* ```
|
|
360
|
-
**/
|
|
361
|
-
MarkdownIt.prototype.enable = function(list, ignoreInvalid) {
|
|
362
|
-
let result = [];
|
|
363
|
-
if (!Array.isArray(list)) list = [list];
|
|
364
|
-
[
|
|
365
|
-
"core",
|
|
366
|
-
"block",
|
|
367
|
-
"inline"
|
|
368
|
-
].forEach(function(chain) {
|
|
369
|
-
result = result.concat(this[chain].ruler.enable(list, true));
|
|
370
|
-
}, this);
|
|
371
|
-
result = result.concat(this.inline.ruler2.enable(list, true));
|
|
372
|
-
const missed = list.filter(function(name) {
|
|
373
|
-
return result.indexOf(name) < 0;
|
|
374
|
-
});
|
|
375
|
-
if (missed.length && !ignoreInvalid) throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + missed);
|
|
376
|
-
return this;
|
|
377
|
-
};
|
|
378
|
-
/** chainable
|
|
379
|
-
* MarkdownIt.disable(list, ignoreInvalid)
|
|
380
|
-
* - list (String|Array): rule name or list of rule names to disable.
|
|
381
|
-
* - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
|
|
382
|
-
*
|
|
383
|
-
* The same as [[MarkdownIt.enable]], but turn specified rules off.
|
|
384
|
-
**/
|
|
385
|
-
MarkdownIt.prototype.disable = function(list, ignoreInvalid) {
|
|
386
|
-
let result = [];
|
|
387
|
-
if (!Array.isArray(list)) list = [list];
|
|
388
|
-
[
|
|
389
|
-
"core",
|
|
390
|
-
"block",
|
|
391
|
-
"inline"
|
|
392
|
-
].forEach(function(chain) {
|
|
393
|
-
result = result.concat(this[chain].ruler.disable(list, true));
|
|
394
|
-
}, this);
|
|
395
|
-
result = result.concat(this.inline.ruler2.disable(list, true));
|
|
396
|
-
const missed = list.filter(function(name) {
|
|
397
|
-
return result.indexOf(name) < 0;
|
|
398
|
-
});
|
|
399
|
-
if (missed.length && !ignoreInvalid) throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + missed);
|
|
400
|
-
return this;
|
|
401
|
-
};
|
|
402
|
-
/** chainable
|
|
403
|
-
* MarkdownIt.use(plugin, params)
|
|
404
|
-
*
|
|
405
|
-
* Load specified plugin with given params into current parser instance.
|
|
406
|
-
* It's just a sugar to call `plugin(md, params)` with curring.
|
|
407
|
-
*
|
|
408
|
-
* ##### Example
|
|
409
|
-
*
|
|
410
|
-
* ```javascript
|
|
411
|
-
* var iterator = require('markdown-it-for-inline');
|
|
412
|
-
* var md = require('markdown-it')()
|
|
413
|
-
* .use(iterator, 'foo_replace', 'text', function (tokens, idx) {
|
|
414
|
-
* tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');
|
|
415
|
-
* });
|
|
416
|
-
* ```
|
|
417
|
-
**/
|
|
418
|
-
MarkdownIt.prototype.use = function(plugin) {
|
|
419
|
-
const args = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
420
|
-
plugin.apply(plugin, args);
|
|
421
|
-
return this;
|
|
422
|
-
};
|
|
423
|
-
/** internal
|
|
424
|
-
* MarkdownIt.parse(src, env) -> Array
|
|
425
|
-
* - src (String): source string
|
|
426
|
-
* - env (Object): environment sandbox
|
|
427
|
-
*
|
|
428
|
-
* Parse input string and return list of block tokens (special token type
|
|
429
|
-
* "inline" will contain list of inline tokens). You should not call this
|
|
430
|
-
* method directly, until you write custom renderer (for example, to produce
|
|
431
|
-
* AST).
|
|
432
|
-
*
|
|
433
|
-
* `env` is used to pass data between "distributed" rules and return additional
|
|
434
|
-
* metadata like reference info, needed for the renderer. It also can be used to
|
|
435
|
-
* inject data in specific cases. Usually, you will be ok to pass `{}`,
|
|
436
|
-
* and then pass updated object to renderer.
|
|
437
|
-
**/
|
|
438
|
-
MarkdownIt.prototype.parse = function(src, env) {
|
|
439
|
-
if (typeof src !== "string") throw new Error("Input data should be a String");
|
|
440
|
-
const state = new this.core.State(src, this, env);
|
|
441
|
-
this.core.process(state);
|
|
442
|
-
return state.tokens;
|
|
443
|
-
};
|
|
444
|
-
/**
|
|
445
|
-
* MarkdownIt.render(src [, env]) -> String
|
|
446
|
-
* - src (String): source string
|
|
447
|
-
* - env (Object): environment sandbox
|
|
448
|
-
*
|
|
449
|
-
* Render markdown string into html. It does all magic for you :).
|
|
450
|
-
*
|
|
451
|
-
* `env` can be used to inject additional metadata (`{}` by default).
|
|
452
|
-
* But you will not need it with high probability. See also comment
|
|
453
|
-
* in [[MarkdownIt.parse]].
|
|
454
|
-
**/
|
|
455
|
-
MarkdownIt.prototype.render = function(src, env) {
|
|
456
|
-
env = env || {};
|
|
457
|
-
return this.renderer.render(this.parse(src, env), this.options, env);
|
|
458
|
-
};
|
|
459
|
-
/** internal
|
|
460
|
-
* MarkdownIt.parseInline(src, env) -> Array
|
|
461
|
-
* - src (String): source string
|
|
462
|
-
* - env (Object): environment sandbox
|
|
463
|
-
*
|
|
464
|
-
* The same as [[MarkdownIt.parse]] but skip all block rules. It returns the
|
|
465
|
-
* block tokens list with the single `inline` element, containing parsed inline
|
|
466
|
-
* tokens in `children` property. Also updates `env` object.
|
|
467
|
-
**/
|
|
468
|
-
MarkdownIt.prototype.parseInline = function(src, env) {
|
|
469
|
-
const state = new this.core.State(src, this, env);
|
|
470
|
-
state.inlineMode = true;
|
|
471
|
-
this.core.process(state);
|
|
472
|
-
return state.tokens;
|
|
473
|
-
};
|
|
474
|
-
/**
|
|
475
|
-
* MarkdownIt.renderInline(src [, env]) -> String
|
|
476
|
-
* - src (String): source string
|
|
477
|
-
* - env (Object): environment sandbox
|
|
478
|
-
*
|
|
479
|
-
* Similar to [[MarkdownIt.render]] but for single paragraph content. Result
|
|
480
|
-
* will NOT be wrapped into `<p>` tags.
|
|
481
|
-
**/
|
|
482
|
-
MarkdownIt.prototype.renderInline = function(src, env) {
|
|
483
|
-
env = env || {};
|
|
484
|
-
return this.renderer.render(this.parseInline(src, env), this.options, env);
|
|
485
|
-
};
|
|
486
|
-
|
|
487
|
-
//#endregion
|
|
488
|
-
exports.default = MarkdownIt;
|