@mdsvex/parse 1.0.0-next.0 → 1.0.0-next.2

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 (2037) hide show
  1. package/PLUGINS.md +827 -18
  2. package/WIRE_FORMAT.md +61 -15
  3. package/dist/buf-utils.js +141 -29
  4. package/dist/buf_utils.d.ts +65 -2
  5. package/dist/constants.d.ts +2 -0
  6. package/dist/cursor.d.ts +21 -13
  7. package/dist/cursor.js +129 -31
  8. package/dist/heading_ids.d.ts +101 -0
  9. package/dist/main.d.ts +747 -78
  10. package/dist/main.js +9843 -4174
  11. package/dist/node_view-DEZDLDFD.js +710 -0
  12. package/dist/node_view.d.ts +166 -19
  13. package/dist/opcodes.d.ts +59 -8
  14. package/dist/plugin_data.d.ts +84 -0
  15. package/dist/plugin_dispatch.d.ts +385 -27
  16. package/dist/plugin_tasks.d.ts +186 -0
  17. package/dist/plugin_types.d.ts +218 -6
  18. package/dist/text_run.d.ts +77 -0
  19. package/dist/tree-builder.js +253 -63
  20. package/dist/tree_builder.d.ts +72 -11
  21. package/dist/types.d.ts +28 -3
  22. package/dist/undo_log.d.ts +109 -6
  23. package/dist/unicode_punctuation.d.ts +5 -0
  24. package/dist/utils.d.ts +158 -54
  25. package/dist/utils.js +932 -218
  26. package/dist/wire-tree-builder.js +122 -91
  27. package/dist/wire_emitter.d.ts +9 -2
  28. package/dist/wire_tree_builder.d.ts +24 -9
  29. package/package.json +12 -5
  30. package/CHANGELOG.md +0 -21
  31. package/dist/node_view-BEh2-H86.js +0 -373
  32. package/src/buf_utils.ts +0 -58
  33. package/src/constants.ts +0 -101
  34. package/src/cursor.ts +0 -195
  35. package/src/main.ts +0 -7686
  36. package/src/node_view.ts +0 -441
  37. package/src/opcodes.ts +0 -91
  38. package/src/plugin_dispatch.ts +0 -635
  39. package/src/plugin_types.ts +0 -36
  40. package/src/tree_builder.ts +0 -214
  41. package/src/types.ts +0 -30
  42. package/src/undo_log.ts +0 -302
  43. package/src/utils.spec.ts +0 -347
  44. package/src/utils.ts +0 -992
  45. package/src/wire_emitter.ts +0 -469
  46. package/src/wire_tree_builder.ts +0 -337
  47. package/test/ast_snapshots.spec.ts +0 -155
  48. package/test/atx_headings.spec.ts +0 -260
  49. package/test/autolinks.spec.ts +0 -306
  50. package/test/backslash_escapes.spec.ts +0 -266
  51. package/test/blank_lines.spec.ts +0 -113
  52. package/test/block_quotes.spec.ts +0 -462
  53. package/test/code_spans.spec.ts +0 -710
  54. package/test/crlf.spec.ts +0 -125
  55. package/test/directives.spec.ts +0 -776
  56. package/test/emphasis.spec.ts +0 -1886
  57. package/test/fenced_code_blocks.spec.ts +0 -375
  58. package/test/fixtures/hybrid/code-escaping.svx +0 -10
  59. package/test/fixtures/hybrid/code-highlight-nesting.svx +0 -6
  60. package/test/fixtures/hybrid/component-children.svx +0 -24
  61. package/test/fixtures/hybrid/component-simple-00.svx +0 -9
  62. package/test/fixtures/hybrid/component-simple-01.svx +0 -7
  63. package/test/fixtures/hybrid/component-simple-02.svx +0 -1
  64. package/test/fixtures/hybrid/component-simple-03.svx +0 -7
  65. package/test/fixtures/hybrid/component-simple-04.svx +0 -9
  66. package/test/fixtures/hybrid/dollar-one-in-frontmatter.svx +0 -5
  67. package/test/fixtures/hybrid/error.svx +0 -37
  68. package/test/fixtures/hybrid/link-curlies.svx +0 -22
  69. package/test/fixtures/hybrid/tags-in-frontmatter.svx +0 -3
  70. package/test/fixtures/markdown/anchors-by-reference.md +0 -11
  71. package/test/fixtures/markdown/anchors-followed-by-brakets.md +0 -7
  72. package/test/fixtures/markdown/automatic-anchors.md +0 -2
  73. package/test/fixtures/markdown/blockquote-followed-by-code.md +0 -10
  74. package/test/fixtures/markdown/blockquote-inside-code.md +0 -11
  75. package/test/fixtures/markdown/blockquote-nested-markdown.md +0 -10
  76. package/test/fixtures/markdown/blockquote.md +0 -4
  77. package/test/fixtures/markdown/code-block-html-escape.md +0 -6
  78. package/test/fixtures/markdown/code-block-with-special-chars.md +0 -8
  79. package/test/fixtures/markdown/code-block.md +0 -6
  80. package/test/fixtures/markdown/double-emphasis.md +0 -7
  81. package/test/fixtures/markdown/doubline-list.md +0 -4
  82. package/test/fixtures/markdown/ellipsis.md +0 -24
  83. package/test/fixtures/markdown/emphasis-inside-inline-code.md +0 -1
  84. package/test/fixtures/markdown/emphasis.md +0 -88
  85. package/test/fixtures/markdown/encodeHTMLCodeTags.md +0 -5
  86. package/test/fixtures/markdown/escaped-html-taglikes.md +0 -7
  87. package/test/fixtures/markdown/escaped-number-period.md +0 -1
  88. package/test/fixtures/markdown/escaping.md +0 -32
  89. package/test/fixtures/markdown/github-style-at-start.md +0 -7
  90. package/test/fixtures/markdown/github-style-codeblock-inside-quote.md +0 -13
  91. package/test/fixtures/markdown/github-style-codeblock.md +0 -34
  92. package/test/fixtures/markdown/github-style-linebreaks.md +0 -4
  93. package/test/fixtures/markdown/h1-with-double-hash.md +0 -1
  94. package/test/fixtures/markdown/h1-with-equals.md +0 -2
  95. package/test/fixtures/markdown/h1-with-single-hash.md +0 -1
  96. package/test/fixtures/markdown/h2-with-dashes.md +0 -2
  97. package/test/fixtures/markdown/h2-with-double-hash.md +0 -1
  98. package/test/fixtures/markdown/h2-with-single-hash.md +0 -1
  99. package/test/fixtures/markdown/h3-with-double-hash.md +0 -1
  100. package/test/fixtures/markdown/h3-with-single-hash.md +0 -1
  101. package/test/fixtures/markdown/h4-with-single-hash.md +0 -1
  102. package/test/fixtures/markdown/h5-with-single-hash.md +0 -1
  103. package/test/fixtures/markdown/h6-with-single-hash.md +0 -1
  104. package/test/fixtures/markdown/horizontal-rules.md +0 -10
  105. package/test/fixtures/markdown/html-comments.md +0 -8
  106. package/test/fixtures/markdown/html-inside-listed-code.md +0 -8
  107. package/test/fixtures/markdown/html5-strutural-tags.md +0 -68
  108. package/test/fixtures/markdown/images-followed-by-brackets.md +0 -3
  109. package/test/fixtures/markdown/images.md +0 -14
  110. package/test/fixtures/markdown/implicit-anchors.md +0 -7
  111. package/test/fixtures/markdown/inline-anchors.md +0 -3
  112. package/test/fixtures/markdown/inline-code.md +0 -13
  113. package/test/fixtures/markdown/inline-escaped-chars.md +0 -2
  114. package/test/fixtures/markdown/inline-style-tag.md +0 -5
  115. package/test/fixtures/markdown/lazy-blockquote.md +0 -3
  116. package/test/fixtures/markdown/line-starts-with-html.md +0 -3
  117. package/test/fixtures/markdown/list-followed-by-blockquote.md +0 -9
  118. package/test/fixtures/markdown/list-followed-by-ghcode.md +0 -13
  119. package/test/fixtures/markdown/list-with-blockquote.md +0 -4
  120. package/test/fixtures/markdown/literal-html-tags.md +0 -9
  121. package/test/fixtures/markdown/multi-paragraph-list.md +0 -5
  122. package/test/fixtures/markdown/multiline-unordered-list.md +0 -3
  123. package/test/fixtures/markdown/nested-blockquote.md +0 -5
  124. package/test/fixtures/markdown/nested-gh-codeblocks.md +0 -9
  125. package/test/fixtures/markdown/obfuscated-emails.md +0 -0
  126. package/test/fixtures/markdown/ordered-list-same-number.md +0 -3
  127. package/test/fixtures/markdown/ordered-list-starting-number.md +0 -10
  128. package/test/fixtures/markdown/ordered-list-wrong-numbers.md +0 -3
  129. package/test/fixtures/markdown/ordered-list.md +0 -3
  130. package/test/fixtures/markdown/paragraphed-list-with-sublists.md +0 -13
  131. package/test/fixtures/markdown/pre-code-tags-inside-code-block.md +0 -7
  132. package/test/fixtures/markdown/pre-code-tags.md +0 -19
  133. package/test/fixtures/markdown/relative-anchors.md +0 -1
  134. package/test/fixtures/markdown/repeated-headers.md +0 -5
  135. package/test/fixtures/markdown/simple-paragraph.md +0 -1
  136. package/test/fixtures/markdown/strip-references.md +0 -13
  137. package/test/fixtures/markdown/strong.md +0 -5
  138. package/test/fixtures/markdown/unordered-list-asterisk.md +0 -3
  139. package/test/fixtures/markdown/unordered-list-minus.md +0 -3
  140. package/test/fixtures/markdown/unordered-list-plus.md +0 -3
  141. package/test/fixtures/markdown/url-with-parenthesis.md +0 -1
  142. package/test/fixtures/pfm/atx_headings/62.md +0 -6
  143. package/test/fixtures/pfm/atx_headings/63.md +0 -1
  144. package/test/fixtures/pfm/atx_headings/64.md +0 -3
  145. package/test/fixtures/pfm/atx_headings/65.md +0 -1
  146. package/test/fixtures/pfm/atx_headings/66.md +0 -1
  147. package/test/fixtures/pfm/atx_headings/67.md +0 -1
  148. package/test/fixtures/pfm/atx_headings/68.md +0 -3
  149. package/test/fixtures/pfm/atx_headings/69.md +0 -1
  150. package/test/fixtures/pfm/atx_headings/70.md +0 -2
  151. package/test/fixtures/pfm/atx_headings/71.md +0 -2
  152. package/test/fixtures/pfm/atx_headings/72.md +0 -2
  153. package/test/fixtures/pfm/atx_headings/73.md +0 -1
  154. package/test/fixtures/pfm/atx_headings/74.md +0 -1
  155. package/test/fixtures/pfm/atx_headings/75.md +0 -1
  156. package/test/fixtures/pfm/atx_headings/76.md +0 -3
  157. package/test/fixtures/pfm/atx_headings/77.md +0 -3
  158. package/test/fixtures/pfm/atx_headings/78.md +0 -3
  159. package/test/fixtures/pfm/atx_headings/79.md +0 -3
  160. package/test/fixtures/pfm/autolinks/594.md +0 -1
  161. package/test/fixtures/pfm/autolinks/595.md +0 -1
  162. package/test/fixtures/pfm/autolinks/596.md +0 -1
  163. package/test/fixtures/pfm/autolinks/597.md +0 -1
  164. package/test/fixtures/pfm/autolinks/598.md +0 -1
  165. package/test/fixtures/pfm/autolinks/599.md +0 -1
  166. package/test/fixtures/pfm/autolinks/600.md +0 -1
  167. package/test/fixtures/pfm/autolinks/601.md +0 -1
  168. package/test/fixtures/pfm/autolinks/602.md +0 -1
  169. package/test/fixtures/pfm/autolinks/603.md +0 -1
  170. package/test/fixtures/pfm/autolinks/604.md +0 -1
  171. package/test/fixtures/pfm/autolinks/605.md +0 -1
  172. package/test/fixtures/pfm/autolinks/606.md +0 -1
  173. package/test/fixtures/pfm/autolinks/607.md +0 -1
  174. package/test/fixtures/pfm/autolinks/608.md +0 -1
  175. package/test/fixtures/pfm/autolinks/609.md +0 -1
  176. package/test/fixtures/pfm/autolinks/610.md +0 -1
  177. package/test/fixtures/pfm/autolinks/611.md +0 -1
  178. package/test/fixtures/pfm/autolinks/612.md +0 -1
  179. package/test/fixtures/pfm/backslash_escapes/12.md +0 -1
  180. package/test/fixtures/pfm/backslash_escapes/13.md +0 -1
  181. package/test/fixtures/pfm/backslash_escapes/14.md +0 -9
  182. package/test/fixtures/pfm/backslash_escapes/15.md +0 -1
  183. package/test/fixtures/pfm/backslash_escapes/16.md +0 -2
  184. package/test/fixtures/pfm/backslash_escapes/17.md +0 -1
  185. package/test/fixtures/pfm/backslash_escapes/18.md +0 -1
  186. package/test/fixtures/pfm/backslash_escapes/19.md +0 -3
  187. package/test/fixtures/pfm/backslash_escapes/20.md +0 -1
  188. package/test/fixtures/pfm/backslash_escapes/21.md +0 -1
  189. package/test/fixtures/pfm/backslash_escapes/22.md +0 -1
  190. package/test/fixtures/pfm/backslash_escapes/23.md +0 -3
  191. package/test/fixtures/pfm/backslash_escapes/24.md +0 -3
  192. package/test/fixtures/pfm/blank_lines/227.md +0 -8
  193. package/test/fixtures/pfm/block_quotes/228.md +0 -3
  194. package/test/fixtures/pfm/block_quotes/229.md +0 -3
  195. package/test/fixtures/pfm/block_quotes/230.md +0 -3
  196. package/test/fixtures/pfm/block_quotes/231.md +0 -3
  197. package/test/fixtures/pfm/block_quotes/232.md +0 -3
  198. package/test/fixtures/pfm/block_quotes/233.md +0 -3
  199. package/test/fixtures/pfm/block_quotes/234.md +0 -2
  200. package/test/fixtures/pfm/block_quotes/235.md +0 -2
  201. package/test/fixtures/pfm/block_quotes/236.md +0 -2
  202. package/test/fixtures/pfm/block_quotes/237.md +0 -3
  203. package/test/fixtures/pfm/block_quotes/238.md +0 -2
  204. package/test/fixtures/pfm/block_quotes/239.md +0 -1
  205. package/test/fixtures/pfm/block_quotes/240.md +0 -3
  206. package/test/fixtures/pfm/block_quotes/241.md +0 -3
  207. package/test/fixtures/pfm/block_quotes/242.md +0 -3
  208. package/test/fixtures/pfm/block_quotes/243.md +0 -2
  209. package/test/fixtures/pfm/block_quotes/244.md +0 -3
  210. package/test/fixtures/pfm/block_quotes/245.md +0 -2
  211. package/test/fixtures/pfm/block_quotes/246.md +0 -3
  212. package/test/fixtures/pfm/block_quotes/247.md +0 -2
  213. package/test/fixtures/pfm/block_quotes/248.md +0 -3
  214. package/test/fixtures/pfm/block_quotes/249.md +0 -3
  215. package/test/fixtures/pfm/block_quotes/250.md +0 -2
  216. package/test/fixtures/pfm/block_quotes/251.md +0 -3
  217. package/test/fixtures/pfm/block_quotes/252.md +0 -3
  218. package/test/fixtures/pfm/code_spans/328.md +0 -1
  219. package/test/fixtures/pfm/code_spans/329.md +0 -1
  220. package/test/fixtures/pfm/code_spans/330.md +0 -1
  221. package/test/fixtures/pfm/code_spans/331.md +0 -1
  222. package/test/fixtures/pfm/code_spans/332.md +0 -1
  223. package/test/fixtures/pfm/code_spans/333.md +0 -1
  224. package/test/fixtures/pfm/code_spans/334.md +0 -2
  225. package/test/fixtures/pfm/code_spans/335.md +0 -5
  226. package/test/fixtures/pfm/code_spans/336.md +0 -3
  227. package/test/fixtures/pfm/code_spans/337.md +0 -2
  228. package/test/fixtures/pfm/code_spans/338.md +0 -1
  229. package/test/fixtures/pfm/code_spans/339.md +0 -1
  230. package/test/fixtures/pfm/code_spans/340.md +0 -1
  231. package/test/fixtures/pfm/code_spans/341.md +0 -1
  232. package/test/fixtures/pfm/code_spans/342.md +0 -1
  233. package/test/fixtures/pfm/code_spans/343.md +0 -1
  234. package/test/fixtures/pfm/code_spans/344.md +0 -1
  235. package/test/fixtures/pfm/code_spans/345.md +0 -1
  236. package/test/fixtures/pfm/code_spans/346.md +0 -1
  237. package/test/fixtures/pfm/code_spans/347.md +0 -1
  238. package/test/fixtures/pfm/code_spans/348.md +0 -1
  239. package/test/fixtures/pfm/code_spans/349.md +0 -1
  240. package/test/fixtures/pfm/code_spans/pfm_328_1.md +0 -1
  241. package/test/fixtures/pfm/code_spans/pfm_328_2.md +0 -1
  242. package/test/fixtures/pfm/code_spans/pfm_328_3.md +0 -1
  243. package/test/fixtures/pfm/code_spans/pfm_328_4.md +0 -1
  244. package/test/fixtures/pfm/emphasis_and_strong_emphasis/350.md +0 -1
  245. package/test/fixtures/pfm/emphasis_and_strong_emphasis/351.md +0 -1
  246. package/test/fixtures/pfm/emphasis_and_strong_emphasis/352.md +0 -1
  247. package/test/fixtures/pfm/emphasis_and_strong_emphasis/353.md +0 -1
  248. package/test/fixtures/pfm/emphasis_and_strong_emphasis/354.md +0 -5
  249. package/test/fixtures/pfm/emphasis_and_strong_emphasis/355.md +0 -1
  250. package/test/fixtures/pfm/emphasis_and_strong_emphasis/356.md +0 -1
  251. package/test/fixtures/pfm/emphasis_and_strong_emphasis/357.md +0 -1
  252. package/test/fixtures/pfm/emphasis_and_strong_emphasis/358.md +0 -1
  253. package/test/fixtures/pfm/emphasis_and_strong_emphasis/359.md +0 -1
  254. package/test/fixtures/pfm/emphasis_and_strong_emphasis/360.md +0 -1
  255. package/test/fixtures/pfm/emphasis_and_strong_emphasis/361.md +0 -1
  256. package/test/fixtures/pfm/emphasis_and_strong_emphasis/362.md +0 -1
  257. package/test/fixtures/pfm/emphasis_and_strong_emphasis/363.md +0 -1
  258. package/test/fixtures/pfm/emphasis_and_strong_emphasis/364.md +0 -1
  259. package/test/fixtures/pfm/emphasis_and_strong_emphasis/365.md +0 -1
  260. package/test/fixtures/pfm/emphasis_and_strong_emphasis/366.md +0 -1
  261. package/test/fixtures/pfm/emphasis_and_strong_emphasis/367.md +0 -2
  262. package/test/fixtures/pfm/emphasis_and_strong_emphasis/368.md +0 -1
  263. package/test/fixtures/pfm/emphasis_and_strong_emphasis/369.md +0 -1
  264. package/test/fixtures/pfm/emphasis_and_strong_emphasis/370.md +0 -1
  265. package/test/fixtures/pfm/emphasis_and_strong_emphasis/371.md +0 -1
  266. package/test/fixtures/pfm/emphasis_and_strong_emphasis/372.md +0 -1
  267. package/test/fixtures/pfm/emphasis_and_strong_emphasis/373.md +0 -1
  268. package/test/fixtures/pfm/emphasis_and_strong_emphasis/374.md +0 -1
  269. package/test/fixtures/pfm/emphasis_and_strong_emphasis/375.md +0 -1
  270. package/test/fixtures/pfm/emphasis_and_strong_emphasis/376.md +0 -1
  271. package/test/fixtures/pfm/emphasis_and_strong_emphasis/377.md +0 -1
  272. package/test/fixtures/pfm/emphasis_and_strong_emphasis/378.md +0 -1
  273. package/test/fixtures/pfm/emphasis_and_strong_emphasis/379.md +0 -1
  274. package/test/fixtures/pfm/emphasis_and_strong_emphasis/380.md +0 -1
  275. package/test/fixtures/pfm/emphasis_and_strong_emphasis/381.md +0 -1
  276. package/test/fixtures/pfm/emphasis_and_strong_emphasis/382.md +0 -1
  277. package/test/fixtures/pfm/emphasis_and_strong_emphasis/383.md +0 -1
  278. package/test/fixtures/pfm/emphasis_and_strong_emphasis/384.md +0 -2
  279. package/test/fixtures/pfm/emphasis_and_strong_emphasis/385.md +0 -1
  280. package/test/fixtures/pfm/emphasis_and_strong_emphasis/386.md +0 -1
  281. package/test/fixtures/pfm/emphasis_and_strong_emphasis/387.md +0 -1
  282. package/test/fixtures/pfm/emphasis_and_strong_emphasis/388.md +0 -1
  283. package/test/fixtures/pfm/emphasis_and_strong_emphasis/389.md +0 -1
  284. package/test/fixtures/pfm/emphasis_and_strong_emphasis/390.md +0 -1
  285. package/test/fixtures/pfm/emphasis_and_strong_emphasis/391.md +0 -1
  286. package/test/fixtures/pfm/emphasis_and_strong_emphasis/392.md +0 -1
  287. package/test/fixtures/pfm/emphasis_and_strong_emphasis/393.md +0 -1
  288. package/test/fixtures/pfm/emphasis_and_strong_emphasis/394.md +0 -2
  289. package/test/fixtures/pfm/emphasis_and_strong_emphasis/395.md +0 -1
  290. package/test/fixtures/pfm/emphasis_and_strong_emphasis/396.md +0 -1
  291. package/test/fixtures/pfm/emphasis_and_strong_emphasis/397.md +0 -1
  292. package/test/fixtures/pfm/emphasis_and_strong_emphasis/398.md +0 -1
  293. package/test/fixtures/pfm/emphasis_and_strong_emphasis/399.md +0 -1
  294. package/test/fixtures/pfm/emphasis_and_strong_emphasis/400.md +0 -1
  295. package/test/fixtures/pfm/emphasis_and_strong_emphasis/401.md +0 -1
  296. package/test/fixtures/pfm/emphasis_and_strong_emphasis/402.md +0 -1
  297. package/test/fixtures/pfm/emphasis_and_strong_emphasis/403.md +0 -1
  298. package/test/fixtures/pfm/emphasis_and_strong_emphasis/404.md +0 -1
  299. package/test/fixtures/pfm/emphasis_and_strong_emphasis/405.md +0 -2
  300. package/test/fixtures/pfm/emphasis_and_strong_emphasis/406.md +0 -1
  301. package/test/fixtures/pfm/emphasis_and_strong_emphasis/407.md +0 -1
  302. package/test/fixtures/pfm/emphasis_and_strong_emphasis/408.md +0 -1
  303. package/test/fixtures/pfm/emphasis_and_strong_emphasis/409.md +0 -1
  304. package/test/fixtures/pfm/emphasis_and_strong_emphasis/410.md +0 -1
  305. package/test/fixtures/pfm/emphasis_and_strong_emphasis/411.md +0 -1
  306. package/test/fixtures/pfm/emphasis_and_strong_emphasis/412.md +0 -1
  307. package/test/fixtures/pfm/emphasis_and_strong_emphasis/413.md +0 -1
  308. package/test/fixtures/pfm/emphasis_and_strong_emphasis/414.md +0 -1
  309. package/test/fixtures/pfm/emphasis_and_strong_emphasis/415.md +0 -1
  310. package/test/fixtures/pfm/emphasis_and_strong_emphasis/416.md +0 -1
  311. package/test/fixtures/pfm/emphasis_and_strong_emphasis/417.md +0 -1
  312. package/test/fixtures/pfm/emphasis_and_strong_emphasis/418.md +0 -1
  313. package/test/fixtures/pfm/emphasis_and_strong_emphasis/419.md +0 -1
  314. package/test/fixtures/pfm/emphasis_and_strong_emphasis/420.md +0 -1
  315. package/test/fixtures/pfm/emphasis_and_strong_emphasis/421.md +0 -1
  316. package/test/fixtures/pfm/emphasis_and_strong_emphasis/422.md +0 -1
  317. package/test/fixtures/pfm/emphasis_and_strong_emphasis/423.md +0 -2
  318. package/test/fixtures/pfm/emphasis_and_strong_emphasis/424.md +0 -1
  319. package/test/fixtures/pfm/emphasis_and_strong_emphasis/425.md +0 -1
  320. package/test/fixtures/pfm/emphasis_and_strong_emphasis/426.md +0 -1
  321. package/test/fixtures/pfm/emphasis_and_strong_emphasis/427.md +0 -1
  322. package/test/fixtures/pfm/emphasis_and_strong_emphasis/428.md +0 -1
  323. package/test/fixtures/pfm/emphasis_and_strong_emphasis/429.md +0 -1
  324. package/test/fixtures/pfm/emphasis_and_strong_emphasis/430.md +0 -1
  325. package/test/fixtures/pfm/emphasis_and_strong_emphasis/431.md +0 -1
  326. package/test/fixtures/pfm/emphasis_and_strong_emphasis/432.md +0 -2
  327. package/test/fixtures/pfm/emphasis_and_strong_emphasis/433.md +0 -1
  328. package/test/fixtures/pfm/emphasis_and_strong_emphasis/434.md +0 -1
  329. package/test/fixtures/pfm/emphasis_and_strong_emphasis/435.md +0 -1
  330. package/test/fixtures/pfm/emphasis_and_strong_emphasis/436.md +0 -1
  331. package/test/fixtures/pfm/emphasis_and_strong_emphasis/437.md +0 -1
  332. package/test/fixtures/pfm/emphasis_and_strong_emphasis/438.md +0 -1
  333. package/test/fixtures/pfm/emphasis_and_strong_emphasis/439.md +0 -1
  334. package/test/fixtures/pfm/emphasis_and_strong_emphasis/440.md +0 -1
  335. package/test/fixtures/pfm/emphasis_and_strong_emphasis/441.md +0 -1
  336. package/test/fixtures/pfm/emphasis_and_strong_emphasis/442.md +0 -1
  337. package/test/fixtures/pfm/emphasis_and_strong_emphasis/443.md +0 -1
  338. package/test/fixtures/pfm/emphasis_and_strong_emphasis/444.md +0 -1
  339. package/test/fixtures/pfm/emphasis_and_strong_emphasis/445.md +0 -1
  340. package/test/fixtures/pfm/emphasis_and_strong_emphasis/446.md +0 -1
  341. package/test/fixtures/pfm/emphasis_and_strong_emphasis/447.md +0 -1
  342. package/test/fixtures/pfm/emphasis_and_strong_emphasis/448.md +0 -1
  343. package/test/fixtures/pfm/emphasis_and_strong_emphasis/449.md +0 -1
  344. package/test/fixtures/pfm/emphasis_and_strong_emphasis/450.md +0 -1
  345. package/test/fixtures/pfm/emphasis_and_strong_emphasis/451.md +0 -1
  346. package/test/fixtures/pfm/emphasis_and_strong_emphasis/452.md +0 -1
  347. package/test/fixtures/pfm/emphasis_and_strong_emphasis/453.md +0 -1
  348. package/test/fixtures/pfm/emphasis_and_strong_emphasis/454.md +0 -1
  349. package/test/fixtures/pfm/emphasis_and_strong_emphasis/455.md +0 -1
  350. package/test/fixtures/pfm/emphasis_and_strong_emphasis/456.md +0 -1
  351. package/test/fixtures/pfm/emphasis_and_strong_emphasis/457.md +0 -1
  352. package/test/fixtures/pfm/emphasis_and_strong_emphasis/458.md +0 -1
  353. package/test/fixtures/pfm/emphasis_and_strong_emphasis/459.md +0 -1
  354. package/test/fixtures/pfm/emphasis_and_strong_emphasis/460.md +0 -1
  355. package/test/fixtures/pfm/emphasis_and_strong_emphasis/461.md +0 -1
  356. package/test/fixtures/pfm/emphasis_and_strong_emphasis/462.md +0 -1
  357. package/test/fixtures/pfm/emphasis_and_strong_emphasis/463.md +0 -1
  358. package/test/fixtures/pfm/emphasis_and_strong_emphasis/464.md +0 -1
  359. package/test/fixtures/pfm/emphasis_and_strong_emphasis/465.md +0 -1
  360. package/test/fixtures/pfm/emphasis_and_strong_emphasis/466.md +0 -1
  361. package/test/fixtures/pfm/emphasis_and_strong_emphasis/467.md +0 -1
  362. package/test/fixtures/pfm/emphasis_and_strong_emphasis/468.md +0 -1
  363. package/test/fixtures/pfm/emphasis_and_strong_emphasis/469.md +0 -1
  364. package/test/fixtures/pfm/emphasis_and_strong_emphasis/470.md +0 -1
  365. package/test/fixtures/pfm/emphasis_and_strong_emphasis/471.md +0 -1
  366. package/test/fixtures/pfm/emphasis_and_strong_emphasis/472.md +0 -1
  367. package/test/fixtures/pfm/emphasis_and_strong_emphasis/473.md +0 -1
  368. package/test/fixtures/pfm/emphasis_and_strong_emphasis/474.md +0 -1
  369. package/test/fixtures/pfm/emphasis_and_strong_emphasis/475.md +0 -1
  370. package/test/fixtures/pfm/emphasis_and_strong_emphasis/476.md +0 -1
  371. package/test/fixtures/pfm/emphasis_and_strong_emphasis/477.md +0 -1
  372. package/test/fixtures/pfm/emphasis_and_strong_emphasis/478.md +0 -1
  373. package/test/fixtures/pfm/emphasis_and_strong_emphasis/479.md +0 -1
  374. package/test/fixtures/pfm/emphasis_and_strong_emphasis/480.md +0 -1
  375. package/test/fixtures/pfm/emphasis_and_strong_emphasis/481.md +0 -1
  376. package/test/fixtures/pfm/fenced_code_blocks/119.md +0 -4
  377. package/test/fixtures/pfm/fenced_code_blocks/121.md +0 -3
  378. package/test/fixtures/pfm/fenced_code_blocks/122.md +0 -4
  379. package/test/fixtures/pfm/fenced_code_blocks/124.md +0 -4
  380. package/test/fixtures/pfm/fenced_code_blocks/126.md +0 -1
  381. package/test/fixtures/pfm/fenced_code_blocks/127.md +0 -4
  382. package/test/fixtures/pfm/fenced_code_blocks/128.md +0 -4
  383. package/test/fixtures/pfm/fenced_code_blocks/130.md +0 -2
  384. package/test/fixtures/pfm/fenced_code_blocks/131.md +0 -4
  385. package/test/fixtures/pfm/fenced_code_blocks/132.md +0 -5
  386. package/test/fixtures/pfm/fenced_code_blocks/133.md +0 -5
  387. package/test/fixtures/pfm/fenced_code_blocks/134.md +0 -3
  388. package/test/fixtures/pfm/fenced_code_blocks/135.md +0 -3
  389. package/test/fixtures/pfm/fenced_code_blocks/136.md +0 -3
  390. package/test/fixtures/pfm/fenced_code_blocks/137.md +0 -3
  391. package/test/fixtures/pfm/fenced_code_blocks/138.md +0 -2
  392. package/test/fixtures/pfm/fenced_code_blocks/140.md +0 -5
  393. package/test/fixtures/pfm/fenced_code_blocks/142.md +0 -5
  394. package/test/fixtures/pfm/fenced_code_blocks/144.md +0 -2
  395. package/test/fixtures/pfm/fenced_code_blocks/145.md +0 -2
  396. package/test/fixtures/pfm/fenced_code_blocks/pfm_119_2.md +0 -8
  397. package/test/fixtures/pfm/fenced_code_blocks/pfm_119_3.md +0 -5
  398. package/test/fixtures/pfm/frontmatter/1.md +0 -5
  399. package/test/fixtures/pfm/frontmatter/10.md +0 -1
  400. package/test/fixtures/pfm/frontmatter/2.md +0 -2
  401. package/test/fixtures/pfm/frontmatter/3.md +0 -4
  402. package/test/fixtures/pfm/frontmatter/4.md +0 -5
  403. package/test/fixtures/pfm/frontmatter/5.md +0 -6
  404. package/test/fixtures/pfm/frontmatter/6.md +0 -8
  405. package/test/fixtures/pfm/frontmatter/7.md +0 -4
  406. package/test/fixtures/pfm/frontmatter/8.md +0 -5
  407. package/test/fixtures/pfm/frontmatter/9.md +0 -4
  408. package/test/fixtures/pfm/generic_directives/001.md +0 -1
  409. package/test/fixtures/pfm/generic_directives/002.md +0 -1
  410. package/test/fixtures/pfm/generic_directives/003.md +0 -1
  411. package/test/fixtures/pfm/generic_directives/004.md +0 -1
  412. package/test/fixtures/pfm/generic_directives/005.md +0 -1
  413. package/test/fixtures/pfm/generic_directives/006.md +0 -1
  414. package/test/fixtures/pfm/generic_directives/007.md +0 -1
  415. package/test/fixtures/pfm/generic_directives/008.md +0 -1
  416. package/test/fixtures/pfm/generic_directives/009.md +0 -1
  417. package/test/fixtures/pfm/generic_directives/010.md +0 -1
  418. package/test/fixtures/pfm/generic_directives/011.md +0 -1
  419. package/test/fixtures/pfm/generic_directives/012.md +0 -1
  420. package/test/fixtures/pfm/generic_directives/013.md +0 -1
  421. package/test/fixtures/pfm/generic_directives/014.md +0 -1
  422. package/test/fixtures/pfm/generic_directives/015.md +0 -3
  423. package/test/fixtures/pfm/generic_directives/016.md +0 -1
  424. package/test/fixtures/pfm/generic_directives/017.md +0 -1
  425. package/test/fixtures/pfm/generic_directives/018.md +0 -1
  426. package/test/fixtures/pfm/generic_directives/019.md +0 -2
  427. package/test/fixtures/pfm/generic_directives/020.md +0 -3
  428. package/test/fixtures/pfm/generic_directives/021.md +0 -3
  429. package/test/fixtures/pfm/generic_directives/022.md +0 -5
  430. package/test/fixtures/pfm/generic_directives/023.md +0 -2
  431. package/test/fixtures/pfm/generic_directives/024.md +0 -5
  432. package/test/fixtures/pfm/generic_directives/025.md +0 -2
  433. package/test/fixtures/pfm/generic_directives/026.md +0 -3
  434. package/test/fixtures/pfm/generic_directives/027.md +0 -5
  435. package/test/fixtures/pfm/generic_directives/028.md +0 -5
  436. package/test/fixtures/pfm/generic_directives/029.md +0 -7
  437. package/test/fixtures/pfm/generic_directives/030.md +0 -3
  438. package/test/fixtures/pfm/generic_directives/031.md +0 -4
  439. package/test/fixtures/pfm/generic_directives/032.md +0 -3
  440. package/test/fixtures/pfm/generic_directives/033.md +0 -3
  441. package/test/fixtures/pfm/generic_directives/034.md +0 -5
  442. package/test/fixtures/pfm/generic_directives/035.md +0 -3
  443. package/test/fixtures/pfm/generic_directives/036.md +0 -1
  444. package/test/fixtures/pfm/generic_directives/037.md +0 -1
  445. package/test/fixtures/pfm/generic_directives/038.md +0 -3
  446. package/test/fixtures/pfm/generic_directives/039.md +0 -5
  447. package/test/fixtures/pfm/generic_directives/040.md +0 -9
  448. package/test/fixtures/pfm/generic_directives/041.md +0 -1
  449. package/test/fixtures/pfm/generic_directives/042.md +0 -1
  450. package/test/fixtures/pfm/generic_directives/043.md +0 -1
  451. package/test/fixtures/pfm/generic_directives/044.md +0 -1
  452. package/test/fixtures/pfm/generic_directives/045.md +0 -1
  453. package/test/fixtures/pfm/generic_directives/046.md +0 -3
  454. package/test/fixtures/pfm/generic_directives/047.md +0 -5
  455. package/test/fixtures/pfm/generic_directives/048.md +0 -1
  456. package/test/fixtures/pfm/generic_directives/049.md +0 -1
  457. package/test/fixtures/pfm/generic_directives/050.md +0 -1
  458. package/test/fixtures/pfm/generic_directives/051.md +0 -1
  459. package/test/fixtures/pfm/generic_directives/052.md +0 -1
  460. package/test/fixtures/pfm/generic_directives/053.md +0 -1
  461. package/test/fixtures/pfm/generic_directives/054.md +0 -1
  462. package/test/fixtures/pfm/generic_directives/055.md +0 -1
  463. package/test/fixtures/pfm/generic_directives/056.md +0 -1
  464. package/test/fixtures/pfm/generic_directives/057.md +0 -1
  465. package/test/fixtures/pfm/generic_directives/058.md +0 -1
  466. package/test/fixtures/pfm/generic_directives/059.md +0 -1
  467. package/test/fixtures/pfm/generic_directives/060.md +0 -1
  468. package/test/fixtures/pfm/generic_directives/061.md +0 -1
  469. package/test/fixtures/pfm/generic_directives/062.md +0 -1
  470. package/test/fixtures/pfm/generic_directives/063.md +0 -1
  471. package/test/fixtures/pfm/generic_directives/064.md +0 -1
  472. package/test/fixtures/pfm/generic_directives/065.md +0 -2
  473. package/test/fixtures/pfm/generic_directives/066.md +0 -1
  474. package/test/fixtures/pfm/generic_directives/067.md +0 -1
  475. package/test/fixtures/pfm/generic_directives/068.md +0 -1
  476. package/test/fixtures/pfm/generic_directives/069.md +0 -1
  477. package/test/fixtures/pfm/generic_directives/070.md +0 -1
  478. package/test/fixtures/pfm/generic_directives/071.md +0 -1
  479. package/test/fixtures/pfm/generic_directives/072.md +0 -1
  480. package/test/fixtures/pfm/generic_directives/073.md +0 -1
  481. package/test/fixtures/pfm/generic_directives/074.md +0 -3
  482. package/test/fixtures/pfm/generic_directives/075.md +0 -1
  483. package/test/fixtures/pfm/generic_directives/076.md +0 -1
  484. package/test/fixtures/pfm/generic_directives/077.md +0 -1
  485. package/test/fixtures/pfm/generic_directives/078.md +0 -1
  486. package/test/fixtures/pfm/generic_directives/079.md +0 -1
  487. package/test/fixtures/pfm/generic_directives/080.md +0 -1
  488. package/test/fixtures/pfm/generic_directives/081.md +0 -1
  489. package/test/fixtures/pfm/generic_directives/082.md +0 -1
  490. package/test/fixtures/pfm/generic_directives/083.md +0 -1
  491. package/test/fixtures/pfm/generic_directives/084.md +0 -1
  492. package/test/fixtures/pfm/generic_directives/085.md +0 -1
  493. package/test/fixtures/pfm/generic_directives/086.md +0 -1
  494. package/test/fixtures/pfm/generic_directives/087.md +0 -1
  495. package/test/fixtures/pfm/generic_directives/088.md +0 -3
  496. package/test/fixtures/pfm/generic_directives/089.md +0 -1
  497. package/test/fixtures/pfm/generic_directives/090.md +0 -1
  498. package/test/fixtures/pfm/generic_directives/091.md +0 -1
  499. package/test/fixtures/pfm/generic_directives/092.md +0 -3
  500. package/test/fixtures/pfm/generic_directives/093.md +0 -1
  501. package/test/fixtures/pfm/generic_directives/094.md +0 -1
  502. package/test/fixtures/pfm/generic_directives/095.md +0 -2
  503. package/test/fixtures/pfm/generic_directives/096.md +0 -1
  504. package/test/fixtures/pfm/generic_directives/097.md +0 -1
  505. package/test/fixtures/pfm/generic_directives/098.md +0 -1
  506. package/test/fixtures/pfm/generic_directives/099.md +0 -1
  507. package/test/fixtures/pfm/generic_directives/100.md +0 -1
  508. package/test/fixtures/pfm/generic_directives/101.md +0 -1
  509. package/test/fixtures/pfm/generic_directives/102.md +0 -1
  510. package/test/fixtures/pfm/generic_directives/103.md +0 -5
  511. package/test/fixtures/pfm/generic_directives/104.md +0 -1
  512. package/test/fixtures/pfm/generic_directives/105.md +0 -1
  513. package/test/fixtures/pfm/hard_line_breaks/633.md +0 -2
  514. package/test/fixtures/pfm/hard_line_breaks/634.md +0 -2
  515. package/test/fixtures/pfm/hard_line_breaks/635.md +0 -2
  516. package/test/fixtures/pfm/hard_line_breaks/636.md +0 -2
  517. package/test/fixtures/pfm/hard_line_breaks/637.md +0 -2
  518. package/test/fixtures/pfm/hard_line_breaks/638.md +0 -2
  519. package/test/fixtures/pfm/hard_line_breaks/639.md +0 -2
  520. package/test/fixtures/pfm/hard_line_breaks/640.md +0 -2
  521. package/test/fixtures/pfm/hard_line_breaks/641.md +0 -2
  522. package/test/fixtures/pfm/hard_line_breaks/642.md +0 -2
  523. package/test/fixtures/pfm/hard_line_breaks/643.md +0 -2
  524. package/test/fixtures/pfm/hard_line_breaks/644.md +0 -1
  525. package/test/fixtures/pfm/hard_line_breaks/645.md +0 -1
  526. package/test/fixtures/pfm/hard_line_breaks/646.md +0 -1
  527. package/test/fixtures/pfm/hard_line_breaks/647.md +0 -1
  528. package/test/fixtures/pfm/html/148.md +0 -7
  529. package/test/fixtures/pfm/html/149.md +0 -9
  530. package/test/fixtures/pfm/html/150.md +0 -3
  531. package/test/fixtures/pfm/html/151.md +0 -2
  532. package/test/fixtures/pfm/html/152.md +0 -5
  533. package/test/fixtures/pfm/html/153.md +0 -3
  534. package/test/fixtures/pfm/html/154.md +0 -3
  535. package/test/fixtures/pfm/html/155.md +0 -4
  536. package/test/fixtures/pfm/html/156.md +0 -2
  537. package/test/fixtures/pfm/html/157.md +0 -2
  538. package/test/fixtures/pfm/html/158.md +0 -2
  539. package/test/fixtures/pfm/html/159.md +0 -1
  540. package/test/fixtures/pfm/html/160.md +0 -3
  541. package/test/fixtures/pfm/html/161.md +0 -4
  542. package/test/fixtures/pfm/html/162.md +0 -3
  543. package/test/fixtures/pfm/html/163.md +0 -3
  544. package/test/fixtures/pfm/html/164.md +0 -3
  545. package/test/fixtures/pfm/html/165.md +0 -2
  546. package/test/fixtures/pfm/html/166.md +0 -3
  547. package/test/fixtures/pfm/html/167.md +0 -5
  548. package/test/fixtures/pfm/html/168.md +0 -1
  549. package/test/fixtures/pfm/html/169.md +0 -7
  550. package/test/fixtures/pfm/html/170.md +0 -6
  551. package/test/fixtures/pfm/html/171.md +0 -7
  552. package/test/fixtures/pfm/html/172.md +0 -7
  553. package/test/fixtures/pfm/html/173.md +0 -4
  554. package/test/fixtures/pfm/html/174.md +0 -4
  555. package/test/fixtures/pfm/html/175.md +0 -2
  556. package/test/fixtures/pfm/html/176.md +0 -2
  557. package/test/fixtures/pfm/html/177.md +0 -2
  558. package/test/fixtures/pfm/html/178.md +0 -3
  559. package/test/fixtures/pfm/html/179.md +0 -5
  560. package/test/fixtures/pfm/html/180.md +0 -6
  561. package/test/fixtures/pfm/html/181.md +0 -1
  562. package/test/fixtures/pfm/html/182.md +0 -13
  563. package/test/fixtures/pfm/html/183.md +0 -3
  564. package/test/fixtures/pfm/html/184.md +0 -3
  565. package/test/fixtures/pfm/html/185.md +0 -4
  566. package/test/fixtures/pfm/html/186.md +0 -4
  567. package/test/fixtures/pfm/html/187.md +0 -3
  568. package/test/fixtures/pfm/html/188.md +0 -5
  569. package/test/fixtures/pfm/html/189.md +0 -3
  570. package/test/fixtures/pfm/html/190.md +0 -11
  571. package/test/fixtures/pfm/html/191.md +0 -11
  572. package/test/fixtures/pfm/html/613.md +0 -1
  573. package/test/fixtures/pfm/html/614.md +0 -1
  574. package/test/fixtures/pfm/html/615.md +0 -2
  575. package/test/fixtures/pfm/html/616.md +0 -2
  576. package/test/fixtures/pfm/html/617.md +0 -1
  577. package/test/fixtures/pfm/html/618.md +0 -1
  578. package/test/fixtures/pfm/html/619.md +0 -1
  579. package/test/fixtures/pfm/html/620.md +0 -1
  580. package/test/fixtures/pfm/html/621.md +0 -4
  581. package/test/fixtures/pfm/html/622.md +0 -1
  582. package/test/fixtures/pfm/html/623.md +0 -1
  583. package/test/fixtures/pfm/html/624.md +0 -1
  584. package/test/fixtures/pfm/html/625.md +0 -2
  585. package/test/fixtures/pfm/html/626.md +0 -3
  586. package/test/fixtures/pfm/html/627.md +0 -1
  587. package/test/fixtures/pfm/html/628.md +0 -1
  588. package/test/fixtures/pfm/html/629.md +0 -1
  589. package/test/fixtures/pfm/html/630.md +0 -1
  590. package/test/fixtures/pfm/html/631.md +0 -1
  591. package/test/fixtures/pfm/html/632.md +0 -1
  592. package/test/fixtures/pfm/images/572.md +0 -1
  593. package/test/fixtures/pfm/images/573.md +0 -3
  594. package/test/fixtures/pfm/images/574.md +0 -1
  595. package/test/fixtures/pfm/images/575.md +0 -1
  596. package/test/fixtures/pfm/images/576.md +0 -3
  597. package/test/fixtures/pfm/images/577.md +0 -3
  598. package/test/fixtures/pfm/images/578.md +0 -1
  599. package/test/fixtures/pfm/images/579.md +0 -1
  600. package/test/fixtures/pfm/images/580.md +0 -1
  601. package/test/fixtures/pfm/images/581.md +0 -1
  602. package/test/fixtures/pfm/images/582.md +0 -3
  603. package/test/fixtures/pfm/images/583.md +0 -3
  604. package/test/fixtures/pfm/images/584.md +0 -3
  605. package/test/fixtures/pfm/images/585.md +0 -3
  606. package/test/fixtures/pfm/images/586.md +0 -3
  607. package/test/fixtures/pfm/images/587.md +0 -4
  608. package/test/fixtures/pfm/images/588.md +0 -3
  609. package/test/fixtures/pfm/images/589.md +0 -3
  610. package/test/fixtures/pfm/images/590.md +0 -3
  611. package/test/fixtures/pfm/images/591.md +0 -3
  612. package/test/fixtures/pfm/images/592.md +0 -3
  613. package/test/fixtures/pfm/images/593.md +0 -3
  614. package/test/fixtures/pfm/imports/1.md +0 -3
  615. package/test/fixtures/pfm/imports/10.md +0 -1
  616. package/test/fixtures/pfm/imports/11.md +0 -3
  617. package/test/fixtures/pfm/imports/2.md +0 -4
  618. package/test/fixtures/pfm/imports/3.md +0 -4
  619. package/test/fixtures/pfm/imports/4.md +0 -3
  620. package/test/fixtures/pfm/imports/5.md +0 -3
  621. package/test/fixtures/pfm/imports/6.md +0 -5
  622. package/test/fixtures/pfm/imports/7.md +0 -3
  623. package/test/fixtures/pfm/imports/8.md +0 -3
  624. package/test/fixtures/pfm/imports/9.md +0 -1
  625. package/test/fixtures/pfm/inlines/327.md +0 -1
  626. package/test/fixtures/pfm/link_reference_definitions/192.md +0 -3
  627. package/test/fixtures/pfm/link_reference_definitions/193.md +0 -5
  628. package/test/fixtures/pfm/link_reference_definitions/194.md +0 -3
  629. package/test/fixtures/pfm/link_reference_definitions/195.md +0 -5
  630. package/test/fixtures/pfm/link_reference_definitions/196.md +0 -7
  631. package/test/fixtures/pfm/link_reference_definitions/197.md +0 -5
  632. package/test/fixtures/pfm/link_reference_definitions/198.md +0 -4
  633. package/test/fixtures/pfm/link_reference_definitions/199.md +0 -3
  634. package/test/fixtures/pfm/link_reference_definitions/200.md +0 -3
  635. package/test/fixtures/pfm/link_reference_definitions/201.md +0 -3
  636. package/test/fixtures/pfm/link_reference_definitions/202.md +0 -3
  637. package/test/fixtures/pfm/link_reference_definitions/203.md +0 -3
  638. package/test/fixtures/pfm/link_reference_definitions/204.md +0 -4
  639. package/test/fixtures/pfm/link_reference_definitions/205.md +0 -3
  640. package/test/fixtures/pfm/link_reference_definitions/206.md +0 -3
  641. package/test/fixtures/pfm/link_reference_definitions/207.md +0 -1
  642. package/test/fixtures/pfm/link_reference_definitions/208.md +0 -5
  643. package/test/fixtures/pfm/link_reference_definitions/209.md +0 -1
  644. package/test/fixtures/pfm/link_reference_definitions/210.md +0 -2
  645. package/test/fixtures/pfm/link_reference_definitions/211.md +0 -3
  646. package/test/fixtures/pfm/link_reference_definitions/212.md +0 -5
  647. package/test/fixtures/pfm/link_reference_definitions/213.md +0 -4
  648. package/test/fixtures/pfm/link_reference_definitions/214.md +0 -5
  649. package/test/fixtures/pfm/link_reference_definitions/215.md +0 -4
  650. package/test/fixtures/pfm/link_reference_definitions/216.md +0 -3
  651. package/test/fixtures/pfm/link_reference_definitions/217.md +0 -8
  652. package/test/fixtures/pfm/link_reference_definitions/218.md +0 -3
  653. package/test/fixtures/pfm/links/482.md +0 -1
  654. package/test/fixtures/pfm/links/483.md +0 -1
  655. package/test/fixtures/pfm/links/484.md +0 -1
  656. package/test/fixtures/pfm/links/485.md +0 -1
  657. package/test/fixtures/pfm/links/486.md +0 -1
  658. package/test/fixtures/pfm/links/487.md +0 -1
  659. package/test/fixtures/pfm/links/488.md +0 -1
  660. package/test/fixtures/pfm/links/489.md +0 -1
  661. package/test/fixtures/pfm/links/490.md +0 -2
  662. package/test/fixtures/pfm/links/491.md +0 -2
  663. package/test/fixtures/pfm/links/492.md +0 -1
  664. package/test/fixtures/pfm/links/493.md +0 -1
  665. package/test/fixtures/pfm/links/494.md +0 -3
  666. package/test/fixtures/pfm/links/495.md +0 -1
  667. package/test/fixtures/pfm/links/496.md +0 -1
  668. package/test/fixtures/pfm/links/497.md +0 -1
  669. package/test/fixtures/pfm/links/498.md +0 -1
  670. package/test/fixtures/pfm/links/499.md +0 -1
  671. package/test/fixtures/pfm/links/500.md +0 -1
  672. package/test/fixtures/pfm/links/501.md +0 -5
  673. package/test/fixtures/pfm/links/502.md +0 -1
  674. package/test/fixtures/pfm/links/503.md +0 -1
  675. package/test/fixtures/pfm/links/504.md +0 -1
  676. package/test/fixtures/pfm/links/505.md +0 -3
  677. package/test/fixtures/pfm/links/506.md +0 -1
  678. package/test/fixtures/pfm/links/507.md +0 -1
  679. package/test/fixtures/pfm/links/508.md +0 -1
  680. package/test/fixtures/pfm/links/509.md +0 -1
  681. package/test/fixtures/pfm/links/510.md +0 -2
  682. package/test/fixtures/pfm/links/511.md +0 -1
  683. package/test/fixtures/pfm/links/512.md +0 -1
  684. package/test/fixtures/pfm/links/513.md +0 -1
  685. package/test/fixtures/pfm/links/514.md +0 -1
  686. package/test/fixtures/pfm/links/515.md +0 -1
  687. package/test/fixtures/pfm/links/516.md +0 -1
  688. package/test/fixtures/pfm/links/517.md +0 -1
  689. package/test/fixtures/pfm/links/518.md +0 -1
  690. package/test/fixtures/pfm/links/519.md +0 -1
  691. package/test/fixtures/pfm/links/520.md +0 -1
  692. package/test/fixtures/pfm/links/521.md +0 -1
  693. package/test/fixtures/pfm/links/522.md +0 -1
  694. package/test/fixtures/pfm/links/523.md +0 -1
  695. package/test/fixtures/pfm/links/524.md +0 -1
  696. package/test/fixtures/pfm/links/525.md +0 -1
  697. package/test/fixtures/pfm/links/526.md +0 -1
  698. package/test/fixtures/pfm/links/527.md +0 -3
  699. package/test/fixtures/pfm/links/528.md +0 -3
  700. package/test/fixtures/pfm/links/529.md +0 -3
  701. package/test/fixtures/pfm/links/530.md +0 -3
  702. package/test/fixtures/pfm/links/531.md +0 -3
  703. package/test/fixtures/pfm/links/532.md +0 -3
  704. package/test/fixtures/pfm/links/533.md +0 -3
  705. package/test/fixtures/pfm/links/534.md +0 -3
  706. package/test/fixtures/pfm/links/535.md +0 -3
  707. package/test/fixtures/pfm/links/536.md +0 -3
  708. package/test/fixtures/pfm/links/537.md +0 -3
  709. package/test/fixtures/pfm/links/538.md +0 -3
  710. package/test/fixtures/pfm/links/539.md +0 -3
  711. package/test/fixtures/pfm/links/540.md +0 -3
  712. package/test/fixtures/pfm/links/541.md +0 -4
  713. package/test/fixtures/pfm/links/542.md +0 -3
  714. package/test/fixtures/pfm/links/543.md +0 -4
  715. package/test/fixtures/pfm/links/544.md +0 -5
  716. package/test/fixtures/pfm/links/545.md +0 -3
  717. package/test/fixtures/pfm/links/546.md +0 -3
  718. package/test/fixtures/pfm/links/547.md +0 -3
  719. package/test/fixtures/pfm/links/548.md +0 -3
  720. package/test/fixtures/pfm/links/549.md +0 -3
  721. package/test/fixtures/pfm/links/550.md +0 -3
  722. package/test/fixtures/pfm/links/551.md +0 -3
  723. package/test/fixtures/pfm/links/552.md +0 -5
  724. package/test/fixtures/pfm/links/553.md +0 -3
  725. package/test/fixtures/pfm/links/554.md +0 -3
  726. package/test/fixtures/pfm/links/555.md +0 -3
  727. package/test/fixtures/pfm/links/556.md +0 -4
  728. package/test/fixtures/pfm/links/557.md +0 -3
  729. package/test/fixtures/pfm/links/558.md +0 -3
  730. package/test/fixtures/pfm/links/559.md +0 -3
  731. package/test/fixtures/pfm/links/560.md +0 -3
  732. package/test/fixtures/pfm/links/561.md +0 -3
  733. package/test/fixtures/pfm/links/562.md +0 -3
  734. package/test/fixtures/pfm/links/563.md +0 -3
  735. package/test/fixtures/pfm/links/564.md +0 -3
  736. package/test/fixtures/pfm/links/565.md +0 -4
  737. package/test/fixtures/pfm/links/566.md +0 -3
  738. package/test/fixtures/pfm/links/567.md +0 -3
  739. package/test/fixtures/pfm/links/568.md +0 -3
  740. package/test/fixtures/pfm/links/569.md +0 -3
  741. package/test/fixtures/pfm/links/570.md +0 -4
  742. package/test/fixtures/pfm/links/571.md +0 -4
  743. package/test/fixtures/pfm/list_items/253.md +0 -6
  744. package/test/fixtures/pfm/list_items/254.md +0 -6
  745. package/test/fixtures/pfm/list_items/255.md +0 -3
  746. package/test/fixtures/pfm/list_items/256.md +0 -3
  747. package/test/fixtures/pfm/list_items/257.md +0 -3
  748. package/test/fixtures/pfm/list_items/258.md +0 -3
  749. package/test/fixtures/pfm/list_items/259.md +0 -3
  750. package/test/fixtures/pfm/list_items/260.md +0 -3
  751. package/test/fixtures/pfm/list_items/261.md +0 -3
  752. package/test/fixtures/pfm/list_items/262.md +0 -4
  753. package/test/fixtures/pfm/list_items/263.md +0 -9
  754. package/test/fixtures/pfm/list_items/264.md +0 -6
  755. package/test/fixtures/pfm/list_items/265.md +0 -1
  756. package/test/fixtures/pfm/list_items/266.md +0 -1
  757. package/test/fixtures/pfm/list_items/267.md +0 -1
  758. package/test/fixtures/pfm/list_items/268.md +0 -1
  759. package/test/fixtures/pfm/list_items/269.md +0 -1
  760. package/test/fixtures/pfm/list_items/270.md +0 -3
  761. package/test/fixtures/pfm/list_items/271.md +0 -3
  762. package/test/fixtures/pfm/list_items/272.md +0 -5
  763. package/test/fixtures/pfm/list_items/273.md +0 -5
  764. package/test/fixtures/pfm/list_items/274.md +0 -5
  765. package/test/fixtures/pfm/list_items/275.md +0 -3
  766. package/test/fixtures/pfm/list_items/276.md +0 -3
  767. package/test/fixtures/pfm/list_items/277.md +0 -3
  768. package/test/fixtures/pfm/list_items/278.md +0 -8
  769. package/test/fixtures/pfm/list_items/279.md +0 -2
  770. package/test/fixtures/pfm/list_items/280.md +0 -3
  771. package/test/fixtures/pfm/list_items/281.md +0 -3
  772. package/test/fixtures/pfm/list_items/282.md +0 -3
  773. package/test/fixtures/pfm/list_items/283.md +0 -3
  774. package/test/fixtures/pfm/list_items/284.md +0 -1
  775. package/test/fixtures/pfm/list_items/285.md +0 -5
  776. package/test/fixtures/pfm/list_items/286.md +0 -6
  777. package/test/fixtures/pfm/list_items/287.md +0 -6
  778. package/test/fixtures/pfm/list_items/288.md +0 -6
  779. package/test/fixtures/pfm/list_items/289.md +0 -6
  780. package/test/fixtures/pfm/list_items/290.md +0 -6
  781. package/test/fixtures/pfm/list_items/291.md +0 -2
  782. package/test/fixtures/pfm/list_items/292.md +0 -2
  783. package/test/fixtures/pfm/list_items/293.md +0 -2
  784. package/test/fixtures/pfm/list_items/294.md +0 -4
  785. package/test/fixtures/pfm/list_items/295.md +0 -4
  786. package/test/fixtures/pfm/list_items/296.md +0 -2
  787. package/test/fixtures/pfm/list_items/297.md +0 -2
  788. package/test/fixtures/pfm/list_items/298.md +0 -1
  789. package/test/fixtures/pfm/list_items/299.md +0 -1
  790. package/test/fixtures/pfm/list_items/300.md +0 -4
  791. package/test/fixtures/pfm/lists/301.md +0 -3
  792. package/test/fixtures/pfm/lists/302.md +0 -3
  793. package/test/fixtures/pfm/lists/303.md +0 -3
  794. package/test/fixtures/pfm/lists/304.md +0 -2
  795. package/test/fixtures/pfm/lists/305.md +0 -2
  796. package/test/fixtures/pfm/lists/306.md +0 -6
  797. package/test/fixtures/pfm/lists/307.md +0 -6
  798. package/test/fixtures/pfm/lists/308.md +0 -7
  799. package/test/fixtures/pfm/lists/309.md +0 -9
  800. package/test/fixtures/pfm/lists/310.md +0 -7
  801. package/test/fixtures/pfm/lists/311.md +0 -5
  802. package/test/fixtures/pfm/lists/312.md +0 -5
  803. package/test/fixtures/pfm/lists/313.md +0 -5
  804. package/test/fixtures/pfm/lists/314.md +0 -4
  805. package/test/fixtures/pfm/lists/315.md +0 -4
  806. package/test/fixtures/pfm/lists/316.md +0 -5
  807. package/test/fixtures/pfm/lists/317.md +0 -5
  808. package/test/fixtures/pfm/lists/318.md +0 -7
  809. package/test/fixtures/pfm/lists/319.md +0 -5
  810. package/test/fixtures/pfm/lists/320.md +0 -4
  811. package/test/fixtures/pfm/lists/321.md +0 -6
  812. package/test/fixtures/pfm/lists/322.md +0 -1
  813. package/test/fixtures/pfm/lists/323.md +0 -2
  814. package/test/fixtures/pfm/lists/324.md +0 -5
  815. package/test/fixtures/pfm/lists/325.md +0 -4
  816. package/test/fixtures/pfm/lists/326.md +0 -7
  817. package/test/fixtures/pfm/paragraphs/219.md +0 -3
  818. package/test/fixtures/pfm/paragraphs/220.md +0 -5
  819. package/test/fixtures/pfm/paragraphs/221.md +0 -4
  820. package/test/fixtures/pfm/paragraphs/222.md +0 -2
  821. package/test/fixtures/pfm/paragraphs/223.md +0 -3
  822. package/test/fixtures/pfm/paragraphs/224.md +0 -2
  823. package/test/fixtures/pfm/paragraphs/225.md +0 -2
  824. package/test/fixtures/pfm/precedence/42.md +0 -2
  825. package/test/fixtures/pfm/setext_headings/100.md +0 -2
  826. package/test/fixtures/pfm/setext_headings/101.md +0 -2
  827. package/test/fixtures/pfm/setext_headings/102.md +0 -2
  828. package/test/fixtures/pfm/setext_headings/103.md +0 -5
  829. package/test/fixtures/pfm/setext_headings/104.md +0 -6
  830. package/test/fixtures/pfm/setext_headings/105.md +0 -4
  831. package/test/fixtures/pfm/setext_headings/106.md +0 -4
  832. package/test/fixtures/pfm/setext_headings/80.md +0 -5
  833. package/test/fixtures/pfm/setext_headings/81.md +0 -3
  834. package/test/fixtures/pfm/setext_headings/82.md +0 -3
  835. package/test/fixtures/pfm/setext_headings/83.md +0 -5
  836. package/test/fixtures/pfm/setext_headings/84.md +0 -8
  837. package/test/fixtures/pfm/setext_headings/85.md +0 -5
  838. package/test/fixtures/pfm/setext_headings/86.md +0 -2
  839. package/test/fixtures/pfm/setext_headings/87.md +0 -2
  840. package/test/fixtures/pfm/setext_headings/88.md +0 -5
  841. package/test/fixtures/pfm/setext_headings/89.md +0 -2
  842. package/test/fixtures/pfm/setext_headings/90.md +0 -2
  843. package/test/fixtures/pfm/setext_headings/91.md +0 -7
  844. package/test/fixtures/pfm/setext_headings/92.md +0 -2
  845. package/test/fixtures/pfm/setext_headings/93.md +0 -3
  846. package/test/fixtures/pfm/setext_headings/94.md +0 -2
  847. package/test/fixtures/pfm/setext_headings/95.md +0 -3
  848. package/test/fixtures/pfm/setext_headings/96.md +0 -6
  849. package/test/fixtures/pfm/setext_headings/97.md +0 -2
  850. package/test/fixtures/pfm/setext_headings/98.md +0 -2
  851. package/test/fixtures/pfm/setext_headings/99.md +0 -2
  852. package/test/fixtures/pfm/soft_line_breaks/648.md +0 -2
  853. package/test/fixtures/pfm/soft_line_breaks/649.md +0 -2
  854. package/test/fixtures/pfm/tabs/1.md +0 -1
  855. package/test/fixtures/pfm/tabs/10.md +0 -1
  856. package/test/fixtures/pfm/tabs/11.md +0 -1
  857. package/test/fixtures/pfm/tabs/12.md +0 -2
  858. package/test/fixtures/pfm/tabs/13.md +0 -2
  859. package/test/fixtures/pfm/tabs/14.md +0 -3
  860. package/test/fixtures/pfm/tabs/15.md +0 -2
  861. package/test/fixtures/pfm/tabs/16.md +0 -2
  862. package/test/fixtures/pfm/tabs/17.md +0 -3
  863. package/test/fixtures/pfm/tabs/2.md +0 -1
  864. package/test/fixtures/pfm/tabs/3.md +0 -2
  865. package/test/fixtures/pfm/tabs/4.md +0 -3
  866. package/test/fixtures/pfm/tabs/5.md +0 -3
  867. package/test/fixtures/pfm/tabs/6.md +0 -1
  868. package/test/fixtures/pfm/tabs/7.md +0 -1
  869. package/test/fixtures/pfm/tabs/8.md +0 -2
  870. package/test/fixtures/pfm/tabs/9.md +0 -3
  871. package/test/fixtures/pfm/textual_content/650.md +0 -1
  872. package/test/fixtures/pfm/textual_content/651.md +0 -1
  873. package/test/fixtures/pfm/textual_content/652.md +0 -1
  874. package/test/fixtures/pfm/thematic_breaks/43.md +0 -3
  875. package/test/fixtures/pfm/thematic_breaks/44.md +0 -1
  876. package/test/fixtures/pfm/thematic_breaks/45.md +0 -1
  877. package/test/fixtures/pfm/thematic_breaks/46.md +0 -3
  878. package/test/fixtures/pfm/thematic_breaks/47.md +0 -3
  879. package/test/fixtures/pfm/thematic_breaks/48.md +0 -1
  880. package/test/fixtures/pfm/thematic_breaks/49.md +0 -2
  881. package/test/fixtures/pfm/thematic_breaks/50.md +0 -1
  882. package/test/fixtures/pfm/thematic_breaks/51.md +0 -1
  883. package/test/fixtures/pfm/thematic_breaks/52.md +0 -1
  884. package/test/fixtures/pfm/thematic_breaks/53.md +0 -1
  885. package/test/fixtures/pfm/thematic_breaks/54.md +0 -1
  886. package/test/fixtures/pfm/thematic_breaks/55.md +0 -5
  887. package/test/fixtures/pfm/thematic_breaks/56.md +0 -1
  888. package/test/fixtures/pfm/thematic_breaks/57.md +0 -3
  889. package/test/fixtures/pfm/thematic_breaks/58.md +0 -3
  890. package/test/fixtures/pfm/thematic_breaks/59.md +0 -3
  891. package/test/fixtures/pfm/thematic_breaks/60.md +0 -3
  892. package/test/fixtures/pfm/thematic_breaks/61.md +0 -2
  893. package/test/fixtures/svelte/00-introduction/00-hello-world/App.svelte +0 -5
  894. package/test/fixtures/svelte/00-introduction/01-dynamic-attributes/App.svelte +0 -7
  895. package/test/fixtures/svelte/00-introduction/02-styling/App.svelte +0 -9
  896. package/test/fixtures/svelte/00-introduction/03-nested-components/App.svelte +0 -14
  897. package/test/fixtures/svelte/00-introduction/03-nested-components/Nested.svelte +0 -1
  898. package/test/fixtures/svelte/00-introduction/04-html-tags/App.svelte +0 -5
  899. package/test/fixtures/svelte/01-reactivity/00-reactive-assignments/App.svelte +0 -11
  900. package/test/fixtures/svelte/01-reactivity/01-reactive-declarations/App.svelte +0 -18
  901. package/test/fixtures/svelte/01-reactivity/02-reactive-statements/App.svelte +0 -16
  902. package/test/fixtures/svelte/02-props/00-declaring-props/App.svelte +0 -5
  903. package/test/fixtures/svelte/02-props/00-declaring-props/Nested.svelte +0 -5
  904. package/test/fixtures/svelte/02-props/01-default-values/App.svelte +0 -6
  905. package/test/fixtures/svelte/02-props/01-default-values/Nested.svelte +0 -5
  906. package/test/fixtures/svelte/02-props/02-spread-props/App.svelte +0 -12
  907. package/test/fixtures/svelte/02-props/02-spread-props/Info.svelte +0 -12
  908. package/test/fixtures/svelte/03-logic/00-if-blocks/App.svelte +0 -19
  909. package/test/fixtures/svelte/03-logic/01-else-blocks/App.svelte +0 -17
  910. package/test/fixtures/svelte/03-logic/02-else-if-blocks/App.svelte +0 -11
  911. package/test/fixtures/svelte/03-logic/03-each-blocks/App.svelte +0 -17
  912. package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/App.svelte +0 -35
  913. package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/Thing.svelte +0 -24
  914. package/test/fixtures/svelte/04-events/00-dom-events/App.svelte +0 -16
  915. package/test/fixtures/svelte/04-events/01-inline-handlers/App.svelte +0 -11
  916. package/test/fixtures/svelte/04-events/02-event-modifiers/App.svelte +0 -9
  917. package/test/fixtures/svelte/04-events/03-component-events/App.svelte +0 -9
  918. package/test/fixtures/svelte/04-events/03-component-events/Inner.svelte +0 -15
  919. package/test/fixtures/svelte/04-events/04-event-forwarding/App.svelte +0 -9
  920. package/test/fixtures/svelte/04-events/04-event-forwarding/Inner.svelte +0 -15
  921. package/test/fixtures/svelte/04-events/04-event-forwarding/Outer.svelte +0 -5
  922. package/test/fixtures/svelte/04-events/05-dom-event-forwarding/App.svelte +0 -9
  923. package/test/fixtures/svelte/04-events/05-dom-event-forwarding/FancyButton.svelte +0 -15
  924. package/test/fixtures/svelte/05-bindings/00-text-inputs/App.svelte +0 -6
  925. package/test/fixtures/svelte/05-bindings/01-numeric-inputs/App.svelte +0 -16
  926. package/test/fixtures/svelte/05-bindings/02-checkbox-inputs/App.svelte +0 -18
  927. package/test/fixtures/svelte/05-bindings/03-group-inputs/App.svelte +0 -48
  928. package/test/fixtures/svelte/05-bindings/04-textarea-inputs/App.svelte +0 -12
  929. package/test/fixtures/svelte/05-bindings/05-select-bindings/App.svelte +0 -42
  930. package/test/fixtures/svelte/05-bindings/06-multiple-select-bindings/App.svelte +0 -49
  931. package/test/fixtures/svelte/05-bindings/07-each-block-bindings/App.svelte +0 -49
  932. package/test/fixtures/svelte/05-bindings/08-media-elements/App.svelte +0 -136
  933. package/test/fixtures/svelte/05-bindings/09-dimensions/App.svelte +0 -20
  934. package/test/fixtures/svelte/05-bindings/10-bind-this/App.svelte +0 -55
  935. package/test/fixtures/svelte/05-bindings/11-component-bindings/App.svelte +0 -14
  936. package/test/fixtures/svelte/05-bindings/11-component-bindings/Keypad.svelte +0 -40
  937. package/test/fixtures/svelte/06-lifecycle/00-onmount/App.svelte +0 -40
  938. package/test/fixtures/svelte/06-lifecycle/01-ondestroy/App.svelte +0 -11
  939. package/test/fixtures/svelte/06-lifecycle/02-update/App.svelte +0 -112
  940. package/test/fixtures/svelte/06-lifecycle/03-tick/App.svelte +0 -34
  941. package/test/fixtures/svelte/07-stores/00-writable-stores/App.svelte +0 -18
  942. package/test/fixtures/svelte/07-stores/00-writable-stores/Decrementer.svelte +0 -11
  943. package/test/fixtures/svelte/07-stores/00-writable-stores/Incrementer.svelte +0 -11
  944. package/test/fixtures/svelte/07-stores/00-writable-stores/Resetter.svelte +0 -11
  945. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/App.svelte +0 -12
  946. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Decrementer.svelte +0 -11
  947. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Incrementer.svelte +0 -11
  948. package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Resetter.svelte +0 -11
  949. package/test/fixtures/svelte/07-stores/02-readable-stores/App.svelte +0 -12
  950. package/test/fixtures/svelte/07-stores/03-derived-stores/App.svelte +0 -17
  951. package/test/fixtures/svelte/07-stores/04-custom-stores/App.svelte +0 -9
  952. package/test/fixtures/svelte/08-motion/00-tweened/App.svelte +0 -38
  953. package/test/fixtures/svelte/08-motion/01-spring/App.svelte +0 -38
  954. package/test/fixtures/svelte/09-transitions/00-transition/App.svelte +0 -15
  955. package/test/fixtures/svelte/09-transitions/01-adding-parameters-to-transitions/App.svelte +0 -15
  956. package/test/fixtures/svelte/09-transitions/02-in-and-out/App.svelte +0 -15
  957. package/test/fixtures/svelte/09-transitions/03-custom-css-transitions/App.svelte +0 -49
  958. package/test/fixtures/svelte/09-transitions/04-custom-js-transitions/App.svelte +0 -36
  959. package/test/fixtures/svelte/09-transitions/05-transition-events/App.svelte +0 -25
  960. package/test/fixtures/svelte/10-animations/00-animate/App.svelte +0 -147
  961. package/test/fixtures/svelte/11-easing/00-easing/App.svelte +0 -106
  962. package/test/fixtures/svelte/11-easing/00-easing/Controls.svelte +0 -186
  963. package/test/fixtures/svelte/11-easing/00-easing/Grid.svelte +0 -62
  964. package/test/fixtures/svelte/12-svg/01-clock/App.svelte +0 -104
  965. package/test/fixtures/svelte/12-svg/02-bar-chart/App.svelte +0 -118
  966. package/test/fixtures/svelte/12-svg/03-area-chart/App.svelte +0 -111
  967. package/test/fixtures/svelte/12-svg/04-scatterplot/App.svelte +0 -24
  968. package/test/fixtures/svelte/12-svg/04-scatterplot/Scatterplot.svelte +0 -91
  969. package/test/fixtures/svelte/12-svg/05-svg-transitions/App.svelte +0 -74
  970. package/test/fixtures/svelte/13-actions/00-actions/App.svelte +0 -54
  971. package/test/fixtures/svelte/13-actions/01-adding-parameters-to-actions/App.svelte +0 -70
  972. package/test/fixtures/svelte/14-classes/00-classes/App.svelte +0 -29
  973. package/test/fixtures/svelte/14-classes/01-class-shorthand/App.svelte +0 -18
  974. package/test/fixtures/svelte/15-composition/00-slots/App.svelte +0 -8
  975. package/test/fixtures/svelte/15-composition/00-slots/Box.svelte +0 -14
  976. package/test/fixtures/svelte/15-composition/01-slot-fallbacks/App.svelte +0 -10
  977. package/test/fixtures/svelte/15-composition/01-slot-fallbacks/Box.svelte +0 -16
  978. package/test/fixtures/svelte/15-composition/02-named-slots/App.svelte +0 -14
  979. package/test/fixtures/svelte/15-composition/02-named-slots/ContactCard.svelte +0 -47
  980. package/test/fixtures/svelte/15-composition/03-slot-props/App.svelte +0 -46
  981. package/test/fixtures/svelte/15-composition/03-slot-props/Hoverable.svelte +0 -15
  982. package/test/fixtures/svelte/15-composition/04-modal/App.svelte +0 -35
  983. package/test/fixtures/svelte/15-composition/04-modal/Modal.svelte +0 -45
  984. package/test/fixtures/svelte/16-context/00-context-api/App.svelte +0 -13
  985. package/test/fixtures/svelte/16-context/00-context-api/Map.svelte +0 -50
  986. package/test/fixtures/svelte/16-context/00-context-api/MapMarker.svelte +0 -18
  987. package/test/fixtures/svelte/17-special-elements/00-svelte-self/App.svelte +0 -39
  988. package/test/fixtures/svelte/17-special-elements/00-svelte-self/File.svelte +0 -14
  989. package/test/fixtures/svelte/17-special-elements/00-svelte-self/Folder.svelte +0 -52
  990. package/test/fixtures/svelte/17-special-elements/01-svelte-component/App.svelte +0 -21
  991. package/test/fixtures/svelte/17-special-elements/01-svelte-component/BlueThing.svelte +0 -5
  992. package/test/fixtures/svelte/17-special-elements/01-svelte-component/GreenThing.svelte +0 -5
  993. package/test/fixtures/svelte/17-special-elements/01-svelte-component/RedThing.svelte +0 -5
  994. package/test/fixtures/svelte/17-special-elements/02-svelte-window/App.svelte +0 -42
  995. package/test/fixtures/svelte/17-special-elements/03-svelte-window-bindings/App.svelte +0 -88
  996. package/test/fixtures/svelte/17-special-elements/04-svelte-body/App.svelte +0 -34
  997. package/test/fixtures/svelte/17-special-elements/05-svelte-head/App.svelte +0 -5
  998. package/test/fixtures/svelte/18-module-context/01-module-exports/App.svelte +0 -47
  999. package/test/fixtures/svelte/18-module-context/01-module-exports/AudioPlayer.svelte +0 -52
  1000. package/test/fixtures/svelte/19-debugging/00-debug/App.svelte +0 -18
  1001. package/test/fixtures/svelte/19-debugging/00-debug/Test.svelte +0 -250
  1002. package/test/fixtures/svelte/20-7guis/01-7guis-counter/App.svelte +0 -7
  1003. package/test/fixtures/svelte/20-7guis/02-7guis-temperature/App.svelte +0 -24
  1004. package/test/fixtures/svelte/20-7guis/03-7guis-flight-booker/App.svelte +0 -59
  1005. package/test/fixtures/svelte/20-7guis/04-7guis-timer/App.svelte +0 -38
  1006. package/test/fixtures/svelte/20-7guis/05-7guis-crud/App.svelte +0 -97
  1007. package/test/fixtures/svelte/20-7guis/06-7guis-circles/App.svelte +0 -125
  1008. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/App.svelte +0 -59
  1009. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Comment.svelte +0 -32
  1010. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Item.svelte +0 -39
  1011. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/List.svelte +0 -46
  1012. package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Summary.svelte +0 -38
  1013. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/App.svelte +0 -38
  1014. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.svelte +0 -28
  1015. package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/MutableTodo.svelte +0 -26
  1016. package/test/fixtures/svelte/22-bugs/CSS/App.svelte +0 -45
  1017. package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.svelte +0 -10
  1018. package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.svelte +0 -15
  1019. package/test/fixtures/svelte/99-embeds/20190420-blog-write-less-code/App.svelte +0 -9
  1020. package/test/frontmatter.spec.ts +0 -133
  1021. package/test/html.spec.ts +0 -786
  1022. package/test/images.spec.ts +0 -106
  1023. package/test/imports.spec.ts +0 -166
  1024. package/test/incremental.spec.ts +0 -479
  1025. package/test/line_breaks.spec.ts +0 -166
  1026. package/test/link_reference_definitions.spec.ts +0 -422
  1027. package/test/links.spec.ts +0 -234
  1028. package/test/lists.spec.ts +0 -588
  1029. package/test/opcodes.spec.ts +0 -325
  1030. package/test/paragraphs.spec.ts +0 -211
  1031. package/test/plugins.spec.ts +0 -909
  1032. package/test/print.ts +0 -109
  1033. package/test/snapshots/hybrid/code-escaping.snap.ast +0 -13
  1034. package/test/snapshots/hybrid/code-highlight-nesting.snap.ast +0 -2
  1035. package/test/snapshots/hybrid/component-children.snap.ast +0 -44
  1036. package/test/snapshots/hybrid/component-simple-00.snap.ast +0 -19
  1037. package/test/snapshots/hybrid/component-simple-01.snap.ast +0 -16
  1038. package/test/snapshots/hybrid/component-simple-02.snap.ast +0 -3
  1039. package/test/snapshots/hybrid/component-simple-03.snap.ast +0 -16
  1040. package/test/snapshots/hybrid/component-simple-04.snap.ast +0 -24
  1041. package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +0 -3
  1042. package/test/snapshots/hybrid/error.snap.ast +0 -25
  1043. package/test/snapshots/hybrid/link-curlies.snap.ast +0 -56
  1044. package/test/snapshots/hybrid/tags-in-frontmatter.snap.ast +0 -2
  1045. package/test/snapshots/markdown/anchors-by-reference.snap.ast +0 -28
  1046. package/test/snapshots/markdown/anchors-followed-by-brakets.snap.ast +0 -28
  1047. package/test/snapshots/markdown/automatic-anchors.snap.ast +0 -6
  1048. package/test/snapshots/markdown/blockquote-followed-by-code.snap.ast +0 -19
  1049. package/test/snapshots/markdown/blockquote-inside-code.snap.ast +0 -8
  1050. package/test/snapshots/markdown/blockquote-nested-markdown.snap.ast +0 -15
  1051. package/test/snapshots/markdown/blockquote.snap.ast +0 -9
  1052. package/test/snapshots/markdown/code-block-html-escape.snap.ast +0 -7
  1053. package/test/snapshots/markdown/code-block-with-special-chars.snap.ast +0 -2
  1054. package/test/snapshots/markdown/code-block.snap.ast +0 -7
  1055. package/test/snapshots/markdown/double-emphasis.snap.ast +0 -32
  1056. package/test/snapshots/markdown/doubline-list.snap.ast +0 -10
  1057. package/test/snapshots/markdown/ellipsis.snap.ast +0 -41
  1058. package/test/snapshots/markdown/emphasis-inside-inline-code.snap.ast +0 -5
  1059. package/test/snapshots/markdown/emphasis.snap.ast +0 -296
  1060. package/test/snapshots/markdown/encodeHTMLCodeTags.snap.ast +0 -19
  1061. package/test/snapshots/markdown/escaped-html-taglikes.snap.ast +0 -21
  1062. package/test/snapshots/markdown/escaped-number-period.snap.ast +0 -5
  1063. package/test/snapshots/markdown/escaping.snap.ast +0 -65
  1064. package/test/snapshots/markdown/github-style-at-start.snap.ast +0 -7
  1065. package/test/snapshots/markdown/github-style-codeblock-inside-quote.snap.ast +0 -6
  1066. package/test/snapshots/markdown/github-style-codeblock.snap.ast +0 -38
  1067. package/test/snapshots/markdown/github-style-linebreaks.snap.ast +0 -2
  1068. package/test/snapshots/markdown/h1-with-double-hash.snap.ast +0 -4
  1069. package/test/snapshots/markdown/h1-with-equals.snap.ast +0 -6
  1070. package/test/snapshots/markdown/h1-with-single-hash.snap.ast +0 -4
  1071. package/test/snapshots/markdown/h2-with-dashes.snap.ast +0 -5
  1072. package/test/snapshots/markdown/h2-with-double-hash.snap.ast +0 -4
  1073. package/test/snapshots/markdown/h2-with-single-hash.snap.ast +0 -4
  1074. package/test/snapshots/markdown/h3-with-double-hash.snap.ast +0 -4
  1075. package/test/snapshots/markdown/h3-with-single-hash.snap.ast +0 -4
  1076. package/test/snapshots/markdown/h4-with-single-hash.snap.ast +0 -4
  1077. package/test/snapshots/markdown/h5-with-single-hash.snap.ast +0 -4
  1078. package/test/snapshots/markdown/h6-with-single-hash.snap.ast +0 -4
  1079. package/test/snapshots/markdown/horizontal-rules.snap.ast +0 -11
  1080. package/test/snapshots/markdown/html-comments.snap.ast +0 -21
  1081. package/test/snapshots/markdown/html-inside-listed-code.snap.ast +0 -6
  1082. package/test/snapshots/markdown/html5-strutural-tags.snap.ast +0 -147
  1083. package/test/snapshots/markdown/images-followed-by-brackets.snap.ast +0 -12
  1084. package/test/snapshots/markdown/images.snap.ast +0 -35
  1085. package/test/snapshots/markdown/implicit-anchors.snap.ast +0 -22
  1086. package/test/snapshots/markdown/inline-anchors.snap.ast +0 -13
  1087. package/test/snapshots/markdown/inline-code.snap.ast +0 -41
  1088. package/test/snapshots/markdown/inline-escaped-chars.snap.ast +0 -10
  1089. package/test/snapshots/markdown/inline-style-tag.snap.ast +0 -7
  1090. package/test/snapshots/markdown/lazy-blockquote.snap.ast +0 -10
  1091. package/test/snapshots/markdown/line-starts-with-html.snap.ast +0 -12
  1092. package/test/snapshots/markdown/list-followed-by-blockquote.snap.ast +0 -23
  1093. package/test/snapshots/markdown/list-followed-by-ghcode.snap.ast +0 -20
  1094. package/test/snapshots/markdown/list-with-blockquote.snap.ast +0 -11
  1095. package/test/snapshots/markdown/literal-html-tags.snap.ast +0 -47
  1096. package/test/snapshots/markdown/multi-paragraph-list.snap.ast +0 -14
  1097. package/test/snapshots/markdown/multiline-unordered-list.snap.ast +0 -9
  1098. package/test/snapshots/markdown/nested-blockquote.snap.ast +0 -13
  1099. package/test/snapshots/markdown/nested-gh-codeblocks.snap.ast +0 -6
  1100. package/test/snapshots/markdown/obfuscated-emails.snap.ast +0 -1
  1101. package/test/snapshots/markdown/ordered-list-same-number.snap.ast +0 -9
  1102. package/test/snapshots/markdown/ordered-list-starting-number.snap.ast +0 -22
  1103. package/test/snapshots/markdown/ordered-list-wrong-numbers.snap.ast +0 -9
  1104. package/test/snapshots/markdown/ordered-list.snap.ast +0 -9
  1105. package/test/snapshots/markdown/paragraphed-list-with-sublists.snap.ast +0 -26
  1106. package/test/snapshots/markdown/pre-code-tags-inside-code-block.snap.ast +0 -6
  1107. package/test/snapshots/markdown/pre-code-tags.snap.ast +0 -35
  1108. package/test/snapshots/markdown/relative-anchors.snap.ast +0 -7
  1109. package/test/snapshots/markdown/repeated-headers.snap.ast +0 -12
  1110. package/test/snapshots/markdown/simple-paragraph.snap.ast +0 -5
  1111. package/test/snapshots/markdown/strip-references.snap.ast +0 -9
  1112. package/test/snapshots/markdown/strong.snap.ast +0 -17
  1113. package/test/snapshots/markdown/unordered-list-asterisk.snap.ast +0 -9
  1114. package/test/snapshots/markdown/unordered-list-minus.snap.ast +0 -9
  1115. package/test/snapshots/markdown/unordered-list-plus.snap.ast +0 -9
  1116. package/test/snapshots/markdown/url-with-parenthesis.snap.ast +0 -7
  1117. package/test/snapshots/pfm/atx_headings/62.snap.ast +0 -19
  1118. package/test/snapshots/pfm/atx_headings/63.snap.ast +0 -4
  1119. package/test/snapshots/pfm/atx_headings/64.snap.ast +0 -8
  1120. package/test/snapshots/pfm/atx_headings/65.snap.ast +0 -4
  1121. package/test/snapshots/pfm/atx_headings/66.snap.ast +0 -9
  1122. package/test/snapshots/pfm/atx_headings/67.snap.ast +0 -4
  1123. package/test/snapshots/pfm/atx_headings/68.snap.ast +0 -10
  1124. package/test/snapshots/pfm/atx_headings/69.snap.ast +0 -4
  1125. package/test/snapshots/pfm/atx_headings/70.snap.ast +0 -7
  1126. package/test/snapshots/pfm/atx_headings/71.snap.ast +0 -7
  1127. package/test/snapshots/pfm/atx_headings/72.snap.ast +0 -7
  1128. package/test/snapshots/pfm/atx_headings/73.snap.ast +0 -4
  1129. package/test/snapshots/pfm/atx_headings/74.snap.ast +0 -4
  1130. package/test/snapshots/pfm/atx_headings/75.snap.ast +0 -4
  1131. package/test/snapshots/pfm/atx_headings/76.snap.ast +0 -13
  1132. package/test/snapshots/pfm/atx_headings/77.snap.ast +0 -6
  1133. package/test/snapshots/pfm/atx_headings/78.snap.ast +0 -10
  1134. package/test/snapshots/pfm/atx_headings/79.snap.ast +0 -8
  1135. package/test/snapshots/pfm/autolinks/594.snap.ast +0 -5
  1136. package/test/snapshots/pfm/autolinks/595.snap.ast +0 -5
  1137. package/test/snapshots/pfm/autolinks/596.snap.ast +0 -5
  1138. package/test/snapshots/pfm/autolinks/597.snap.ast +0 -5
  1139. package/test/snapshots/pfm/autolinks/598.snap.ast +0 -5
  1140. package/test/snapshots/pfm/autolinks/599.snap.ast +0 -5
  1141. package/test/snapshots/pfm/autolinks/600.snap.ast +0 -5
  1142. package/test/snapshots/pfm/autolinks/601.snap.ast +0 -5
  1143. package/test/snapshots/pfm/autolinks/602.snap.ast +0 -4
  1144. package/test/snapshots/pfm/autolinks/603.snap.ast +0 -5
  1145. package/test/snapshots/pfm/autolinks/604.snap.ast +0 -4
  1146. package/test/snapshots/pfm/autolinks/605.snap.ast +0 -4
  1147. package/test/snapshots/pfm/autolinks/606.snap.ast +0 -4
  1148. package/test/snapshots/pfm/autolinks/607.snap.ast +0 -4
  1149. package/test/snapshots/pfm/autolinks/608.snap.ast +0 -4
  1150. package/test/snapshots/pfm/autolinks/609.snap.ast +0 -4
  1151. package/test/snapshots/pfm/autolinks/610.snap.ast +0 -4
  1152. package/test/snapshots/pfm/autolinks/611.snap.ast +0 -4
  1153. package/test/snapshots/pfm/autolinks/612.snap.ast +0 -4
  1154. package/test/snapshots/pfm/backslash_escapes/12.snap.ast +0 -35
  1155. package/test/snapshots/pfm/backslash_escapes/13.snap.ast +0 -4
  1156. package/test/snapshots/pfm/backslash_escapes/14.snap.ast +0 -25
  1157. package/test/snapshots/pfm/backslash_escapes/15.snap.ast +0 -6
  1158. package/test/snapshots/pfm/backslash_escapes/16.snap.ast +0 -6
  1159. package/test/snapshots/pfm/backslash_escapes/17.snap.ast +0 -4
  1160. package/test/snapshots/pfm/backslash_escapes/18.snap.ast +0 -5
  1161. package/test/snapshots/pfm/backslash_escapes/19.snap.ast +0 -10
  1162. package/test/snapshots/pfm/backslash_escapes/20.snap.ast +0 -5
  1163. package/test/snapshots/pfm/backslash_escapes/21.snap.ast +0 -4
  1164. package/test/snapshots/pfm/backslash_escapes/22.snap.ast +0 -5
  1165. package/test/snapshots/pfm/backslash_escapes/23.snap.ast +0 -6
  1166. package/test/snapshots/pfm/backslash_escapes/24.snap.ast +0 -2
  1167. package/test/snapshots/pfm/blank_lines/227.snap.ast +0 -13
  1168. package/test/snapshots/pfm/block_quotes/228.snap.ast +0 -9
  1169. package/test/snapshots/pfm/block_quotes/229.snap.ast +0 -9
  1170. package/test/snapshots/pfm/block_quotes/230.snap.ast +0 -9
  1171. package/test/snapshots/pfm/block_quotes/231.snap.ast +0 -9
  1172. package/test/snapshots/pfm/block_quotes/232.snap.ast +0 -10
  1173. package/test/snapshots/pfm/block_quotes/233.snap.ast +0 -12
  1174. package/test/snapshots/pfm/block_quotes/234.snap.ast +0 -6
  1175. package/test/snapshots/pfm/block_quotes/235.snap.ast +0 -10
  1176. package/test/snapshots/pfm/block_quotes/236.snap.ast +0 -8
  1177. package/test/snapshots/pfm/block_quotes/237.snap.ast +0 -10
  1178. package/test/snapshots/pfm/block_quotes/238.snap.ast +0 -9
  1179. package/test/snapshots/pfm/block_quotes/239.snap.ast +0 -3
  1180. package/test/snapshots/pfm/block_quotes/240.snap.ast +0 -5
  1181. package/test/snapshots/pfm/block_quotes/241.snap.ast +0 -6
  1182. package/test/snapshots/pfm/block_quotes/242.snap.ast +0 -10
  1183. package/test/snapshots/pfm/block_quotes/243.snap.ast +0 -7
  1184. package/test/snapshots/pfm/block_quotes/244.snap.ast +0 -8
  1185. package/test/snapshots/pfm/block_quotes/245.snap.ast +0 -8
  1186. package/test/snapshots/pfm/block_quotes/246.snap.ast +0 -10
  1187. package/test/snapshots/pfm/block_quotes/247.snap.ast +0 -8
  1188. package/test/snapshots/pfm/block_quotes/248.snap.ast +0 -9
  1189. package/test/snapshots/pfm/block_quotes/249.snap.ast +0 -9
  1190. package/test/snapshots/pfm/block_quotes/250.snap.ast +0 -10
  1191. package/test/snapshots/pfm/block_quotes/251.snap.ast +0 -12
  1192. package/test/snapshots/pfm/block_quotes/252.snap.ast +0 -10
  1193. package/test/snapshots/pfm/code_spans/328.snap.ast +0 -3
  1194. package/test/snapshots/pfm/code_spans/329.snap.ast +0 -4
  1195. package/test/snapshots/pfm/code_spans/330.snap.ast +0 -4
  1196. package/test/snapshots/pfm/code_spans/331.snap.ast +0 -4
  1197. package/test/snapshots/pfm/code_spans/332.snap.ast +0 -4
  1198. package/test/snapshots/pfm/code_spans/333.snap.ast +0 -4
  1199. package/test/snapshots/pfm/code_spans/334.snap.ast +0 -6
  1200. package/test/snapshots/pfm/code_spans/335.snap.ast +0 -4
  1201. package/test/snapshots/pfm/code_spans/336.snap.ast +0 -4
  1202. package/test/snapshots/pfm/code_spans/337.snap.ast +0 -4
  1203. package/test/snapshots/pfm/code_spans/338.snap.ast +0 -6
  1204. package/test/snapshots/pfm/code_spans/339.snap.ast +0 -4
  1205. package/test/snapshots/pfm/code_spans/340.snap.ast +0 -4
  1206. package/test/snapshots/pfm/code_spans/341.snap.ast +0 -6
  1207. package/test/snapshots/pfm/code_spans/342.snap.ast +0 -7
  1208. package/test/snapshots/pfm/code_spans/343.snap.ast +0 -6
  1209. package/test/snapshots/pfm/code_spans/344.snap.ast +0 -5
  1210. package/test/snapshots/pfm/code_spans/345.snap.ast +0 -6
  1211. package/test/snapshots/pfm/code_spans/346.snap.ast +0 -6
  1212. package/test/snapshots/pfm/code_spans/347.snap.ast +0 -3
  1213. package/test/snapshots/pfm/code_spans/348.snap.ast +0 -5
  1214. package/test/snapshots/pfm/code_spans/349.snap.ast +0 -6
  1215. package/test/snapshots/pfm/code_spans/pfm_328_1.snap.ast +0 -4
  1216. package/test/snapshots/pfm/code_spans/pfm_328_2.snap.ast +0 -4
  1217. package/test/snapshots/pfm/code_spans/pfm_328_3.snap.ast +0 -4
  1218. package/test/snapshots/pfm/code_spans/pfm_328_4.snap.ast +0 -4
  1219. package/test/snapshots/pfm/emphasis_and_strong_emphasis/350.snap.ast +0 -5
  1220. package/test/snapshots/pfm/emphasis_and_strong_emphasis/351.snap.ast +0 -6
  1221. package/test/snapshots/pfm/emphasis_and_strong_emphasis/352.snap.ast +0 -6
  1222. package/test/snapshots/pfm/emphasis_and_strong_emphasis/353.snap.ast +0 -5
  1223. package/test/snapshots/pfm/emphasis_and_strong_emphasis/354.snap.ast +0 -18
  1224. package/test/snapshots/pfm/emphasis_and_strong_emphasis/355.snap.ast +0 -6
  1225. package/test/snapshots/pfm/emphasis_and_strong_emphasis/356.snap.ast +0 -6
  1226. package/test/snapshots/pfm/emphasis_and_strong_emphasis/357.snap.ast +0 -5
  1227. package/test/snapshots/pfm/emphasis_and_strong_emphasis/358.snap.ast +0 -5
  1228. package/test/snapshots/pfm/emphasis_and_strong_emphasis/359.snap.ast +0 -6
  1229. package/test/snapshots/pfm/emphasis_and_strong_emphasis/360.snap.ast +0 -6
  1230. package/test/snapshots/pfm/emphasis_and_strong_emphasis/361.snap.ast +0 -6
  1231. package/test/snapshots/pfm/emphasis_and_strong_emphasis/362.snap.ast +0 -6
  1232. package/test/snapshots/pfm/emphasis_and_strong_emphasis/363.snap.ast +0 -6
  1233. package/test/snapshots/pfm/emphasis_and_strong_emphasis/364.snap.ast +0 -6
  1234. package/test/snapshots/pfm/emphasis_and_strong_emphasis/365.snap.ast +0 -6
  1235. package/test/snapshots/pfm/emphasis_and_strong_emphasis/366.snap.ast +0 -6
  1236. package/test/snapshots/pfm/emphasis_and_strong_emphasis/367.snap.ast +0 -7
  1237. package/test/snapshots/pfm/emphasis_and_strong_emphasis/368.snap.ast +0 -6
  1238. package/test/snapshots/pfm/emphasis_and_strong_emphasis/369.snap.ast +0 -8
  1239. package/test/snapshots/pfm/emphasis_and_strong_emphasis/370.snap.ast +0 -6
  1240. package/test/snapshots/pfm/emphasis_and_strong_emphasis/371.snap.ast +0 -6
  1241. package/test/snapshots/pfm/emphasis_and_strong_emphasis/372.snap.ast +0 -6
  1242. package/test/snapshots/pfm/emphasis_and_strong_emphasis/373.snap.ast +0 -8
  1243. package/test/snapshots/pfm/emphasis_and_strong_emphasis/374.snap.ast +0 -6
  1244. package/test/snapshots/pfm/emphasis_and_strong_emphasis/375.snap.ast +0 -6
  1245. package/test/snapshots/pfm/emphasis_and_strong_emphasis/376.snap.ast +0 -7
  1246. package/test/snapshots/pfm/emphasis_and_strong_emphasis/377.snap.ast +0 -6
  1247. package/test/snapshots/pfm/emphasis_and_strong_emphasis/378.snap.ast +0 -5
  1248. package/test/snapshots/pfm/emphasis_and_strong_emphasis/379.snap.ast +0 -6
  1249. package/test/snapshots/pfm/emphasis_and_strong_emphasis/380.snap.ast +0 -6
  1250. package/test/snapshots/pfm/emphasis_and_strong_emphasis/381.snap.ast +0 -6
  1251. package/test/snapshots/pfm/emphasis_and_strong_emphasis/382.snap.ast +0 -5
  1252. package/test/snapshots/pfm/emphasis_and_strong_emphasis/383.snap.ast +0 -5
  1253. package/test/snapshots/pfm/emphasis_and_strong_emphasis/384.snap.ast +0 -7
  1254. package/test/snapshots/pfm/emphasis_and_strong_emphasis/385.snap.ast +0 -6
  1255. package/test/snapshots/pfm/emphasis_and_strong_emphasis/386.snap.ast +0 -6
  1256. package/test/snapshots/pfm/emphasis_and_strong_emphasis/387.snap.ast +0 -6
  1257. package/test/snapshots/pfm/emphasis_and_strong_emphasis/388.snap.ast +0 -6
  1258. package/test/snapshots/pfm/emphasis_and_strong_emphasis/389.snap.ast +0 -8
  1259. package/test/snapshots/pfm/emphasis_and_strong_emphasis/390.snap.ast +0 -6
  1260. package/test/snapshots/pfm/emphasis_and_strong_emphasis/391.snap.ast +0 -6
  1261. package/test/snapshots/pfm/emphasis_and_strong_emphasis/392.snap.ast +0 -6
  1262. package/test/snapshots/pfm/emphasis_and_strong_emphasis/393.snap.ast +0 -8
  1263. package/test/snapshots/pfm/emphasis_and_strong_emphasis/394.snap.ast +0 -12
  1264. package/test/snapshots/pfm/emphasis_and_strong_emphasis/395.snap.ast +0 -8
  1265. package/test/snapshots/pfm/emphasis_and_strong_emphasis/396.snap.ast +0 -6
  1266. package/test/snapshots/pfm/emphasis_and_strong_emphasis/397.snap.ast +0 -6
  1267. package/test/snapshots/pfm/emphasis_and_strong_emphasis/398.snap.ast +0 -6
  1268. package/test/snapshots/pfm/emphasis_and_strong_emphasis/399.snap.ast +0 -8
  1269. package/test/snapshots/pfm/emphasis_and_strong_emphasis/400.snap.ast +0 -6
  1270. package/test/snapshots/pfm/emphasis_and_strong_emphasis/401.snap.ast +0 -6
  1271. package/test/snapshots/pfm/emphasis_and_strong_emphasis/402.snap.ast +0 -7
  1272. package/test/snapshots/pfm/emphasis_and_strong_emphasis/403.snap.ast +0 -6
  1273. package/test/snapshots/pfm/emphasis_and_strong_emphasis/404.snap.ast +0 -7
  1274. package/test/snapshots/pfm/emphasis_and_strong_emphasis/405.snap.ast +0 -7
  1275. package/test/snapshots/pfm/emphasis_and_strong_emphasis/406.snap.ast +0 -8
  1276. package/test/snapshots/pfm/emphasis_and_strong_emphasis/407.snap.ast +0 -8
  1277. package/test/snapshots/pfm/emphasis_and_strong_emphasis/408.snap.ast +0 -7
  1278. package/test/snapshots/pfm/emphasis_and_strong_emphasis/409.snap.ast +0 -8
  1279. package/test/snapshots/pfm/emphasis_and_strong_emphasis/410.snap.ast +0 -8
  1280. package/test/snapshots/pfm/emphasis_and_strong_emphasis/411.snap.ast +0 -7
  1281. package/test/snapshots/pfm/emphasis_and_strong_emphasis/412.snap.ast +0 -6
  1282. package/test/snapshots/pfm/emphasis_and_strong_emphasis/413.snap.ast +0 -7
  1283. package/test/snapshots/pfm/emphasis_and_strong_emphasis/414.snap.ast +0 -7
  1284. package/test/snapshots/pfm/emphasis_and_strong_emphasis/415.snap.ast +0 -7
  1285. package/test/snapshots/pfm/emphasis_and_strong_emphasis/416.snap.ast +0 -8
  1286. package/test/snapshots/pfm/emphasis_and_strong_emphasis/417.snap.ast +0 -15
  1287. package/test/snapshots/pfm/emphasis_and_strong_emphasis/418.snap.ast +0 -11
  1288. package/test/snapshots/pfm/emphasis_and_strong_emphasis/419.snap.ast +0 -8
  1289. package/test/snapshots/pfm/emphasis_and_strong_emphasis/420.snap.ast +0 -5
  1290. package/test/snapshots/pfm/emphasis_and_strong_emphasis/421.snap.ast +0 -5
  1291. package/test/snapshots/pfm/emphasis_and_strong_emphasis/422.snap.ast +0 -7
  1292. package/test/snapshots/pfm/emphasis_and_strong_emphasis/423.snap.ast +0 -7
  1293. package/test/snapshots/pfm/emphasis_and_strong_emphasis/424.snap.ast +0 -8
  1294. package/test/snapshots/pfm/emphasis_and_strong_emphasis/425.snap.ast +0 -8
  1295. package/test/snapshots/pfm/emphasis_and_strong_emphasis/426.snap.ast +0 -7
  1296. package/test/snapshots/pfm/emphasis_and_strong_emphasis/427.snap.ast +0 -7
  1297. package/test/snapshots/pfm/emphasis_and_strong_emphasis/428.snap.ast +0 -8
  1298. package/test/snapshots/pfm/emphasis_and_strong_emphasis/429.snap.ast +0 -7
  1299. package/test/snapshots/pfm/emphasis_and_strong_emphasis/430.snap.ast +0 -7
  1300. package/test/snapshots/pfm/emphasis_and_strong_emphasis/431.snap.ast +0 -7
  1301. package/test/snapshots/pfm/emphasis_and_strong_emphasis/432.snap.ast +0 -12
  1302. package/test/snapshots/pfm/emphasis_and_strong_emphasis/433.snap.ast +0 -8
  1303. package/test/snapshots/pfm/emphasis_and_strong_emphasis/434.snap.ast +0 -4
  1304. package/test/snapshots/pfm/emphasis_and_strong_emphasis/435.snap.ast +0 -5
  1305. package/test/snapshots/pfm/emphasis_and_strong_emphasis/436.snap.ast +0 -7
  1306. package/test/snapshots/pfm/emphasis_and_strong_emphasis/437.snap.ast +0 -6
  1307. package/test/snapshots/pfm/emphasis_and_strong_emphasis/438.snap.ast +0 -6
  1308. package/test/snapshots/pfm/emphasis_and_strong_emphasis/439.snap.ast +0 -9
  1309. package/test/snapshots/pfm/emphasis_and_strong_emphasis/440.snap.ast +0 -6
  1310. package/test/snapshots/pfm/emphasis_and_strong_emphasis/441.snap.ast +0 -6
  1311. package/test/snapshots/pfm/emphasis_and_strong_emphasis/442.snap.ast +0 -6
  1312. package/test/snapshots/pfm/emphasis_and_strong_emphasis/443.snap.ast +0 -6
  1313. package/test/snapshots/pfm/emphasis_and_strong_emphasis/444.snap.ast +0 -6
  1314. package/test/snapshots/pfm/emphasis_and_strong_emphasis/445.snap.ast +0 -8
  1315. package/test/snapshots/pfm/emphasis_and_strong_emphasis/446.snap.ast +0 -6
  1316. package/test/snapshots/pfm/emphasis_and_strong_emphasis/447.snap.ast +0 -8
  1317. package/test/snapshots/pfm/emphasis_and_strong_emphasis/448.snap.ast +0 -7
  1318. package/test/snapshots/pfm/emphasis_and_strong_emphasis/449.snap.ast +0 -6
  1319. package/test/snapshots/pfm/emphasis_and_strong_emphasis/450.snap.ast +0 -6
  1320. package/test/snapshots/pfm/emphasis_and_strong_emphasis/451.snap.ast +0 -9
  1321. package/test/snapshots/pfm/emphasis_and_strong_emphasis/452.snap.ast +0 -6
  1322. package/test/snapshots/pfm/emphasis_and_strong_emphasis/453.snap.ast +0 -6
  1323. package/test/snapshots/pfm/emphasis_and_strong_emphasis/454.snap.ast +0 -6
  1324. package/test/snapshots/pfm/emphasis_and_strong_emphasis/455.snap.ast +0 -6
  1325. package/test/snapshots/pfm/emphasis_and_strong_emphasis/456.snap.ast +0 -6
  1326. package/test/snapshots/pfm/emphasis_and_strong_emphasis/457.snap.ast +0 -6
  1327. package/test/snapshots/pfm/emphasis_and_strong_emphasis/458.snap.ast +0 -6
  1328. package/test/snapshots/pfm/emphasis_and_strong_emphasis/459.snap.ast +0 -6
  1329. package/test/snapshots/pfm/emphasis_and_strong_emphasis/460.snap.ast +0 -5
  1330. package/test/snapshots/pfm/emphasis_and_strong_emphasis/461.snap.ast +0 -6
  1331. package/test/snapshots/pfm/emphasis_and_strong_emphasis/462.snap.ast +0 -5
  1332. package/test/snapshots/pfm/emphasis_and_strong_emphasis/463.snap.ast +0 -6
  1333. package/test/snapshots/pfm/emphasis_and_strong_emphasis/464.snap.ast +0 -6
  1334. package/test/snapshots/pfm/emphasis_and_strong_emphasis/465.snap.ast +0 -6
  1335. package/test/snapshots/pfm/emphasis_and_strong_emphasis/466.snap.ast +0 -8
  1336. package/test/snapshots/pfm/emphasis_and_strong_emphasis/467.snap.ast +0 -6
  1337. package/test/snapshots/pfm/emphasis_and_strong_emphasis/468.snap.ast +0 -12
  1338. package/test/snapshots/pfm/emphasis_and_strong_emphasis/469.snap.ast +0 -8
  1339. package/test/snapshots/pfm/emphasis_and_strong_emphasis/470.snap.ast +0 -10
  1340. package/test/snapshots/pfm/emphasis_and_strong_emphasis/471.snap.ast +0 -7
  1341. package/test/snapshots/pfm/emphasis_and_strong_emphasis/472.snap.ast +0 -7
  1342. package/test/snapshots/pfm/emphasis_and_strong_emphasis/473.snap.ast +0 -7
  1343. package/test/snapshots/pfm/emphasis_and_strong_emphasis/474.snap.ast +0 -8
  1344. package/test/snapshots/pfm/emphasis_and_strong_emphasis/475.snap.ast +0 -5
  1345. package/test/snapshots/pfm/emphasis_and_strong_emphasis/476.snap.ast +0 -5
  1346. package/test/snapshots/pfm/emphasis_and_strong_emphasis/477.snap.ast +0 -5
  1347. package/test/snapshots/pfm/emphasis_and_strong_emphasis/478.snap.ast +0 -7
  1348. package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +0 -7
  1349. package/test/snapshots/pfm/emphasis_and_strong_emphasis/480.snap.ast +0 -7
  1350. package/test/snapshots/pfm/emphasis_and_strong_emphasis/481.snap.ast +0 -7
  1351. package/test/snapshots/pfm/fenced_code_blocks/119.snap.ast +0 -2
  1352. package/test/snapshots/pfm/fenced_code_blocks/121.snap.ast +0 -4
  1353. package/test/snapshots/pfm/fenced_code_blocks/122.snap.ast +0 -2
  1354. package/test/snapshots/pfm/fenced_code_blocks/124.snap.ast +0 -2
  1355. package/test/snapshots/pfm/fenced_code_blocks/126.snap.ast +0 -3
  1356. package/test/snapshots/pfm/fenced_code_blocks/127.snap.ast +0 -2
  1357. package/test/snapshots/pfm/fenced_code_blocks/128.snap.ast +0 -11
  1358. package/test/snapshots/pfm/fenced_code_blocks/130.snap.ast +0 -2
  1359. package/test/snapshots/pfm/fenced_code_blocks/131.snap.ast +0 -2
  1360. package/test/snapshots/pfm/fenced_code_blocks/132.snap.ast +0 -2
  1361. package/test/snapshots/pfm/fenced_code_blocks/133.snap.ast +0 -2
  1362. package/test/snapshots/pfm/fenced_code_blocks/134.snap.ast +0 -2
  1363. package/test/snapshots/pfm/fenced_code_blocks/135.snap.ast +0 -2
  1364. package/test/snapshots/pfm/fenced_code_blocks/136.snap.ast +0 -2
  1365. package/test/snapshots/pfm/fenced_code_blocks/137.snap.ast +0 -2
  1366. package/test/snapshots/pfm/fenced_code_blocks/138.snap.ast +0 -2
  1367. package/test/snapshots/pfm/fenced_code_blocks/140.snap.ast +0 -8
  1368. package/test/snapshots/pfm/fenced_code_blocks/142.snap.ast +0 -2
  1369. package/test/snapshots/pfm/fenced_code_blocks/144.snap.ast +0 -3
  1370. package/test/snapshots/pfm/fenced_code_blocks/145.snap.ast +0 -2
  1371. package/test/snapshots/pfm/fenced_code_blocks/pfm_119_2.snap.ast +0 -6
  1372. package/test/snapshots/pfm/fenced_code_blocks/pfm_119_3.snap.ast +0 -2
  1373. package/test/snapshots/pfm/frontmatter/1.snap.ast +0 -6
  1374. package/test/snapshots/pfm/frontmatter/10.snap.ast +0 -4
  1375. package/test/snapshots/pfm/frontmatter/2.snap.ast +0 -2
  1376. package/test/snapshots/pfm/frontmatter/3.snap.ast +0 -2
  1377. package/test/snapshots/pfm/frontmatter/4.snap.ast +0 -2
  1378. package/test/snapshots/pfm/frontmatter/5.snap.ast +0 -7
  1379. package/test/snapshots/pfm/frontmatter/6.snap.ast +0 -9
  1380. package/test/snapshots/pfm/frontmatter/7.snap.ast +0 -2
  1381. package/test/snapshots/pfm/frontmatter/8.snap.ast +0 -6
  1382. package/test/snapshots/pfm/frontmatter/9.snap.ast +0 -7
  1383. package/test/snapshots/pfm/generic_directives/001.snap.ast +0 -5
  1384. package/test/snapshots/pfm/generic_directives/002.snap.ast +0 -4
  1385. package/test/snapshots/pfm/generic_directives/003.snap.ast +0 -5
  1386. package/test/snapshots/pfm/generic_directives/004.snap.ast +0 -5
  1387. package/test/snapshots/pfm/generic_directives/005.snap.ast +0 -5
  1388. package/test/snapshots/pfm/generic_directives/006.snap.ast +0 -7
  1389. package/test/snapshots/pfm/generic_directives/007.snap.ast +0 -8
  1390. package/test/snapshots/pfm/generic_directives/008.snap.ast +0 -4
  1391. package/test/snapshots/pfm/generic_directives/009.snap.ast +0 -5
  1392. package/test/snapshots/pfm/generic_directives/010.snap.ast +0 -6
  1393. package/test/snapshots/pfm/generic_directives/011.snap.ast +0 -2
  1394. package/test/snapshots/pfm/generic_directives/012.snap.ast +0 -5
  1395. package/test/snapshots/pfm/generic_directives/013.snap.ast +0 -2
  1396. package/test/snapshots/pfm/generic_directives/014.snap.ast +0 -7
  1397. package/test/snapshots/pfm/generic_directives/015.snap.ast +0 -6
  1398. package/test/snapshots/pfm/generic_directives/016.snap.ast +0 -2
  1399. package/test/snapshots/pfm/generic_directives/017.snap.ast +0 -3
  1400. package/test/snapshots/pfm/generic_directives/018.snap.ast +0 -4
  1401. package/test/snapshots/pfm/generic_directives/019.snap.ast +0 -5
  1402. package/test/snapshots/pfm/generic_directives/020.snap.ast +0 -5
  1403. package/test/snapshots/pfm/generic_directives/021.snap.ast +0 -5
  1404. package/test/snapshots/pfm/generic_directives/022.snap.ast +0 -9
  1405. package/test/snapshots/pfm/generic_directives/023.snap.ast +0 -5
  1406. package/test/snapshots/pfm/generic_directives/024.snap.ast +0 -6
  1407. package/test/snapshots/pfm/generic_directives/025.snap.ast +0 -2
  1408. package/test/snapshots/pfm/generic_directives/026.snap.ast +0 -5
  1409. package/test/snapshots/pfm/generic_directives/027.snap.ast +0 -10
  1410. package/test/snapshots/pfm/generic_directives/028.snap.ast +0 -3
  1411. package/test/snapshots/pfm/generic_directives/029.snap.ast +0 -12
  1412. package/test/snapshots/pfm/generic_directives/030.snap.ast +0 -9
  1413. package/test/snapshots/pfm/generic_directives/031.snap.ast +0 -8
  1414. package/test/snapshots/pfm/generic_directives/032.snap.ast +0 -8
  1415. package/test/snapshots/pfm/generic_directives/033.snap.ast +0 -3
  1416. package/test/snapshots/pfm/generic_directives/034.snap.ast +0 -6
  1417. package/test/snapshots/pfm/generic_directives/035.snap.ast +0 -6
  1418. package/test/snapshots/pfm/generic_directives/036.snap.ast +0 -2
  1419. package/test/snapshots/pfm/generic_directives/037.snap.ast +0 -10
  1420. package/test/snapshots/pfm/generic_directives/038.snap.ast +0 -4
  1421. package/test/snapshots/pfm/generic_directives/039.snap.ast +0 -9
  1422. package/test/snapshots/pfm/generic_directives/040.snap.ast +0 -15
  1423. package/test/snapshots/pfm/generic_directives/041.snap.ast +0 -4
  1424. package/test/snapshots/pfm/generic_directives/042.snap.ast +0 -5
  1425. package/test/snapshots/pfm/generic_directives/043.snap.ast +0 -5
  1426. package/test/snapshots/pfm/generic_directives/044.snap.ast +0 -2
  1427. package/test/snapshots/pfm/generic_directives/045.snap.ast +0 -2
  1428. package/test/snapshots/pfm/generic_directives/046.snap.ast +0 -5
  1429. package/test/snapshots/pfm/generic_directives/047.snap.ast +0 -6
  1430. package/test/snapshots/pfm/generic_directives/048.snap.ast +0 -5
  1431. package/test/snapshots/pfm/generic_directives/049.snap.ast +0 -5
  1432. package/test/snapshots/pfm/generic_directives/050.snap.ast +0 -5
  1433. package/test/snapshots/pfm/generic_directives/051.snap.ast +0 -5
  1434. package/test/snapshots/pfm/generic_directives/052.snap.ast +0 -5
  1435. package/test/snapshots/pfm/generic_directives/053.snap.ast +0 -6
  1436. package/test/snapshots/pfm/generic_directives/054.snap.ast +0 -6
  1437. package/test/snapshots/pfm/generic_directives/055.snap.ast +0 -6
  1438. package/test/snapshots/pfm/generic_directives/056.snap.ast +0 -6
  1439. package/test/snapshots/pfm/generic_directives/057.snap.ast +0 -6
  1440. package/test/snapshots/pfm/generic_directives/058.snap.ast +0 -6
  1441. package/test/snapshots/pfm/generic_directives/059.snap.ast +0 -6
  1442. package/test/snapshots/pfm/generic_directives/060.snap.ast +0 -7
  1443. package/test/snapshots/pfm/generic_directives/061.snap.ast +0 -7
  1444. package/test/snapshots/pfm/generic_directives/062.snap.ast +0 -7
  1445. package/test/snapshots/pfm/generic_directives/063.snap.ast +0 -6
  1446. package/test/snapshots/pfm/generic_directives/064.snap.ast +0 -7
  1447. package/test/snapshots/pfm/generic_directives/065.snap.ast +0 -8
  1448. package/test/snapshots/pfm/generic_directives/066.snap.ast +0 -9
  1449. package/test/snapshots/pfm/generic_directives/067.snap.ast +0 -16
  1450. package/test/snapshots/pfm/generic_directives/068.snap.ast +0 -7
  1451. package/test/snapshots/pfm/generic_directives/069.snap.ast +0 -6
  1452. package/test/snapshots/pfm/generic_directives/070.snap.ast +0 -9
  1453. package/test/snapshots/pfm/generic_directives/071.snap.ast +0 -7
  1454. package/test/snapshots/pfm/generic_directives/072.snap.ast +0 -8
  1455. package/test/snapshots/pfm/generic_directives/073.snap.ast +0 -6
  1456. package/test/snapshots/pfm/generic_directives/074.snap.ast +0 -10
  1457. package/test/snapshots/pfm/generic_directives/075.snap.ast +0 -8
  1458. package/test/snapshots/pfm/generic_directives/076.snap.ast +0 -8
  1459. package/test/snapshots/pfm/generic_directives/077.snap.ast +0 -7
  1460. package/test/snapshots/pfm/generic_directives/078.snap.ast +0 -8
  1461. package/test/snapshots/pfm/generic_directives/079.snap.ast +0 -5
  1462. package/test/snapshots/pfm/generic_directives/080.snap.ast +0 -5
  1463. package/test/snapshots/pfm/generic_directives/081.snap.ast +0 -6
  1464. package/test/snapshots/pfm/generic_directives/082.snap.ast +0 -11
  1465. package/test/snapshots/pfm/generic_directives/083.snap.ast +0 -9
  1466. package/test/snapshots/pfm/generic_directives/084.snap.ast +0 -8
  1467. package/test/snapshots/pfm/generic_directives/085.snap.ast +0 -7
  1468. package/test/snapshots/pfm/generic_directives/086.snap.ast +0 -4
  1469. package/test/snapshots/pfm/generic_directives/087.snap.ast +0 -6
  1470. package/test/snapshots/pfm/generic_directives/088.snap.ast +0 -10
  1471. package/test/snapshots/pfm/generic_directives/089.snap.ast +0 -8
  1472. package/test/snapshots/pfm/generic_directives/090.snap.ast +0 -5
  1473. package/test/snapshots/pfm/generic_directives/091.snap.ast +0 -5
  1474. package/test/snapshots/pfm/generic_directives/092.snap.ast +0 -16
  1475. package/test/snapshots/pfm/generic_directives/093.snap.ast +0 -6
  1476. package/test/snapshots/pfm/generic_directives/094.snap.ast +0 -8
  1477. package/test/snapshots/pfm/generic_directives/095.snap.ast +0 -7
  1478. package/test/snapshots/pfm/generic_directives/096.snap.ast +0 -5
  1479. package/test/snapshots/pfm/generic_directives/097.snap.ast +0 -5
  1480. package/test/snapshots/pfm/generic_directives/098.snap.ast +0 -5
  1481. package/test/snapshots/pfm/generic_directives/099.snap.ast +0 -8
  1482. package/test/snapshots/pfm/generic_directives/100.snap.ast +0 -9
  1483. package/test/snapshots/pfm/generic_directives/101.snap.ast +0 -7
  1484. package/test/snapshots/pfm/generic_directives/102.snap.ast +0 -8
  1485. package/test/snapshots/pfm/generic_directives/103.snap.ast +0 -9
  1486. package/test/snapshots/pfm/generic_directives/104.snap.ast +0 -6
  1487. package/test/snapshots/pfm/generic_directives/105.snap.ast +0 -8
  1488. package/test/snapshots/pfm/hard_line_breaks/633.snap.ast +0 -6
  1489. package/test/snapshots/pfm/hard_line_breaks/634.snap.ast +0 -6
  1490. package/test/snapshots/pfm/hard_line_breaks/635.snap.ast +0 -6
  1491. package/test/snapshots/pfm/hard_line_breaks/636.snap.ast +0 -6
  1492. package/test/snapshots/pfm/hard_line_breaks/637.snap.ast +0 -6
  1493. package/test/snapshots/pfm/hard_line_breaks/638.snap.ast +0 -7
  1494. package/test/snapshots/pfm/hard_line_breaks/639.snap.ast +0 -7
  1495. package/test/snapshots/pfm/hard_line_breaks/640.snap.ast +0 -4
  1496. package/test/snapshots/pfm/hard_line_breaks/641.snap.ast +0 -4
  1497. package/test/snapshots/pfm/hard_line_breaks/642.snap.ast +0 -4
  1498. package/test/snapshots/pfm/hard_line_breaks/643.snap.ast +0 -4
  1499. package/test/snapshots/pfm/hard_line_breaks/644.snap.ast +0 -4
  1500. package/test/snapshots/pfm/hard_line_breaks/645.snap.ast +0 -4
  1501. package/test/snapshots/pfm/hard_line_breaks/646.snap.ast +0 -4
  1502. package/test/snapshots/pfm/hard_line_breaks/647.snap.ast +0 -4
  1503. package/test/snapshots/pfm/html/148.snap.ast +0 -21
  1504. package/test/snapshots/pfm/html/149.snap.ast +0 -17
  1505. package/test/snapshots/pfm/html/150.snap.ast +0 -11
  1506. package/test/snapshots/pfm/html/151.snap.ast +0 -7
  1507. package/test/snapshots/pfm/html/152.snap.ast +0 -10
  1508. package/test/snapshots/pfm/html/153.snap.ast +0 -4
  1509. package/test/snapshots/pfm/html/154.snap.ast +0 -4
  1510. package/test/snapshots/pfm/html/155.snap.ast +0 -13
  1511. package/test/snapshots/pfm/html/156.snap.ast +0 -7
  1512. package/test/snapshots/pfm/html/157.snap.ast +0 -6
  1513. package/test/snapshots/pfm/html/158.snap.ast +0 -10
  1514. package/test/snapshots/pfm/html/159.snap.ast +0 -7
  1515. package/test/snapshots/pfm/html/160.snap.ast +0 -9
  1516. package/test/snapshots/pfm/html/161.snap.ast +0 -4
  1517. package/test/snapshots/pfm/html/162.snap.ast +0 -8
  1518. package/test/snapshots/pfm/html/163.snap.ast +0 -8
  1519. package/test/snapshots/pfm/html/164.snap.ast +0 -8
  1520. package/test/snapshots/pfm/html/165.snap.ast +0 -7
  1521. package/test/snapshots/pfm/html/166.snap.ast +0 -8
  1522. package/test/snapshots/pfm/html/167.snap.ast +0 -10
  1523. package/test/snapshots/pfm/html/168.snap.ast +0 -6
  1524. package/test/snapshots/pfm/html/169.snap.ast +0 -17
  1525. package/test/snapshots/pfm/html/170.snap.ast +0 -6
  1526. package/test/snapshots/pfm/html/171.snap.ast +0 -15
  1527. package/test/snapshots/pfm/html/172.snap.ast +0 -6
  1528. package/test/snapshots/pfm/html/173.snap.ast +0 -2
  1529. package/test/snapshots/pfm/html/174.snap.ast +0 -11
  1530. package/test/snapshots/pfm/html/175.snap.ast +0 -7
  1531. package/test/snapshots/pfm/html/176.snap.ast +0 -7
  1532. package/test/snapshots/pfm/html/177.snap.ast +0 -9
  1533. package/test/snapshots/pfm/html/178.snap.ast +0 -7
  1534. package/test/snapshots/pfm/html/179.snap.ast +0 -6
  1535. package/test/snapshots/pfm/html/180.snap.ast +0 -14
  1536. package/test/snapshots/pfm/html/181.snap.ast +0 -5
  1537. package/test/snapshots/pfm/html/182.snap.ast +0 -16
  1538. package/test/snapshots/pfm/html/183.snap.ast +0 -6
  1539. package/test/snapshots/pfm/html/184.snap.ast +0 -8
  1540. package/test/snapshots/pfm/html/185.snap.ast +0 -10
  1541. package/test/snapshots/pfm/html/186.snap.ast +0 -11
  1542. package/test/snapshots/pfm/html/187.snap.ast +0 -8
  1543. package/test/snapshots/pfm/html/188.snap.ast +0 -11
  1544. package/test/snapshots/pfm/html/189.snap.ast +0 -9
  1545. package/test/snapshots/pfm/html/190.snap.ast +0 -17
  1546. package/test/snapshots/pfm/html/191.snap.ast +0 -17
  1547. package/test/snapshots/pfm/html/613.snap.ast +0 -8
  1548. package/test/snapshots/pfm/html/614.snap.ast +0 -4
  1549. package/test/snapshots/pfm/html/615.snap.ast +0 -5
  1550. package/test/snapshots/pfm/html/616.snap.ast +0 -3
  1551. package/test/snapshots/pfm/html/617.snap.ast +0 -5
  1552. package/test/snapshots/pfm/html/618.snap.ast +0 -5
  1553. package/test/snapshots/pfm/html/619.snap.ast +0 -4
  1554. package/test/snapshots/pfm/html/620.snap.ast +0 -5
  1555. package/test/snapshots/pfm/html/621.snap.ast +0 -10
  1556. package/test/snapshots/pfm/html/622.snap.ast +0 -4
  1557. package/test/snapshots/pfm/html/623.snap.ast +0 -5
  1558. package/test/snapshots/pfm/html/624.snap.ast +0 -4
  1559. package/test/snapshots/pfm/html/625.snap.ast +0 -5
  1560. package/test/snapshots/pfm/html/626.snap.ast +0 -10
  1561. package/test/snapshots/pfm/html/627.snap.ast +0 -5
  1562. package/test/snapshots/pfm/html/628.snap.ast +0 -6
  1563. package/test/snapshots/pfm/html/629.snap.ast +0 -12
  1564. package/test/snapshots/pfm/html/630.snap.ast +0 -5
  1565. package/test/snapshots/pfm/html/631.snap.ast +0 -5
  1566. package/test/snapshots/pfm/html/632.snap.ast +0 -4
  1567. package/test/snapshots/pfm/images/572.snap.ast +0 -5
  1568. package/test/snapshots/pfm/images/573.snap.ast +0 -9
  1569. package/test/snapshots/pfm/images/574.snap.ast +0 -7
  1570. package/test/snapshots/pfm/images/575.snap.ast +0 -7
  1571. package/test/snapshots/pfm/images/576.snap.ast +0 -11
  1572. package/test/snapshots/pfm/images/577.snap.ast +0 -11
  1573. package/test/snapshots/pfm/images/578.snap.ast +0 -5
  1574. package/test/snapshots/pfm/images/579.snap.ast +0 -6
  1575. package/test/snapshots/pfm/images/580.snap.ast +0 -5
  1576. package/test/snapshots/pfm/images/581.snap.ast +0 -4
  1577. package/test/snapshots/pfm/images/582.snap.ast +0 -8
  1578. package/test/snapshots/pfm/images/583.snap.ast +0 -8
  1579. package/test/snapshots/pfm/images/584.snap.ast +0 -8
  1580. package/test/snapshots/pfm/images/585.snap.ast +0 -11
  1581. package/test/snapshots/pfm/images/586.snap.ast +0 -8
  1582. package/test/snapshots/pfm/images/587.snap.ast +0 -9
  1583. package/test/snapshots/pfm/images/588.snap.ast +0 -6
  1584. package/test/snapshots/pfm/images/589.snap.ast +0 -9
  1585. package/test/snapshots/pfm/images/590.snap.ast +0 -12
  1586. package/test/snapshots/pfm/images/591.snap.ast +0 -6
  1587. package/test/snapshots/pfm/images/592.snap.ast +0 -7
  1588. package/test/snapshots/pfm/images/593.snap.ast +0 -7
  1589. package/test/snapshots/pfm/imports/1.snap.ast +0 -6
  1590. package/test/snapshots/pfm/imports/10.snap.ast +0 -4
  1591. package/test/snapshots/pfm/imports/11.snap.ast +0 -6
  1592. package/test/snapshots/pfm/imports/2.snap.ast +0 -7
  1593. package/test/snapshots/pfm/imports/3.snap.ast +0 -7
  1594. package/test/snapshots/pfm/imports/4.snap.ast +0 -6
  1595. package/test/snapshots/pfm/imports/5.snap.ast +0 -6
  1596. package/test/snapshots/pfm/imports/6.snap.ast +0 -8
  1597. package/test/snapshots/pfm/imports/7.snap.ast +0 -6
  1598. package/test/snapshots/pfm/imports/8.snap.ast +0 -8
  1599. package/test/snapshots/pfm/imports/9.snap.ast +0 -2
  1600. package/test/snapshots/pfm/inlines/327.snap.ast +0 -6
  1601. package/test/snapshots/pfm/link_reference_definitions/192.snap.ast +0 -6
  1602. package/test/snapshots/pfm/link_reference_definitions/193.snap.ast +0 -6
  1603. package/test/snapshots/pfm/link_reference_definitions/194.snap.ast +0 -8
  1604. package/test/snapshots/pfm/link_reference_definitions/195.snap.ast +0 -6
  1605. package/test/snapshots/pfm/link_reference_definitions/196.snap.ast +0 -6
  1606. package/test/snapshots/pfm/link_reference_definitions/197.snap.ast +0 -16
  1607. package/test/snapshots/pfm/link_reference_definitions/198.snap.ast +0 -6
  1608. package/test/snapshots/pfm/link_reference_definitions/199.snap.ast +0 -12
  1609. package/test/snapshots/pfm/link_reference_definitions/200.snap.ast +0 -6
  1610. package/test/snapshots/pfm/link_reference_definitions/201.snap.ast +0 -14
  1611. package/test/snapshots/pfm/link_reference_definitions/202.snap.ast +0 -6
  1612. package/test/snapshots/pfm/link_reference_definitions/203.snap.ast +0 -6
  1613. package/test/snapshots/pfm/link_reference_definitions/204.snap.ast +0 -8
  1614. package/test/snapshots/pfm/link_reference_definitions/205.snap.ast +0 -6
  1615. package/test/snapshots/pfm/link_reference_definitions/206.snap.ast +0 -6
  1616. package/test/snapshots/pfm/link_reference_definitions/207.snap.ast +0 -1
  1617. package/test/snapshots/pfm/link_reference_definitions/208.snap.ast +0 -12
  1618. package/test/snapshots/pfm/link_reference_definitions/209.snap.ast +0 -5
  1619. package/test/snapshots/pfm/link_reference_definitions/210.snap.ast +0 -7
  1620. package/test/snapshots/pfm/link_reference_definitions/211.snap.ast +0 -6
  1621. package/test/snapshots/pfm/link_reference_definitions/212.snap.ast +0 -9
  1622. package/test/snapshots/pfm/link_reference_definitions/213.snap.ast +0 -14
  1623. package/test/snapshots/pfm/link_reference_definitions/214.snap.ast +0 -11
  1624. package/test/snapshots/pfm/link_reference_definitions/215.snap.ast +0 -9
  1625. package/test/snapshots/pfm/link_reference_definitions/216.snap.ast +0 -7
  1626. package/test/snapshots/pfm/link_reference_definitions/217.snap.ast +0 -14
  1627. package/test/snapshots/pfm/link_reference_definitions/218.snap.ast +0 -13
  1628. package/test/snapshots/pfm/links/482.snap.ast +0 -5
  1629. package/test/snapshots/pfm/links/483.snap.ast +0 -5
  1630. package/test/snapshots/pfm/links/484.snap.ast +0 -4
  1631. package/test/snapshots/pfm/links/485.snap.ast +0 -5
  1632. package/test/snapshots/pfm/links/486.snap.ast +0 -5
  1633. package/test/snapshots/pfm/links/487.snap.ast +0 -4
  1634. package/test/snapshots/pfm/links/488.snap.ast +0 -5
  1635. package/test/snapshots/pfm/links/489.snap.ast +0 -5
  1636. package/test/snapshots/pfm/links/490.snap.ast +0 -7
  1637. package/test/snapshots/pfm/links/491.snap.ast +0 -7
  1638. package/test/snapshots/pfm/links/492.snap.ast +0 -5
  1639. package/test/snapshots/pfm/links/493.snap.ast +0 -5
  1640. package/test/snapshots/pfm/links/494.snap.ast +0 -11
  1641. package/test/snapshots/pfm/links/495.snap.ast +0 -5
  1642. package/test/snapshots/pfm/links/496.snap.ast +0 -5
  1643. package/test/snapshots/pfm/links/497.snap.ast +0 -5
  1644. package/test/snapshots/pfm/links/498.snap.ast +0 -5
  1645. package/test/snapshots/pfm/links/499.snap.ast +0 -5
  1646. package/test/snapshots/pfm/links/500.snap.ast +0 -5
  1647. package/test/snapshots/pfm/links/501.snap.ast +0 -15
  1648. package/test/snapshots/pfm/links/502.snap.ast +0 -5
  1649. package/test/snapshots/pfm/links/503.snap.ast +0 -5
  1650. package/test/snapshots/pfm/links/504.snap.ast +0 -5
  1651. package/test/snapshots/pfm/links/505.snap.ast +0 -11
  1652. package/test/snapshots/pfm/links/506.snap.ast +0 -5
  1653. package/test/snapshots/pfm/links/507.snap.ast +0 -5
  1654. package/test/snapshots/pfm/links/508.snap.ast +0 -5
  1655. package/test/snapshots/pfm/links/509.snap.ast +0 -5
  1656. package/test/snapshots/pfm/links/510.snap.ast +0 -7
  1657. package/test/snapshots/pfm/links/511.snap.ast +0 -5
  1658. package/test/snapshots/pfm/links/512.snap.ast +0 -11
  1659. package/test/snapshots/pfm/links/513.snap.ast +0 -6
  1660. package/test/snapshots/pfm/links/514.snap.ast +0 -7
  1661. package/test/snapshots/pfm/links/515.snap.ast +0 -6
  1662. package/test/snapshots/pfm/links/516.snap.ast +0 -13
  1663. package/test/snapshots/pfm/links/517.snap.ast +0 -6
  1664. package/test/snapshots/pfm/links/518.snap.ast +0 -7
  1665. package/test/snapshots/pfm/links/519.snap.ast +0 -10
  1666. package/test/snapshots/pfm/links/520.snap.ast +0 -7
  1667. package/test/snapshots/pfm/links/521.snap.ast +0 -7
  1668. package/test/snapshots/pfm/links/522.snap.ast +0 -9
  1669. package/test/snapshots/pfm/links/523.snap.ast +0 -9
  1670. package/test/snapshots/pfm/links/524.snap.ast +0 -6
  1671. package/test/snapshots/pfm/links/525.snap.ast +0 -6
  1672. package/test/snapshots/pfm/links/526.snap.ast +0 -7
  1673. package/test/snapshots/pfm/links/527.snap.ast +0 -6
  1674. package/test/snapshots/pfm/links/528.snap.ast +0 -14
  1675. package/test/snapshots/pfm/links/529.snap.ast +0 -7
  1676. package/test/snapshots/pfm/links/530.snap.ast +0 -17
  1677. package/test/snapshots/pfm/links/531.snap.ast +0 -7
  1678. package/test/snapshots/pfm/links/532.snap.ast +0 -8
  1679. package/test/snapshots/pfm/links/533.snap.ast +0 -10
  1680. package/test/snapshots/pfm/links/534.snap.ast +0 -8
  1681. package/test/snapshots/pfm/links/535.snap.ast +0 -11
  1682. package/test/snapshots/pfm/links/536.snap.ast +0 -7
  1683. package/test/snapshots/pfm/links/537.snap.ast +0 -7
  1684. package/test/snapshots/pfm/links/538.snap.ast +0 -8
  1685. package/test/snapshots/pfm/links/539.snap.ast +0 -6
  1686. package/test/snapshots/pfm/links/540.snap.ast +0 -8
  1687. package/test/snapshots/pfm/links/541.snap.ast +0 -15
  1688. package/test/snapshots/pfm/links/542.snap.ast +0 -8
  1689. package/test/snapshots/pfm/links/543.snap.ast +0 -11
  1690. package/test/snapshots/pfm/links/544.snap.ast +0 -7
  1691. package/test/snapshots/pfm/links/545.snap.ast +0 -10
  1692. package/test/snapshots/pfm/links/546.snap.ast +0 -16
  1693. package/test/snapshots/pfm/links/547.snap.ast +0 -18
  1694. package/test/snapshots/pfm/links/548.snap.ast +0 -14
  1695. package/test/snapshots/pfm/links/549.snap.ast +0 -6
  1696. package/test/snapshots/pfm/links/550.snap.ast +0 -7
  1697. package/test/snapshots/pfm/links/551.snap.ast +0 -12
  1698. package/test/snapshots/pfm/links/552.snap.ast +0 -12
  1699. package/test/snapshots/pfm/links/553.snap.ast +0 -6
  1700. package/test/snapshots/pfm/links/554.snap.ast +0 -8
  1701. package/test/snapshots/pfm/links/555.snap.ast +0 -6
  1702. package/test/snapshots/pfm/links/556.snap.ast +0 -9
  1703. package/test/snapshots/pfm/links/557.snap.ast +0 -6
  1704. package/test/snapshots/pfm/links/558.snap.ast +0 -8
  1705. package/test/snapshots/pfm/links/559.snap.ast +0 -10
  1706. package/test/snapshots/pfm/links/560.snap.ast +0 -9
  1707. package/test/snapshots/pfm/links/561.snap.ast +0 -6
  1708. package/test/snapshots/pfm/links/562.snap.ast +0 -7
  1709. package/test/snapshots/pfm/links/563.snap.ast +0 -8
  1710. package/test/snapshots/pfm/links/564.snap.ast +0 -8
  1711. package/test/snapshots/pfm/links/565.snap.ast +0 -6
  1712. package/test/snapshots/pfm/links/566.snap.ast +0 -6
  1713. package/test/snapshots/pfm/links/567.snap.ast +0 -6
  1714. package/test/snapshots/pfm/links/568.snap.ast +0 -6
  1715. package/test/snapshots/pfm/links/569.snap.ast +0 -8
  1716. package/test/snapshots/pfm/links/570.snap.ast +0 -8
  1717. package/test/snapshots/pfm/links/571.snap.ast +0 -8
  1718. package/test/snapshots/pfm/list_items/253.snap.ast +0 -15
  1719. package/test/snapshots/pfm/list_items/254.snap.ast +0 -13
  1720. package/test/snapshots/pfm/list_items/255.snap.ast +0 -9
  1721. package/test/snapshots/pfm/list_items/256.snap.ast +0 -8
  1722. package/test/snapshots/pfm/list_items/257.snap.ast +0 -8
  1723. package/test/snapshots/pfm/list_items/258.snap.ast +0 -8
  1724. package/test/snapshots/pfm/list_items/259.snap.ast +0 -10
  1725. package/test/snapshots/pfm/list_items/260.snap.ast +0 -11
  1726. package/test/snapshots/pfm/list_items/261.snap.ast +0 -8
  1727. package/test/snapshots/pfm/list_items/262.snap.ast +0 -8
  1728. package/test/snapshots/pfm/list_items/263.snap.ast +0 -12
  1729. package/test/snapshots/pfm/list_items/264.snap.ast +0 -10
  1730. package/test/snapshots/pfm/list_items/265.snap.ast +0 -5
  1731. package/test/snapshots/pfm/list_items/266.snap.ast +0 -4
  1732. package/test/snapshots/pfm/list_items/267.snap.ast +0 -5
  1733. package/test/snapshots/pfm/list_items/268.snap.ast +0 -5
  1734. package/test/snapshots/pfm/list_items/269.snap.ast +0 -4
  1735. package/test/snapshots/pfm/list_items/270.snap.ast +0 -8
  1736. package/test/snapshots/pfm/list_items/271.snap.ast +0 -8
  1737. package/test/snapshots/pfm/list_items/272.snap.ast +0 -12
  1738. package/test/snapshots/pfm/list_items/273.snap.ast +0 -10
  1739. package/test/snapshots/pfm/list_items/274.snap.ast +0 -10
  1740. package/test/snapshots/pfm/list_items/275.snap.ast +0 -8
  1741. package/test/snapshots/pfm/list_items/276.snap.ast +0 -8
  1742. package/test/snapshots/pfm/list_items/277.snap.ast +0 -8
  1743. package/test/snapshots/pfm/list_items/278.snap.ast +0 -14
  1744. package/test/snapshots/pfm/list_items/279.snap.ast +0 -6
  1745. package/test/snapshots/pfm/list_items/280.snap.ast +0 -8
  1746. package/test/snapshots/pfm/list_items/281.snap.ast +0 -9
  1747. package/test/snapshots/pfm/list_items/282.snap.ast +0 -9
  1748. package/test/snapshots/pfm/list_items/283.snap.ast +0 -9
  1749. package/test/snapshots/pfm/list_items/284.snap.ast +0 -4
  1750. package/test/snapshots/pfm/list_items/285.snap.ast +0 -12
  1751. package/test/snapshots/pfm/list_items/286.snap.ast +0 -13
  1752. package/test/snapshots/pfm/list_items/287.snap.ast +0 -13
  1753. package/test/snapshots/pfm/list_items/288.snap.ast +0 -13
  1754. package/test/snapshots/pfm/list_items/289.snap.ast +0 -13
  1755. package/test/snapshots/pfm/list_items/290.snap.ast +0 -13
  1756. package/test/snapshots/pfm/list_items/291.snap.ast +0 -7
  1757. package/test/snapshots/pfm/list_items/292.snap.ast +0 -11
  1758. package/test/snapshots/pfm/list_items/293.snap.ast +0 -10
  1759. package/test/snapshots/pfm/list_items/294.snap.ast +0 -14
  1760. package/test/snapshots/pfm/list_items/295.snap.ast +0 -11
  1761. package/test/snapshots/pfm/list_items/296.snap.ast +0 -8
  1762. package/test/snapshots/pfm/list_items/297.snap.ast +0 -9
  1763. package/test/snapshots/pfm/list_items/298.snap.ast +0 -6
  1764. package/test/snapshots/pfm/list_items/299.snap.ast +0 -9
  1765. package/test/snapshots/pfm/list_items/300.snap.ast +0 -12
  1766. package/test/snapshots/pfm/lists/301.snap.ast +0 -11
  1767. package/test/snapshots/pfm/lists/302.snap.ast +0 -11
  1768. package/test/snapshots/pfm/lists/303.snap.ast +0 -10
  1769. package/test/snapshots/pfm/lists/304.snap.ast +0 -6
  1770. package/test/snapshots/pfm/lists/305.snap.ast +0 -8
  1771. package/test/snapshots/pfm/lists/306.snap.ast +0 -12
  1772. package/test/snapshots/pfm/lists/307.snap.ast +0 -14
  1773. package/test/snapshots/pfm/lists/308.snap.ast +0 -17
  1774. package/test/snapshots/pfm/lists/309.snap.ast +0 -18
  1775. package/test/snapshots/pfm/lists/310.snap.ast +0 -17
  1776. package/test/snapshots/pfm/lists/311.snap.ast +0 -12
  1777. package/test/snapshots/pfm/lists/312.snap.ast +0 -13
  1778. package/test/snapshots/pfm/lists/313.snap.ast +0 -12
  1779. package/test/snapshots/pfm/lists/314.snap.ast +0 -12
  1780. package/test/snapshots/pfm/lists/315.snap.ast +0 -11
  1781. package/test/snapshots/pfm/lists/316.snap.ast +0 -14
  1782. package/test/snapshots/pfm/lists/317.snap.ast +0 -15
  1783. package/test/snapshots/pfm/lists/318.snap.ast +0 -9
  1784. package/test/snapshots/pfm/lists/319.snap.ast +0 -13
  1785. package/test/snapshots/pfm/lists/320.snap.ast +0 -11
  1786. package/test/snapshots/pfm/lists/321.snap.ast +0 -11
  1787. package/test/snapshots/pfm/lists/322.snap.ast +0 -5
  1788. package/test/snapshots/pfm/lists/323.snap.ast +0 -8
  1789. package/test/snapshots/pfm/lists/324.snap.ast +0 -7
  1790. package/test/snapshots/pfm/lists/325.snap.ast +0 -11
  1791. package/test/snapshots/pfm/lists/326.snap.ast +0 -19
  1792. package/test/snapshots/pfm/paragraphs/219.snap.ast +0 -8
  1793. package/test/snapshots/pfm/paragraphs/220.snap.ast +0 -12
  1794. package/test/snapshots/pfm/paragraphs/221.snap.ast +0 -9
  1795. package/test/snapshots/pfm/paragraphs/222.snap.ast +0 -6
  1796. package/test/snapshots/pfm/paragraphs/223.snap.ast +0 -8
  1797. package/test/snapshots/pfm/paragraphs/224.snap.ast +0 -6
  1798. package/test/snapshots/pfm/paragraphs/225.snap.ast +0 -6
  1799. package/test/snapshots/pfm/precedence/42.snap.ast +0 -5
  1800. package/test/snapshots/pfm/setext_headings/100.snap.ast +0 -5
  1801. package/test/snapshots/pfm/setext_headings/101.snap.ast +0 -6
  1802. package/test/snapshots/pfm/setext_headings/102.snap.ast +0 -5
  1803. package/test/snapshots/pfm/setext_headings/103.snap.ast +0 -12
  1804. package/test/snapshots/pfm/setext_headings/104.snap.ast +0 -12
  1805. package/test/snapshots/pfm/setext_headings/105.snap.ast +0 -10
  1806. package/test/snapshots/pfm/setext_headings/106.snap.ast +0 -10
  1807. package/test/snapshots/pfm/setext_headings/80.snap.ast +0 -15
  1808. package/test/snapshots/pfm/setext_headings/81.snap.ast +0 -10
  1809. package/test/snapshots/pfm/setext_headings/82.snap.ast +0 -11
  1810. package/test/snapshots/pfm/setext_headings/83.snap.ast +0 -11
  1811. package/test/snapshots/pfm/setext_headings/84.snap.ast +0 -16
  1812. package/test/snapshots/pfm/setext_headings/85.snap.ast +0 -11
  1813. package/test/snapshots/pfm/setext_headings/86.snap.ast +0 -5
  1814. package/test/snapshots/pfm/setext_headings/87.snap.ast +0 -6
  1815. package/test/snapshots/pfm/setext_headings/88.snap.ast +0 -11
  1816. package/test/snapshots/pfm/setext_headings/89.snap.ast +0 -5
  1817. package/test/snapshots/pfm/setext_headings/90.snap.ast +0 -6
  1818. package/test/snapshots/pfm/setext_headings/91.snap.ast +0 -7
  1819. package/test/snapshots/pfm/setext_headings/92.snap.ast +0 -6
  1820. package/test/snapshots/pfm/setext_headings/93.snap.ast +0 -10
  1821. package/test/snapshots/pfm/setext_headings/94.snap.ast +0 -6
  1822. package/test/snapshots/pfm/setext_headings/95.snap.ast +0 -7
  1823. package/test/snapshots/pfm/setext_headings/96.snap.ast +0 -9
  1824. package/test/snapshots/pfm/setext_headings/97.snap.ast +0 -5
  1825. package/test/snapshots/pfm/setext_headings/98.snap.ast +0 -2
  1826. package/test/snapshots/pfm/setext_headings/99.snap.ast +0 -6
  1827. package/test/snapshots/pfm/soft_line_breaks/648.snap.ast +0 -6
  1828. package/test/snapshots/pfm/soft_line_breaks/649.snap.ast +0 -6
  1829. package/test/snapshots/pfm/tabs/1.snap.ast +0 -4
  1830. package/test/snapshots/pfm/tabs/10.snap.ast +0 -4
  1831. package/test/snapshots/pfm/tabs/11.snap.ast +0 -2
  1832. package/test/snapshots/pfm/tabs/12.snap.ast +0 -7
  1833. package/test/snapshots/pfm/tabs/13.snap.ast +0 -8
  1834. package/test/snapshots/pfm/tabs/14.snap.ast +0 -8
  1835. package/test/snapshots/pfm/tabs/15.snap.ast +0 -7
  1836. package/test/snapshots/pfm/tabs/16.snap.ast +0 -8
  1837. package/test/snapshots/pfm/tabs/17.snap.ast +0 -11
  1838. package/test/snapshots/pfm/tabs/2.snap.ast +0 -4
  1839. package/test/snapshots/pfm/tabs/3.snap.ast +0 -6
  1840. package/test/snapshots/pfm/tabs/4.snap.ast +0 -8
  1841. package/test/snapshots/pfm/tabs/5.snap.ast +0 -8
  1842. package/test/snapshots/pfm/tabs/6.snap.ast +0 -5
  1843. package/test/snapshots/pfm/tabs/7.snap.ast +0 -5
  1844. package/test/snapshots/pfm/tabs/8.snap.ast +0 -6
  1845. package/test/snapshots/pfm/tabs/9.snap.ast +0 -10
  1846. package/test/snapshots/pfm/textual_content/650.snap.ast +0 -4
  1847. package/test/snapshots/pfm/textual_content/651.snap.ast +0 -4
  1848. package/test/snapshots/pfm/textual_content/652.snap.ast +0 -4
  1849. package/test/snapshots/pfm/thematic_breaks/43.snap.ast +0 -4
  1850. package/test/snapshots/pfm/thematic_breaks/44.snap.ast +0 -4
  1851. package/test/snapshots/pfm/thematic_breaks/45.snap.ast +0 -4
  1852. package/test/snapshots/pfm/thematic_breaks/46.snap.ast +0 -10
  1853. package/test/snapshots/pfm/thematic_breaks/47.snap.ast +0 -4
  1854. package/test/snapshots/pfm/thematic_breaks/48.snap.ast +0 -2
  1855. package/test/snapshots/pfm/thematic_breaks/49.snap.ast +0 -8
  1856. package/test/snapshots/pfm/thematic_breaks/50.snap.ast +0 -2
  1857. package/test/snapshots/pfm/thematic_breaks/51.snap.ast +0 -2
  1858. package/test/snapshots/pfm/thematic_breaks/52.snap.ast +0 -2
  1859. package/test/snapshots/pfm/thematic_breaks/53.snap.ast +0 -2
  1860. package/test/snapshots/pfm/thematic_breaks/54.snap.ast +0 -2
  1861. package/test/snapshots/pfm/thematic_breaks/55.snap.ast +0 -15
  1862. package/test/snapshots/pfm/thematic_breaks/56.snap.ast +0 -5
  1863. package/test/snapshots/pfm/thematic_breaks/57.snap.ast +0 -10
  1864. package/test/snapshots/pfm/thematic_breaks/58.snap.ast +0 -8
  1865. package/test/snapshots/pfm/thematic_breaks/59.snap.ast +0 -8
  1866. package/test/snapshots/pfm/thematic_breaks/60.snap.ast +0 -10
  1867. package/test/snapshots/pfm/thematic_breaks/61.snap.ast +0 -6
  1868. package/test/snapshots/svelte/00-introduction/00-hello-world/App.snap.ast +0 -9
  1869. package/test/snapshots/svelte/00-introduction/01-dynamic-attributes/App.snap.ast +0 -7
  1870. package/test/snapshots/svelte/00-introduction/02-styling/App.snap.ast +0 -8
  1871. package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +0 -12
  1872. package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +0 -4
  1873. package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +0 -7
  1874. package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +0 -12
  1875. package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +0 -25
  1876. package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +0 -12
  1877. package/test/snapshots/svelte/02-props/00-declaring-props/App.snap.ast +0 -5
  1878. package/test/snapshots/svelte/02-props/00-declaring-props/Nested.snap.ast +0 -8
  1879. package/test/snapshots/svelte/02-props/01-default-values/App.snap.ast +0 -7
  1880. package/test/snapshots/svelte/02-props/01-default-values/Nested.snap.ast +0 -8
  1881. package/test/snapshots/svelte/02-props/02-spread-props/App.snap.ast +0 -5
  1882. package/test/snapshots/svelte/02-props/02-spread-props/Info.snap.ast +0 -24
  1883. package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +0 -26
  1884. package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +0 -23
  1885. package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +0 -26
  1886. package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +0 -25
  1887. package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +0 -40
  1888. package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +0 -17
  1889. package/test/snapshots/svelte/04-events/00-dom-events/App.snap.ast +0 -15
  1890. package/test/snapshots/svelte/04-events/01-inline-handlers/App.snap.ast +0 -15
  1891. package/test/snapshots/svelte/04-events/02-event-modifiers/App.snap.ast +0 -9
  1892. package/test/snapshots/svelte/04-events/03-component-events/App.snap.ast +0 -5
  1893. package/test/snapshots/svelte/04-events/03-component-events/Inner.snap.ast +0 -9
  1894. package/test/snapshots/svelte/04-events/04-event-forwarding/App.snap.ast +0 -5
  1895. package/test/snapshots/svelte/04-events/04-event-forwarding/Inner.snap.ast +0 -9
  1896. package/test/snapshots/svelte/04-events/04-event-forwarding/Outer.snap.ast +0 -5
  1897. package/test/snapshots/svelte/04-events/05-dom-event-forwarding/App.snap.ast +0 -5
  1898. package/test/snapshots/svelte/04-events/05-dom-event-forwarding/FancyButton.snap.ast +0 -9
  1899. package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +0 -11
  1900. package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +0 -27
  1901. package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +0 -34
  1902. package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +0 -84
  1903. package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +0 -12
  1904. package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +0 -44
  1905. package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +0 -84
  1906. package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +0 -44
  1907. package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +0 -53
  1908. package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +0 -27
  1909. package/test/snapshots/svelte/05-bindings/10-bind-this/App.snap.ast +0 -9
  1910. package/test/snapshots/svelte/05-bindings/11-component-bindings/App.snap.ast +0 -10
  1911. package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +0 -58
  1912. package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +0 -36
  1913. package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +0 -14
  1914. package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +0 -31
  1915. package/test/snapshots/svelte/06-lifecycle/03-tick/App.snap.ast +0 -8
  1916. package/test/snapshots/svelte/07-stores/00-writable-stores/App.snap.ast +0 -15
  1917. package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +0 -9
  1918. package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +0 -9
  1919. package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +0 -9
  1920. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +0 -15
  1921. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +0 -9
  1922. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +0 -9
  1923. package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +0 -9
  1924. package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +0 -8
  1925. package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +0 -20
  1926. package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +0 -21
  1927. package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +0 -43
  1928. package/test/snapshots/svelte/08-motion/01-spring/App.snap.ast +0 -38
  1929. package/test/snapshots/svelte/09-transitions/00-transition/App.snap.ast +0 -22
  1930. package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +0 -22
  1931. package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +0 -22
  1932. package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +0 -27
  1933. package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +0 -22
  1934. package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +0 -28
  1935. package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +0 -62
  1936. package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +0 -31
  1937. package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +0 -113
  1938. package/test/snapshots/svelte/11-easing/00-easing/Grid.snap.ast +0 -31
  1939. package/test/snapshots/svelte/12-svg/01-clock/App.snap.ast +0 -47
  1940. package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +0 -65
  1941. package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +0 -71
  1942. package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +0 -22
  1943. package/test/snapshots/svelte/12-svg/04-scatterplot/Scatterplot.snap.ast +0 -59
  1944. package/test/snapshots/svelte/12-svg/05-svg-transitions/App.snap.ast +0 -44
  1945. package/test/snapshots/svelte/13-actions/00-actions/App.snap.ast +0 -8
  1946. package/test/snapshots/svelte/13-actions/01-adding-parameters-to-actions/App.snap.ast +0 -9
  1947. package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +0 -20
  1948. package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +0 -23
  1949. package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +0 -15
  1950. package/test/snapshots/svelte/15-composition/00-slots/Box.snap.ast +0 -8
  1951. package/test/snapshots/svelte/15-composition/01-slot-fallbacks/App.snap.ast +0 -18
  1952. package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +0 -13
  1953. package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +0 -24
  1954. package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +0 -38
  1955. package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +0 -71
  1956. package/test/snapshots/svelte/15-composition/03-slot-props/Hoverable.snap.ast +0 -8
  1957. package/test/snapshots/svelte/15-composition/04-modal/App.snap.ast +0 -75
  1958. package/test/snapshots/svelte/15-composition/04-modal/Modal.snap.ast +0 -26
  1959. package/test/snapshots/svelte/16-context/00-context-api/App.snap.ast +0 -18
  1960. package/test/snapshots/svelte/16-context/00-context-api/Map.snap.ast +0 -15
  1961. package/test/snapshots/svelte/16-context/00-context-api/MapMarker.snap.ast +0 -2
  1962. package/test/snapshots/svelte/17-special-elements/00-svelte-self/App.snap.ast +0 -5
  1963. package/test/snapshots/svelte/17-special-elements/00-svelte-self/File.snap.ast +0 -10
  1964. package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +0 -35
  1965. package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +0 -17
  1966. package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +0 -7
  1967. package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +0 -7
  1968. package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +0 -7
  1969. package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +0 -30
  1970. package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +0 -39
  1971. package/test/snapshots/svelte/17-special-elements/04-svelte-body/App.snap.ast +0 -12
  1972. package/test/snapshots/svelte/17-special-elements/05-svelte-head/App.snap.ast +0 -16
  1973. package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +0 -35
  1974. package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +0 -27
  1975. package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +0 -28
  1976. package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +0 -359
  1977. package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +0 -11
  1978. package/test/snapshots/svelte/20-7guis/02-7guis-temperature/App.snap.ast +0 -16
  1979. package/test/snapshots/svelte/20-7guis/03-7guis-flight-booker/App.snap.ast +0 -30
  1980. package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +0 -36
  1981. package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +0 -49
  1982. package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +0 -47
  1983. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/App.snap.ast +0 -22
  1984. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Comment.snap.ast +0 -29
  1985. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +0 -44
  1986. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +0 -28
  1987. package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +0 -28
  1988. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +0 -28
  1989. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.snap.ast +0 -20
  1990. package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/MutableTodo.snap.ast +0 -17
  1991. package/test/snapshots/svelte/22-bugs/CSS/App.snap.ast +0 -3
  1992. package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.snap.ast +0 -18
  1993. package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +0 -25
  1994. package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +0 -16
  1995. package/test/strikethrough.spec.ts +0 -114
  1996. package/test/subscript.spec.ts +0 -132
  1997. package/test/superscript.spec.ts +0 -139
  1998. package/test/svelte_blocks.spec.ts +0 -208
  1999. package/test/svelte_expressions.spec.ts +0 -175
  2000. package/test/svelte_tags.spec.ts +0 -125
  2001. package/test/tables.spec.ts +0 -663
  2002. package/test/thematic_breaks.spec.ts +0 -274
  2003. package/test/tree_builder.spec.ts +0 -342
  2004. package/test/utils.ts +0 -58
  2005. package/test/wire_emitter.spec.ts +0 -487
  2006. package/tsc/buf_utils.d.ts +0 -13
  2007. package/tsc/buf_utils.js +0 -49
  2008. package/tsc/constants.d.ts +0 -68
  2009. package/tsc/constants.js +0 -68
  2010. package/tsc/cursor.d.ts +0 -79
  2011. package/tsc/cursor.js +0 -160
  2012. package/tsc/main.d.ts +0 -472
  2013. package/tsc/main.js +0 -6351
  2014. package/tsc/node_view.d.ts +0 -116
  2015. package/tsc/node_view.js +0 -342
  2016. package/tsc/opcodes.d.ts +0 -75
  2017. package/tsc/opcodes.js +0 -1
  2018. package/tsc/plugin_dispatch.d.ts +0 -68
  2019. package/tsc/plugin_dispatch.js +0 -501
  2020. package/tsc/plugin_types.d.ts +0 -31
  2021. package/tsc/plugin_types.js +0 -1
  2022. package/tsc/tree_builder.d.ts +0 -31
  2023. package/tsc/tree_builder.js +0 -173
  2024. package/tsc/types.d.ts +0 -25
  2025. package/tsc/types.js +0 -1
  2026. package/tsc/undo_log.d.ts +0 -103
  2027. package/tsc/undo_log.js +0 -194
  2028. package/tsc/utils.d.ts +0 -242
  2029. package/tsc/utils.js +0 -792
  2030. package/tsc/utils.spec.d.ts +0 -1
  2031. package/tsc/utils.spec.js +0 -280
  2032. package/tsc/wire_emitter.d.ts +0 -66
  2033. package/tsc/wire_emitter.js +0 -385
  2034. package/tsc/wire_tree_builder.d.ts +0 -58
  2035. package/tsc/wire_tree_builder.js +0 -276
  2036. package/tsconfig.json +0 -15
  2037. package/vite.config.build.ts +0 -28
