@shell-shock/preset-cli 0.9.11 → 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.
Files changed (358) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +16 -0
  2. package/dist/_virtual/_rolldown/runtime.mjs +45 -0
  3. package/dist/components/upgrade-builtin.cjs +1 -1
  4. package/dist/components/upgrade-builtin.mjs +1 -1
  5. package/dist/components/upgrade-builtin.mjs.map +1 -1
  6. package/dist/index.cjs +1 -1
  7. 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
  8. 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
  9. 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
  10. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
  11. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
  12. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
  13. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.cjs +36 -0
  14. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs +36 -0
  15. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs.map +1 -0
  16. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.cjs +32 -0
  17. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs +33 -0
  18. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs.map +1 -0
  19. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.cjs +133 -0
  20. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs +134 -0
  21. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs.map +1 -0
  22. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.cjs +32 -0
  23. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs +31 -0
  24. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs.map +1 -0
  25. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.cjs +169 -0
  26. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs +167 -0
  27. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs.map +1 -0
  28. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.cjs +98 -0
  29. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs +95 -0
  30. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs.map +1 -0
  31. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.cjs +23 -0
  32. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs +23 -0
  33. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs.map +1 -0
  34. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.cjs +36 -0
  35. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs +36 -0
  36. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs.map +1 -0
  37. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
  38. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
  39. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
  40. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
  41. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
  42. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
  43. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
  44. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
  45. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
  46. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
  47. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
  48. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
  49. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
  50. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
  51. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
  52. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
  53. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
  54. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
  55. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
  56. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
  57. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
  58. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
  59. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
  60. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
  61. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.cjs +10 -0
  62. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +10 -0
  63. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs.map +1 -0
  64. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
  65. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
  66. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
  67. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
  68. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
  69. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
  70. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
  71. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
  72. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
  73. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
  74. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
  75. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
  76. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
  77. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
  78. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
  79. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
  80. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
  81. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
  82. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
  83. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
  84. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
  85. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
  86. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
  87. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
  88. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
  89. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
  90. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
  91. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
  92. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
  93. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
  94. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
  95. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
  96. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
  97. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
  98. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
  99. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
  100. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
  101. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
  102. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
  103. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
  104. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
  105. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
  106. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
  107. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
  108. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
  109. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
  110. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
  111. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
  112. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
  113. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
  114. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
  115. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
  116. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
  255. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
  256. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
  257. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
  258. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
  259. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
  260. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
  261. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
  262. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
  263. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
  264. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
  265. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
  266. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
  267. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
  268. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
  269. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
  270. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
  271. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
  272. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
  273. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
  274. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
  275. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
  276. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
  277. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
  278. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
  279. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
  280. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
  281. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
  282. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
  283. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
  284. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
  285. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
  286. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
  287. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
  288. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
  289. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
  290. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
  291. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
  292. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
  315. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
  316. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
  317. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
  318. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
  319. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
  320. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
  321. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
  322. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
  323. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
  324. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
  325. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
  326. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
  327. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
  328. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
  329. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
  330. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
  331. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
  332. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
  333. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
  334. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
  335. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
  336. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
  337. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
  338. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
  339. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
  340. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
  341. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
  342. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
  343. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
  344. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
  345. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
  346. package/dist/packages/unified/dist/html-Di3_LwV3.cjs +337 -0
  347. package/dist/packages/unified/dist/html-Di3_LwV3.mjs +338 -0
  348. package/dist/packages/unified/dist/html-Di3_LwV3.mjs.map +1 -0
  349. package/dist/packages/unified/dist/markdown/index.cjs +1 -0
  350. package/dist/packages/unified/dist/markdown/index.mjs +3 -0
  351. package/dist/packages/unified/dist/markdown-OuY_JOk0.cjs +82 -0
  352. package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs +83 -0
  353. package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs.map +1 -0
  354. package/package.json +39 -12
  355. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
  356. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
  357. package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
  358. /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
