@shell-shock/preset-cli 0.9.18 → 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/README.md +1 -1
- 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,246 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs
|
|
5
|
-
function render_footnote_anchor_name(tokens, idx, options, env) {
|
|
6
|
-
const n = Number(tokens[idx].meta.id + 1).toString();
|
|
7
|
-
let prefix = "";
|
|
8
|
-
if (typeof env.docId === "string") prefix = `-${env.docId}-`;
|
|
9
|
-
return prefix + n;
|
|
10
|
-
}
|
|
11
|
-
function render_footnote_caption(tokens, idx) {
|
|
12
|
-
let n = Number(tokens[idx].meta.id + 1).toString();
|
|
13
|
-
if (tokens[idx].meta.subId > 0) n += `:${tokens[idx].meta.subId}`;
|
|
14
|
-
return `[${n}]`;
|
|
15
|
-
}
|
|
16
|
-
function render_footnote_ref(tokens, idx, options, env, slf) {
|
|
17
|
-
const id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
18
|
-
const caption = slf.rules.footnote_caption(tokens, idx, options, env, slf);
|
|
19
|
-
let refid = id;
|
|
20
|
-
if (tokens[idx].meta.subId > 0) refid += `:${tokens[idx].meta.subId}`;
|
|
21
|
-
return `<sup class="footnote-ref"><a href="#fn${id}" id="fnref${refid}">${caption}</a></sup>`;
|
|
22
|
-
}
|
|
23
|
-
function render_footnote_block_open(tokens, idx, options) {
|
|
24
|
-
return (options.xhtmlOut ? "<hr class=\"footnotes-sep\" />\n" : "<hr class=\"footnotes-sep\">\n") + "<section class=\"footnotes\">\n<ol class=\"footnotes-list\">\n";
|
|
25
|
-
}
|
|
26
|
-
function render_footnote_block_close() {
|
|
27
|
-
return "</ol>\n</section>\n";
|
|
28
|
-
}
|
|
29
|
-
function render_footnote_open(tokens, idx, options, env, slf) {
|
|
30
|
-
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
31
|
-
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
32
|
-
return `<li id="fn${id}" class="footnote-item">`;
|
|
33
|
-
}
|
|
34
|
-
function render_footnote_close() {
|
|
35
|
-
return "</li>\n";
|
|
36
|
-
}
|
|
37
|
-
function render_footnote_anchor(tokens, idx, options, env, slf) {
|
|
38
|
-
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
39
|
-
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
40
|
-
return ` <a href="#fnref${id}" class="footnote-backref">\u21a9\uFE0E</a>`;
|
|
41
|
-
}
|
|
42
|
-
function footnote_plugin(md) {
|
|
43
|
-
const parseLinkLabel = md.helpers.parseLinkLabel;
|
|
44
|
-
const isSpace = md.utils.isSpace;
|
|
45
|
-
md.renderer.rules.footnote_ref = render_footnote_ref;
|
|
46
|
-
md.renderer.rules.footnote_block_open = render_footnote_block_open;
|
|
47
|
-
md.renderer.rules.footnote_block_close = render_footnote_block_close;
|
|
48
|
-
md.renderer.rules.footnote_open = render_footnote_open;
|
|
49
|
-
md.renderer.rules.footnote_close = render_footnote_close;
|
|
50
|
-
md.renderer.rules.footnote_anchor = render_footnote_anchor;
|
|
51
|
-
md.renderer.rules.footnote_caption = render_footnote_caption;
|
|
52
|
-
md.renderer.rules.footnote_anchor_name = render_footnote_anchor_name;
|
|
53
|
-
function footnote_def(state, startLine, endLine, silent) {
|
|
54
|
-
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
55
|
-
const max = state.eMarks[startLine];
|
|
56
|
-
if (start + 4 > max) return false;
|
|
57
|
-
if (state.src.charCodeAt(start) !== 91) return false;
|
|
58
|
-
if (state.src.charCodeAt(start + 1) !== 94) return false;
|
|
59
|
-
let pos;
|
|
60
|
-
for (pos = start + 2; pos < max; pos++) {
|
|
61
|
-
if (state.src.charCodeAt(pos) === 32) return false;
|
|
62
|
-
if (state.src.charCodeAt(pos) === 93) break;
|
|
63
|
-
}
|
|
64
|
-
if (pos === start + 2) return false;
|
|
65
|
-
if (pos + 1 >= max || state.src.charCodeAt(++pos) !== 58) return false;
|
|
66
|
-
if (silent) return true;
|
|
67
|
-
pos++;
|
|
68
|
-
if (!state.env.footnotes) state.env.footnotes = {};
|
|
69
|
-
if (!state.env.footnotes.refs) state.env.footnotes.refs = {};
|
|
70
|
-
const label = state.src.slice(start + 2, pos - 2);
|
|
71
|
-
state.env.footnotes.refs[`:${label}`] = -1;
|
|
72
|
-
const token_fref_o = new state.Token("footnote_reference_open", "", 1);
|
|
73
|
-
token_fref_o.meta = { label };
|
|
74
|
-
token_fref_o.level = state.level++;
|
|
75
|
-
state.tokens.push(token_fref_o);
|
|
76
|
-
const oldBMark = state.bMarks[startLine];
|
|
77
|
-
const oldTShift = state.tShift[startLine];
|
|
78
|
-
const oldSCount = state.sCount[startLine];
|
|
79
|
-
const oldParentType = state.parentType;
|
|
80
|
-
const posAfterColon = pos;
|
|
81
|
-
const initial = state.sCount[startLine] + pos - (state.bMarks[startLine] + state.tShift[startLine]);
|
|
82
|
-
let offset = initial;
|
|
83
|
-
while (pos < max) {
|
|
84
|
-
const ch = state.src.charCodeAt(pos);
|
|
85
|
-
if (isSpace(ch)) if (ch === 9) offset += 4 - offset % 4;
|
|
86
|
-
else offset++;
|
|
87
|
-
else break;
|
|
88
|
-
pos++;
|
|
89
|
-
}
|
|
90
|
-
state.tShift[startLine] = pos - posAfterColon;
|
|
91
|
-
state.sCount[startLine] = offset - initial;
|
|
92
|
-
state.bMarks[startLine] = posAfterColon;
|
|
93
|
-
state.blkIndent += 4;
|
|
94
|
-
state.parentType = "footnote";
|
|
95
|
-
if (state.sCount[startLine] < state.blkIndent) state.sCount[startLine] += state.blkIndent;
|
|
96
|
-
state.md.block.tokenize(state, startLine, endLine, true);
|
|
97
|
-
state.parentType = oldParentType;
|
|
98
|
-
state.blkIndent -= 4;
|
|
99
|
-
state.tShift[startLine] = oldTShift;
|
|
100
|
-
state.sCount[startLine] = oldSCount;
|
|
101
|
-
state.bMarks[startLine] = oldBMark;
|
|
102
|
-
const token_fref_c = new state.Token("footnote_reference_close", "", -1);
|
|
103
|
-
token_fref_c.level = --state.level;
|
|
104
|
-
state.tokens.push(token_fref_c);
|
|
105
|
-
return true;
|
|
106
|
-
}
|
|
107
|
-
function footnote_inline(state, silent) {
|
|
108
|
-
const max = state.posMax;
|
|
109
|
-
const start = state.pos;
|
|
110
|
-
if (start + 2 >= max) return false;
|
|
111
|
-
if (state.src.charCodeAt(start) !== 94) return false;
|
|
112
|
-
if (state.src.charCodeAt(start + 1) !== 91) return false;
|
|
113
|
-
const labelStart = start + 2;
|
|
114
|
-
const labelEnd = parseLinkLabel(state, start + 1);
|
|
115
|
-
if (labelEnd < 0) return false;
|
|
116
|
-
if (!silent) {
|
|
117
|
-
if (!state.env.footnotes) state.env.footnotes = {};
|
|
118
|
-
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
119
|
-
const footnoteId = state.env.footnotes.list.length;
|
|
120
|
-
const tokens = [];
|
|
121
|
-
state.md.inline.parse(state.src.slice(labelStart, labelEnd), state.md, state.env, tokens);
|
|
122
|
-
const token = state.push("footnote_ref", "", 0);
|
|
123
|
-
token.meta = { id: footnoteId };
|
|
124
|
-
state.env.footnotes.list[footnoteId] = {
|
|
125
|
-
content: state.src.slice(labelStart, labelEnd),
|
|
126
|
-
tokens
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
state.pos = labelEnd + 1;
|
|
130
|
-
state.posMax = max;
|
|
131
|
-
return true;
|
|
132
|
-
}
|
|
133
|
-
function footnote_ref(state, silent) {
|
|
134
|
-
const max = state.posMax;
|
|
135
|
-
const start = state.pos;
|
|
136
|
-
if (start + 3 > max) return false;
|
|
137
|
-
if (!state.env.footnotes || !state.env.footnotes.refs) return false;
|
|
138
|
-
if (state.src.charCodeAt(start) !== 91) return false;
|
|
139
|
-
if (state.src.charCodeAt(start + 1) !== 94) return false;
|
|
140
|
-
let pos;
|
|
141
|
-
for (pos = start + 2; pos < max; pos++) {
|
|
142
|
-
if (state.src.charCodeAt(pos) === 32) return false;
|
|
143
|
-
if (state.src.charCodeAt(pos) === 10) return false;
|
|
144
|
-
if (state.src.charCodeAt(pos) === 93) break;
|
|
145
|
-
}
|
|
146
|
-
if (pos === start + 2) return false;
|
|
147
|
-
if (pos >= max) return false;
|
|
148
|
-
pos++;
|
|
149
|
-
const label = state.src.slice(start + 2, pos - 1);
|
|
150
|
-
if (typeof state.env.footnotes.refs[`:${label}`] === "undefined") return false;
|
|
151
|
-
if (!silent) {
|
|
152
|
-
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
153
|
-
let footnoteId;
|
|
154
|
-
if (state.env.footnotes.refs[`:${label}`] < 0) {
|
|
155
|
-
footnoteId = state.env.footnotes.list.length;
|
|
156
|
-
state.env.footnotes.list[footnoteId] = {
|
|
157
|
-
label,
|
|
158
|
-
count: 0
|
|
159
|
-
};
|
|
160
|
-
state.env.footnotes.refs[`:${label}`] = footnoteId;
|
|
161
|
-
} else footnoteId = state.env.footnotes.refs[`:${label}`];
|
|
162
|
-
const footnoteSubId = state.env.footnotes.list[footnoteId].count;
|
|
163
|
-
state.env.footnotes.list[footnoteId].count++;
|
|
164
|
-
const token = state.push("footnote_ref", "", 0);
|
|
165
|
-
token.meta = {
|
|
166
|
-
id: footnoteId,
|
|
167
|
-
subId: footnoteSubId,
|
|
168
|
-
label
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
state.pos = pos;
|
|
172
|
-
state.posMax = max;
|
|
173
|
-
return true;
|
|
174
|
-
}
|
|
175
|
-
function footnote_tail(state) {
|
|
176
|
-
let tokens;
|
|
177
|
-
let current;
|
|
178
|
-
let currentLabel;
|
|
179
|
-
let insideRef = false;
|
|
180
|
-
const refTokens = {};
|
|
181
|
-
if (!state.env.footnotes) return;
|
|
182
|
-
state.tokens = state.tokens.filter(function(tok) {
|
|
183
|
-
if (tok.type === "footnote_reference_open") {
|
|
184
|
-
insideRef = true;
|
|
185
|
-
current = [];
|
|
186
|
-
currentLabel = tok.meta.label;
|
|
187
|
-
return false;
|
|
188
|
-
}
|
|
189
|
-
if (tok.type === "footnote_reference_close") {
|
|
190
|
-
insideRef = false;
|
|
191
|
-
refTokens[":" + currentLabel] = current;
|
|
192
|
-
return false;
|
|
193
|
-
}
|
|
194
|
-
if (insideRef) current.push(tok);
|
|
195
|
-
return !insideRef;
|
|
196
|
-
});
|
|
197
|
-
if (!state.env.footnotes.list) return;
|
|
198
|
-
const list = state.env.footnotes.list;
|
|
199
|
-
state.tokens.push(new state.Token("footnote_block_open", "", 1));
|
|
200
|
-
for (let i = 0, l = list.length; i < l; i++) {
|
|
201
|
-
const token_fo = new state.Token("footnote_open", "", 1);
|
|
202
|
-
token_fo.meta = {
|
|
203
|
-
id: i,
|
|
204
|
-
label: list[i].label
|
|
205
|
-
};
|
|
206
|
-
state.tokens.push(token_fo);
|
|
207
|
-
if (list[i].tokens) {
|
|
208
|
-
tokens = [];
|
|
209
|
-
const token_po = new state.Token("paragraph_open", "p", 1);
|
|
210
|
-
token_po.block = true;
|
|
211
|
-
tokens.push(token_po);
|
|
212
|
-
const token_i = new state.Token("inline", "", 0);
|
|
213
|
-
token_i.children = list[i].tokens;
|
|
214
|
-
token_i.content = list[i].content;
|
|
215
|
-
tokens.push(token_i);
|
|
216
|
-
const token_pc = new state.Token("paragraph_close", "p", -1);
|
|
217
|
-
token_pc.block = true;
|
|
218
|
-
tokens.push(token_pc);
|
|
219
|
-
} else if (list[i].label) tokens = refTokens[`:${list[i].label}`];
|
|
220
|
-
if (tokens) state.tokens = state.tokens.concat(tokens);
|
|
221
|
-
let lastParagraph;
|
|
222
|
-
if (state.tokens[state.tokens.length - 1].type === "paragraph_close") lastParagraph = state.tokens.pop();
|
|
223
|
-
else lastParagraph = null;
|
|
224
|
-
const t = list[i].count > 0 ? list[i].count : 1;
|
|
225
|
-
for (let j = 0; j < t; j++) {
|
|
226
|
-
const token_a = new state.Token("footnote_anchor", "", 0);
|
|
227
|
-
token_a.meta = {
|
|
228
|
-
id: i,
|
|
229
|
-
subId: j,
|
|
230
|
-
label: list[i].label
|
|
231
|
-
};
|
|
232
|
-
state.tokens.push(token_a);
|
|
233
|
-
}
|
|
234
|
-
if (lastParagraph) state.tokens.push(lastParagraph);
|
|
235
|
-
state.tokens.push(new state.Token("footnote_close", "", -1));
|
|
236
|
-
}
|
|
237
|
-
state.tokens.push(new state.Token("footnote_block_close", "", -1));
|
|
238
|
-
}
|
|
239
|
-
md.block.ruler.before("reference", "footnote_def", footnote_def, { alt: ["paragraph", "reference"] });
|
|
240
|
-
md.inline.ruler.after("image", "footnote_inline", footnote_inline);
|
|
241
|
-
md.inline.ruler.after("footnote_inline", "footnote_ref", footnote_ref);
|
|
242
|
-
md.core.ruler.after("inline", "footnote_tail", footnote_tail);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
//#endregion
|
|
246
|
-
exports.default = footnote_plugin;
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs
|
|
2
|
-
function render_footnote_anchor_name(tokens, idx, options, env) {
|
|
3
|
-
const n = Number(tokens[idx].meta.id + 1).toString();
|
|
4
|
-
let prefix = "";
|
|
5
|
-
if (typeof env.docId === "string") prefix = `-${env.docId}-`;
|
|
6
|
-
return prefix + n;
|
|
7
|
-
}
|
|
8
|
-
function render_footnote_caption(tokens, idx) {
|
|
9
|
-
let n = Number(tokens[idx].meta.id + 1).toString();
|
|
10
|
-
if (tokens[idx].meta.subId > 0) n += `:${tokens[idx].meta.subId}`;
|
|
11
|
-
return `[${n}]`;
|
|
12
|
-
}
|
|
13
|
-
function render_footnote_ref(tokens, idx, options, env, slf) {
|
|
14
|
-
const id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
15
|
-
const caption = slf.rules.footnote_caption(tokens, idx, options, env, slf);
|
|
16
|
-
let refid = id;
|
|
17
|
-
if (tokens[idx].meta.subId > 0) refid += `:${tokens[idx].meta.subId}`;
|
|
18
|
-
return `<sup class="footnote-ref"><a href="#fn${id}" id="fnref${refid}">${caption}</a></sup>`;
|
|
19
|
-
}
|
|
20
|
-
function render_footnote_block_open(tokens, idx, options) {
|
|
21
|
-
return (options.xhtmlOut ? "<hr class=\"footnotes-sep\" />\n" : "<hr class=\"footnotes-sep\">\n") + "<section class=\"footnotes\">\n<ol class=\"footnotes-list\">\n";
|
|
22
|
-
}
|
|
23
|
-
function render_footnote_block_close() {
|
|
24
|
-
return "</ol>\n</section>\n";
|
|
25
|
-
}
|
|
26
|
-
function render_footnote_open(tokens, idx, options, env, slf) {
|
|
27
|
-
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
28
|
-
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
29
|
-
return `<li id="fn${id}" class="footnote-item">`;
|
|
30
|
-
}
|
|
31
|
-
function render_footnote_close() {
|
|
32
|
-
return "</li>\n";
|
|
33
|
-
}
|
|
34
|
-
function render_footnote_anchor(tokens, idx, options, env, slf) {
|
|
35
|
-
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
36
|
-
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
37
|
-
return ` <a href="#fnref${id}" class="footnote-backref">\u21a9\uFE0E</a>`;
|
|
38
|
-
}
|
|
39
|
-
function footnote_plugin(md) {
|
|
40
|
-
const parseLinkLabel = md.helpers.parseLinkLabel;
|
|
41
|
-
const isSpace = md.utils.isSpace;
|
|
42
|
-
md.renderer.rules.footnote_ref = render_footnote_ref;
|
|
43
|
-
md.renderer.rules.footnote_block_open = render_footnote_block_open;
|
|
44
|
-
md.renderer.rules.footnote_block_close = render_footnote_block_close;
|
|
45
|
-
md.renderer.rules.footnote_open = render_footnote_open;
|
|
46
|
-
md.renderer.rules.footnote_close = render_footnote_close;
|
|
47
|
-
md.renderer.rules.footnote_anchor = render_footnote_anchor;
|
|
48
|
-
md.renderer.rules.footnote_caption = render_footnote_caption;
|
|
49
|
-
md.renderer.rules.footnote_anchor_name = render_footnote_anchor_name;
|
|
50
|
-
function footnote_def(state, startLine, endLine, silent) {
|
|
51
|
-
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
52
|
-
const max = state.eMarks[startLine];
|
|
53
|
-
if (start + 4 > max) return false;
|
|
54
|
-
if (state.src.charCodeAt(start) !== 91) return false;
|
|
55
|
-
if (state.src.charCodeAt(start + 1) !== 94) return false;
|
|
56
|
-
let pos;
|
|
57
|
-
for (pos = start + 2; pos < max; pos++) {
|
|
58
|
-
if (state.src.charCodeAt(pos) === 32) return false;
|
|
59
|
-
if (state.src.charCodeAt(pos) === 93) break;
|
|
60
|
-
}
|
|
61
|
-
if (pos === start + 2) return false;
|
|
62
|
-
if (pos + 1 >= max || state.src.charCodeAt(++pos) !== 58) return false;
|
|
63
|
-
if (silent) return true;
|
|
64
|
-
pos++;
|
|
65
|
-
if (!state.env.footnotes) state.env.footnotes = {};
|
|
66
|
-
if (!state.env.footnotes.refs) state.env.footnotes.refs = {};
|
|
67
|
-
const label = state.src.slice(start + 2, pos - 2);
|
|
68
|
-
state.env.footnotes.refs[`:${label}`] = -1;
|
|
69
|
-
const token_fref_o = new state.Token("footnote_reference_open", "", 1);
|
|
70
|
-
token_fref_o.meta = { label };
|
|
71
|
-
token_fref_o.level = state.level++;
|
|
72
|
-
state.tokens.push(token_fref_o);
|
|
73
|
-
const oldBMark = state.bMarks[startLine];
|
|
74
|
-
const oldTShift = state.tShift[startLine];
|
|
75
|
-
const oldSCount = state.sCount[startLine];
|
|
76
|
-
const oldParentType = state.parentType;
|
|
77
|
-
const posAfterColon = pos;
|
|
78
|
-
const initial = state.sCount[startLine] + pos - (state.bMarks[startLine] + state.tShift[startLine]);
|
|
79
|
-
let offset = initial;
|
|
80
|
-
while (pos < max) {
|
|
81
|
-
const ch = state.src.charCodeAt(pos);
|
|
82
|
-
if (isSpace(ch)) if (ch === 9) offset += 4 - offset % 4;
|
|
83
|
-
else offset++;
|
|
84
|
-
else break;
|
|
85
|
-
pos++;
|
|
86
|
-
}
|
|
87
|
-
state.tShift[startLine] = pos - posAfterColon;
|
|
88
|
-
state.sCount[startLine] = offset - initial;
|
|
89
|
-
state.bMarks[startLine] = posAfterColon;
|
|
90
|
-
state.blkIndent += 4;
|
|
91
|
-
state.parentType = "footnote";
|
|
92
|
-
if (state.sCount[startLine] < state.blkIndent) state.sCount[startLine] += state.blkIndent;
|
|
93
|
-
state.md.block.tokenize(state, startLine, endLine, true);
|
|
94
|
-
state.parentType = oldParentType;
|
|
95
|
-
state.blkIndent -= 4;
|
|
96
|
-
state.tShift[startLine] = oldTShift;
|
|
97
|
-
state.sCount[startLine] = oldSCount;
|
|
98
|
-
state.bMarks[startLine] = oldBMark;
|
|
99
|
-
const token_fref_c = new state.Token("footnote_reference_close", "", -1);
|
|
100
|
-
token_fref_c.level = --state.level;
|
|
101
|
-
state.tokens.push(token_fref_c);
|
|
102
|
-
return true;
|
|
103
|
-
}
|
|
104
|
-
function footnote_inline(state, silent) {
|
|
105
|
-
const max = state.posMax;
|
|
106
|
-
const start = state.pos;
|
|
107
|
-
if (start + 2 >= max) return false;
|
|
108
|
-
if (state.src.charCodeAt(start) !== 94) return false;
|
|
109
|
-
if (state.src.charCodeAt(start + 1) !== 91) return false;
|
|
110
|
-
const labelStart = start + 2;
|
|
111
|
-
const labelEnd = parseLinkLabel(state, start + 1);
|
|
112
|
-
if (labelEnd < 0) return false;
|
|
113
|
-
if (!silent) {
|
|
114
|
-
if (!state.env.footnotes) state.env.footnotes = {};
|
|
115
|
-
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
116
|
-
const footnoteId = state.env.footnotes.list.length;
|
|
117
|
-
const tokens = [];
|
|
118
|
-
state.md.inline.parse(state.src.slice(labelStart, labelEnd), state.md, state.env, tokens);
|
|
119
|
-
const token = state.push("footnote_ref", "", 0);
|
|
120
|
-
token.meta = { id: footnoteId };
|
|
121
|
-
state.env.footnotes.list[footnoteId] = {
|
|
122
|
-
content: state.src.slice(labelStart, labelEnd),
|
|
123
|
-
tokens
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
state.pos = labelEnd + 1;
|
|
127
|
-
state.posMax = max;
|
|
128
|
-
return true;
|
|
129
|
-
}
|
|
130
|
-
function footnote_ref(state, silent) {
|
|
131
|
-
const max = state.posMax;
|
|
132
|
-
const start = state.pos;
|
|
133
|
-
if (start + 3 > max) return false;
|
|
134
|
-
if (!state.env.footnotes || !state.env.footnotes.refs) return false;
|
|
135
|
-
if (state.src.charCodeAt(start) !== 91) return false;
|
|
136
|
-
if (state.src.charCodeAt(start + 1) !== 94) return false;
|
|
137
|
-
let pos;
|
|
138
|
-
for (pos = start + 2; pos < max; pos++) {
|
|
139
|
-
if (state.src.charCodeAt(pos) === 32) return false;
|
|
140
|
-
if (state.src.charCodeAt(pos) === 10) return false;
|
|
141
|
-
if (state.src.charCodeAt(pos) === 93) break;
|
|
142
|
-
}
|
|
143
|
-
if (pos === start + 2) return false;
|
|
144
|
-
if (pos >= max) return false;
|
|
145
|
-
pos++;
|
|
146
|
-
const label = state.src.slice(start + 2, pos - 1);
|
|
147
|
-
if (typeof state.env.footnotes.refs[`:${label}`] === "undefined") return false;
|
|
148
|
-
if (!silent) {
|
|
149
|
-
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
150
|
-
let footnoteId;
|
|
151
|
-
if (state.env.footnotes.refs[`:${label}`] < 0) {
|
|
152
|
-
footnoteId = state.env.footnotes.list.length;
|
|
153
|
-
state.env.footnotes.list[footnoteId] = {
|
|
154
|
-
label,
|
|
155
|
-
count: 0
|
|
156
|
-
};
|
|
157
|
-
state.env.footnotes.refs[`:${label}`] = footnoteId;
|
|
158
|
-
} else footnoteId = state.env.footnotes.refs[`:${label}`];
|
|
159
|
-
const footnoteSubId = state.env.footnotes.list[footnoteId].count;
|
|
160
|
-
state.env.footnotes.list[footnoteId].count++;
|
|
161
|
-
const token = state.push("footnote_ref", "", 0);
|
|
162
|
-
token.meta = {
|
|
163
|
-
id: footnoteId,
|
|
164
|
-
subId: footnoteSubId,
|
|
165
|
-
label
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
state.pos = pos;
|
|
169
|
-
state.posMax = max;
|
|
170
|
-
return true;
|
|
171
|
-
}
|
|
172
|
-
function footnote_tail(state) {
|
|
173
|
-
let tokens;
|
|
174
|
-
let current;
|
|
175
|
-
let currentLabel;
|
|
176
|
-
let insideRef = false;
|
|
177
|
-
const refTokens = {};
|
|
178
|
-
if (!state.env.footnotes) return;
|
|
179
|
-
state.tokens = state.tokens.filter(function(tok) {
|
|
180
|
-
if (tok.type === "footnote_reference_open") {
|
|
181
|
-
insideRef = true;
|
|
182
|
-
current = [];
|
|
183
|
-
currentLabel = tok.meta.label;
|
|
184
|
-
return false;
|
|
185
|
-
}
|
|
186
|
-
if (tok.type === "footnote_reference_close") {
|
|
187
|
-
insideRef = false;
|
|
188
|
-
refTokens[":" + currentLabel] = current;
|
|
189
|
-
return false;
|
|
190
|
-
}
|
|
191
|
-
if (insideRef) current.push(tok);
|
|
192
|
-
return !insideRef;
|
|
193
|
-
});
|
|
194
|
-
if (!state.env.footnotes.list) return;
|
|
195
|
-
const list = state.env.footnotes.list;
|
|
196
|
-
state.tokens.push(new state.Token("footnote_block_open", "", 1));
|
|
197
|
-
for (let i = 0, l = list.length; i < l; i++) {
|
|
198
|
-
const token_fo = new state.Token("footnote_open", "", 1);
|
|
199
|
-
token_fo.meta = {
|
|
200
|
-
id: i,
|
|
201
|
-
label: list[i].label
|
|
202
|
-
};
|
|
203
|
-
state.tokens.push(token_fo);
|
|
204
|
-
if (list[i].tokens) {
|
|
205
|
-
tokens = [];
|
|
206
|
-
const token_po = new state.Token("paragraph_open", "p", 1);
|
|
207
|
-
token_po.block = true;
|
|
208
|
-
tokens.push(token_po);
|
|
209
|
-
const token_i = new state.Token("inline", "", 0);
|
|
210
|
-
token_i.children = list[i].tokens;
|
|
211
|
-
token_i.content = list[i].content;
|
|
212
|
-
tokens.push(token_i);
|
|
213
|
-
const token_pc = new state.Token("paragraph_close", "p", -1);
|
|
214
|
-
token_pc.block = true;
|
|
215
|
-
tokens.push(token_pc);
|
|
216
|
-
} else if (list[i].label) tokens = refTokens[`:${list[i].label}`];
|
|
217
|
-
if (tokens) state.tokens = state.tokens.concat(tokens);
|
|
218
|
-
let lastParagraph;
|
|
219
|
-
if (state.tokens[state.tokens.length - 1].type === "paragraph_close") lastParagraph = state.tokens.pop();
|
|
220
|
-
else lastParagraph = null;
|
|
221
|
-
const t = list[i].count > 0 ? list[i].count : 1;
|
|
222
|
-
for (let j = 0; j < t; j++) {
|
|
223
|
-
const token_a = new state.Token("footnote_anchor", "", 0);
|
|
224
|
-
token_a.meta = {
|
|
225
|
-
id: i,
|
|
226
|
-
subId: j,
|
|
227
|
-
label: list[i].label
|
|
228
|
-
};
|
|
229
|
-
state.tokens.push(token_a);
|
|
230
|
-
}
|
|
231
|
-
if (lastParagraph) state.tokens.push(lastParagraph);
|
|
232
|
-
state.tokens.push(new state.Token("footnote_close", "", -1));
|
|
233
|
-
}
|
|
234
|
-
state.tokens.push(new state.Token("footnote_block_close", "", -1));
|
|
235
|
-
}
|
|
236
|
-
md.block.ruler.before("reference", "footnote_def", footnote_def, { alt: ["paragraph", "reference"] });
|
|
237
|
-
md.inline.ruler.after("image", "footnote_inline", footnote_inline);
|
|
238
|
-
md.inline.ruler.after("footnote_inline", "footnote_ref", footnote_ref);
|
|
239
|
-
md.core.ruler.after("inline", "footnote_tail", footnote_tail);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
//#endregion
|
|
243
|
-
export { footnote_plugin as default };
|
|
244
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs"],"sourcesContent":["// Process footnotes\n//\n'use strict'\n\n/// /////////////////////////////////////////////////////////////////////////////\n// Renderer partials\n\nfunction render_footnote_anchor_name (tokens, idx, options, env/*, slf */) {\n const n = Number(tokens[idx].meta.id + 1).toString()\n let prefix = ''\n\n if (typeof env.docId === 'string') prefix = `-${env.docId}-`\n\n return prefix + n\n}\n\nfunction render_footnote_caption (tokens, idx/*, options, env, slf */) {\n let n = Number(tokens[idx].meta.id + 1).toString()\n\n if (tokens[idx].meta.subId > 0) n += `:${tokens[idx].meta.subId}`\n\n return `[${n}]`\n}\n\nfunction render_footnote_ref (tokens, idx, options, env, slf) {\n const id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n const caption = slf.rules.footnote_caption(tokens, idx, options, env, slf)\n let refid = id\n\n if (tokens[idx].meta.subId > 0) refid += `:${tokens[idx].meta.subId}`\n\n return `<sup class=\"footnote-ref\"><a href=\"#fn${id}\" id=\"fnref${refid}\">${caption}</a></sup>`\n}\n\nfunction render_footnote_block_open (tokens, idx, options) {\n return (options.xhtmlOut ? '<hr class=\"footnotes-sep\" />\\n' : '<hr class=\"footnotes-sep\">\\n') +\n '<section class=\"footnotes\">\\n' +\n '<ol class=\"footnotes-list\">\\n'\n}\n\nfunction render_footnote_block_close () {\n return '</ol>\\n</section>\\n'\n}\n\nfunction render_footnote_open (tokens, idx, options, env, slf) {\n let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n\n if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`\n\n return `<li id=\"fn${id}\" class=\"footnote-item\">`\n}\n\nfunction render_footnote_close () {\n return '</li>\\n'\n}\n\nfunction render_footnote_anchor (tokens, idx, options, env, slf) {\n let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n\n if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`\n\n /* ↩ with escape code to prevent display as Apple Emoji on iOS */\n return ` <a href=\"#fnref${id}\" class=\"footnote-backref\">\\u21a9\\uFE0E</a>`\n}\n\nexport default function footnote_plugin (md) {\n const parseLinkLabel = md.helpers.parseLinkLabel\n const isSpace = md.utils.isSpace\n\n md.renderer.rules.footnote_ref = render_footnote_ref\n md.renderer.rules.footnote_block_open = render_footnote_block_open\n md.renderer.rules.footnote_block_close = render_footnote_block_close\n md.renderer.rules.footnote_open = render_footnote_open\n md.renderer.rules.footnote_close = render_footnote_close\n md.renderer.rules.footnote_anchor = render_footnote_anchor\n\n // helpers (only used in other rules, no tokens are attached to those)\n md.renderer.rules.footnote_caption = render_footnote_caption\n md.renderer.rules.footnote_anchor_name = render_footnote_anchor_name\n\n // Process footnote block definition\n function footnote_def (state, startLine, endLine, silent) {\n const start = state.bMarks[startLine] + state.tShift[startLine]\n const max = state.eMarks[startLine]\n\n // line should be at least 5 chars - \"[^x]:\"\n if (start + 4 > max) return false\n\n if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false\n\n let pos\n\n for (pos = start + 2; pos < max; pos++) {\n if (state.src.charCodeAt(pos) === 0x20) return false\n if (state.src.charCodeAt(pos) === 0x5D /* ] */) {\n break\n }\n }\n\n if (pos === start + 2) return false // no empty footnote labels\n if (pos + 1 >= max || state.src.charCodeAt(++pos) !== 0x3A /* : */) return false\n if (silent) return true\n pos++\n\n if (!state.env.footnotes) state.env.footnotes = {}\n if (!state.env.footnotes.refs) state.env.footnotes.refs = {}\n const label = state.src.slice(start + 2, pos - 2)\n state.env.footnotes.refs[`:${label}`] = -1\n\n const token_fref_o = new state.Token('footnote_reference_open', '', 1)\n token_fref_o.meta = { label }\n token_fref_o.level = state.level++\n state.tokens.push(token_fref_o)\n\n const oldBMark = state.bMarks[startLine]\n const oldTShift = state.tShift[startLine]\n const oldSCount = state.sCount[startLine]\n const oldParentType = state.parentType\n\n const posAfterColon = pos\n const initial = state.sCount[startLine] + pos - (state.bMarks[startLine] + state.tShift[startLine])\n let offset = initial\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 % 4\n } else {\n offset++\n }\n } else {\n break\n }\n\n pos++\n }\n\n state.tShift[startLine] = pos - posAfterColon\n state.sCount[startLine] = offset - initial\n\n state.bMarks[startLine] = posAfterColon\n state.blkIndent += 4\n state.parentType = 'footnote'\n\n if (state.sCount[startLine] < state.blkIndent) {\n state.sCount[startLine] += state.blkIndent\n }\n\n state.md.block.tokenize(state, startLine, endLine, true)\n\n state.parentType = oldParentType\n state.blkIndent -= 4\n state.tShift[startLine] = oldTShift\n state.sCount[startLine] = oldSCount\n state.bMarks[startLine] = oldBMark\n\n const token_fref_c = new state.Token('footnote_reference_close', '', -1)\n token_fref_c.level = --state.level\n state.tokens.push(token_fref_c)\n\n return true\n }\n\n // Process inline footnotes (^[...])\n function footnote_inline (state, silent) {\n const max = state.posMax\n const start = state.pos\n\n if (start + 2 >= max) return false\n if (state.src.charCodeAt(start) !== 0x5E/* ^ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5B/* [ */) return false\n\n const labelStart = start + 2\n const labelEnd = parseLinkLabel(state, start + 1)\n\n // parser failed to find ']', so it's not a valid note\n if (labelEnd < 0) return false\n\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n if (!state.env.footnotes) state.env.footnotes = {}\n if (!state.env.footnotes.list) state.env.footnotes.list = []\n const footnoteId = state.env.footnotes.list.length\n const tokens = []\n\n state.md.inline.parse(\n state.src.slice(labelStart, labelEnd),\n state.md,\n state.env,\n tokens\n )\n\n const token = state.push('footnote_ref', '', 0)\n token.meta = { id: footnoteId }\n\n state.env.footnotes.list[footnoteId] = {\n content: state.src.slice(labelStart, labelEnd),\n tokens\n }\n }\n\n state.pos = labelEnd + 1\n state.posMax = max\n return true\n }\n\n // Process footnote references ([^...])\n function footnote_ref (state, silent) {\n const max = state.posMax\n const start = state.pos\n\n // should be at least 4 chars - \"[^x]\"\n if (start + 3 > max) return false\n\n if (!state.env.footnotes || !state.env.footnotes.refs) return false\n if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false\n\n let pos\n\n for (pos = start + 2; pos < max; pos++) {\n if (state.src.charCodeAt(pos) === 0x20) return false\n if (state.src.charCodeAt(pos) === 0x0A) return false\n if (state.src.charCodeAt(pos) === 0x5D /* ] */) {\n break\n }\n }\n\n if (pos === start + 2) return false // no empty footnote labels\n if (pos >= max) return false\n pos++\n\n const label = state.src.slice(start + 2, pos - 1)\n if (typeof state.env.footnotes.refs[`:${label}`] === 'undefined') return false\n\n if (!silent) {\n if (!state.env.footnotes.list) state.env.footnotes.list = []\n\n let footnoteId\n\n if (state.env.footnotes.refs[`:${label}`] < 0) {\n footnoteId = state.env.footnotes.list.length\n state.env.footnotes.list[footnoteId] = { label, count: 0 }\n state.env.footnotes.refs[`:${label}`] = footnoteId\n } else {\n footnoteId = state.env.footnotes.refs[`:${label}`]\n }\n\n const footnoteSubId = state.env.footnotes.list[footnoteId].count\n state.env.footnotes.list[footnoteId].count++\n\n const token = state.push('footnote_ref', '', 0)\n token.meta = { id: footnoteId, subId: footnoteSubId, label }\n }\n\n state.pos = pos\n state.posMax = max\n return true\n }\n\n // Glue footnote tokens to end of token stream\n function footnote_tail (state) {\n let tokens\n let current\n let currentLabel\n let insideRef = false\n const refTokens = {}\n\n if (!state.env.footnotes) { return }\n\n state.tokens = state.tokens.filter(function (tok) {\n if (tok.type === 'footnote_reference_open') {\n insideRef = true\n current = []\n currentLabel = tok.meta.label\n return false\n }\n if (tok.type === 'footnote_reference_close') {\n insideRef = false\n // prepend ':' to avoid conflict with Object.prototype members\n refTokens[':' + currentLabel] = current\n return false\n }\n if (insideRef) { current.push(tok) }\n return !insideRef\n })\n\n if (!state.env.footnotes.list) { return }\n const list = state.env.footnotes.list\n\n state.tokens.push(new state.Token('footnote_block_open', '', 1))\n\n for (let i = 0, l = list.length; i < l; i++) {\n const token_fo = new state.Token('footnote_open', '', 1)\n token_fo.meta = { id: i, label: list[i].label }\n state.tokens.push(token_fo)\n\n if (list[i].tokens) {\n tokens = []\n\n const token_po = new state.Token('paragraph_open', 'p', 1)\n token_po.block = true\n tokens.push(token_po)\n\n const token_i = new state.Token('inline', '', 0)\n token_i.children = list[i].tokens\n token_i.content = list[i].content\n tokens.push(token_i)\n\n const token_pc = new state.Token('paragraph_close', 'p', -1)\n token_pc.block = true\n tokens.push(token_pc)\n } else if (list[i].label) {\n tokens = refTokens[`:${list[i].label}`]\n }\n\n if (tokens) state.tokens = state.tokens.concat(tokens)\n\n let lastParagraph\n\n if (state.tokens[state.tokens.length - 1].type === 'paragraph_close') {\n lastParagraph = state.tokens.pop()\n } else {\n lastParagraph = null\n }\n\n const t = list[i].count > 0 ? list[i].count : 1\n for (let j = 0; j < t; j++) {\n const token_a = new state.Token('footnote_anchor', '', 0)\n token_a.meta = { id: i, subId: j, label: list[i].label }\n state.tokens.push(token_a)\n }\n\n if (lastParagraph) {\n state.tokens.push(lastParagraph)\n }\n\n state.tokens.push(new state.Token('footnote_close', '', -1))\n }\n\n state.tokens.push(new state.Token('footnote_block_close', '', -1))\n }\n\n md.block.ruler.before('reference', 'footnote_def', footnote_def, { alt: ['paragraph', 'reference'] })\n md.inline.ruler.after('image', 'footnote_inline', footnote_inline)\n md.inline.ruler.after('footnote_inline', 'footnote_ref', footnote_ref)\n md.core.ruler.after('inline', 'footnote_tail', footnote_tail)\n};\n"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAS,4BAA6B,QAAQ,KAAK,SAAS,KAAe;CACzE,MAAM,IAAI,OAAO,OAAO,KAAK,KAAK,KAAK,EAAE,CAAC,UAAU;CACpD,IAAI,SAAS;AAEb,KAAI,OAAO,IAAI,UAAU,SAAU,UAAS,IAAI,IAAI,MAAM;AAE1D,QAAO,SAAS;;AAGlB,SAAS,wBAAyB,QAAQ,KAA6B;CACrE,IAAI,IAAI,OAAO,OAAO,KAAK,KAAK,KAAK,EAAE,CAAC,UAAU;AAElD,KAAI,OAAO,KAAK,KAAK,QAAQ,EAAG,MAAK,IAAI,OAAO,KAAK,KAAK;AAE1D,QAAO,IAAI,EAAE;;AAGf,SAAS,oBAAqB,QAAQ,KAAK,SAAS,KAAK,KAAK;CAC5D,MAAM,KAAK,IAAI,MAAM,qBAAqB,QAAQ,KAAK,SAAS,KAAK,IAAI;CACzE,MAAM,UAAU,IAAI,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
|
package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs
|
|
3
|
-
function ins_plugin(md) {
|
|
4
|
-
function tokenize(state, silent) {
|
|
5
|
-
const start = state.pos;
|
|
6
|
-
const marker = state.src.charCodeAt(start);
|
|
7
|
-
if (silent) return false;
|
|
8
|
-
if (marker !== 43) return false;
|
|
9
|
-
const scanned = state.scanDelims(state.pos, true);
|
|
10
|
-
let len = scanned.length;
|
|
11
|
-
const ch = String.fromCharCode(marker);
|
|
12
|
-
if (len < 2) return false;
|
|
13
|
-
if (len % 2) {
|
|
14
|
-
const token = state.push("text", "", 0);
|
|
15
|
-
token.content = ch;
|
|
16
|
-
len--;
|
|
17
|
-
}
|
|
18
|
-
for (let i = 0; i < len; i += 2) {
|
|
19
|
-
const token = state.push("text", "", 0);
|
|
20
|
-
token.content = ch + ch;
|
|
21
|
-
if (!scanned.can_open && !scanned.can_close) continue;
|
|
22
|
-
state.delimiters.push({
|
|
23
|
-
marker,
|
|
24
|
-
length: 0,
|
|
25
|
-
jump: i / 2,
|
|
26
|
-
token: state.tokens.length - 1,
|
|
27
|
-
end: -1,
|
|
28
|
-
open: scanned.can_open,
|
|
29
|
-
close: scanned.can_close
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
state.pos += scanned.length;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function postProcess(state, delimiters) {
|
|
36
|
-
let token;
|
|
37
|
-
const loneMarkers = [];
|
|
38
|
-
const max = delimiters.length;
|
|
39
|
-
for (let i = 0; i < max; i++) {
|
|
40
|
-
const startDelim = delimiters[i];
|
|
41
|
-
if (startDelim.marker !== 43) continue;
|
|
42
|
-
if (startDelim.end === -1) continue;
|
|
43
|
-
const endDelim = delimiters[startDelim.end];
|
|
44
|
-
token = state.tokens[startDelim.token];
|
|
45
|
-
token.type = "ins_open";
|
|
46
|
-
token.tag = "ins";
|
|
47
|
-
token.nesting = 1;
|
|
48
|
-
token.markup = "++";
|
|
49
|
-
token.content = "";
|
|
50
|
-
token = state.tokens[endDelim.token];
|
|
51
|
-
token.type = "ins_close";
|
|
52
|
-
token.tag = "ins";
|
|
53
|
-
token.nesting = -1;
|
|
54
|
-
token.markup = "++";
|
|
55
|
-
token.content = "";
|
|
56
|
-
if (state.tokens[endDelim.token - 1].type === "text" && state.tokens[endDelim.token - 1].content === "+") loneMarkers.push(endDelim.token - 1);
|
|
57
|
-
}
|
|
58
|
-
while (loneMarkers.length) {
|
|
59
|
-
const i = loneMarkers.pop();
|
|
60
|
-
let j = i + 1;
|
|
61
|
-
while (j < state.tokens.length && state.tokens[j].type === "ins_close") j++;
|
|
62
|
-
j--;
|
|
63
|
-
if (i !== j) {
|
|
64
|
-
token = state.tokens[j];
|
|
65
|
-
state.tokens[j] = state.tokens[i];
|
|
66
|
-
state.tokens[i] = token;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
md.inline.ruler.before("emphasis", "ins", tokenize);
|
|
71
|
-
md.inline.ruler2.before("emphasis", "ins", function(state) {
|
|
72
|
-
const tokens_meta = state.tokens_meta;
|
|
73
|
-
const max = (state.tokens_meta || []).length;
|
|
74
|
-
postProcess(state, state.delimiters);
|
|
75
|
-
for (let curr = 0; curr < max; curr++) if (tokens_meta[curr] && tokens_meta[curr].delimiters) postProcess(state, tokens_meta[curr].delimiters);
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
//#endregion
|
|
80
|
-
exports.default = ins_plugin;
|