package/PLUGINS.md CHANGED
@@ -38,18 +38,71 @@ The view exposes:
38
38
 
39
39
  **Readable properties**
40
40
  - `type` — the node type (`'heading'`, `'paragraph'`, etc.)
41
- - `text_content` — flattened text of all descendants (populated as children arrive)
41
+ - `text_content` — flattened text of all descendants (populated as children arrive). It is the text a reader sees: a line end inside a paragraph is a space, and a comment inside the node adds nothing. A comment node still gives its own text
42
42
  - `parent`, `first_child`, `last_child`, `next`, `prev` — lazy traversal, each returns a view for the corresponding node or `null`
43
- - Type-specific properties surfaced directly (`depth` for headings, `lang` for code blocks, etc.)
43
+ - `position` — where the node is in the source, see [Positions](#positions)
44
+ - `pending` — `true` while the parser may still revoke the node, see [Pending nodes](#pending-nodes)
45
+ - Type-specific properties surfaced directly (`depth` for headings, `info` for code fences, etc.)
46
+ - `info` — the info string of a code fence, its language and everything after it, see [The info string of a fence](#the-info-string-of-a-fence). `lang` is the same string under its older name.
47
+ - `math` — `true` for a `code_span` written as inline math (`` $`x`$ ``), whose text is the LaTeX, `false` for any other code span and `undefined` for any other node. A `code_span` handler sees both.
48
+ - A `definition` is a link reference definition, `[label]: href "title"`. It carries `label`, `href` and `title` (only when not empty) in `node.attrs`, has no children and renders nothing. The links that use it already carry its `href` and `title`.
49
+ - A `footnote_reference` and a `footnote_definition` carry their label as `node.attrs.label`. The text of a reference is empty, and the text of a definition is that of its blocks. `footnote_index(buf)` from `@mdsvex/parse/buf-utils` numbers the footnotes of a finished tree as the compile does.
44
50
 
45
51
  **Writable properties**
46
52
  - `attrs` — a key-value bag for arbitrary attributes. Proxied so setter calls flow through to the SoA and trigger dirty marking.
47
53
  - `type` — yes, writable. Changing the type rewrites the type slot in the SoA. The renderer will read the new type when rendering. No validation — if you set heading `type` to `paragraph`, `depth` becomes meaningless but the system doesn't care.
48
54
 
49
55
  **Structural methods**
50
- - `wrapInner(type, attrs?)` — inserts a new node between this node and its current children, returns the new node's view
56
+ - `wrap_inner(type, attrs?)` — inserts a new node between this node and its current children, returns the new node's view
51
57
  - `prepend(type, attrs?)` — inserts a new node as the first child, returns the new node's view
52
58
  - `append(type, attrs?)` — inserts a new node as the last child, returns the new node's view
59
+ - `prepend('text', text)` and `append('text', text)` — the same for a text node, which takes its text in place of attrs (see [Adding text](#adding-text))
60
+ - `wrap_from(type, attrs?)` — inserts a new node as the parent of this node and of every sibling after it, returns a view of the new node with a `close()` method (see [Grouping siblings](#grouping-siblings-wrap_from))
61
+ - `remove()` — takes this node and everything in it out of the tree (see [Removing a node](#removing-a-node))
62
+
63
+ ### Positions
64
+
65
+ `node.position` is `{ start, end }`, each a point `{ offset, line, column }`:
66
+
67
+ ```js
68
+ heading: {
69
+ parse(node, ctx) {
70
+ return () => {
71
+ const { start, end } = node.position;
72
+ // start: { offset: 12, line: 4, column: 0 }
73
+ };
74
+ }
75
+ }
76
+ ```
77
+
78
+ - **`offset`** indexes the source the parser read, in which every newline is a `\n`. A document written with `\r\n` has other offsets on disk.
79
+ - **`line`** counts from 1 and **`column`** from 0. Both hold in the document as it was written, `\r\n` or not.
80
+ - **`end` is `undefined` while the node is open**, which is the case in its own open handler. The close callback has it.
81
+ - **`position` is `undefined` for a node a plugin made**, which has no source, **and over the wire**. The wire format carries text and no offsets, so a tree built by `WireTreeBuilder` cannot say where a node was.
82
+
83
+ The line table is built from the source the first time a position is read, so a plugin that reads none pays nothing.
84
+
85
+ ### Pending nodes
86
+
87
+ The parser opens some nodes on a guess: an emphasis before it has seen the closer, a link before its destination, an inline directive before its closing bracket, an element before its close tag, the paragraph of a list item while the list can still be tight. `node.pending` is `true` for such a node until the parser settles it.
88
+
89
+ ```js
90
+ link: {
91
+ parse(node) {
92
+ node.pending; // true, the destination may never come
93
+ return () => {
94
+ // false, this link closed, so it can be wrapped
95
+ if (!node.pending) node.wrap_from('html', { tag: 'span' }).close();
96
+ };
97
+ }
98
+ }
99
+ ```
100
+
101
+ - **`wrap_from` and `close()` throw exactly when the node whose handler or close callback is running is pending.** Read `node.pending` there to know. Every other method works on a pending node, and is undone if it is revoked.
102
+ - **In a close callback it is `false` for a node that closed for good**, which is every close but two: a delimiter with no closer, which the parser closes where its block ends and then revokes, and a pending paragraph, which a commit or a revoke settles later. Those two still read `true`.
103
+ - **It is the node you ask about.** `node.parent.pending` in the handler of an emphasis inside a tight list item is the paragraph's.
104
+ - **Not pending is not never revoked.** The parser also revokes a few nodes it opened as certain: a table cell that turns out to be a merge marker, a code span that never closes, frontmatter with no closing fence.
105
+ - **In a sequential pass nothing is pending**, and neither is a node a plugin made.
53
106
 
54
107
  ### Mutation Semantics
55
108
 
@@ -67,7 +120,107 @@ parse(node, ctx) {
67
120
 
68
121
  The parent is a view over the same backing store. Writing `attrs.class` on it updates the heading's attrs slot directly. The dirty marking machinery handles re-rendering automatically.
69
122
 
70
- Structural mutations (`wrap_inner`, `prepend`, `append`) can also be called on any node reached via traversal, not just the handler's own node. The builder handles the consequences — updating SoA pointers, emitting synthetic opcodes where appropriate, marking the affected subtree dirty.
123
+ Structural mutations (`wrap_inner`, `prepend`, `append`, `wrap_from`) can also be called on any node reached via traversal, not just the handler's own node. The builder handles the consequences — updating SoA pointers, emitting synthetic opcodes where appropriate, marking the affected subtree dirty.
124
+
125
+ A node made by a structural method is flagged as synthetic in the buffer (`NodeBuffer.synthetic_at(index)`, `Cursor.synthetic`). The renderer reads the flag to tell an element a plugin made from one the author typed, and a revoke repair reads it to find the parent the parser made.
126
+
127
+ When the new node is a directive, its `args` must be an object of strings, which is how the parser sets them and how they reach a component as props. A value of any other type throws a `TypeError` where it is set, in the `attrs` passed to a structural method or in a later `node.attrs.args = ...`.
128
+
129
+ ### Adding text
130
+
131
+ A text node takes its text as the second argument of `prepend` or `append`:
132
+
133
+ ```js
134
+ link: {
135
+ parse(node) {
136
+ return () => {
137
+ // read out after the link text, and shown to nobody
138
+ const label = node.append('html', { tag: 'span', attributes: { class: 'visually-hidden' } });
139
+ label.append('text', ' (opens in a new tab)');
140
+ };
141
+ }
142
+ }
143
+ ```
144
+
145
+ - **The text is text, not markup.** A renderer escapes it like any other, so `<`, `&` and a `{` come out as characters.
146
+ - **It needs the text.** `append('text')` throws a `TypeError`, and so does a string given to a node of any other type, whose second argument is its attrs.
147
+ - **It keeps to itself.** Text the parser sends for the same parent afterwards is a node of its own on both builders, so `prepend('text', 'Step 1: ')` in a heading's open handler leaves two text nodes, the plugin's and the heading's.
148
+ - **`text_content` reads it**, on the node and on everything that holds it.
149
+ - **It is revoked like any node a handler made.** When the node whose handler added it is revoked, the text goes.
150
+
151
+ No node handler runs for a text node, the parser's or a plugin's. Text has a handler of its own shape, see [Text Handlers](#text-handlers).
152
+
153
+ ### Removing a node
154
+
155
+ `node.remove()` takes a node out of the tree with everything it holds:
156
+
157
+ ```js
158
+ // comments do not reach the page
159
+ html_comment: {
160
+ parse(node) {
161
+ return () => node.remove();
162
+ }
163
+ }
164
+ ```
165
+
166
+ Nothing undoes a removal, so it is only allowed where no revoke can ask for the node back. Anywhere else it throws.
167
+
168
+ - **From a close callback, once the node it runs for closed for good.** That is every close callback where `node.pending` is `false`. In the callback of a delimiter the parser gave up on, or of a pending paragraph, `remove()` throws, since a revoke may follow. Guard with `if (!node.pending)` where the node can be either.
169
+ - **Or from a sequential pass,** in a handler or a close callback. The tree is complete there.
170
+ - **Never from an open handler of the fused pass.** The parser has more to send for the node.
171
+ - **The node itself, or a node inside it.** A handler removes the node it runs for or one of its descendants: a container its label, a list one of its items. A node outside it, such as an earlier sibling, may already be rendered, and removing it throws. The root is never removed.
172
+ - **A node that is already out stays out.** A second `remove()` does nothing.
173
+
174
+ What follows from it:
175
+
176
+ - **The view still reads.** Its `parent`, `next` and `prev` are `null`, and its own content is as it was.
177
+ - **A removed wrapper takes no more children.** The later children of its parent go to the parent.
178
+ - **Its handlers have run.** A removal in a close callback comes after every handler inside the node. In a sequential pass, a node removed in its own handler is not walked: no handler runs for what it held, and the close callback it returned does not run.
179
+ - **The parser can still revoke it.** A delimiter that never closes is revoked after its paragraph closed, by which time the paragraph's callback may have removed it. Such a revoke undoes what the node's handlers did and repairs nothing, and the node stays out.
180
+ - **A heading removed in its own close callback gets no id,** see [Heading ids](#heading-ids). One removed later has already taken its id.
181
+
182
+ ### Grouping siblings: `wrap_from`
183
+
184
+ `wrap_inner`, `prepend` and `append` add nodes inside a node. `wrap_from` groups a node with the siblings that follow it:
185
+
186
+ ```js
187
+ const wrapper = node.wrap_from('html', { tag: 'section' });
188
+ // ...
189
+ wrapper.close();
190
+ ```
191
+
192
+ - **What it does.** The wrapper takes the node's place under its parent and the node becomes its first child. Every later child of that parent goes into the wrapper, until `close()` is called or the parent closes.
193
+ - **`close()`.** No later sibling joins the wrapper. A child that is still open keeps the wrapper open until that child closes, so `node.wrap_from(type).close()` in the node's open handler wraps that node alone. Closing a closed wrapper does nothing. `close()` removes only this wrapper's hold on later siblings: a wrapper around it, or a `wrap_inner` wrapper of the parent, keeps taking them.
194
+ - **The node must be the last child of its parent.** A later sibling may already have been rendered, and nothing moves a node that has gone downstream, so `wrap_from` throws for a node that has one. In an open handler the node in hand always qualifies. An earlier sibling does not, and neither does an open wrapper: the node in hand sits after it until its handlers return.
195
+ - **Nesting.** A wrapper opened while another is open goes inside it. Closing the outer one closes the inner ones. To get siblings, close the open wrapper first.
196
+ - **With `wrap_inner`.** A `wrap_inner` wrapper of the parent holds the `wrap_from` wrappers like any other child, whichever came first.
197
+ - **Not from the handler of a pending node.** `wrap_from` and `close()` throw when the node whose handler or close callback is running is pending (an emphasis before its closer, a tight list paragraph, an unclosed html element). Undoing them moves nodes, and pending nodes are revoked often. Headings and block directives are never pending. `node.pending` says which it is, see [Pending nodes](#pending-nodes).
198
+ - **In a sequential pass** the tree is complete, so the wrapper holds that node alone and is closed at once.
199
+ - **Spans.** The wrapper starts where the node it wrapped starts. It has no source of its own, so it ends there too once it is closed. The renderers cache a top level block once it has an end, so a closed wrapper at the root is not rendered again.
200
+
201
+ The steps shape, each heading directly inside `:::steps` starting a `step` with the heading as its label:
202
+
203
+ ```js
204
+ const steps = {
205
+ heading: {
206
+ parse(node, ctx) {
207
+ const parent = node.parent;
208
+ if (parent?.type !== 'directive_container' || parent.attrs.name !== 'steps') return;
209
+ // one open step per steps directive, by its buffer index
210
+ const open = (ctx.steps ??= new Map());
211
+ open.get(parent._index)?.close();
212
+ open.set(parent._index, node.wrap_from('directive_container', { name: 'step' }));
213
+ node.wrap_from('directive_label').close();
214
+ }
215
+ }
216
+ };
217
+ ```
218
+
219
+ Content before the first heading stays a direct child of `steps`, the last step closes with it, and a heading inside a nested blockquote is left alone because its parent is the blockquote.
220
+
221
+ The same plugin is shorter as a handler bound to the directive, see [Handlers Bound to a Directive](#handlers-bound-to-a-directive).
222
+
223
+ **Keep the open wrapper on `ctx`.** A plugin object serves every document a compiler session parses, and a view only lives for the document it was made in. A wrapper kept in a closure is still there when the next document starts, and calling `close()` on it throws like any stale view. `ctx` is a new object for each document, so what is kept there starts empty. See [The Context](#the-context).
71
224
 
72
225
  ### Node View Identity
73
226
 
@@ -75,6 +228,309 @@ Views are cached by node ID within a single dispatch. If two handlers both read
75
228
 
76
229
  The cache is short-lived — it exists for the duration of plugin dispatch on a single node and is discarded afterward. Views are cheap to create, so this isn't an optimization concern, it's a correctness requirement.
77
230
 
231
+ A view belongs to the document it was made for. A close callback can hold the views its open handler made, as the examples below do. Once the builder is reset for another document (`TreeBuilder.reset()`, `WireTreeBuilder.reset()`, or the next compile of a `CompilerSession`) every earlier view throws on use, because the buffer it points into now holds other nodes. Copy what you need out of a view (`text_content`, attrs) rather than keeping the view. The `ctx` object is new for each document too.
232
+
233
+ ## The Context
234
+
235
+ The second argument of every handler is its context. Each plugin gets its own for each document. What a plugin keeps between its handlers goes in [`ctx.scratch`](#ctxscratch).
236
+
237
+ ```js
238
+ const toc = {
239
+ name: 'toc',
240
+ // the tree is complete in a sequential pass, see below
241
+ sequential: true,
242
+ heading: {
243
+ parse(node, ctx) {
244
+ const headings = ctx.data.headings ?? [];
245
+ const last = headings[headings.length - 1];
246
+ if (last && node.depth > last.depth + 1) {
247
+ ctx.warn('skipped_level', `h${node.depth} follows h${last.depth}`, node);
248
+ }
249
+ ctx.add('headings', { depth: node.depth, text: node.text_content, id: node.attrs.id });
250
+ }
251
+ }
252
+ };
253
+ ```
254
+
255
+ | member | what it is |
256
+ |---|---|
257
+ | `ctx.filename` | the path of the document, `undefined` when whoever runs the parse gave none |
258
+ | `ctx.frontmatter` | the parsed frontmatter, `undefined` for a document without any |
259
+ | `ctx.warn(code, message, node?)` | reports a problem, at the node when one is given |
260
+ | `ctx.set(key, value)` | one value under a key of what the plugin hands back from the parse |
261
+ | `ctx.add(key, value)` | one entry of a list under a key, in document order |
262
+ | `ctx.data` | what the plugin has written so far, read-only |
263
+ | `ctx.scratch` | what the plugin keeps for itself through the document, never published |
264
+ | `ctx.defer(node, task)` | async work for the node, see [Deferred tasks](#deferred-tasks) |
265
+ | `ctx.depend(path)` | names a file the output depends on, see [Loading](#loading-and-dependencies) |
266
+ | `ctx.read(path)`, `ctx.resolve(specifier)` | read and resolve with what the host passes |
267
+ | `ctx.cached(key, load)` | a load shared by the documents of a compiler |
268
+ | `ctx.id(base)` | an id no element of the document has, see [Ids](#ids) |
269
+
270
+ A handler bound to a directive gets the same members beside `directive`, `index` and `state`.
271
+
272
+ ### `ctx.filename` and `ctx.frontmatter`
273
+
274
+ The parser knows neither. Whoever runs the parse tells the dispatcher, see [For whoever runs the parse](#for-whoever-runs-the-parse). `mdsvex` passes its `filename` option, which in the Vite plugin is the id of the document without its query, and parses the frontmatter with its `frontmatter.parse` option. `parse_markdown_svelte` takes them as its `filename` and `frontmatter` options, and gives `undefined` for one it was not given.
275
+
276
+ - **The frontmatter is read when a handler first asks.** A plugin that never reads it costs a document nothing, and the parser of the `frontmatter.parse` option still runs once for a document however many handlers read it.
277
+ - **It is available to every handler but one.** Frontmatter is only ever the first node of a document, and the parser closes it before it opens anything else, however the source is fed. The one handler that runs earlier is the open handler of the `frontmatter` node itself, which gets `undefined`. Its close callback has it.
278
+ - **Do not write to it.** In `mdsvex` it is the object the compile returns and exports as `metadata`.
279
+ - **Frontmatter that does not parse throws** from the handler that reads it, with the error the compile would have thrown after the parse.
280
+
281
+ ### `ctx.warn`
282
+
283
+ `ctx.warn(code, message, node?)` records a warning with the name of the plugin. `code` is a short stable string that a caller can filter on, and both it and `message` must be strings.
284
+
285
+ - **With a node, the warning carries its offsets** (`start` and `end`), on a tree built from the source. Over the wire, and for a node a plugin made, it has none. See [Positions](#positions).
286
+ - **A warning belongs to the node whose handler reported it,** whichever node it points at. If that node is revoked the warning is dropped, like the attrs the handler wrote. A link with no destination, an emphasis that never closes and the paragraphs of a tight list all go this way, so a handler can warn as soon as it sees a problem.
287
+ - **A warning from a sequential pass, or from the close callback of a node that is final, stays.**
288
+
289
+ In `mdsvex` these join the `warnings` of the compile, with `plugin` set to the name of the plugin and `start` as a line and a column. The Vite plugin reports them like any other warning.
290
+
291
+ ### `ctx.set`, `ctx.add` and `ctx.data`
292
+
293
+ A plugin hands something back from a parse by writing it: a table of contents, a reading time, an excerpt.
294
+
295
+ ```js
296
+ heading: {
297
+ parse(node, ctx) {
298
+ return () => {
299
+ ctx.add('headings', { depth: node.depth, text: node.text_content });
300
+ ctx.set('last', node.text_content);
301
+ };
302
+ }
303
+ }
304
+ ```
305
+
306
+ - **`ctx.set(key, value)`** keeps one value under a key. **`ctx.add(key, value)`** adds one entry to a list under a key. A key holds one or the other: a `set` to a key that holds a list throws a `TypeError`, and so does an `add` to one that holds a value.
307
+ - **One store per plugin name, per document.** Two plugins cannot overwrite each other. Plugins that share a name share it, which is how the `parse` plugin and the bound handlers of one `mdsvex` plugin write to the same place. A plugin needs a `name` to write or read, without one these throw.
308
+ - **Keys are flat strings.** Structure lives in values. A plugin that wants a map writes keys with a prefix (`entry:smith2020`) or keeps a list.
309
+
310
+ #### Every write has an owner
311
+
312
+ A write belongs to the node whose handler or close callback made it, whichever node it is about. A write from a sequential pass belongs to no node.
313
+
314
+ - **A revoke takes back exactly the owner's writes.** When the parser revokes a node, every `set` and `add` it owned goes and each key holds what it would have held without them. A link with no destination, an emphasis that never closes and the paragraphs of a tight list all go this way, so a handler can write as soon as it knows something.
315
+ - **`add` keeps entries in document order.** An entry sorts by its owner's place in the source, not by when it was written. The close callback of a heading runs after those of the links inside it and still comes first, and a batch parse, a parse fed in pieces and a tree built over the wire give the same list. One owner's entries keep the order it added them. Entries with no owner come after the rest, in the order they were added.
316
+ - **`set` resolves conflicts by document order too.** Of two owners that set one key, the value of the later one in the source stays. One owner that sets a key twice leaves its last value. A `set` with no owner comes after every owner, and of two such the last one stays. So the result does not depend on the order handlers ran in.
317
+ - **Nothing else is undone.** What a plugin keeps in [`ctx.scratch`](#ctxscratch), or in a variable, is not owned and a revoke leaves it as it was.
318
+
319
+ #### Values are json
320
+
321
+ - **A value is checked when it is written.** A value JSON cannot hold throws a `PluginDataError` from the write: a function, `undefined` (in an array or as the value), a `NaN` or an infinity, a bigint, a symbol, an object with a prototype such as a `Date` or a `Map`, a symbol key, or an object that holds itself. The error carries `plugin`, `key`, `path` (where the value is under the key, `headings[2].id`) and `position`, where the owner is in the source, `undefined` over the wire and for a write with no owner. Keep to plain objects, arrays, strings, finite numbers, booleans and `null`. A key of an object that holds `undefined` is left out, as JSON does.
322
+ - **It is copied and frozen.** A change to the object after the write changes nothing, and the copy cannot be changed.
323
+
324
+ #### Reading
325
+
326
+ `ctx.data` is the plugin's data as it stands, read-only. A plugin reads it to decide things, whether an id has been used, say, or what the last heading was.
327
+
328
+ - **Assigning to it throws** a `TypeError` that names `ctx.set`, and so do deleting a key and assigning `ctx.data` itself. What it holds is frozen.
329
+ - **A list reads in document order,** with the entries that are live now. An entry of a pending node is there until the node is revoked.
330
+ - **It spreads and stringifies** as a plain object.
331
+
332
+ #### What a parse gives back
333
+
334
+ `dispatcher.data()` gives an object per plugin name, its `add` keys arrays in document order and its `set` keys their values. A plugin that left nothing has no key, and a parse where no plugin left anything gives `undefined`.
335
+
336
+ In `mdsvex` the objects come back as `data` on the result of a compile, keyed by plugin name: `compile(source, { plugins: [toc()] }).data.toc.headings`. The compiled document exports the same object as `plugin_data`, its template takes it as a prop of that name, and a `?data` import gives it without a render.
337
+
338
+ #### Following changes
339
+
340
+ The dispatcher calls a listener for each change to the data of any plugin: a write, or a revoke that took one back.
341
+
342
+ ```js
343
+ const stop = dispatcher.on_data(({ plugin, key, value }) => {
344
+ // value is what the key holds after the change, undefined once it holds nothing
345
+ });
346
+ ```
347
+
348
+ - **The event carries the value after the change,** not a diff. A list event carries the whole list, frozen and in document order. So a consumer that missed events only needs the latest one per key.
349
+ - **A streaming view** follows these so a component that reads the data renders again as it changes. A compile ignores them and reads `data()` at the end.
350
+ - **A listener stays from one document to the next.** The function `on_data` returns stops it.
351
+
352
+ ### Ids
353
+
354
+ A plugin that gives a node an id asks for one, so it never takes an id a heading, a footnote or another plugin has:
355
+
356
+ ```js
357
+ link: {
358
+ parse(node, ctx) {
359
+ return () => {
360
+ node.attrs.id = ctx.id(node.text_content); // 'install', then 'install-1'
361
+ };
362
+ }
363
+ }
364
+ ```
365
+
366
+ - **A free id from the base.** The base itself, or the next repeat of it that is free, `-1`, `-2`, as heading ids are numbered. Ids are given in the order handlers ask, which is document order for the fused pass, and the sequential passes and document hooks come after it.
367
+ - **One set of ids for the document.** With a `HeadingIds` on the builder, `heading_ids` in `mdsvex`, the headings, the element headings with an id, the footnotes and every plugin share it, see [Heading ids](#heading-ids). Without one, a dispatcher keeps a set of its own for the ids plugins ask for.
368
+ - **Owned like a write.** The id belongs to the node whose handler asked, and a revoke of that node frees it.
369
+ - **`ctx.id(id, { fixed: true })`** is for an id the author wrote, such as `{#install}` in a heading a plugin reads. It is kept as it is, and one a node before it was given is a `HeadingIdError`. An id set straight on a heading with `node.attrs.id` counts as fixed too.
370
+ - **Only in a handler,** a close callback, a sequential pass or a document hook. A deferred task has none, ask in the handler that defers.
371
+
372
+ ### `ctx.scratch`
373
+
374
+ What a plugin keeps for itself through one document: the lists it has seen, a counter, the node it will fill in at the end. Nothing in it is published.
375
+
376
+ ```js
377
+ const plugin = {
378
+ name: 'refs',
379
+ parse: {
380
+ document(root, ctx) {
381
+ // no walk to find the lists, the handler kept them
382
+ for (const list of ctx.scratch.lists ?? []) list.attrs.count = String(ctx.data.cited?.length ?? 0);
383
+ },
384
+ },
385
+ directives: {
386
+ references: {
387
+ parse(node, ctx) {
388
+ const lists = (ctx.scratch.lists ??= []);
389
+ if (lists.length > 0) ctx.warn('more_than_one', 'one list is enough', node);
390
+ lists.push(node);
391
+ },
392
+ },
393
+ },
394
+ };
395
+ ```
396
+
397
+ - **One object per plugin name, per document.** Every handler, close callback, sequential pass, handler bound to a directive, deferred task and document hook of the plugin gets the same one. Plugins that share a name share it, so the `parse` plugin and the `directives` of one `mdsvex` plugin meet there. Reading it throws for a plugin with no `name`.
398
+ - **Anything goes in it,** nodes, maps, functions. It is never checked as JSON, never part of `data()`, the compile result or a data event.
399
+ - **It is made empty for each document** and dropped when the dispatcher takes the next one. A node kept in it stays a valid view until then, so the document hook can read the nodes the handlers kept.
400
+ - **A revoke does not touch it.** What a handler of a revoked node put there stays. So keep there only what a revoke cannot make wrong: facts about, and nodes of, the kinds the parser never revokes (a block directive, a heading at its close), and anything from a sequential pass or the hook. A node that may be revoked does not belong there: once revoked it is out of the tree, and its view does not say so the same way for every construct. A value that must follow revocation goes through `ctx.set` and `ctx.add`.
401
+ - **A deferred task writes to it at once,** not with the task's other changes, and the write stays if its node is revoked and those changes are dropped.
402
+ - **It is not `ctx.state`.** The state of a [bound handler](#the-context-1) is one object per directive in the document and its writes are undone with their node. The scratch is one per plugin for the whole document and is never undone.
403
+
404
+ A key put on `ctx` itself is not part of the context: TypeScript rejects one, and a bound handler's context is new for each call, so what it was given is gone after the call.
405
+
406
+ ### Deferred tasks
407
+
408
+ A handler cannot wait: the parser does not pause for it, and neither does a stream. `ctx.defer(node, task)` starts async work for a node and lets the parse carry on:
409
+
410
+ ```js
411
+ directive_inline: {
412
+ parse(node, ctx) {
413
+ if (node.attrs.name !== 'cite') return;
414
+ return () =>
415
+ ctx.defer(node, async (node, ctx) => {
416
+ const entry = await lookup(node.text_content);
417
+ node.attrs.label = entry.short;
418
+ ctx.set(`entry:${entry.key}`, entry);
419
+ });
420
+ }
421
+ }
422
+ ```
423
+
424
+ - **The node is the one whose handler or close callback runs.** Any other node is a `TypeError`, and so is a task that is not a function.
425
+ - **It starts at once,** in the handler, and the parse goes on while it runs.
426
+ - **The task gets a node and a context of its own** and changes the document through them. They read as the handler's do. The handler's `node` and `ctx` belong to the handler: a write through them once the handler returned is a `TypeError` that says so. Naming the parameters `node` and `ctx`, as above, shadows the handler's.
427
+ - **Its changes are kept and applied later,** once the task has settled and its node is committed. A read inside the task sees the tree as it is with the task's own attrs on top. `ctx.data` reads the data as it stands, without what the task wrote.
428
+ - **A revoked node takes its tasks with it.** What they did is dropped and nothing is reported, errors included. A task on a node that is never pending, or one deferred from a close callback of a node that closed for good or from a sequential pass, is committed at once.
429
+ - **What a task may change:** its node and what is inside it (attrs, `type`, `append`, `prepend`, `wrap_inner`, and `remove` of what is inside), data owned by its node through `ctx.set` and `ctx.add`, and `ctx.warn` about its node or a node reached from it. A node it adds can take attrs and nodes of its own. Anything else throws a `TypeError` in the task: another node, `wrap_from`, removing its own node, or `ctx.defer` again. That is what keeps the final tree independent of the order tasks finish in.
430
+ - **Applied in document order.** A host applies tasks sorted by where their nodes are in the source, and tasks of one node in the order they started. Data is owned by the node, so it sorts as any write does.
431
+ - **A value JSON cannot hold** throws a `PluginDataError` in the task, at the write.
432
+ - **Sharing work** between tasks and documents, such as loading a bibliography once, goes through [`ctx.cached`](#shared-loads).
433
+ - **What it adds is the host's to see.** A host that looks through the tree for what a document needs looks again once the tasks applied. In `mdsvex`, `CompilerSession.settle` makes `Parsed.needs` again, so an image whose `src` a task set is imported and a fence it adds with `src=` shows its file, in `compile_async` and the Vite plugin alike. The same holds for an async document hook.
434
+ - **The task's context** has `filename`, `frontmatter`, `data`, `scratch`, `set`, `add`, `warn`, `depend`, `read`, `resolve` and `cached`.
435
+
436
+ A parse that cannot wait for async work throws a `PluginAsyncError` at the first `ctx.defer`. In `mdsvex` that is `compile()`, which points to `compile_async()`.
437
+
438
+ ### The document hook
439
+
440
+ Work that needs the whole document, a check across every heading or numbering that depends on what comes later, goes in a `document` hook:
441
+
442
+ ```js
443
+ const outline = {
444
+ name: 'outline',
445
+ document(root, ctx) {
446
+ for (let child = root.first_child; child !== null; child = child.next) {
447
+ if (child.type === 'heading') ctx.add('depths', child.depth);
448
+ }
449
+ }
450
+ };
451
+ ```
452
+
453
+ - **It runs once,** after the parse, after the sequential passes and after every deferred task has applied. Hooks run in plugin order, each awaited before the next.
454
+ - **It gets the root** and walks the tree itself. It may change any node, as a sequential pass may, and nothing in the tree is pending.
455
+ - **Its writes belong to no node** and are never revoked. While a hook that returned a promise waits, its writes are still its own.
456
+ - **It may be async.** One that returns a promise needs a host that waits, `compile_async()` in `mdsvex`. Under a parse that cannot wait it throws a `PluginAsyncError`. One that returns nothing runs under `compile()` too.
457
+ - **It defers nothing.** `ctx.defer` in a hook throws a `TypeError`, every task has run by then.
458
+ - **On a streaming client** it runs when the host finishes the document, after the stream ended. A plugin that wants to show something sooner does that part per node.
459
+
460
+ ### Loading and dependencies
461
+
462
+ Plugins load what they need themselves, with `fetch`, `node:fs` or anything else. The core does not wrap the file system. What it does is keep track:
463
+
464
+ - **`ctx.depend(path)`** names a file the output depends on, from any handler, task or hook. A path that does not exist yet counts too. It takes an absolute path and throws a `TypeError` for any other. `dispatcher.dependencies()` gives them, each once, `undefined` for none, and in `mdsvex` a compile result has them as `dependencies`. A host that watches files compiles the document again when one changes.
465
+ - **`ctx.read(path)`** reads a file with the `read` the host passed in the document (`set_document({ read })`, the `read` option of `mdsvex`) and makes the path a dependency. It returns a promise, so it is for a task or a hook. Without a reader it throws a `TypeError`. `mdsvex/compile` has no reader of its own, which keeps it free of Node, the Vite plugin passes one.
466
+ - **`ctx.resolve(specifier)`** resolves a specifier from the document with the `resolve` the host passed, `null` when nothing matches.
467
+
468
+ #### Shared loads
469
+
470
+ Many documents often need the same thing: one bibliography, one endpoint. A variable in the plugin's module goes stale in a dev server, since only the host knows the file changed, and two documents that compile at once both load it. `ctx.cached` does neither:
471
+
472
+ ```js
473
+ const bib = await ctx.cached(path, (path) => ctx.read(path).then(parse_bib));
474
+ ```
475
+
476
+ - **Shared across documents.** The cache is the host's (`set_document({ cache })` with a `PluginCache`), by plugin name, and lives as long as the host keeps it: in `mdsvex` a `CompilerSession`, for the Vite plugin the dev server, for `compile_async` the plugins array passed to it.
477
+ - **It holds the promise,** so documents that ask at once share one load. A load that rejects is not kept and the next document tries again.
478
+ - **A key that is an absolute path is a dependency** of each document that asks, whether the value came from the cache or not.
479
+ - **The host drops path keys.** `PluginCache.invalidate(paths)`, `CompilerSession.invalidate(paths)` in `mdsvex`, drops every entry keyed by one of them, before the documents that depend on them compile again. Other keys, a url say, are never dropped. A plugin that wants them to expire does that itself.
480
+ - **It needs a plugin name.** Without a cache from the host each dispatcher keeps one of its own.
481
+
482
+ ### For whoever runs the parse
483
+
484
+ `mdsvex` does this for its own compiles. A caller with a builder of its own talks to the dispatcher:
485
+
486
+ ```js
487
+ const dispatcher = new PluginDispatcher(plugins, text_source, directive_handlers);
488
+ dispatcher.set_document({
489
+ filename: '/docs/intro.svx',
490
+ // called when a handler reads ctx.frontmatter, so cache what is costly
491
+ frontmatter: () => metadata,
492
+ });
493
+ // ... parse, then run_sequential ...
494
+ dispatcher.warnings; // [{ plugin, code, message, start, end }] or undefined
495
+ dispatcher.data(); // { [plugin name]: object } or undefined
496
+ ```
497
+
498
+ - **`set_document` is forgotten at a reset.** Call it for each document, after `TreeBuilder.reset()` or `WireTreeBuilder.reset()`.
499
+ - **`warnings` and `data()` are for the document just parsed** and start empty at the next reset. Read them after `run_sequential`. `data()` makes a new object for each plugin name at each call, and the values in it are frozen.
500
+ - **`on_data(listener)`** follows each change to the data while the document is parsed, see [Following changes](#following-changes).
501
+
502
+ What plugins defer is the host's to wait for:
503
+
504
+ ```js
505
+ dispatcher.allow_async = true; // false makes ctx.defer throw a PluginAsyncError
506
+ // ... parse, then run_sequential ...
507
+ const finished = dispatcher.finish(nodes); // undefined when everything ran at once
508
+ if (finished) await finished;
509
+ dispatcher.data(); // what the tasks and hooks wrote is in here now
510
+ ```
511
+
512
+ - **`finish(nodes)`** settles the deferred tasks, then runs the document hooks in plugin order. It returns `undefined` when nothing had to wait, so a document without async work stays synchronous. Call it once, after `run_sequential`.
513
+
514
+ - **`settle()`** is the first half of `finish`. It waits for every task of the document, then applies those whose node is committed, in document order. A task that rejected rejects it with a `PluginTaskError` that names the plugin and the position of the node, with the task's error as `cause`, and then nothing applies. Call it after the parse and the sequential passes. `deferred` is `true` while a task has not applied.
515
+ - **`apply_ready()`** is for a host that streams. It applies each task that has settled and whose node is committed, in document order, and returns the nodes whose tasks applied, `null` for none. A task that rejected becomes a `task_failed` warning and leaves its node as it was. `on_settled(listener)` calls the listener each time a task settles, so the host knows when to call it.
516
+ - **A reset drops the tasks of the document.** They run on and nothing they do is applied.
517
+ - **A wire consumer has no frontmatter in its tree.** The wire sends a frontmatter node with no text, so `frontmatter` is whatever the consumer was sent beside the stream.
518
+ - **A plugin's name** is its `name` key. A table of bound handlers gets one as `{ name, directives }` in place of the bare table.
519
+
520
+ `parse_markdown_svelte` does the same for a parse in one call:
521
+
522
+ ```js
523
+ const { nodes, warnings, data } = parse_markdown_svelte(source, {
524
+ plugins,
525
+ filename: '/docs/intro.svx',
526
+ // called once with the text between the fences, when a handler first reads ctx.frontmatter
527
+ frontmatter: (text) => yaml.parse(text),
528
+ });
529
+ ```
530
+
531
+ - **`frontmatter` is the parser of the frontmatter,** not its value. The parser does not read YAML, so without the option `ctx.frontmatter` is `undefined`.
532
+ - **`warnings` and `data` are `undefined`** when no handler left any, and always without plugins.
533
+
78
534
  ## Handler Lifecycle
79
535
 
80
536
  ### Open-Time Execution
@@ -88,6 +544,77 @@ The `parse` function fires when the builder encounters a node's open opcode. At
88
544
 
89
545
  This is the window for structural mutations. `wrap_inner` works because the children haven't been emitted downstream yet — the builder can inject the synthetic node's open opcode immediately, and subsequent children stream through it naturally.
90
546
 
547
+ **A directive has its name by then.** The parser sends the name of a directive straight after its open, ahead of its label and its content, so the open handlers of a `directive_container`, `directive_leaf` or `directive_inline` node wait for it:
548
+
549
+ ```js
550
+ directive_container: {
551
+ parse(node) {
552
+ if (node.attrs.name === 'note') node.wrap_inner('html', { tag: 'aside' });
553
+ }
554
+ }
555
+ ```
556
+
557
+ - **A block directive has its `args` too**, as the parser sends them ahead of the name. The `(key=val)` list of an inline directive follows its closing bracket, so its open handlers see no args and its close callback sees them.
558
+ - **Nothing else changes for the node.** It has no children yet, and it is placed [as any handled node is](#where-a-node-is-placed), after its handlers ran.
559
+ - **With an emitter of your own**, a directive that is sent no name runs its open handlers without one, before the next node opens or anything closes.
560
+
561
+ ### The info string of a fence
562
+
563
+ The open handlers of a `code_fence` wait as well, for its info string, which the parser sends before any of its code. So `node.info` is whole in the open handler, and that is the place to read it:
564
+
565
+ ```js
566
+ code_fence: {
567
+ parse(node) {
568
+ node.info; // 'ts [app.ts] {1,3}', '' for a fence with none
569
+ // nothing of the code has arrived, node.text_content is ''
570
+ }
571
+ }
572
+ ```
573
+
574
+ - **It is the whole line after the fence**, the language and what follows it. The parser does not split it. In `mdsvex`, `fence_meta(node.info)` from `mdsvex/compile` reads it the way a compile does: the language, a `[name]` or `title="..."`, a caption, `src=`, and the `key=value` pairs and flags.
575
+ - **While the document streams**, the handlers run once the line of the opening fence is complete. Over the wire a fence with an empty info string is sent none, and its handlers run when its first text or its close arrives.
576
+ - **Any other node has no `info`**, it reads `undefined`.
577
+
578
+ ### The code of a fence a plugin makes
579
+
580
+ A fence keeps its code on itself, not in a text child. A fence a plugin makes has none, so the text of the nodes put in it is its code, in order, a break in them a line end:
581
+
582
+ ```js
583
+ const fence = node.append('code_fence', { info: 'ts' });
584
+ fence.append('text', 'let a = 1;\n');
585
+ fence.append('text', 'let b = 2;');
586
+ // renders as the fence typed with those two lines, fence.text_content is the code
587
+ ```
588
+
589
+ - **Any way the fence was made**, `append`, `prepend` or `wrap_inner`, from a handler, a task or a document hook. A fence that `wrap_inner` puts around a paragraph has the paragraph's text as its code.
590
+ - **Text put in a typed fence follows its code.**
591
+ - **Everywhere the code is read**: the html, a highlighter, the `code` prop of a `pre` replacement, a block that runs. A fence with `src=` has no code of its own, so text in it is an error, as code typed in it is.
592
+ - **A code span and a comment are the same.** They keep their text on themselves too, so the text a plugin puts in one is its code or its text, after any it was typed with: `node.append('code_span', { info: 'ts' }).append('text', 'let a')` renders as `` `#!ts let a` `` does.
593
+ - `buf_code(buf, index, source)` from `@mdsvex/parse/buf-utils` reads it from a buffer.
594
+
595
+ ### Where a Node Is Placed
596
+
597
+ A parent can have an open wrapper that takes its later children, from `wrap_inner` or `wrap_from`. A node whose type has a handler is placed in three steps:
598
+
599
+ 1. It is added under its **source parent**, the node it was written inside.
600
+ 2. Its handlers run.
601
+ 3. It moves to wherever a new child of its current parent goes: into the innermost open wrapper, or nowhere if a handler wrapped it.
602
+
603
+ A node whose type has no handler, and text, goes straight to the innermost open wrapper.
604
+
605
+ An open wrapper costs the rest of the document very little. The batch builder only looks up the direct children of the node that has the wrapper, so that they land inside it. A node deeper down, such as the inline content of a paragraph in a section, or anything inside a list in a step, is built as it is in a document without plugins.
606
+
607
+ So what a handler sees depends on when it looks:
608
+
609
+ | | in the open handler | in the close callback |
610
+ |---|---|---|
611
+ | `node.parent` | the source parent, whatever wrappers it has | the parent in the tree, such as the wrapper |
612
+ | `node.prev` | the last child of the source parent, which is the open wrapper if there is one | the previous sibling in the tree |
613
+
614
+ A handler that asks "is this heading directly inside `:::steps`" reads `node.parent` at open and gets the same answer for the first heading and the fifth.
615
+
616
+ This changed with `wrap_from`. Before, a child of a parent that had a `wrap_inner` wrapper saw that wrapper as `node.parent` in its open handler. It now sees the parent, and the wrapper in its close callback.
617
+
91
618
  ### Close-Time Execution
92
619
 
93
620
  Returning a function from the parse handler registers it as a close callback. It fires when the node's close opcode is processed, after all children have been added to the tree.
@@ -118,6 +645,28 @@ heading: {
118
645
 
119
646
  `link` is captured by closure. On close, the callback uses it directly — no lookup, no re-traversal.
120
647
 
648
+ **A heading is settled when it closes.** Its line has ended, so anything in it that never closed, an element such as `<head>`, an emphasis with no closer or a link with no destination, is already text when its close callbacks run.
649
+
650
+ ### Heading ids
651
+
652
+ A builder given a `HeadingIds` with `set_headings` makes the id of each heading at its close, as the `heading_ids` option of `mdsvex` does, the same on the batch builder, fed or whole, and on the wire builder:
653
+
654
+ ```js
655
+ import { HeadingIds, heading_slug } from '@mdsvex/parse';
656
+
657
+ const ids = new HeadingIds(heading_slug, is_entity_name);
658
+ ids.start(source); // the source the value ranges index, none over the wire
659
+ tree.set_headings(ids);
660
+ // ... parse ...
661
+ ids.finish(tree.get_buffer()); // WireTreeBuilder.end() does this
662
+ ```
663
+
664
+ - **When.** After the close callbacks of the heading, or earlier: the first close callback that reads `node.attrs` gets the id made then. So a plugin that changes the text of a heading in its close callback, by removing a child say, changes the id only if it comes before the first plugin that reads it. An open handler never sees an id.
665
+ - **From the ids before it.** `HeadingIds` is the one place a document's ids are given out, in document order. A made id is never one given before, a repeat gets `-1`, `-2`. An id the document fixes, set on a heading by a plugin or typed on an element heading, is kept, and one that a node before it was given is a `HeadingIdError` (code `id_taken`) naming both. `finish` gives the footnotes their ids last, and one a heading was given moves to the next free one, which `moved` lists for the renderer.
666
+ - **An id a callback sets** after reading the made one takes its place, and the made one is free again.
667
+ - **What is not the author's** is left out: text a plugin added, and what Svelte renders.
668
+ - **A heading a plugin made something else,** or removed in its own close callback, gets none.
669
+
121
670
  ### Streaming vs Batch
122
671
 
123
672
  In `WireTreeBuilder` (streaming), the gap between open and close can be arbitrarily long. Content arrives in opcode batches, the builder processes each batch, and the close callback fires whenever the close opcode arrives.
@@ -146,18 +695,20 @@ If multiple plugins return close callbacks for the same node, they all fire on c
146
695
 
147
696
  ### Structural Mutations Compose via Nesting
148
697
 
149
- If two plugins both call `wrap_inner` on the same node, the wrappers nest in registration order:
698
+ If two plugins both call `wrap_inner` on the same node, the wrappers nest, with the later plugin's wrapper on the outside:
150
699
 
151
700
  ```js
152
701
  // Plugin A: wrap_inner('link')
153
702
  // Plugin B: wrap_inner('span')
154
703
 
155
704
  // Result in SoA:
156
- // heading → link → span → [original children]
705
+ // heading → span → link → [original children]
157
706
  ```
158
707
 
159
708
  Each `wrap_inner` is its own structural operation on the current state of the tree. The second one wraps whatever the first one produced.
160
709
 
710
+ `wrap_from` composes the same way. Two plugins that both call `node.wrap_from` in a heading handler nest their wrappers around the heading, the later plugin's inside. A plugin that wraps the heading's content with `wrap_inner` and one that groups the heading with `wrap_from` do not interfere, in either order.
711
+
161
712
  ## Execution Model
162
713
 
163
714
  By default, all parse handlers are **fused** into the single pass the builder is already making. When a node opens, the builder looks up all registered handlers for that node type and calls them in order. No separate tree walks, no per-plugin traversals.
@@ -181,6 +732,231 @@ Sequential plugins run their own pass after the main fused pass completes. In st
181
732
 
182
733
  Fused is the fast path. Sequential is the escape hatch for plugins that genuinely need it — ToC generators, cross-reference resolvers, things that depend on having seen the whole document.
183
734
 
735
+ ## Text Handlers
736
+
737
+ A sequential plugin can take the text of the document, to replace part of it or to put nodes in its place:
738
+
739
+ ```js
740
+ const emoji = {
741
+ name: 'emoji',
742
+ sequential: true,
743
+ text(run, ctx) {
744
+ for (const match of run.text.matchAll(/:([a-z0-9_+-]+):/g)) {
745
+ const to = table[match[1]];
746
+ if (to === undefined) continue;
747
+ run.replace(match.index, match.index + match[0].length, 'text', to);
748
+ }
749
+ }
750
+ };
751
+ ```
752
+
753
+ The handler is a function on the plugin, not a `{ parse }` entry. It gets a run, not a node view, and returns nothing.
754
+
755
+ ### Runs
756
+
757
+ A run is the text of the text nodes that sit next to each other under one parent, joined into one string.
758
+
759
+ - **It is the same on every path.** The batch builder holds `10:30:00` as three text nodes, since the parser starts a new one at each character it stops to look at, and the wire builder holds one. Both give the handler `10:30:00`. Text a revoke left behind is part of the run it landed in: `*a :tada:` is one run that starts with the star.
760
+ - **It stays on its line.** A line end is a node, so the two lines of a paragraph are two runs.
761
+ - **It is as written.** `run.text` holds `&amp;` for a reference, as `text_content` does.
762
+ - **`run.parent`** is the view of the node that holds the run. Walk up from it to ask where the text is.
763
+ - **A run belongs to its document,** like a view. Used after it, it throws.
764
+
765
+ ### `run.replace`
766
+
767
+ ```js
768
+ run.replace(start, end, 'text', 'some text');
769
+ run.replace(start, end, type, attrs);
770
+ ```
771
+
772
+ It puts a new node in place of `run.text.slice(start, end)` and returns its view. After the range it takes what `append` takes: the text of a text node, the attrs of any other.
773
+
774
+ ```js
775
+ // #12 becomes a link
776
+ const link = run.replace(start, end, 'link', { href: '/issues/12' });
777
+ link.append('text', '#12');
778
+ ```
779
+
780
+ - **`start` and `end` index `run.text` as the handler got it,** after any number of replacements and in any order. So the offsets of a `matchAll` can be used as they come.
781
+ - **An empty range puts the node in at that point** and replaces nothing. A second node at the same point goes after the first.
782
+ - **Ranges do not overlap.** A range that takes part of one already replaced, or that holds a node put in at a point, throws a `RangeError`. So does a range outside the run. A `start` or `end` that is not a whole number throws a `TypeError`.
783
+ - **Replacement text is a plugin's text,** as with [`append('text', ...)`](#adding-text): a renderer escapes every character of it, so `{` and `&amp;` come out as typed.
784
+ - **The text around it stays the author's.** It is still read from the source, so a reference in it is a reference, smart punctuation applies to it, and it maps as it did.
785
+ - **The new node spans the source it replaced.** Its `position` is `undefined`, as for any node a plugin made, but a mapped render maps it to that range.
786
+
787
+ ### What a text handler is not given
788
+
789
+ Most of what must not be rewritten is not text in the tree: code spans, fences, math, comments, expressions, the value of an attribute, the url and title of a link or an image, and the content of `script`, `style`, `pre` and `textarea`. A handler for `code_span` or `code_fence` sees code, a text handler never does.
790
+
791
+ Four more things are held back from a text handler unless its plugin sets `all_text: true`:
792
+
793
+ ```js
794
+ const plugin = { sequential: true, all_text: true, text(run) {} };
795
+ ```
796
+
797
+ - **A character the author escaped.** It is left out of every run, so `\:tada:` gives the run `tada:`. Nothing matches across it and nothing replaces it. Over the wire the client is told which characters these are, see `T` in `WIRE_FORMAT.md`.
798
+ - **The text of a link that is its url,** as an autolink `<https://a.b>` is.
799
+ - **The alt text of an image.**
800
+ - **Text inside an element that holds code:** `code`, `kbd`, `samp`, `var` and `tt`.
801
+
802
+ ### When it runs
803
+
804
+ In the sequential pass of its plugin, when the tree is complete. Text is whole only then: an emphasis that never closes is revoked after its paragraph closed, and its text joins the text of the paragraph.
805
+
806
+ - **Only a sequential plugin has a text handler.** A `text` function on any other plugin throws a `TypeError` when the plugin is registered, and so does a `text` that is not a function, or a `text` key in a table of bound handlers.
807
+ - **Nothing is undone.** No revoke follows the pass.
808
+ - **While a document streams, text is as written.** The handler runs when the stream ends.
809
+ - **The other handlers of the plugin run in the same pass.** They are not called for a node its text handler made. A plugin later in the list sees those nodes.
810
+ - **Each plugin sees the text the ones before it left.** Text an earlier plugin wrote is part of a later one's runs, and the label of a link it made is a run of its own. A plugin that makes links from urls goes ahead of one that rewrites text, so the url is held back from the second.
811
+ - **A fused handler reads the text as written,** since it ran during the parse.
812
+
813
+ ## Handlers Bound to a Directive
814
+
815
+ A plugin above is global: its `heading` handler runs for every heading in the document, and one that only cares about headings inside `:::steps` has to check the parent itself. A handler can be bound to a directive name instead. It is then called only for nodes inside a directive of that name.
816
+
817
+ Bound handlers are registered apart from plugins, in tables keyed by directive name:
818
+
819
+ ```js
820
+ const bound = {
821
+ steps: {
822
+ children: {
823
+ heading(node, ctx) {
824
+ ctx.state.step?.close();
825
+ ctx.state.step = node.wrap_from('directive_container', { name: 'step' });
826
+ node.wrap_from('directive_label').close();
827
+ }
828
+ }
829
+ }
830
+ };
831
+
832
+ parse_markdown_svelte(source, { directive_handlers: [bound] });
833
+ // or new PluginDispatcher(plugins, text_source, [bound]) for a builder of your own
834
+ ```
835
+
836
+ This is the steps plugin from [Grouping siblings](#grouping-siblings-wrap_from) with no parent check and no map of open wrappers.
837
+
838
+ An entry can hold three keys. Any other key is ignored, so a layer above can keep its own settings beside them.
839
+
840
+ | key | what it is |
841
+ |---|---|
842
+ | `children` | handlers by node type, for nodes written directly inside a container directive of this name, and `'*'` for a child of any type |
843
+ | `descendants` | the same, for nodes at any depth inside it |
844
+ | `parse` | a handler for the directive itself |
845
+
846
+ A handler is a function, not a `{ parse }` object. Like a plugin handler it may return a function, which runs when the node closes. A key that is not a node type throws when the tables are first used, and so does `text`: text goes to the [text handler](#text-handlers) of a sequential plugin. The one key of `children` that is no node type is `'*'`, see [A child of any type](#a-child-of-any-type).
847
+
848
+ `directive_handlers` is an array of tables. When two tables have an entry for the same name the later one replaces the earlier one whole. The tables are read once per array, so pass the same array for every document and build a new one to change a handler.
849
+
850
+ A table can come with the name of the plugin it belongs to, as `{ name: 'steps', directives: bound }`. The name keys what its handlers write with `ctx.set` and `ctx.add` and is the `plugin` of their warnings. `mdsvex` passes each plugin's `directives` this way.
851
+
852
+ ### The context
853
+
854
+ A bound handler gets its own context in place of the plugin `ctx`, new for each call. It has `filename`, `frontmatter`, `warn`, `set`, `add`, `data` and `scratch` as [the plugin context](#the-context) does, and three members of its own:
855
+
856
+ - **`ctx.directive`** is the view of the directive the handler is bound to.
857
+ - **`ctx.index`** is how many times this handler has already run in this directive, 0 for the first call. `children.heading` and `descendants.heading` of one entry count apart.
858
+ - **`ctx.state`** is an empty object, new for each directive in the document. Every handler of the entry sees the same one, so the heading handler above keeps its open step there and the directive's own `parse` can read what the others left.
859
+
860
+ A nested directive of the same name is a new scope with a new `state` and its own counts.
861
+
862
+ ### Which nodes
863
+
864
+ - **`children` means written directly inside, in the source.** After the first `wrap_from` the later nodes sit inside a `step` wrapper in the tree, and they are still children of `steps`. A heading inside a nested block quote, a list or another directive is not, and is not passed to `children` handlers.
865
+ - **`descendants` handlers fire at any depth**, including inside a nested directive that has a scope of its own.
866
+ - **The label of a container is inside it.** Its `directive_label` node is a child, and what the label holds are descendants.
867
+ - **Only container directives have children.** The label of a leaf directive (`::name[label]`) or an inline one (`:name[text]`) is not passed to the `children` or `descendants` handlers of that name. Handlers of a container around them still see those nodes as descendants.
868
+
869
+ ### A child of any type
870
+
871
+ `children['*']` runs for every node written directly inside the directive, whatever its type, as it opens:
872
+
873
+ ```js
874
+ tabs: {
875
+ children: {
876
+ heading(node, ctx) {
877
+ ctx.state.tab?.close();
878
+ ctx.state.tab = node.wrap_from('directive_container', { name: 'tab' });
879
+ },
880
+ '*'(node, ctx) {
881
+ if (ctx.state.tab === undefined && node.type !== 'directive_label') {
882
+ ctx.warn('before_first_tab', 'content before the first tab is in no tab', node);
883
+ }
884
+ }
885
+ }
886
+ }
887
+ ```
888
+
889
+ - **It runs after the handler for the type of the child**, so here a heading has opened its tab by the time `'*'` sees it. The `descendants` handlers follow.
890
+ - **`ctx.index` counts its own runs**, apart from every other handler. `ctx.index === 0` is the first child, which is the `directive_label` when the container was written with one.
891
+ - **It is not called for a `line_break`**, the blank between two children, nor for text, which is never written directly inside a container.
892
+ - **It has to be asked about every node.** While its directive is the innermost one open, every node that opens inside goes through the dispatcher, where one that is no child and has no handler of its own is let through at once. A handler keyed by type costs nothing for the other types, so use `'*'` when the type is not known ahead.
893
+ - **Only `children` has it.** `descendants: { '*': ... }` throws.
894
+
895
+ A child reaches its container through a repair in one case: an element alone on its line is opened in a paragraph when the document is fed in pieces, and the paragraph is revoked when it closes. `'*'` and a `children.paragraph` handler then ran for the paragraph, which was pending, and gave their index back. The `children` handlers run for the element when the paragraph goes, so by then the element may have closed already, and a callback they return then fires at once. A handler that must not act on a paragraph that may go checks `node.pending`.
896
+
897
+ ### Order
898
+
899
+ For one node, the innermost open directive goes first: its `children` handler when the node is a child, then its `'*'` handler, then its `descendants` handler, then the `descendants` handlers of each directive further out. Global plugins run after all of them, so a global `heading` handler sees the wrapper a bound handler made. Close callbacks fire in the same order.
900
+
901
+ A handler for a directive kind reads the name of the directive it is given, so one container can tell its child directives apart:
902
+
903
+ ```js
904
+ tabs: {
905
+ children: {
906
+ directive_container(node, ctx) {
907
+ // a written out :::tab ends the tab a heading opened
908
+ if (node.attrs.name === 'tab') ctx.state.tab?.close();
909
+ }
910
+ }
911
+ }
912
+ ```
913
+
914
+ ### The directive's own `parse`
915
+
916
+ `parse(directive, ctx)` runs once for each directive of the name, of any of the three forms, and the function it returns runs when the directive closes. `ctx.index` is 0 and `ctx.directive` is the node itself.
917
+
918
+ ```js
919
+ tabs: {
920
+ parse(tabs, ctx) {
921
+ const sync = tabs.attrs.args?.sync;
922
+ return () => {
923
+ tabs.attrs.args = { ...tabs.attrs.args, count: String(ctx.state.count ?? 0) };
924
+ };
925
+ },
926
+ children: {
927
+ heading(node, ctx) {
928
+ ctx.state.count = ctx.index + 1;
929
+ }
930
+ }
931
+ }
932
+ ```
933
+
934
+ - **It runs when the name is known**, straight after the open handlers of the directive, which [wait for the name](#open-time-execution) as well. So the handlers of the directives around it and the global ones go first, and `parse` sees what they did. Its close callback runs ahead of the callbacks they left.
935
+ - **A block directive has its args by then.** The parser emits `args` and then `name`, and the scope starts at the name.
936
+ - **An inline directive does not.** Its `(key=val)` list follows the closing bracket, so `parse` sees no args and its close callback sees them.
937
+ - **`node.parent` is the parent in the tree**, such as an open wrapper, since the node was placed before its name arrived.
938
+ - **An inline directive is pending** until its bracket closes. If it never does, what `parse` wrote is undone and its close callback never runs.
939
+
940
+ ### Revocation
941
+
942
+ What a bound handler does is logged against the node it ran for, like any plugin mutation, its warnings and its writes with `ctx.set` and `ctx.add` included, and two more things are undone when that node is revoked:
943
+
944
+ - **A write to `ctx.state`** is taken back. The log is shallow, as it is for `attrs`: assign a new value to change one, and don't mutate an object held in the state. Revokes do not arrive in the reverse order of the writes (a tight list revokes its paragraphs first to last), so each key keeps what its last surviving write put there.
945
+ - **The `index` it used** is given back, so the count goes down by one. The handlers that ran since keep the index they were given.
946
+
947
+ This helps while the directive is still open. A link with no destination, a delimiter cut off by a table cell, a code span that never closes and the paragraphs of a tight list are all revoked before their container closes, and so is an emphasis delimiter that never closes, when its paragraph ends. An html tag that never closes is different: inside a container directive the parser revokes it only after the outermost container around it has closed. The state is still rolled back, but the directive's close callback has already read it, so a count kept in the state can include such a node.
948
+
949
+ ### Scopes and cost
950
+
951
+ A container with `children` or `descendants` handlers opens a scope when its name arrives and ends it when the container closes, at the end of input if it was never closed, or on a revoke.
952
+
953
+ - With no scope open, dispatch costs what it does without bound handlers.
954
+ - While a scope is open, the builders send the dispatcher the kinds the open scopes have handlers for, on top of the kinds global plugins handle. Other kinds keep the builder's fast path, except for the direct children of a node with an open wrapper.
955
+ - While the innermost scope has a `'*'` handler, every kind but `text` and `line_break` is sent, and the dispatcher lets a node that is not its child through at once.
956
+ - A scope ends when its directive closes, so that close goes through the dispatcher. The closes of the nodes inside it do not, unless a handler left something on them. The wire builder asks the dispatcher at every close, which is a few compares for a node no handler touched.
957
+
958
+ Bound handlers run in the fused pass only. A sequential plugin sees the tree they left.
959
+
184
960
  ## Dirty Tracking
185
961
 
186
962
  Every mutation through the node view marks the affected node dirty. This is how the system knows what to re-render after parse plugins have run.
@@ -190,7 +966,7 @@ Two levels of dirty state:
190
966
  - **attrs dirty** — the node's own output needs re-rendering, children are fine
191
967
  - **children dirty** — the node's subtree structure has changed, full subtree needs re-rendering
192
968
 
193
- Attribute setters flip the first bit. Structural methods (`wrap_inner`, `prepend`, `append`) and type changes flip the second.
969
+ Attribute setters flip the first bit. Structural methods (`wrap_inner`, `prepend`, `append`, `wrap_from`) and type changes flip the second.
194
970
 
195
971
  In streaming mode, dirty marking drives incremental re-rendering — only the changed subtrees get re-rendered and patched into the output. In batch mode, dirty marking is moot because rendering happens once after parse completes, so the dirty state just gets consumed by the initial render.
196
972
 
@@ -207,21 +983,25 @@ Multiple plugins on the same node type are composed into a single function at re
207
983
  **What parse plugins can do:**
208
984
  - Read any property on any node reachable via traversal
209
985
  - Write attrs, type, and type-specific properties on any reachable node
210
- - Inject synthetic children via `wrap_inner`/`prepend`/`append` on any reachable node
986
+ - Inject synthetic children via `wrap_inner`/`prepend`/`append` on any reachable node, text nodes with their text included
987
+ - Group a node and the siblings after it under a synthetic parent via `wrap_from`
988
+ - Remove a node that closed for good, from its close callback or a sequential pass, via `remove`
989
+ - Replace a range of text with text or with a node, from the text handler of a sequential plugin, via `run.replace`
211
990
  - Register close callbacks via return value
212
991
  - Capture state in closures between open and close
213
992
 
214
993
  **What parse plugins cannot do:**
215
994
  - Walk the tree during their own handler (no `walk`, `querySelectorAll`, etc.) — they react to what the builder sends them
216
- - Reparent existing nodes across unrelated parts of the tree (structural methods only add, not move)
217
- - Remove nodes
995
+ - Reparent existing nodes across unrelated parts of the tree (`wrap_from` puts later siblings under the wrapper as they arrive and never moves one that came before)
996
+ - Remove a node that may still be revoked, or one outside the node whose handler is running (see [Removing a node](#removing-a-node))
218
997
  - Modify the parser itself or affect how tokens become nodes
219
- - Do work outside their registered node types — if a plugin only has a `heading` entry, it never sees other node types
998
+ - Rewrite text from a fused handler, or rewrite code, an attribute value or raw text from a text handler (see [Text Handlers](#text-handlers))
999
+ - Do work outside their registered node types — if a plugin only has a `heading` entry, it never sees other node types. The one handler for any type is `children['*']` of a directive, for the nodes written directly inside it
220
1000
 
221
1001
  **Guarantees:**
222
1002
  - Property mutations never have non-local effects beyond dirty marking
223
1003
  - Synthetic nodes behave identically to parser-produced nodes (traversal, rendering, revocation)
224
- - Revocation of a parent node revokes all its synthetic descendants automatically
1004
+ - Revocation of a node removes the synthetic nodes its handlers made
225
1005
  - Plugin code is mode-agnostic — same code works in streaming and batch
226
1006
  - Fused plugins add zero additional tree walks
227
1007
  - Close callbacks fire exactly once per node, in registration order
@@ -254,6 +1034,20 @@ For each mutation, the builder records enough information to reverse it:
254
1034
 
255
1035
  **Structural mutations.** `wrap_inner`, `prepend`, and `append` each create synthetic nodes. The builder records the IDs of the created nodes and the SoA pointer state before the mutation. Revocation deletes the synthetic nodes and restores the original parent-child relationships.
256
1036
 
1037
+ **`wrap_from` and `close()`.** Revoking a node whose handler called `wrap_from` removes the wrapper, and the node and any siblings that joined it return to the wrapper's parent in its place. Revoking a node whose handler called `close()` reopens the wrapper: it takes back every sibling that arrived while it was closed and keeps taking later ones. Pending nodes cannot call either (see above), but the parser also revokes a few nodes it opened as committed: a table cell that turns out to be a merge marker, a code span that never closes, frontmatter with no closing fence.
1038
+
1039
+ Only the tree is restored. What a plugin keeps in its own variables is not, so a plugin that remembers "the wrapper I opened last" from a `table_cell` or `code_span` handler may hold a wrapper that no longer exists. Calling `close()` on it does nothing.
1040
+
1041
+ **`remove`.** A removal is not captured, because it is only allowed where it cannot need undoing, see [Removing a node](#removing-a-node).
1042
+
1043
+ **`run.replace`.** Not captured either. A text handler only runs in a sequential pass, see [Text Handlers](#when-it-runs).
1044
+
1045
+ **Deferred tasks.** A revoke drops the tasks of the node, see [Deferred tasks](#deferred-tasks).
1046
+
1047
+ **Bound handler state.** A write to `ctx.state` and the `index` a bound handler used are logged the same way, see [Handlers Bound to a Directive](#revocation).
1048
+
1049
+ **Warnings and data.** A warning from `ctx.warn` and a write with `ctx.set` or `ctx.add` are logged against the node whose handler made them, see [The Context](#the-context). A revoke takes back every write its node owned, see [Every write has an owner](#every-write-has-an-owner). What a plugin keeps on its own keys of `ctx` is not.
1050
+
257
1051
  **Cross-node mutations.** When a plugin reaches through traversal to modify a different node (say, setting an attr on `node.parent`), that mutation is captured in the undo log of the node whose handler is running, not the node that was modified. This is because the revocation boundary is the handler's node — if the parser revokes the parent later, that's a separate revocation event with its own undo log.
258
1052
 
259
1053
  ### Scoping the Undo Log
@@ -262,8 +1056,14 @@ The undo log is keyed by node ID. Each node has an associated log of mutations m
262
1056
 
263
1057
  1. Walks the undo log for that node in reverse order
264
1058
  2. Applies each undo entry (restoring prior attr values, deleting synthetic children, reverting type changes)
265
- 3. Recurses into descendants, doing the same for each
266
- 4. Removes the node from the SoA
1059
+ 3. Discards the node's close callbacks if they have not fired
1060
+ 4. Repairs the node: it becomes literal text (or a paragraph of it, for a block) and its children move up to its parent
1061
+
1062
+ An html element with no close tag that sits under the root, a block quote or a list item is the block case. Its open tag becomes text in the paragraph of its line, and children on later lines that had lost their paragraph get a new one (`WIRE_FORMAT.md` has the steps under `R`). No handler runs for a paragraph the repair makes, and a paragraph that takes the tag text has already run its handlers without it.
1063
+
1064
+ A revoke covers one node. The repair keeps the node's children in the tree, and the parser sends a separate revoke for each descendant it also gives up on. A child that stays keeps what its handlers did: in `_a *b* c` the unclosed `_` is revoked, the `*b*` inside it is not, and a plugin's changes to that strong node survive.
1065
+
1066
+ The repaired node keeps none of its attributes. The text or paragraph left in its place is not the tag, link or directive the parser first took it for, so the `tag`, `name` or `href` the parser gave it goes, and so does anything a plugin wrote on it, whichever handler wrote it. The undo log has already taken back what the node's own handlers wrote. An attribute another node's handler put there (a paragraph marking each of its children, say) cannot be told from the parser's, because a plugin may write `title` or `href` as well, so the repair drops the lot. Undoing that other handler later leaves the repaired node as it is.
267
1067
 
268
1068
  Because plugin mutations on traversal-reached nodes are logged against the handler's node, revoking node A automatically unwinds any mutations A's handlers made to unrelated nodes. This prevents the scenario where revoking a link leaves behind an attr change the link's handler made on its parent heading.
269
1069
 
@@ -271,7 +1071,7 @@ Because plugin mutations on traversal-reached nodes are logged against the handl
271
1071
 
272
1072
  The close callback runs later, potentially well after the open handler. Its mutations are captured the same way — through the view setters, into the same undo log for the node being mutated. Revocation between open and close is handled by the builder discarding the close callback entirely (it's held in a per-node registration) and running the undo log.
273
1073
 
274
- If revocation happens after close has fired, the close callback's mutations are already in the undo log alongside the open handler's mutations, and they get unwound together in reverse order.
1074
+ If revocation happens after close has fired, the close callback's mutations are already in the undo log alongside the open handler's mutations, and they get unwound together in reverse order. This is the usual order for an inline delimiter that never closes and for the paragraphs of a tight list: the parser closes the node where its block ends and revokes it afterwards. A paragraph that starts with a tag or an image and holds nothing else is revoked right after its close as well. Any other pending node that has closed is final. Only writes through the node view, warnings, writes with `ctx.set` and `ctx.add` and writes to a key of `ctx.state` are unwound, so a callback that also writes somewhere else (a list it collects into, say) should not assume its node is final.
275
1075
 
276
1076
  ## Implementation Notes
277
1077
 
@@ -281,7 +1081,16 @@ For nodes with no plugin activity, the undo log is never allocated. This is the
281
1081
 
282
1082
  For nodes with handlers, the log accumulates as the handler runs. The setters on the node view check whether a log exists for the current node and append to it. Structural methods write their own entries. The log is a simple array of records, each describing one mutation and how to reverse it.
283
1083
 
284
- Commit is the inverse of revoke: when a node is committed (its close opcode is processed and no revoke followed), the undo log is simply discarded. The mutations become permanent, and the memory is freed.
1084
+ Commit is the inverse of revoke: when a node is committed, the undo log is simply discarded. The mutations become permanent, and the memory is freed. A node is committed when it closes, with two exceptions the parser settles afterwards:
1085
+
1086
+ - **A delimiter with no closer.** The parser closes it where its block ends and revokes it once it is back at block level. It marks that close (`close_pending` on an emitter, a flag on the wire's `C`), and the log is kept for the revoke.
1087
+ - **A pending paragraph**, in a list item or one that starts with a tag or an image. The parser sends a commit or a revoke for it by id.
1088
+
1089
+ The batch builder only calls the dispatcher for a close that can have something waiting. A log, an open wrapper and a scope each belong to one node, and a node that opened after all of those closes without the dispatcher. So a section that stays open to the end of the document, or a scope around a long container, does not slow down the closes inside it. Two things send every close through the dispatcher for as long as they last: a close callback that has not run yet, and a `wrap_from` wrapper that was closed while its last child was still open.
1090
+
1091
+ ### Node ids and plugin nodes
1092
+
1093
+ The parser numbers its nodes densely and the batch builder stores each one in the slot of its id, which is what keeps it from needing an id table. A node a plugin adds takes the next slot. The builder then tells the parser to skip that id (`skip_ids`), so the next parser node still lands on its own slot and a plugin that adds nodes does not slow down the nodes after them. A builder gets its parser from `new PFMParser(builder)` or `parser.bind(builder)`. With an emitter of your own in between the builder has no parser to tell, and it falls back to an id table from the first added node on, which builds the same tree more slowly.
285
1094
 
286
1095
  ## Guarantees
287
1096
 
@@ -289,8 +1098,8 @@ Commit is the inverse of revoke: when a node is committed (its close opcode is p
289
1098
 
290
1099
  **Mutations are fully reversible.** Any property or structural change made by a plugin can be undone if the node is later revoked. The undo log captures prior state at mutation time, not revocation time, so there's no race between plugin execution and revocation arriving.
291
1100
 
292
- **Revocation cascades.** Revoking a node revokes all its descendants — parser-produced and plugin-synthesized alike. The undo log walks the subtree and restores each node's pre-plugin state before removing the nodes from the SoA.
1101
+ **Revocation is per node.** Revoking a node undoes everything its own handlers did, including the synthetic nodes they made and changes they made to other nodes. Descendants the parser keeps are left as they are; descendants it gives up on get their own revoke.
293
1102
 
294
- **Close callbacks are cancelable.** If revocation happens between open and close, the registered close callback is discarded and never runs. Plugins don't need to check whether their node still exists — if the callback fires, the node is real.
1103
+ **Close callbacks are cancelable.** If revocation happens between open and close, the registered close callback is discarded and never runs. If it happens after the close, the callback has run and its mutations are undone with the rest.
295
1104
 
296
1105
  **Zero cost for unhandled nodes.** Nodes of types with no registered plugins pay nothing for the undo machinery. The log is only allocated when a handler actually mutates the node.