@@ -0,0 +1,23 @@
1
+
2
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs
3
+ var default_default = {
4
+ options: {
5
+ html: false,
6
+ xhtmlOut: false,
7
+ breaks: false,
8
+ langPrefix: "language-",
9
+ linkify: false,
10
+ typographer: false,
11
+ quotes: "“”‘’",
12
+ highlight: null,
13
+ maxNesting: 100
14
+ },
15
+ components: {
16
+ core: {},
17
+ block: {},
18
+ inline: {}
19
+ }
20
+ };
21
+
22
+ //#endregion
23
+ exports.default = default_default;
@@ -0,0 +1,23 @@
1
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs
2
+ var default_default = {
3
+ options: {
4
+ html: false,
5
+ xhtmlOut: false,
6
+ breaks: false,
7
+ langPrefix: "language-",
8
+ linkify: false,
9
+ typographer: false,
10
+ quotes: "“”‘’",
11
+ highlight: null,
12
+ maxNesting: 100
13
+ },
14
+ components: {
15
+ core: {},
16
+ block: {},
17
+ inline: {}
18
+ }
19
+ };
20
+
21
+ //#endregion
22
+ export { default_default as default };
23
+ //# sourceMappingURL=default.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs"],"sourcesContent":["// markdown-it default options\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n // Internal protection, recursion limit\n maxNesting: 100\n },\n\n components: {\n core: {},\n block: {},\n inline: {}\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";AAEA,sBAAe;CACb,SAAS;EAEP,MAAM;EAGN,UAAU;EAGV,QAAQ;EAGR,YAAY;EAGZ,SAAS;EAGT,aAAa;EAOb,QAAQ;EAQR,WAAW;EAGX,YAAY;EACb;CAED,YAAY;EACV,MAAM,EAAE;EACR,OAAO,EAAE;EACT,QAAQ,EAAE;EACX;CACF"}
@@ -0,0 +1,31 @@
1
+
2
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs
3
+ var zero_default = {
4
+ options: {
5
+ html: false,
6
+ xhtmlOut: false,
7
+ breaks: false,
8
+ langPrefix: "language-",
9
+ linkify: false,
10
+ typographer: false,
11
+ quotes: "“”‘’",
12
+ highlight: null,
13
+ maxNesting: 20
14
+ },
15
+ components: {
16
+ core: { rules: [
17
+ "normalize",
18
+ "block",
19
+ "inline",
20
+ "text_join"
21
+ ] },
22
+ block: { rules: ["paragraph"] },
23
+ inline: {
24
+ rules: ["text"],
25
+ rules2: ["balance_pairs", "fragments_join"]
26
+ }
27
+ }
28
+ };
29
+
30
+ //#endregion
31
+ exports.default = zero_default;
@@ -0,0 +1,31 @@
1
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs
2
+ var zero_default = {
3
+ options: {
4
+ html: false,
5
+ xhtmlOut: false,
6
+ breaks: false,
7
+ langPrefix: "language-",
8
+ linkify: false,
9
+ typographer: false,
10
+ quotes: "“”‘’",
11
+ highlight: null,
12
+ maxNesting: 20
13
+ },
14
+ components: {
15
+ core: { rules: [
16
+ "normalize",
17
+ "block",
18
+ "inline",
19
+ "text_join"
20
+ ] },
21
+ block: { rules: ["paragraph"] },
22
+ inline: {
23
+ rules: ["text"],
24
+ rules2: ["balance_pairs", "fragments_join"]
25
+ }
26
+ }
27
+ };
28
+
29
+ //#endregion
30
+ export { zero_default as default };
31
+ //# sourceMappingURL=zero.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zero.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs"],"sourcesContent":["// \"Zero\" preset, with nothing enabled. Useful for manual configuring of simple\n// modes. For example, to parse bold/italic only.\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n // Internal protection, recursion limit\n maxNesting: 20\n },\n\n components: {\n\n core: {\n rules: [\n 'normalize',\n 'block',\n 'inline',\n 'text_join'\n ]\n },\n\n block: {\n rules: [\n 'paragraph'\n ]\n },\n\n inline: {\n rules: [\n 'text'\n ],\n rules2: [\n 'balance_pairs',\n 'fragments_join'\n ]\n }\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";AAGA,mBAAe;CACb,SAAS;EAEP,MAAM;EAGN,UAAU;EAGV,QAAQ;EAGR,YAAY;EAGZ,SAAS;EAGT,aAAa;EAOb,QAAQ;EAQR,WAAW;EAGX,YAAY;EACb;CAED,YAAY;EAEV,MAAM,EACJ,OAAO;GACL;GACA;GACA;GACA;GACD,EACF;EAED,OAAO,EACL,OAAO,CACL,YACD,EACF;EAED,QAAQ;GACN,OAAO,CACL,OACD;GACD,QAAQ,CACN,iBACA,iBACD;GACF;EACF;CACF"}
@@ -0,0 +1,217 @@
1
+ const require_utils = require('./common/utils.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs
4
+ /**
5
+ * class Renderer
6
+ *
7
+ * Generates HTML from parsed token stream. Each instance has independent
8
+ * copy of rules. Those can be rewritten with ease. Also, you can add new
9
+ * rules if you create plugin and adds new token types.
10
+ **/
11
+ const default_rules = {};
12
+ default_rules.code_inline = function(tokens, idx, options, env, slf) {
13
+ const token = tokens[idx];
14
+ return "<code" + slf.renderAttrs(token) + ">" + require_utils.escapeHtml(token.content) + "</code>";
15
+ };
16
+ default_rules.code_block = function(tokens, idx, options, env, slf) {
17
+ const token = tokens[idx];
18
+ return "<pre" + slf.renderAttrs(token) + "><code>" + require_utils.escapeHtml(tokens[idx].content) + "</code></pre>\n";
19
+ };
20
+ default_rules.fence = function(tokens, idx, options, env, slf) {
21
+ const token = tokens[idx];
22
+ const info = token.info ? require_utils.unescapeAll(token.info).trim() : "";
23
+ let langName = "";
24
+ let langAttrs = "";
25
+ if (info) {
26
+ const arr = info.split(/(\s+)/g);
27
+ langName = arr[0];
28
+ langAttrs = arr.slice(2).join("");
29
+ }
30
+ let highlighted;
31
+ if (options.highlight) highlighted = options.highlight(token.content, langName, langAttrs) || require_utils.escapeHtml(token.content);
32
+ else highlighted = require_utils.escapeHtml(token.content);
33
+ if (highlighted.indexOf("<pre") === 0) return highlighted + "\n";
34
+ if (info) {
35
+ const i = token.attrIndex("class");
36
+ const tmpAttrs = token.attrs ? token.attrs.slice() : [];
37
+ if (i < 0) tmpAttrs.push(["class", options.langPrefix + langName]);
38
+ else {
39
+ tmpAttrs[i] = tmpAttrs[i].slice();
40
+ tmpAttrs[i][1] += " " + options.langPrefix + langName;
41
+ }
42
+ const tmpToken = { attrs: tmpAttrs };
43
+ return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\n`;
44
+ }
45
+ return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\n`;
46
+ };
47
+ default_rules.image = function(tokens, idx, options, env, slf) {
48
+ const token = tokens[idx];
49
+ token.attrs[token.attrIndex("alt")][1] = slf.renderInlineAsText(token.children, options, env);
50
+ return slf.renderToken(tokens, idx, options);
51
+ };
52
+ default_rules.hardbreak = function(tokens, idx, options) {
53
+ return options.xhtmlOut ? "<br />\n" : "<br>\n";
54
+ };
55
+ default_rules.softbreak = function(tokens, idx, options) {
56
+ return options.breaks ? options.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
57
+ };
58
+ default_rules.text = function(tokens, idx) {
59
+ return require_utils.escapeHtml(tokens[idx].content);
60
+ };
61
+ default_rules.html_block = function(tokens, idx) {
62
+ return tokens[idx].content;
63
+ };
64
+ default_rules.html_inline = function(tokens, idx) {
65
+ return tokens[idx].content;
66
+ };
67
+ /**
68
+ * new Renderer()
69
+ *
70
+ * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.
71
+ **/
72
+ function Renderer() {
73
+ /**
74
+ * Renderer#rules -> Object
75
+ *
76
+ * Contains render rules for tokens. Can be updated and extended.
77
+ *
78
+ * ##### Example
79
+ *
80
+ * ```javascript
81
+ * var md = require('markdown-it')();
82
+ *
83
+ * md.renderer.rules.strong_open = function () { return '<b>'; };
84
+ * md.renderer.rules.strong_close = function () { return '</b>'; };
85
+ *
86
+ * var result = md.renderInline(...);
87
+ * ```
88
+ *
89
+ * Each rule is called as independent static function with fixed signature:
90
+ *
91
+ * ```javascript
92
+ * function my_token_render(tokens, idx, options, env, renderer) {
93
+ * // ...
94
+ * return renderedHTML;
95
+ * }
96
+ * ```
97
+ *
98
+ * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
99
+ * for more details and examples.
100
+ **/
101
+ this.rules = require_utils.assign({}, default_rules);
102
+ }
103
+ /**
104
+ * Renderer.renderAttrs(token) -> String
105
+ *
106
+ * Render token attributes to string.
107
+ **/
108
+ Renderer.prototype.renderAttrs = function renderAttrs(token) {
109
+ let i, l, result;
110
+ if (!token.attrs) return "";
111
+ result = "";
112
+ for (i = 0, l = token.attrs.length; i < l; i++) result += " " + require_utils.escapeHtml(token.attrs[i][0]) + "=\"" + require_utils.escapeHtml(token.attrs[i][1]) + "\"";
113
+ return result;
114
+ };
115
+ /**
116
+ * Renderer.renderToken(tokens, idx, options) -> String
117
+ * - tokens (Array): list of tokens
118
+ * - idx (Numbed): token index to render
119
+ * - options (Object): params of parser instance
120
+ *
121
+ * Default token renderer. Can be overriden by custom function
122
+ * in [[Renderer#rules]].
123
+ **/
124
+ Renderer.prototype.renderToken = function renderToken(tokens, idx, options) {
125
+ const token = tokens[idx];
126
+ let result = "";
127
+ if (token.hidden) return "";
128
+ if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) result += "\n";
129
+ result += (token.nesting === -1 ? "</" : "<") + token.tag;
130
+ result += this.renderAttrs(token);
131
+ if (token.nesting === 0 && options.xhtmlOut) result += " /";
132
+ let needLf = false;
133
+ if (token.block) {
134
+ needLf = true;
135
+ if (token.nesting === 1) {
136
+ if (idx + 1 < tokens.length) {
137
+ const nextToken = tokens[idx + 1];
138
+ if (nextToken.type === "inline" || nextToken.hidden) needLf = false;
139
+ else if (nextToken.nesting === -1 && nextToken.tag === token.tag) needLf = false;
140
+ }
141
+ }
142
+ }
143
+ result += needLf ? ">\n" : ">";
144
+ return result;
145
+ };
146
+ /**
147
+ * Renderer.renderInline(tokens, options, env) -> String
148
+ * - tokens (Array): list on block tokens to render
149
+ * - options (Object): params of parser instance
150
+ * - env (Object): additional data from parsed input (references, for example)
151
+ *
152
+ * The same as [[Renderer.render]], but for single token of `inline` type.
153
+ **/
154
+ Renderer.prototype.renderInline = function(tokens, options, env) {
155
+ let result = "";
156
+ const rules = this.rules;
157
+ for (let i = 0, len = tokens.length; i < len; i++) {
158
+ const type = tokens[i].type;
159
+ if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
160
+ else result += this.renderToken(tokens, i, options);
161
+ }
162
+ return result;
163
+ };
164
+ /** internal
165
+ * Renderer.renderInlineAsText(tokens, options, env) -> String
166
+ * - tokens (Array): list on block tokens to render
167
+ * - options (Object): params of parser instance
168
+ * - env (Object): additional data from parsed input (references, for example)
169
+ *
170
+ * Special kludge for image `alt` attributes to conform CommonMark spec.
171
+ * Don't try to use it! Spec requires to show `alt` content with stripped markup,
172
+ * instead of simple escaping.
173
+ **/
174
+ Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
175
+ let result = "";
176
+ for (let i = 0, len = tokens.length; i < len; i++) switch (tokens[i].type) {
177
+ case "text":
178
+ result += tokens[i].content;
179
+ break;
180
+ case "image":
181
+ result += this.renderInlineAsText(tokens[i].children, options, env);
182
+ break;
183
+ case "html_inline":
184
+ case "html_block":
185
+ result += tokens[i].content;
186
+ break;
187
+ case "softbreak":
188
+ case "hardbreak":
189
+ result += "\n";
190
+ break;
191
+ default:
192
+ }
193
+ return result;
194
+ };
195
+ /**
196
+ * Renderer.render(tokens, options, env) -> String
197
+ * - tokens (Array): list on block tokens to render
198
+ * - options (Object): params of parser instance
199
+ * - env (Object): additional data from parsed input (references, for example)
200
+ *
201
+ * Takes token stream and generates HTML. Probably, you will never need to call
202
+ * this method directly.
203
+ **/
204
+ Renderer.prototype.render = function(tokens, options, env) {
205
+ let result = "";
206
+ const rules = this.rules;
207
+ for (let i = 0, len = tokens.length; i < len; i++) {
208
+ const type = tokens[i].type;
209
+ if (type === "inline") result += this.renderInline(tokens[i].children, options, env);
210
+ else if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
211
+ else result += this.renderToken(tokens, i, options, env);
212
+ }
213
+ return result;
214
+ };
215
+
216
+ //#endregion
217
+ exports.default = Renderer;
@@ -0,0 +1,218 @@
1
+ import { assign, escapeHtml, unescapeAll } from "./common/utils.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs
4
+ /**
5
+ * class Renderer
6
+ *
7
+ * Generates HTML from parsed token stream. Each instance has independent
8
+ * copy of rules. Those can be rewritten with ease. Also, you can add new
9
+ * rules if you create plugin and adds new token types.
10
+ **/
11
+ const default_rules = {};
12
+ default_rules.code_inline = function(tokens, idx, options, env, slf) {
13
+ const token = tokens[idx];
14
+ return "<code" + slf.renderAttrs(token) + ">" + escapeHtml(token.content) + "</code>";
15
+ };
16
+ default_rules.code_block = function(tokens, idx, options, env, slf) {
17
+ const token = tokens[idx];
18
+ return "<pre" + slf.renderAttrs(token) + "><code>" + escapeHtml(tokens[idx].content) + "</code></pre>\n";
19
+ };
20
+ default_rules.fence = function(tokens, idx, options, env, slf) {
21
+ const token = tokens[idx];
22
+ const info = token.info ? unescapeAll(token.info).trim() : "";
23
+ let langName = "";
24
+ let langAttrs = "";
25
+ if (info) {
26
+ const arr = info.split(/(\s+)/g);
27
+ langName = arr[0];
28
+ langAttrs = arr.slice(2).join("");
29
+ }
30
+ let highlighted;
31
+ if (options.highlight) highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content);
32
+ else highlighted = escapeHtml(token.content);
33
+ if (highlighted.indexOf("<pre") === 0) return highlighted + "\n";
34
+ if (info) {
35
+ const i = token.attrIndex("class");
36
+ const tmpAttrs = token.attrs ? token.attrs.slice() : [];
37
+ if (i < 0) tmpAttrs.push(["class", options.langPrefix + langName]);
38
+ else {
39
+ tmpAttrs[i] = tmpAttrs[i].slice();
40
+ tmpAttrs[i][1] += " " + options.langPrefix + langName;
41
+ }
42
+ const tmpToken = { attrs: tmpAttrs };
43
+ return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\n`;
44
+ }
45
+ return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\n`;
46
+ };
47
+ default_rules.image = function(tokens, idx, options, env, slf) {
48
+ const token = tokens[idx];
49
+ token.attrs[token.attrIndex("alt")][1] = slf.renderInlineAsText(token.children, options, env);
50
+ return slf.renderToken(tokens, idx, options);
51
+ };
52
+ default_rules.hardbreak = function(tokens, idx, options) {
53
+ return options.xhtmlOut ? "<br />\n" : "<br>\n";
54
+ };
55
+ default_rules.softbreak = function(tokens, idx, options) {
56
+ return options.breaks ? options.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
57
+ };
58
+ default_rules.text = function(tokens, idx) {
59
+ return escapeHtml(tokens[idx].content);
60
+ };
61
+ default_rules.html_block = function(tokens, idx) {
62
+ return tokens[idx].content;
63
+ };
64
+ default_rules.html_inline = function(tokens, idx) {
65
+ return tokens[idx].content;
66
+ };
67
+ /**
68
+ * new Renderer()
69
+ *
70
+ * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.
71
+ **/
72
+ function Renderer() {
73
+ /**
74
+ * Renderer#rules -> Object
75
+ *
76
+ * Contains render rules for tokens. Can be updated and extended.
77
+ *
78
+ * ##### Example
79
+ *
80
+ * ```javascript
81
+ * var md = require('markdown-it')();
82
+ *
83
+ * md.renderer.rules.strong_open = function () { return '<b>'; };
84
+ * md.renderer.rules.strong_close = function () { return '</b>'; };
85
+ *
86
+ * var result = md.renderInline(...);
87
+ * ```
88
+ *
89
+ * Each rule is called as independent static function with fixed signature:
90
+ *
91
+ * ```javascript
92
+ * function my_token_render(tokens, idx, options, env, renderer) {
93
+ * // ...
94
+ * return renderedHTML;
95
+ * }
96
+ * ```
97
+ *
98
+ * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
99
+ * for more details and examples.
100
+ **/
101
+ this.rules = assign({}, default_rules);
102
+ }
103
+ /**
104
+ * Renderer.renderAttrs(token) -> String
105
+ *
106
+ * Render token attributes to string.
107
+ **/
108
+ Renderer.prototype.renderAttrs = function renderAttrs(token) {
109
+ let i, l, result;
110
+ if (!token.attrs) return "";
111
+ result = "";
112
+ for (i = 0, l = token.attrs.length; i < l; i++) result += " " + escapeHtml(token.attrs[i][0]) + "=\"" + escapeHtml(token.attrs[i][1]) + "\"";
113
+ return result;
114
+ };
115
+ /**
116
+ * Renderer.renderToken(tokens, idx, options) -> String
117
+ * - tokens (Array): list of tokens
118
+ * - idx (Numbed): token index to render
119
+ * - options (Object): params of parser instance
120
+ *
121
+ * Default token renderer. Can be overriden by custom function
122
+ * in [[Renderer#rules]].
123
+ **/
124
+ Renderer.prototype.renderToken = function renderToken(tokens, idx, options) {
125
+ const token = tokens[idx];
126
+ let result = "";
127
+ if (token.hidden) return "";
128
+ if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) result += "\n";
129
+ result += (token.nesting === -1 ? "</" : "<") + token.tag;
130
+ result += this.renderAttrs(token);
131
+ if (token.nesting === 0 && options.xhtmlOut) result += " /";
132
+ let needLf = false;
133
+ if (token.block) {
134
+ needLf = true;
135
+ if (token.nesting === 1) {
136
+ if (idx + 1 < tokens.length) {
137
+ const nextToken = tokens[idx + 1];
138
+ if (nextToken.type === "inline" || nextToken.hidden) needLf = false;
139
+ else if (nextToken.nesting === -1 && nextToken.tag === token.tag) needLf = false;
140
+ }
141
+ }
142
+ }
143
+ result += needLf ? ">\n" : ">";
144
+ return result;
145
+ };
146
+ /**
147
+ * Renderer.renderInline(tokens, options, env) -> String
148
+ * - tokens (Array): list on block tokens to render
149
+ * - options (Object): params of parser instance
150
+ * - env (Object): additional data from parsed input (references, for example)
151
+ *
152
+ * The same as [[Renderer.render]], but for single token of `inline` type.
153
+ **/
154
+ Renderer.prototype.renderInline = function(tokens, options, env) {
155
+ let result = "";
156
+ const rules = this.rules;
157
+ for (let i = 0, len = tokens.length; i < len; i++) {
158
+ const type = tokens[i].type;
159
+ if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
160
+ else result += this.renderToken(tokens, i, options);
161
+ }
162
+ return result;
163
+ };
164
+ /** internal
165
+ * Renderer.renderInlineAsText(tokens, options, env) -> String
166
+ * - tokens (Array): list on block tokens to render
167
+ * - options (Object): params of parser instance
168
+ * - env (Object): additional data from parsed input (references, for example)
169
+ *
170
+ * Special kludge for image `alt` attributes to conform CommonMark spec.
171
+ * Don't try to use it! Spec requires to show `alt` content with stripped markup,
172
+ * instead of simple escaping.
173
+ **/
174
+ Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
175
+ let result = "";
176
+ for (let i = 0, len = tokens.length; i < len; i++) switch (tokens[i].type) {
177
+ case "text":
178
+ result += tokens[i].content;
179
+ break;
180
+ case "image":
181
+ result += this.renderInlineAsText(tokens[i].children, options, env);
182
+ break;
183
+ case "html_inline":
184
+ case "html_block":
185
+ result += tokens[i].content;
186
+ break;
187
+ case "softbreak":
188
+ case "hardbreak":
189
+ result += "\n";
190
+ break;
191
+ default:
192
+ }
193
+ return result;
194
+ };
195
+ /**
196
+ * Renderer.render(tokens, options, env) -> String
197
+ * - tokens (Array): list on block tokens to render
198
+ * - options (Object): params of parser instance
199
+ * - env (Object): additional data from parsed input (references, for example)
200
+ *
201
+ * Takes token stream and generates HTML. Probably, you will never need to call
202
+ * this method directly.
203
+ **/
204
+ Renderer.prototype.render = function(tokens, options, env) {
205
+ let result = "";
206
+ const rules = this.rules;
207
+ for (let i = 0, len = tokens.length; i < len; i++) {
208
+ const type = tokens[i].type;
209
+ if (type === "inline") result += this.renderInline(tokens[i].children, options, env);
210
+ else if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
211
+ else result += this.renderToken(tokens, i, options, env);
212
+ }
213
+ return result;
214
+ };
215
+
216
+ //#endregion
217
+ export { Renderer as default };
218
+ //# sourceMappingURL=renderer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs"],"sourcesContent":["/**\n * class Renderer\n *\n * Generates HTML from parsed token stream. Each instance has independent\n * copy of rules. Those can be rewritten with ease. Also, you can add new\n * rules if you create plugin and adds new token types.\n **/\n\nimport { assign, unescapeAll, escapeHtml } from './common/utils.mjs'\n\nconst default_rules = {}\n\ndefault_rules.code_inline = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '<code' + slf.renderAttrs(token) + '>' +\n escapeHtml(token.content) +\n '</code>'\n}\n\ndefault_rules.code_block = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '<pre' + slf.renderAttrs(token) + '><code>' +\n escapeHtml(tokens[idx].content) +\n '</code></pre>\\n'\n}\n\ndefault_rules.fence = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n const info = token.info ? unescapeAll(token.info).trim() : ''\n let langName = ''\n let langAttrs = ''\n\n if (info) {\n const arr = info.split(/(\\s+)/g)\n langName = arr[0]\n langAttrs = arr.slice(2).join('')\n }\n\n let highlighted\n if (options.highlight) {\n highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content)\n } else {\n highlighted = escapeHtml(token.content)\n }\n\n if (highlighted.indexOf('<pre') === 0) {\n return highlighted + '\\n'\n }\n\n // If language exists, inject class gently, without modifying original token.\n // May be, one day we will add .deepClone() for token and simplify this part, but\n // now we prefer to keep things local.\n if (info) {\n const i = token.attrIndex('class')\n const tmpAttrs = token.attrs ? token.attrs.slice() : []\n\n if (i < 0) {\n tmpAttrs.push(['class', options.langPrefix + langName])\n } else {\n tmpAttrs[i] = tmpAttrs[i].slice()\n tmpAttrs[i][1] += ' ' + options.langPrefix + langName\n }\n\n // Fake token just to render attributes\n const tmpToken = {\n attrs: tmpAttrs\n }\n\n return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\\n`\n }\n\n return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\\n`\n}\n\ndefault_rules.image = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n // \"alt\" attr MUST be set, even if empty. Because it's mandatory and\n // should be placed on proper position for tests.\n //\n // Replace content with actual value\n\n token.attrs[token.attrIndex('alt')][1] =\n slf.renderInlineAsText(token.children, options, env)\n\n return slf.renderToken(tokens, idx, options)\n}\n\ndefault_rules.hardbreak = function (tokens, idx, options /*, env */) {\n return options.xhtmlOut ? '<br />\\n' : '<br>\\n'\n}\ndefault_rules.softbreak = function (tokens, idx, options /*, env */) {\n return options.breaks ? (options.xhtmlOut ? '<br />\\n' : '<br>\\n') : '\\n'\n}\n\ndefault_rules.text = function (tokens, idx /*, options, env */) {\n return escapeHtml(tokens[idx].content)\n}\n\ndefault_rules.html_block = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\ndefault_rules.html_inline = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\n\n/**\n * new Renderer()\n *\n * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.\n **/\nfunction Renderer () {\n /**\n * Renderer#rules -> Object\n *\n * Contains render rules for tokens. Can be updated and extended.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.renderer.rules.strong_open = function () { return '<b>'; };\n * md.renderer.rules.strong_close = function () { return '</b>'; };\n *\n * var result = md.renderInline(...);\n * ```\n *\n * Each rule is called as independent static function with fixed signature:\n *\n * ```javascript\n * function my_token_render(tokens, idx, options, env, renderer) {\n * // ...\n * return renderedHTML;\n * }\n * ```\n *\n * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)\n * for more details and examples.\n **/\n this.rules = assign({}, default_rules)\n}\n\n/**\n * Renderer.renderAttrs(token) -> String\n *\n * Render token attributes to string.\n **/\nRenderer.prototype.renderAttrs = function renderAttrs (token) {\n let i, l, result\n\n if (!token.attrs) { return '' }\n\n result = ''\n\n for (i = 0, l = token.attrs.length; i < l; i++) {\n result += ' ' + escapeHtml(token.attrs[i][0]) + '=\"' + escapeHtml(token.attrs[i][1]) + '\"'\n }\n\n return result\n}\n\n/**\n * Renderer.renderToken(tokens, idx, options) -> String\n * - tokens (Array): list of tokens\n * - idx (Numbed): token index to render\n * - options (Object): params of parser instance\n *\n * Default token renderer. Can be overriden by custom function\n * in [[Renderer#rules]].\n **/\nRenderer.prototype.renderToken = function renderToken (tokens, idx, options) {\n const token = tokens[idx]\n let result = ''\n\n // Tight list paragraphs\n if (token.hidden) {\n return ''\n }\n\n // Insert a newline between hidden paragraph and subsequent opening\n // block-level tag.\n //\n // For example, here we should insert a newline before blockquote:\n // - a\n // >\n //\n if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {\n result += '\\n'\n }\n\n // Add token name, e.g. `<img`\n result += (token.nesting === -1 ? '</' : '<') + token.tag\n\n // Encode attributes, e.g. `<img src=\"foo\"`\n result += this.renderAttrs(token)\n\n // Add a slash for self-closing tags, e.g. `<img src=\"foo\" /`\n if (token.nesting === 0 && options.xhtmlOut) {\n result += ' /'\n }\n\n // Check if we need to add a newline after this tag\n let needLf = false\n if (token.block) {\n needLf = true\n\n if (token.nesting === 1) {\n if (idx + 1 < tokens.length) {\n const nextToken = tokens[idx + 1]\n\n if (nextToken.type === 'inline' || nextToken.hidden) {\n // Block-level tag containing an inline tag.\n //\n needLf = false\n } else if (nextToken.nesting === -1 && nextToken.tag === token.tag) {\n // Opening tag + closing tag of the same type. E.g. `<li></li>`.\n //\n needLf = false\n }\n }\n }\n }\n\n result += needLf ? '>\\n' : '>'\n\n return result\n}\n\n/**\n * Renderer.renderInline(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * The same as [[Renderer.render]], but for single token of `inline` type.\n **/\nRenderer.prototype.renderInline = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options)\n }\n }\n\n return result\n}\n\n/** internal\n * Renderer.renderInlineAsText(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Special kludge for image `alt` attributes to conform CommonMark spec.\n * Don't try to use it! Spec requires to show `alt` content with stripped markup,\n * instead of simple escaping.\n **/\nRenderer.prototype.renderInlineAsText = function (tokens, options, env) {\n let result = ''\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n switch (tokens[i].type) {\n case 'text':\n result += tokens[i].content\n break\n case 'image':\n result += this.renderInlineAsText(tokens[i].children, options, env)\n break\n case 'html_inline':\n case 'html_block':\n result += tokens[i].content\n break\n case 'softbreak':\n case 'hardbreak':\n result += '\\n'\n break\n default:\n // all other tokens are skipped\n }\n }\n\n return result\n}\n\n/**\n * Renderer.render(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Takes token stream and generates HTML. Probably, you will never need to call\n * this method directly.\n **/\nRenderer.prototype.render = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (type === 'inline') {\n result += this.renderInline(tokens[i].children, options, env)\n } else if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options, env)\n }\n }\n\n return result\n}\n\nexport default Renderer\n"],"x_google_ignoreList":[0],"mappings":"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"}