@shell-shock/preset-cli 0.9.10 → 0.9.12
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 +16 -0
- package/dist/_virtual/_rolldown/runtime.mjs +45 -0
- package/dist/components/upgrade-builtin.cjs +1 -1
- package/dist/components/upgrade-builtin.mjs +1 -1
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +94 -0
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +94 -0
- 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 +1 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.cjs +36 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs +36 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.cjs +32 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs +33 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.cjs +133 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs +134 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.cjs +32 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs +31 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.cjs +169 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs +167 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.cjs +98 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs +95 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.cjs +23 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs +23 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs.map +1 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.cjs +36 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs +36 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.cjs +10 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +10 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
- package/dist/packages/unified/dist/html-Di3_LwV3.cjs +337 -0
- package/dist/packages/unified/dist/html-Di3_LwV3.mjs +338 -0
- package/dist/packages/unified/dist/html-Di3_LwV3.mjs.map +1 -0
- package/dist/packages/unified/dist/markdown/index.cjs +1 -0
- package/dist/packages/unified/dist/markdown/index.mjs +3 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.cjs +82 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs +83 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs.map +1 -0
- package/package.json +39 -12
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
- package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
- /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { isSpace } from "../common/utils.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs
|
|
4
|
+
function blockquote(state, startLine, endLine, silent) {
|
|
5
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6
|
+
let max = state.eMarks[startLine];
|
|
7
|
+
const oldLineMax = state.lineMax;
|
|
8
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
9
|
+
if (state.src.charCodeAt(pos) !== 62) return false;
|
|
10
|
+
if (silent) return true;
|
|
11
|
+
const oldBMarks = [];
|
|
12
|
+
const oldBSCount = [];
|
|
13
|
+
const oldSCount = [];
|
|
14
|
+
const oldTShift = [];
|
|
15
|
+
const terminatorRules = state.md.block.ruler.getRules("blockquote");
|
|
16
|
+
const oldParentType = state.parentType;
|
|
17
|
+
state.parentType = "blockquote";
|
|
18
|
+
let lastLineEmpty = false;
|
|
19
|
+
let nextLine;
|
|
20
|
+
for (nextLine = startLine; nextLine < endLine; nextLine++) {
|
|
21
|
+
const isOutdented = state.sCount[nextLine] < state.blkIndent;
|
|
22
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
23
|
+
max = state.eMarks[nextLine];
|
|
24
|
+
if (pos >= max) break;
|
|
25
|
+
if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
|
|
26
|
+
let initial = state.sCount[nextLine] + 1;
|
|
27
|
+
let spaceAfterMarker;
|
|
28
|
+
let adjustTab;
|
|
29
|
+
if (state.src.charCodeAt(pos) === 32) {
|
|
30
|
+
pos++;
|
|
31
|
+
initial++;
|
|
32
|
+
adjustTab = false;
|
|
33
|
+
spaceAfterMarker = true;
|
|
34
|
+
} else if (state.src.charCodeAt(pos) === 9) {
|
|
35
|
+
spaceAfterMarker = true;
|
|
36
|
+
if ((state.bsCount[nextLine] + initial) % 4 === 3) {
|
|
37
|
+
pos++;
|
|
38
|
+
initial++;
|
|
39
|
+
adjustTab = false;
|
|
40
|
+
} else adjustTab = true;
|
|
41
|
+
} else spaceAfterMarker = false;
|
|
42
|
+
let offset = initial;
|
|
43
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
44
|
+
state.bMarks[nextLine] = pos;
|
|
45
|
+
while (pos < max) {
|
|
46
|
+
const ch = state.src.charCodeAt(pos);
|
|
47
|
+
if (isSpace(ch)) if (ch === 9) offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
48
|
+
else offset++;
|
|
49
|
+
else break;
|
|
50
|
+
pos++;
|
|
51
|
+
}
|
|
52
|
+
lastLineEmpty = pos >= max;
|
|
53
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
54
|
+
state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
55
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
56
|
+
state.sCount[nextLine] = offset - initial;
|
|
57
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
58
|
+
state.tShift[nextLine] = pos - state.bMarks[nextLine];
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
if (lastLineEmpty) break;
|
|
62
|
+
let terminate = false;
|
|
63
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
64
|
+
terminate = true;
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
if (terminate) {
|
|
68
|
+
state.lineMax = nextLine;
|
|
69
|
+
if (state.blkIndent !== 0) {
|
|
70
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
71
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
72
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
73
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
74
|
+
state.sCount[nextLine] -= state.blkIndent;
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
79
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
80
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
81
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
82
|
+
state.sCount[nextLine] = -1;
|
|
83
|
+
}
|
|
84
|
+
const oldIndent = state.blkIndent;
|
|
85
|
+
state.blkIndent = 0;
|
|
86
|
+
const token_o = state.push("blockquote_open", "blockquote", 1);
|
|
87
|
+
token_o.markup = ">";
|
|
88
|
+
const lines = [startLine, 0];
|
|
89
|
+
token_o.map = lines;
|
|
90
|
+
state.md.block.tokenize(state, startLine, nextLine);
|
|
91
|
+
const token_c = state.push("blockquote_close", "blockquote", -1);
|
|
92
|
+
token_c.markup = ">";
|
|
93
|
+
state.lineMax = oldLineMax;
|
|
94
|
+
state.parentType = oldParentType;
|
|
95
|
+
lines[1] = state.line;
|
|
96
|
+
for (let i = 0; i < oldTShift.length; i++) {
|
|
97
|
+
state.bMarks[i + startLine] = oldBMarks[i];
|
|
98
|
+
state.tShift[i + startLine] = oldTShift[i];
|
|
99
|
+
state.sCount[i + startLine] = oldSCount[i];
|
|
100
|
+
state.bsCount[i + startLine] = oldBSCount[i];
|
|
101
|
+
}
|
|
102
|
+
state.blkIndent = oldIndent;
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
export { blockquote as default };
|
|
108
|
+
//# sourceMappingURL=blockquote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockquote.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs"],"sourcesContent":["// Block quotes\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function blockquote (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n const oldLineMax = state.lineMax\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n // check the block quote marker\n if (state.src.charCodeAt(pos) !== 0x3E/* > */) { return false }\n\n // we know that it's going to be a valid blockquote,\n // so no point trying to find the end of it in silent mode\n if (silent) { return true }\n\n const oldBMarks = []\n const oldBSCount = []\n const oldSCount = []\n const oldTShift = []\n\n const terminatorRules = state.md.block.ruler.getRules('blockquote')\n\n const oldParentType = state.parentType\n state.parentType = 'blockquote'\n let lastLineEmpty = false\n let nextLine\n\n // Search the end of the block\n //\n // Block ends with either:\n // 1. an empty line outside:\n // ```\n // > test\n //\n // ```\n // 2. an empty line inside:\n // ```\n // >\n // test\n // ```\n // 3. another tag:\n // ```\n // > test\n // - - -\n // ```\n for (nextLine = startLine; nextLine < endLine; nextLine++) {\n // check if it's outdented, i.e. it's inside list item and indented\n // less than said list item:\n //\n // ```\n // 1. anything\n // > current blockquote\n // 2. checking this line\n // ```\n const isOutdented = state.sCount[nextLine] < state.blkIndent\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos >= max) {\n // Case 1: line is not inside the blockquote, and this line is empty.\n break\n }\n\n if (state.src.charCodeAt(pos++) === 0x3E/* > */ && !isOutdented) {\n // This line is inside the blockquote.\n\n // set offset past spaces and \">\"\n let initial = state.sCount[nextLine] + 1\n let spaceAfterMarker\n let adjustTab\n\n // skip one optional space after '>'\n if (state.src.charCodeAt(pos) === 0x20 /* space */) {\n // ' > test '\n // ^ -- position start of line here:\n pos++\n initial++\n adjustTab = false\n spaceAfterMarker = true\n } else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {\n spaceAfterMarker = true\n\n if ((state.bsCount[nextLine] + initial) % 4 === 3) {\n // ' >\\t test '\n // ^ -- position start of line here (tab has width===1)\n pos++\n initial++\n adjustTab = false\n } else {\n // ' >\\t test '\n // ^ -- position start of line here + shift bsCount slightly\n // to make extra space appear\n adjustTab = true\n }\n } else {\n spaceAfterMarker = false\n }\n\n let offset = initial\n oldBMarks.push(state.bMarks[nextLine])\n state.bMarks[nextLine] = pos\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4\n } else {\n offset++\n }\n } else {\n break\n }\n\n pos++\n }\n\n lastLineEmpty = pos >= max\n\n oldBSCount.push(state.bsCount[nextLine])\n state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0)\n\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] = offset - initial\n\n oldTShift.push(state.tShift[nextLine])\n state.tShift[nextLine] = pos - state.bMarks[nextLine]\n continue\n }\n\n // Case 2: line is not inside the blockquote, and the last line was empty.\n if (lastLineEmpty) { break }\n\n // Case 3: another tag found.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n if (terminate) {\n // Quirk to enforce \"hard termination mode\" for paragraphs;\n // normally if you call `tokenize(state, startLine, nextLine)`,\n // paragraphs will look below nextLine for paragraph continuation,\n // but if blockquote is terminated by another tag, they shouldn't\n state.lineMax = nextLine\n\n if (state.blkIndent !== 0) {\n // state.blkIndent was non-zero, we now set it to zero,\n // so we need to re-calculate all offsets to appear as\n // if indent wasn't changed\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] -= state.blkIndent\n }\n\n break\n }\n\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n\n // A negative indentation means that this is a paragraph continuation\n //\n state.sCount[nextLine] = -1\n }\n\n const oldIndent = state.blkIndent\n state.blkIndent = 0\n\n const token_o = state.push('blockquote_open', 'blockquote', 1)\n token_o.markup = '>'\n const lines = [startLine, 0]\n token_o.map = lines\n\n state.md.block.tokenize(state, startLine, nextLine)\n\n const token_c = state.push('blockquote_close', 'blockquote', -1)\n token_c.markup = '>'\n\n state.lineMax = oldLineMax\n state.parentType = oldParentType\n lines[1] = state.line\n\n // Restore original tShift; this might not be necessary since the parser\n // has already been here, but just to make sure we can do that.\n for (let i = 0; i < oldTShift.length; i++) {\n state.bMarks[i + startLine] = oldBMarks[i]\n state.tShift[i + startLine] = oldTShift[i]\n state.sCount[i + startLine] = oldSCount[i]\n state.bsCount[i + startLine] = oldBSCount[i]\n }\n state.blkIndent = oldIndent\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,WAAY,OAAO,WAAW,SAAS,QAAQ;CACrE,IAAI,MAAM,MAAM,OAAO,aAAa,MAAM,OAAO;CACjD,IAAI,MAAM,MAAM,OAAO;CAEvB,MAAM,aAAa,MAAM;AAGzB,KAAI,MAAM,OAAO,aAAa,MAAM,aAAa,EAAK,QAAO;AAG7D,KAAI,MAAM,IAAI,WAAW,IAAI,KAAK,GAAe,QAAO;AAIxD,KAAI,OAAU,QAAO;CAErB,MAAM,YAAa,EAAE;CACrB,MAAM,aAAa,EAAE;CACrB,MAAM,YAAa,EAAE;CACrB,MAAM,YAAa,EAAE;CAErB,MAAM,kBAAkB,MAAM,GAAG,MAAM,MAAM,SAAS,aAAa;CAEnE,MAAM,gBAAgB,MAAM;AAC5B,OAAM,aAAa;CACnB,IAAI,gBAAgB;CACpB,IAAI;AAoBJ,MAAK,WAAW,WAAW,WAAW,SAAS,YAAY;EASzD,MAAM,cAAc,MAAM,OAAO,YAAY,MAAM;AAEnD,QAAM,MAAM,OAAO,YAAY,MAAM,OAAO;AAC5C,QAAM,MAAM,OAAO;AAEnB,MAAI,OAAO,IAET;AAGF,MAAI,MAAM,IAAI,WAAW,MAAM,KAAK,MAAe,CAAC,aAAa;GAI/D,IAAI,UAAU,MAAM,OAAO,YAAY;GACvC,IAAI;GACJ,IAAI;AAGJ,OAAI,MAAM,IAAI,WAAW,IAAI,KAAK,IAAkB;AAGlD;AACA;AACA,gBAAY;AACZ,uBAAmB;cACV,MAAM,IAAI,WAAW,IAAI,KAAK,GAAgB;AACvD,uBAAmB;AAEnB,SAAK,MAAM,QAAQ,YAAY,WAAW,MAAM,GAAG;AAGjD;AACA;AACA,iBAAY;UAKZ,aAAY;SAGd,oBAAmB;GAGrB,IAAI,SAAS;AACb,aAAU,KAAK,MAAM,OAAO,UAAU;AACtC,SAAM,OAAO,YAAY;AAEzB,UAAO,MAAM,KAAK;IAChB,MAAM,KAAK,MAAM,IAAI,WAAW,IAAI;AAEpC,QAAI,QAAQ,GAAG,CACb,KAAI,OAAO,EACT,WAAU,KAAK,SAAS,MAAM,QAAQ,aAAa,YAAY,IAAI,MAAM;QAEzE;QAGF;AAGF;;AAGF,mBAAgB,OAAO;AAEvB,cAAW,KAAK,MAAM,QAAQ,UAAU;AACxC,SAAM,QAAQ,YAAY,MAAM,OAAO,YAAY,KAAK,mBAAmB,IAAI;AAE/E,aAAU,KAAK,MAAM,OAAO,UAAU;AACtC,SAAM,OAAO,YAAY,SAAS;AAElC,aAAU,KAAK,MAAM,OAAO,UAAU;AACtC,SAAM,OAAO,YAAY,MAAM,MAAM,OAAO;AAC5C;;AAIF,MAAI,cAAiB;EAGrB,IAAI,YAAY;AAChB,OAAK,IAAI,IAAI,GAAG,IAAI,gBAAgB,QAAQ,IAAI,GAAG,IACjD,KAAI,gBAAgB,GAAG,OAAO,UAAU,SAAS,KAAK,EAAE;AACtD,eAAY;AACZ;;AAIJ,MAAI,WAAW;AAKb,SAAM,UAAU;AAEhB,OAAI,MAAM,cAAc,GAAG;AAIzB,cAAU,KAAK,MAAM,OAAO,UAAU;AACtC,eAAW,KAAK,MAAM,QAAQ,UAAU;AACxC,cAAU,KAAK,MAAM,OAAO,UAAU;AACtC,cAAU,KAAK,MAAM,OAAO,UAAU;AACtC,UAAM,OAAO,aAAa,MAAM;;AAGlC;;AAGF,YAAU,KAAK,MAAM,OAAO,UAAU;AACtC,aAAW,KAAK,MAAM,QAAQ,UAAU;AACxC,YAAU,KAAK,MAAM,OAAO,UAAU;AACtC,YAAU,KAAK,MAAM,OAAO,UAAU;AAItC,QAAM,OAAO,YAAY;;CAG3B,MAAM,YAAY,MAAM;AACxB,OAAM,YAAY;CAElB,MAAM,UAAW,MAAM,KAAK,mBAAmB,cAAc,EAAE;AAC/D,SAAQ,SAAS;CACjB,MAAM,QAAQ,CAAC,WAAW,EAAE;AAC5B,SAAQ,MAAS;AAEjB,OAAM,GAAG,MAAM,SAAS,OAAO,WAAW,SAAS;CAEnD,MAAM,UAAW,MAAM,KAAK,oBAAoB,cAAc,GAAG;AACjE,SAAQ,SAAS;AAEjB,OAAM,UAAU;AAChB,OAAM,aAAa;AACnB,OAAM,KAAK,MAAM;AAIjB,MAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AACzC,QAAM,OAAO,IAAI,aAAa,UAAU;AACxC,QAAM,OAAO,IAAI,aAAa,UAAU;AACxC,QAAM,OAAO,IAAI,aAAa,UAAU;AACxC,QAAM,QAAQ,IAAI,aAAa,WAAW;;AAE5C,OAAM,YAAY;AAElB,QAAO"}
|
package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs
|
|
3
|
+
function code(state, startLine, endLine) {
|
|
4
|
+
if (state.sCount[startLine] - state.blkIndent < 4) return false;
|
|
5
|
+
let nextLine = startLine + 1;
|
|
6
|
+
let last = nextLine;
|
|
7
|
+
while (nextLine < endLine) {
|
|
8
|
+
if (state.isEmpty(nextLine)) {
|
|
9
|
+
nextLine++;
|
|
10
|
+
continue;
|
|
11
|
+
}
|
|
12
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
13
|
+
nextLine++;
|
|
14
|
+
last = nextLine;
|
|
15
|
+
continue;
|
|
16
|
+
}
|
|
17
|
+
break;
|
|
18
|
+
}
|
|
19
|
+
state.line = last;
|
|
20
|
+
const token = state.push("code_block", "code", 0);
|
|
21
|
+
token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
|
|
22
|
+
token.map = [startLine, state.line];
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.default = code;
|
package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs
|
|
2
|
+
function code(state, startLine, endLine) {
|
|
3
|
+
if (state.sCount[startLine] - state.blkIndent < 4) return false;
|
|
4
|
+
let nextLine = startLine + 1;
|
|
5
|
+
let last = nextLine;
|
|
6
|
+
while (nextLine < endLine) {
|
|
7
|
+
if (state.isEmpty(nextLine)) {
|
|
8
|
+
nextLine++;
|
|
9
|
+
continue;
|
|
10
|
+
}
|
|
11
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
12
|
+
nextLine++;
|
|
13
|
+
last = nextLine;
|
|
14
|
+
continue;
|
|
15
|
+
}
|
|
16
|
+
break;
|
|
17
|
+
}
|
|
18
|
+
state.line = last;
|
|
19
|
+
const token = state.push("code_block", "code", 0);
|
|
20
|
+
token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
|
|
21
|
+
token.map = [startLine, state.line];
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { code as default };
|
|
27
|
+
//# sourceMappingURL=code.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs"],"sourcesContent":["// Code block (4 spaces padded)\n\nexport default function code (state, startLine, endLine/*, silent */) {\n if (state.sCount[startLine] - state.blkIndent < 4) { return false }\n\n let nextLine = startLine + 1\n let last = nextLine\n\n while (nextLine < endLine) {\n if (state.isEmpty(nextLine)) {\n nextLine++\n continue\n }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n nextLine++\n last = nextLine\n continue\n }\n break\n }\n\n state.line = last\n\n const token = state.push('code_block', 'code', 0)\n token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + '\\n'\n token.map = [startLine, state.line]\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";AAEA,SAAwB,KAAM,OAAO,WAAW,SAAsB;AACpE,KAAI,MAAM,OAAO,aAAa,MAAM,YAAY,EAAK,QAAO;CAE5D,IAAI,WAAW,YAAY;CAC3B,IAAI,OAAO;AAEX,QAAO,WAAW,SAAS;AACzB,MAAI,MAAM,QAAQ,SAAS,EAAE;AAC3B;AACA;;AAGF,MAAI,MAAM,OAAO,YAAY,MAAM,aAAa,GAAG;AACjD;AACA,UAAO;AACP;;AAEF;;AAGF,OAAM,OAAO;CAEb,MAAM,QAAU,MAAM,KAAK,cAAc,QAAQ,EAAE;AACnD,OAAM,UAAU,MAAM,SAAS,WAAW,MAAM,IAAI,MAAM,WAAW,MAAM,GAAG;AAC9E,OAAM,MAAU,CAAC,WAAW,MAAM,KAAK;AAEvC,QAAO"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs
|
|
3
|
+
function fence(state, startLine, endLine, silent) {
|
|
4
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
5
|
+
let max = state.eMarks[startLine];
|
|
6
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
7
|
+
if (pos + 3 > max) return false;
|
|
8
|
+
const marker = state.src.charCodeAt(pos);
|
|
9
|
+
if (marker !== 126 && marker !== 96) return false;
|
|
10
|
+
let mem = pos;
|
|
11
|
+
pos = state.skipChars(pos, marker);
|
|
12
|
+
let len = pos - mem;
|
|
13
|
+
if (len < 3) return false;
|
|
14
|
+
const markup = state.src.slice(mem, pos);
|
|
15
|
+
const params = state.src.slice(pos, max);
|
|
16
|
+
if (marker === 96) {
|
|
17
|
+
if (params.indexOf(String.fromCharCode(marker)) >= 0) return false;
|
|
18
|
+
}
|
|
19
|
+
if (silent) return true;
|
|
20
|
+
let nextLine = startLine;
|
|
21
|
+
let haveEndMarker = false;
|
|
22
|
+
for (;;) {
|
|
23
|
+
nextLine++;
|
|
24
|
+
if (nextLine >= endLine) break;
|
|
25
|
+
pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
26
|
+
max = state.eMarks[nextLine];
|
|
27
|
+
if (pos < max && state.sCount[nextLine] < state.blkIndent) break;
|
|
28
|
+
if (state.src.charCodeAt(pos) !== marker) continue;
|
|
29
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) continue;
|
|
30
|
+
pos = state.skipChars(pos, marker);
|
|
31
|
+
if (pos - mem < len) continue;
|
|
32
|
+
pos = state.skipSpaces(pos);
|
|
33
|
+
if (pos < max) continue;
|
|
34
|
+
haveEndMarker = true;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
len = state.sCount[startLine];
|
|
38
|
+
state.line = nextLine + (haveEndMarker ? 1 : 0);
|
|
39
|
+
const token = state.push("fence", "code", 0);
|
|
40
|
+
token.info = params;
|
|
41
|
+
token.content = state.getLines(startLine + 1, nextLine, len, true);
|
|
42
|
+
token.markup = markup;
|
|
43
|
+
token.map = [startLine, state.line];
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
exports.default = fence;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs
|
|
2
|
+
function fence(state, startLine, endLine, silent) {
|
|
3
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
4
|
+
let max = state.eMarks[startLine];
|
|
5
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6
|
+
if (pos + 3 > max) return false;
|
|
7
|
+
const marker = state.src.charCodeAt(pos);
|
|
8
|
+
if (marker !== 126 && marker !== 96) return false;
|
|
9
|
+
let mem = pos;
|
|
10
|
+
pos = state.skipChars(pos, marker);
|
|
11
|
+
let len = pos - mem;
|
|
12
|
+
if (len < 3) return false;
|
|
13
|
+
const markup = state.src.slice(mem, pos);
|
|
14
|
+
const params = state.src.slice(pos, max);
|
|
15
|
+
if (marker === 96) {
|
|
16
|
+
if (params.indexOf(String.fromCharCode(marker)) >= 0) return false;
|
|
17
|
+
}
|
|
18
|
+
if (silent) return true;
|
|
19
|
+
let nextLine = startLine;
|
|
20
|
+
let haveEndMarker = false;
|
|
21
|
+
for (;;) {
|
|
22
|
+
nextLine++;
|
|
23
|
+
if (nextLine >= endLine) break;
|
|
24
|
+
pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
25
|
+
max = state.eMarks[nextLine];
|
|
26
|
+
if (pos < max && state.sCount[nextLine] < state.blkIndent) break;
|
|
27
|
+
if (state.src.charCodeAt(pos) !== marker) continue;
|
|
28
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) continue;
|
|
29
|
+
pos = state.skipChars(pos, marker);
|
|
30
|
+
if (pos - mem < len) continue;
|
|
31
|
+
pos = state.skipSpaces(pos);
|
|
32
|
+
if (pos < max) continue;
|
|
33
|
+
haveEndMarker = true;
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
len = state.sCount[startLine];
|
|
37
|
+
state.line = nextLine + (haveEndMarker ? 1 : 0);
|
|
38
|
+
const token = state.push("fence", "code", 0);
|
|
39
|
+
token.info = params;
|
|
40
|
+
token.content = state.getLines(startLine + 1, nextLine, len, true);
|
|
41
|
+
token.markup = markup;
|
|
42
|
+
token.map = [startLine, state.line];
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { fence as default };
|
|
48
|
+
//# sourceMappingURL=fence.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fence.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs"],"sourcesContent":["// fences (``` lang, ~~~ lang)\n\nexport default function fence (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (pos + 3 > max) { return false }\n\n const marker = state.src.charCodeAt(pos)\n\n if (marker !== 0x7E/* ~ */ && marker !== 0x60 /* ` */) {\n return false\n }\n\n // scan marker length\n let mem = pos\n pos = state.skipChars(pos, marker)\n\n let len = pos - mem\n\n if (len < 3) { return false }\n\n const markup = state.src.slice(mem, pos)\n const params = state.src.slice(pos, max)\n\n if (marker === 0x60 /* ` */) {\n if (params.indexOf(String.fromCharCode(marker)) >= 0) {\n return false\n }\n }\n\n // Since start is found, we can report success here in validation mode\n if (silent) { return true }\n\n // search end of block\n let nextLine = startLine\n let haveEndMarker = false\n\n for (;;) {\n nextLine++\n if (nextLine >= endLine) {\n // unclosed block should be autoclosed by end of document.\n // also block seems to be autoclosed by end of parent\n break\n }\n\n pos = mem = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos < max && state.sCount[nextLine] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n // - ```\n // test\n break\n }\n\n if (state.src.charCodeAt(pos) !== marker) { continue }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n // closing fence should be indented less than 4 spaces\n continue\n }\n\n pos = state.skipChars(pos, marker)\n\n // closing code fence must be at least as long as the opening one\n if (pos - mem < len) { continue }\n\n // make sure tail has spaces only\n pos = state.skipSpaces(pos)\n\n if (pos < max) { continue }\n\n haveEndMarker = true\n // found!\n break\n }\n\n // If a fence has heading spaces, they should be removed from its inner block\n len = state.sCount[startLine]\n\n state.line = nextLine + (haveEndMarker ? 1 : 0)\n\n const token = state.push('fence', 'code', 0)\n token.info = params\n token.content = state.getLines(startLine + 1, nextLine, len, true)\n token.markup = markup\n token.map = [startLine, state.line]\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";AAEA,SAAwB,MAAO,OAAO,WAAW,SAAS,QAAQ;CAChE,IAAI,MAAM,MAAM,OAAO,aAAa,MAAM,OAAO;CACjD,IAAI,MAAM,MAAM,OAAO;AAGvB,KAAI,MAAM,OAAO,aAAa,MAAM,aAAa,EAAK,QAAO;AAE7D,KAAI,MAAM,IAAI,IAAO,QAAO;CAE5B,MAAM,SAAS,MAAM,IAAI,WAAW,IAAI;AAExC,KAAI,WAAW,OAAe,WAAW,GACvC,QAAO;CAIT,IAAI,MAAM;AACV,OAAM,MAAM,UAAU,KAAK,OAAO;CAElC,IAAI,MAAM,MAAM;AAEhB,KAAI,MAAM,EAAK,QAAO;CAEtB,MAAM,SAAS,MAAM,IAAI,MAAM,KAAK,IAAI;CACxC,MAAM,SAAS,MAAM,IAAI,MAAM,KAAK,IAAI;AAExC,KAAI,WAAW,IACb;MAAI,OAAO,QAAQ,OAAO,aAAa,OAAO,CAAC,IAAI,EACjD,QAAO;;AAKX,KAAI,OAAU,QAAO;CAGrB,IAAI,WAAW;CACf,IAAI,gBAAgB;AAEpB,UAAS;AACP;AACA,MAAI,YAAY,QAGd;AAGF,QAAM,MAAM,MAAM,OAAO,YAAY,MAAM,OAAO;AAClD,QAAM,MAAM,OAAO;AAEnB,MAAI,MAAM,OAAO,MAAM,OAAO,YAAY,MAAM,UAI9C;AAGF,MAAI,MAAM,IAAI,WAAW,IAAI,KAAK,OAAU;AAE5C,MAAI,MAAM,OAAO,YAAY,MAAM,aAAa,EAE9C;AAGF,QAAM,MAAM,UAAU,KAAK,OAAO;AAGlC,MAAI,MAAM,MAAM,IAAO;AAGvB,QAAM,MAAM,WAAW,IAAI;AAE3B,MAAI,MAAM,IAAO;AAEjB,kBAAgB;AAEhB;;AAIF,OAAM,MAAM,OAAO;AAEnB,OAAM,OAAO,YAAY,gBAAgB,IAAI;CAE7C,MAAM,QAAU,MAAM,KAAK,SAAS,QAAQ,EAAE;AAC9C,OAAM,OAAU;AAChB,OAAM,UAAU,MAAM,SAAS,YAAY,GAAG,UAAU,KAAK,KAAK;AAClE,OAAM,SAAU;AAChB,OAAM,MAAU,CAAC,WAAW,MAAM,KAAK;AAEvC,QAAO"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_utils = require('../common/utils.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs
|
|
4
|
+
function heading(state, startLine, endLine, silent) {
|
|
5
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6
|
+
let max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
8
|
+
let ch = state.src.charCodeAt(pos);
|
|
9
|
+
if (ch !== 35 || pos >= max) return false;
|
|
10
|
+
let level = 1;
|
|
11
|
+
ch = state.src.charCodeAt(++pos);
|
|
12
|
+
while (ch === 35 && pos < max && level <= 6) {
|
|
13
|
+
level++;
|
|
14
|
+
ch = state.src.charCodeAt(++pos);
|
|
15
|
+
}
|
|
16
|
+
if (level > 6 || pos < max && !require_utils.isSpace(ch)) return false;
|
|
17
|
+
if (silent) return true;
|
|
18
|
+
max = state.skipSpacesBack(max, pos);
|
|
19
|
+
const tmp = state.skipCharsBack(max, 35, pos);
|
|
20
|
+
if (tmp > pos && require_utils.isSpace(state.src.charCodeAt(tmp - 1))) max = tmp;
|
|
21
|
+
state.line = startLine + 1;
|
|
22
|
+
const token_o = state.push("heading_open", "h" + String(level), 1);
|
|
23
|
+
token_o.markup = "########".slice(0, level);
|
|
24
|
+
token_o.map = [startLine, state.line];
|
|
25
|
+
const token_i = state.push("inline", "", 0);
|
|
26
|
+
token_i.content = state.src.slice(pos, max).trim();
|
|
27
|
+
token_i.map = [startLine, state.line];
|
|
28
|
+
token_i.children = [];
|
|
29
|
+
const token_c = state.push("heading_close", "h" + String(level), -1);
|
|
30
|
+
token_c.markup = "########".slice(0, level);
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.default = heading;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isSpace } from "../common/utils.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs
|
|
4
|
+
function heading(state, startLine, endLine, silent) {
|
|
5
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6
|
+
let max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
8
|
+
let ch = state.src.charCodeAt(pos);
|
|
9
|
+
if (ch !== 35 || pos >= max) return false;
|
|
10
|
+
let level = 1;
|
|
11
|
+
ch = state.src.charCodeAt(++pos);
|
|
12
|
+
while (ch === 35 && pos < max && level <= 6) {
|
|
13
|
+
level++;
|
|
14
|
+
ch = state.src.charCodeAt(++pos);
|
|
15
|
+
}
|
|
16
|
+
if (level > 6 || pos < max && !isSpace(ch)) return false;
|
|
17
|
+
if (silent) return true;
|
|
18
|
+
max = state.skipSpacesBack(max, pos);
|
|
19
|
+
const tmp = state.skipCharsBack(max, 35, pos);
|
|
20
|
+
if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) max = tmp;
|
|
21
|
+
state.line = startLine + 1;
|
|
22
|
+
const token_o = state.push("heading_open", "h" + String(level), 1);
|
|
23
|
+
token_o.markup = "########".slice(0, level);
|
|
24
|
+
token_o.map = [startLine, state.line];
|
|
25
|
+
const token_i = state.push("inline", "", 0);
|
|
26
|
+
token_i.content = state.src.slice(pos, max).trim();
|
|
27
|
+
token_i.map = [startLine, state.line];
|
|
28
|
+
token_i.children = [];
|
|
29
|
+
const token_c = state.push("heading_close", "h" + String(level), -1);
|
|
30
|
+
token_c.markup = "########".slice(0, level);
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { heading as default };
|
|
36
|
+
//# sourceMappingURL=heading.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs"],"sourcesContent":["// heading (#, ##, ...)\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function heading (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x23/* # */ || pos >= max) { return false }\n\n // count heading level\n let level = 1\n ch = state.src.charCodeAt(++pos)\n while (ch === 0x23/* # */ && pos < max && level <= 6) {\n level++\n ch = state.src.charCodeAt(++pos)\n }\n\n if (level > 6 || (pos < max && !isSpace(ch))) { return false }\n\n if (silent) { return true }\n\n // Let's cut tails like ' ### ' from the end of string\n\n max = state.skipSpacesBack(max, pos)\n const tmp = state.skipCharsBack(max, 0x23, pos) // #\n if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {\n max = tmp\n }\n\n state.line = startLine + 1\n\n const token_o = state.push('heading_open', 'h' + String(level), 1)\n token_o.markup = '########'.slice(0, level)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = state.src.slice(pos, max).trim()\n token_i.map = [startLine, state.line]\n token_i.children = []\n\n const token_c = state.push('heading_close', 'h' + String(level), -1)\n token_c.markup = '########'.slice(0, level)\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,QAAS,OAAO,WAAW,SAAS,QAAQ;CAClE,IAAI,MAAM,MAAM,OAAO,aAAa,MAAM,OAAO;CACjD,IAAI,MAAM,MAAM,OAAO;AAGvB,KAAI,MAAM,OAAO,aAAa,MAAM,aAAa,EAAK,QAAO;CAE7D,IAAI,KAAM,MAAM,IAAI,WAAW,IAAI;AAEnC,KAAI,OAAO,MAAe,OAAO,IAAO,QAAO;CAG/C,IAAI,QAAQ;AACZ,MAAK,MAAM,IAAI,WAAW,EAAE,IAAI;AAChC,QAAO,OAAO,MAAe,MAAM,OAAO,SAAS,GAAG;AACpD;AACA,OAAK,MAAM,IAAI,WAAW,EAAE,IAAI;;AAGlC,KAAI,QAAQ,KAAM,MAAM,OAAO,CAAC,QAAQ,GAAG,CAAK,QAAO;AAEvD,KAAI,OAAU,QAAO;AAIrB,OAAM,MAAM,eAAe,KAAK,IAAI;CACpC,MAAM,MAAM,MAAM,cAAc,KAAK,IAAM,IAAI;AAC/C,KAAI,MAAM,OAAO,QAAQ,MAAM,IAAI,WAAW,MAAM,EAAE,CAAC,CACrD,OAAM;AAGR,OAAM,OAAO,YAAY;CAEzB,MAAM,UAAW,MAAM,KAAK,gBAAgB,MAAM,OAAO,MAAM,EAAE,EAAE;AACnE,SAAQ,SAAS,WAAW,MAAM,GAAG,MAAM;AAC3C,SAAQ,MAAS,CAAC,WAAW,MAAM,KAAK;CAExC,MAAM,UAAa,MAAM,KAAK,UAAU,IAAI,EAAE;AAC9C,SAAQ,UAAW,MAAM,IAAI,MAAM,KAAK,IAAI,CAAC,MAAM;AACnD,SAAQ,MAAW,CAAC,WAAW,MAAM,KAAK;AAC1C,SAAQ,WAAW,EAAE;CAErB,MAAM,UAAW,MAAM,KAAK,iBAAiB,MAAM,OAAO,MAAM,EAAE,GAAG;AACrE,SAAQ,SAAS,WAAW,MAAM,GAAG,MAAM;AAE3C,QAAO"}
|
package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_utils = require('../common/utils.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs
|
|
4
|
+
function hr(state, startLine, endLine, silent) {
|
|
5
|
+
const max = state.eMarks[startLine];
|
|
6
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
7
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
8
|
+
const marker = state.src.charCodeAt(pos++);
|
|
9
|
+
if (marker !== 42 && marker !== 45 && marker !== 95) return false;
|
|
10
|
+
let cnt = 1;
|
|
11
|
+
while (pos < max) {
|
|
12
|
+
const ch = state.src.charCodeAt(pos++);
|
|
13
|
+
if (ch !== marker && !require_utils.isSpace(ch)) return false;
|
|
14
|
+
if (ch === marker) cnt++;
|
|
15
|
+
}
|
|
16
|
+
if (cnt < 3) return false;
|
|
17
|
+
if (silent) return true;
|
|
18
|
+
state.line = startLine + 1;
|
|
19
|
+
const token = state.push("hr", "hr", 0);
|
|
20
|
+
token.map = [startLine, state.line];
|
|
21
|
+
token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.default = hr;
|
package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { isSpace } from "../common/utils.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs
|
|
4
|
+
function hr(state, startLine, endLine, silent) {
|
|
5
|
+
const max = state.eMarks[startLine];
|
|
6
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
7
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
8
|
+
const marker = state.src.charCodeAt(pos++);
|
|
9
|
+
if (marker !== 42 && marker !== 45 && marker !== 95) return false;
|
|
10
|
+
let cnt = 1;
|
|
11
|
+
while (pos < max) {
|
|
12
|
+
const ch = state.src.charCodeAt(pos++);
|
|
13
|
+
if (ch !== marker && !isSpace(ch)) return false;
|
|
14
|
+
if (ch === marker) cnt++;
|
|
15
|
+
}
|
|
16
|
+
if (cnt < 3) return false;
|
|
17
|
+
if (silent) return true;
|
|
18
|
+
state.line = startLine + 1;
|
|
19
|
+
const token = state.push("hr", "hr", 0);
|
|
20
|
+
token.map = [startLine, state.line];
|
|
21
|
+
token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { hr as default };
|
|
27
|
+
//# sourceMappingURL=hr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hr.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs"],"sourcesContent":["// Horizontal rule\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function hr (state, startLine, endLine, silent) {\n const max = state.eMarks[startLine]\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n const marker = state.src.charCodeAt(pos++)\n\n // Check hr marker\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x5F/* _ */) {\n return false\n }\n\n // markers can be mixed with spaces, but there should be at least 3 of them\n\n let cnt = 1\n while (pos < max) {\n const ch = state.src.charCodeAt(pos++)\n if (ch !== marker && !isSpace(ch)) { return false }\n if (ch === marker) { cnt++ }\n }\n\n if (cnt < 3) { return false }\n\n if (silent) { return true }\n\n state.line = startLine + 1\n\n const token = state.push('hr', 'hr', 0)\n token.map = [startLine, state.line]\n token.markup = Array(cnt + 1).join(String.fromCharCode(marker))\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,GAAI,OAAO,WAAW,SAAS,QAAQ;CAC7D,MAAM,MAAM,MAAM,OAAO;AAEzB,KAAI,MAAM,OAAO,aAAa,MAAM,aAAa,EAAK,QAAO;CAE7D,IAAI,MAAM,MAAM,OAAO,aAAa,MAAM,OAAO;CACjD,MAAM,SAAS,MAAM,IAAI,WAAW,MAAM;AAG1C,KAAI,WAAW,MACX,WAAW,MACX,WAAW,GACb,QAAO;CAKT,IAAI,MAAM;AACV,QAAO,MAAM,KAAK;EAChB,MAAM,KAAK,MAAM,IAAI,WAAW,MAAM;AACtC,MAAI,OAAO,UAAU,CAAC,QAAQ,GAAG,CAAI,QAAO;AAC5C,MAAI,OAAO,OAAU;;AAGvB,KAAI,MAAM,EAAK,QAAO;AAEtB,KAAI,OAAU,QAAO;AAErB,OAAM,OAAO,YAAY;CAEzB,MAAM,QAAS,MAAM,KAAK,MAAM,MAAM,EAAE;AACxC,OAAM,MAAS,CAAC,WAAW,MAAM,KAAK;AACtC,OAAM,SAAS,MAAM,MAAM,EAAE,CAAC,KAAK,OAAO,aAAa,OAAO,CAAC;AAE/D,QAAO"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const require_html_blocks = require('../common/html_blocks.cjs');
|
|
2
|
+
const require_html_re = require('../common/html_re.cjs');
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs
|
|
5
|
+
const HTML_SEQUENCES = [
|
|
6
|
+
[
|
|
7
|
+
/^<(script|pre|style|textarea)(?=(\s|>|$))/i,
|
|
8
|
+
/<\/(script|pre|style|textarea)>/i,
|
|
9
|
+
true
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^<!--/,
|
|
13
|
+
/-->/,
|
|
14
|
+
true
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
/^<\?/,
|
|
18
|
+
/\?>/,
|
|
19
|
+
true
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
/^<![A-Z]/,
|
|
23
|
+
/>/,
|
|
24
|
+
true
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
/^<!\[CDATA\[/,
|
|
28
|
+
/\]\]>/,
|
|
29
|
+
true
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
new RegExp("^</?(" + require_html_blocks.default.join("|") + ")(?=(\\s|/?>|$))", "i"),
|
|
33
|
+
/^$/,
|
|
34
|
+
true
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
new RegExp(require_html_re.HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"),
|
|
38
|
+
/^$/,
|
|
39
|
+
false
|
|
40
|
+
]
|
|
41
|
+
];
|
|
42
|
+
function html_block(state, startLine, endLine, silent) {
|
|
43
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
44
|
+
let max = state.eMarks[startLine];
|
|
45
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
46
|
+
if (!state.md.options.html) return false;
|
|
47
|
+
if (state.src.charCodeAt(pos) !== 60) return false;
|
|
48
|
+
let lineText = state.src.slice(pos, max);
|
|
49
|
+
let i = 0;
|
|
50
|
+
for (; i < HTML_SEQUENCES.length; i++) if (HTML_SEQUENCES[i][0].test(lineText)) break;
|
|
51
|
+
if (i === HTML_SEQUENCES.length) return false;
|
|
52
|
+
if (silent) return HTML_SEQUENCES[i][2];
|
|
53
|
+
let nextLine = startLine + 1;
|
|
54
|
+
if (!HTML_SEQUENCES[i][1].test(lineText)) for (; nextLine < endLine; nextLine++) {
|
|
55
|
+
if (state.sCount[nextLine] < state.blkIndent) break;
|
|
56
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
57
|
+
max = state.eMarks[nextLine];
|
|
58
|
+
lineText = state.src.slice(pos, max);
|
|
59
|
+
if (HTML_SEQUENCES[i][1].test(lineText)) {
|
|
60
|
+
if (lineText.length !== 0) nextLine++;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
state.line = nextLine;
|
|
65
|
+
const token = state.push("html_block", "", 0);
|
|
66
|
+
token.map = [startLine, nextLine];
|
|
67
|
+
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
exports.default = html_block;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import html_blocks_default from "../common/html_blocks.mjs";
|
|
2
|
+
import { HTML_OPEN_CLOSE_TAG_RE } from "../common/html_re.mjs";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs
|
|
5
|
+
const HTML_SEQUENCES = [
|
|
6
|
+
[
|
|
7
|
+
/^<(script|pre|style|textarea)(?=(\s|>|$))/i,
|
|
8
|
+
/<\/(script|pre|style|textarea)>/i,
|
|
9
|
+
true
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
/^<!--/,
|
|
13
|
+
/-->/,
|
|
14
|
+
true
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
/^<\?/,
|
|
18
|
+
/\?>/,
|
|
19
|
+
true
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
/^<![A-Z]/,
|
|
23
|
+
/>/,
|
|
24
|
+
true
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
/^<!\[CDATA\[/,
|
|
28
|
+
/\]\]>/,
|
|
29
|
+
true
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
new RegExp("^</?(" + html_blocks_default.join("|") + ")(?=(\\s|/?>|$))", "i"),
|
|
33
|
+
/^$/,
|
|
34
|
+
true
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"),
|
|
38
|
+
/^$/,
|
|
39
|
+
false
|
|
40
|
+
]
|
|
41
|
+
];
|
|
42
|
+
function html_block(state, startLine, endLine, silent) {
|
|
43
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
44
|
+
let max = state.eMarks[startLine];
|
|
45
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
46
|
+
if (!state.md.options.html) return false;
|
|
47
|
+
if (state.src.charCodeAt(pos) !== 60) return false;
|
|
48
|
+
let lineText = state.src.slice(pos, max);
|
|
49
|
+
let i = 0;
|
|
50
|
+
for (; i < HTML_SEQUENCES.length; i++) if (HTML_SEQUENCES[i][0].test(lineText)) break;
|
|
51
|
+
if (i === HTML_SEQUENCES.length) return false;
|
|
52
|
+
if (silent) return HTML_SEQUENCES[i][2];
|
|
53
|
+
let nextLine = startLine + 1;
|
|
54
|
+
if (!HTML_SEQUENCES[i][1].test(lineText)) for (; nextLine < endLine; nextLine++) {
|
|
55
|
+
if (state.sCount[nextLine] < state.blkIndent) break;
|
|
56
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
57
|
+
max = state.eMarks[nextLine];
|
|
58
|
+
lineText = state.src.slice(pos, max);
|
|
59
|
+
if (HTML_SEQUENCES[i][1].test(lineText)) {
|
|
60
|
+
if (lineText.length !== 0) nextLine++;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
state.line = nextLine;
|
|
65
|
+
const token = state.push("html_block", "", 0);
|
|
66
|
+
token.map = [startLine, nextLine];
|
|
67
|
+
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//#endregion
|
|
72
|
+
export { html_block as default };
|
|
73
|
+
//# sourceMappingURL=html_block.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html_block.mjs","names":["block_names"],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs"],"sourcesContent":["// HTML block\n\nimport block_names from '../common/html_blocks.mjs'\nimport { HTML_OPEN_CLOSE_TAG_RE } from '../common/html_re.mjs'\n\n// An array of opening and corresponding closing sequences for html tags,\n// last argument defines whether it can terminate a paragraph or not\n//\nconst HTML_SEQUENCES = [\n [/^<(script|pre|style|textarea)(?=(\\s|>|$))/i, /<\\/(script|pre|style|textarea)>/i, true],\n [/^<!--/, /-->/, true],\n [/^<\\?/, /\\?>/, true],\n [/^<![A-Z]/, />/, true],\n [/^<!\\[CDATA\\[/, /\\]\\]>/, true],\n [new RegExp('^</?(' + block_names.join('|') + ')(?=(\\\\s|/?>|$))', 'i'), /^$/, true],\n [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + '\\\\s*$'), /^$/, false]\n]\n\nexport default function html_block (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (!state.md.options.html) { return false }\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false }\n\n let lineText = state.src.slice(pos, max)\n\n let i = 0\n for (; i < HTML_SEQUENCES.length; i++) {\n if (HTML_SEQUENCES[i][0].test(lineText)) { break }\n }\n if (i === HTML_SEQUENCES.length) { return false }\n\n if (silent) {\n // true if this sequence can be a terminator, false otherwise\n return HTML_SEQUENCES[i][2]\n }\n\n let nextLine = startLine + 1\n\n // If we are here - we detected HTML block.\n // Let's roll down till block end.\n if (!HTML_SEQUENCES[i][1].test(lineText)) {\n for (; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n lineText = state.src.slice(pos, max)\n\n if (HTML_SEQUENCES[i][1].test(lineText)) {\n if (lineText.length !== 0) { nextLine++ }\n break\n }\n }\n }\n\n state.line = nextLine\n\n const token = state.push('html_block', '', 0)\n token.map = [startLine, nextLine]\n token.content = state.getLines(startLine, nextLine, state.blkIndent, true)\n\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;AAQA,MAAM,iBAAiB;CACrB;EAAC;EAA8C;EAAoC;EAAK;CACxF;EAAC;EAAgB;EAAS;EAAK;CAC/B;EAAC;EAAgB;EAAS;EAAK;CAC/B;EAAC;EAAgB;EAAS;EAAK;CAC/B;EAAC;EAAgB;EAAS;EAAK;CAC/B;EAAC,IAAI,OAAO,UAAUA,oBAAY,KAAK,IAAI,GAAG,oBAAoB,IAAI;EAAE;EAAM;EAAK;CACnF;EAAC,IAAI,OAAO,uBAAuB,SAAS,QAAQ;EAAG;EAAM;EAAM;CACpE;AAED,SAAwB,WAAY,OAAO,WAAW,SAAS,QAAQ;CACrE,IAAI,MAAM,MAAM,OAAO,aAAa,MAAM,OAAO;CACjD,IAAI,MAAM,MAAM,OAAO;AAGvB,KAAI,MAAM,OAAO,aAAa,MAAM,aAAa,EAAK,QAAO;AAE7D,KAAI,CAAC,MAAM,GAAG,QAAQ,KAAQ,QAAO;AAErC,KAAI,MAAM,IAAI,WAAW,IAAI,KAAK,GAAe,QAAO;CAExD,IAAI,WAAW,MAAM,IAAI,MAAM,KAAK,IAAI;CAExC,IAAI,IAAI;AACR,QAAO,IAAI,eAAe,QAAQ,IAChC,KAAI,eAAe,GAAG,GAAG,KAAK,SAAS,CAAI;AAE7C,KAAI,MAAM,eAAe,OAAU,QAAO;AAE1C,KAAI,OAEF,QAAO,eAAe,GAAG;CAG3B,IAAI,WAAW,YAAY;AAI3B,KAAI,CAAC,eAAe,GAAG,GAAG,KAAK,SAAS,CACtC,QAAO,WAAW,SAAS,YAAY;AACrC,MAAI,MAAM,OAAO,YAAY,MAAM,UAAa;AAEhD,QAAM,MAAM,OAAO,YAAY,MAAM,OAAO;AAC5C,QAAM,MAAM,OAAO;AACnB,aAAW,MAAM,IAAI,MAAM,KAAK,IAAI;AAEpC,MAAI,eAAe,GAAG,GAAG,KAAK,SAAS,EAAE;AACvC,OAAI,SAAS,WAAW,EAAK;AAC7B;;;AAKN,OAAM,OAAO;CAEb,MAAM,QAAU,MAAM,KAAK,cAAc,IAAI,EAAE;AAC/C,OAAM,MAAU,CAAC,WAAW,SAAS;AACrC,OAAM,UAAU,MAAM,SAAS,WAAW,UAAU,MAAM,WAAW,KAAK;AAE1E,QAAO"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs
|
|
3
|
+
function lheading(state, startLine, endLine) {
|
|
4
|
+
const terminatorRules = state.md.block.ruler.getRules("paragraph");
|
|
5
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6
|
+
const oldParentType = state.parentType;
|
|
7
|
+
state.parentType = "paragraph";
|
|
8
|
+
let level = 0;
|
|
9
|
+
let marker;
|
|
10
|
+
let nextLine = startLine + 1;
|
|
11
|
+
for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
|
|
12
|
+
if (state.sCount[nextLine] - state.blkIndent > 3) continue;
|
|
13
|
+
if (state.sCount[nextLine] >= state.blkIndent) {
|
|
14
|
+
let pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
15
|
+
const max = state.eMarks[nextLine];
|
|
16
|
+
if (pos < max) {
|
|
17
|
+
marker = state.src.charCodeAt(pos);
|
|
18
|
+
if (marker === 45 || marker === 61) {
|
|
19
|
+
pos = state.skipChars(pos, marker);
|
|
20
|
+
pos = state.skipSpaces(pos);
|
|
21
|
+
if (pos >= max) {
|
|
22
|
+
level = marker === 61 ? 1 : 2;
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (state.sCount[nextLine] < 0) continue;
|
|
29
|
+
let terminate = false;
|
|
30
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
31
|
+
terminate = true;
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
if (terminate) break;
|
|
35
|
+
}
|
|
36
|
+
if (!level) return false;
|
|
37
|
+
const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
|
|
38
|
+
state.line = nextLine + 1;
|
|
39
|
+
const token_o = state.push("heading_open", "h" + String(level), 1);
|
|
40
|
+
token_o.markup = String.fromCharCode(marker);
|
|
41
|
+
token_o.map = [startLine, state.line];
|
|
42
|
+
const token_i = state.push("inline", "", 0);
|
|
43
|
+
token_i.content = content;
|
|
44
|
+
token_i.map = [startLine, state.line - 1];
|
|
45
|
+
token_i.children = [];
|
|
46
|
+
const token_c = state.push("heading_close", "h" + String(level), -1);
|
|
47
|
+
token_c.markup = String.fromCharCode(marker);
|
|
48
|
+
state.parentType = oldParentType;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
exports.default = lheading;
|