@mdsvex/parse 1.0.0-next.1 → 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.
- package/PLUGINS.md +827 -18
- package/WIRE_FORMAT.md +56 -14
- package/dist/buf-utils.js +142 -30
- package/dist/buf_utils.d.ts +64 -1
- package/dist/constants.d.ts +2 -0
- package/dist/cursor.d.ts +5 -1
- package/dist/cursor.js +15 -4
- package/dist/heading_ids.d.ts +101 -0
- package/dist/main.d.ts +415 -82
- package/dist/main.js +7180 -3932
- package/dist/node_view-DEZDLDFD.js +710 -0
- package/dist/node_view.d.ts +158 -10
- package/dist/opcodes.d.ts +37 -3
- package/dist/plugin_data.d.ts +84 -0
- package/dist/plugin_dispatch.d.ts +374 -30
- package/dist/plugin_tasks.d.ts +186 -0
- package/dist/plugin_types.d.ts +218 -6
- package/dist/text_run.d.ts +77 -0
- package/dist/tree-builder.js +192 -121
- package/dist/tree_builder.d.ts +40 -10
- package/dist/types.d.ts +28 -3
- package/dist/undo_log.d.ts +99 -6
- package/dist/unicode_punctuation.d.ts +5 -0
- package/dist/utils.d.ts +83 -5
- package/dist/utils.js +582 -346
- package/dist/wire-tree-builder.js +99 -66
- package/dist/wire_emitter.d.ts +9 -2
- package/dist/wire_tree_builder.d.ts +23 -5
- package/package.json +12 -5
- package/CHANGELOG.md +0 -234
- package/dist/node_view-bvM0i0-p.js +0 -407
- package/src/buf_utils.ts +0 -54
- package/src/constants.ts +0 -101
- package/src/cursor.ts +0 -212
- package/src/main.ts +0 -11991
- package/src/node_view.ts +0 -460
- package/src/opcodes.ts +0 -123
- package/src/plugin_dispatch.ts +0 -744
- package/src/plugin_types.ts +0 -36
- package/src/tree_builder.ts +0 -394
- package/src/types.ts +0 -30
- package/src/undo_log.ts +0 -336
- package/src/utils.spec.ts +0 -424
- package/src/utils.ts +0 -1369
- package/src/wire_emitter.ts +0 -475
- package/src/wire_tree_builder.ts +0 -324
- package/test/ast_snapshots.spec.ts +0 -155
- package/test/atx_headings.spec.ts +0 -260
- package/test/autolinks.spec.ts +0 -306
- package/test/backslash_escapes.spec.ts +0 -266
- package/test/blank_lines.spec.ts +0 -113
- package/test/block_quotes.spec.ts +0 -533
- package/test/code_spans.spec.ts +0 -862
- package/test/crlf.spec.ts +0 -173
- package/test/directives.spec.ts +0 -1305
- package/test/emphasis.spec.ts +0 -1892
- package/test/fenced_code_blocks.spec.ts +0 -375
- package/test/fixtures/hybrid/code-escaping.svx +0 -10
- package/test/fixtures/hybrid/code-highlight-nesting.svx +0 -6
- package/test/fixtures/hybrid/component-children.svx +0 -24
- package/test/fixtures/hybrid/component-simple-00.svx +0 -9
- package/test/fixtures/hybrid/component-simple-01.svx +0 -7
- package/test/fixtures/hybrid/component-simple-02.svx +0 -1
- package/test/fixtures/hybrid/component-simple-03.svx +0 -7
- package/test/fixtures/hybrid/component-simple-04.svx +0 -9
- package/test/fixtures/hybrid/dollar-one-in-frontmatter.svx +0 -5
- package/test/fixtures/hybrid/error.svx +0 -37
- package/test/fixtures/hybrid/link-curlies.svx +0 -22
- package/test/fixtures/hybrid/tags-in-frontmatter.svx +0 -3
- package/test/fixtures/markdown/anchors-by-reference.md +0 -11
- package/test/fixtures/markdown/anchors-followed-by-brakets.md +0 -7
- package/test/fixtures/markdown/automatic-anchors.md +0 -2
- package/test/fixtures/markdown/blockquote-followed-by-code.md +0 -10
- package/test/fixtures/markdown/blockquote-inside-code.md +0 -11
- package/test/fixtures/markdown/blockquote-nested-markdown.md +0 -10
- package/test/fixtures/markdown/blockquote.md +0 -4
- package/test/fixtures/markdown/code-block-html-escape.md +0 -6
- package/test/fixtures/markdown/code-block-with-special-chars.md +0 -8
- package/test/fixtures/markdown/code-block.md +0 -6
- package/test/fixtures/markdown/double-emphasis.md +0 -7
- package/test/fixtures/markdown/doubline-list.md +0 -4
- package/test/fixtures/markdown/ellipsis.md +0 -24
- package/test/fixtures/markdown/emphasis-inside-inline-code.md +0 -1
- package/test/fixtures/markdown/emphasis.md +0 -88
- package/test/fixtures/markdown/encodeHTMLCodeTags.md +0 -5
- package/test/fixtures/markdown/escaped-html-taglikes.md +0 -7
- package/test/fixtures/markdown/escaped-number-period.md +0 -1
- package/test/fixtures/markdown/escaping.md +0 -32
- package/test/fixtures/markdown/github-style-at-start.md +0 -7
- package/test/fixtures/markdown/github-style-codeblock-inside-quote.md +0 -13
- package/test/fixtures/markdown/github-style-codeblock.md +0 -34
- package/test/fixtures/markdown/github-style-linebreaks.md +0 -4
- package/test/fixtures/markdown/h1-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h1-with-equals.md +0 -2
- package/test/fixtures/markdown/h1-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h2-with-dashes.md +0 -2
- package/test/fixtures/markdown/h2-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h2-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h3-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h3-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h4-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h5-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h6-with-single-hash.md +0 -1
- package/test/fixtures/markdown/horizontal-rules.md +0 -10
- package/test/fixtures/markdown/html-comments.md +0 -8
- package/test/fixtures/markdown/html-inside-listed-code.md +0 -8
- package/test/fixtures/markdown/html5-strutural-tags.md +0 -68
- package/test/fixtures/markdown/images-followed-by-brackets.md +0 -3
- package/test/fixtures/markdown/images.md +0 -14
- package/test/fixtures/markdown/implicit-anchors.md +0 -7
- package/test/fixtures/markdown/inline-anchors.md +0 -3
- package/test/fixtures/markdown/inline-code.md +0 -13
- package/test/fixtures/markdown/inline-escaped-chars.md +0 -2
- package/test/fixtures/markdown/inline-style-tag.md +0 -5
- package/test/fixtures/markdown/lazy-blockquote.md +0 -3
- package/test/fixtures/markdown/line-starts-with-html.md +0 -3
- package/test/fixtures/markdown/list-followed-by-blockquote.md +0 -9
- package/test/fixtures/markdown/list-followed-by-ghcode.md +0 -13
- package/test/fixtures/markdown/list-with-blockquote.md +0 -4
- package/test/fixtures/markdown/literal-html-tags.md +0 -9
- package/test/fixtures/markdown/multi-paragraph-list.md +0 -5
- package/test/fixtures/markdown/multiline-unordered-list.md +0 -3
- package/test/fixtures/markdown/nested-blockquote.md +0 -5
- package/test/fixtures/markdown/nested-gh-codeblocks.md +0 -9
- package/test/fixtures/markdown/obfuscated-emails.md +0 -0
- package/test/fixtures/markdown/ordered-list-same-number.md +0 -3
- package/test/fixtures/markdown/ordered-list-starting-number.md +0 -10
- package/test/fixtures/markdown/ordered-list-wrong-numbers.md +0 -3
- package/test/fixtures/markdown/ordered-list.md +0 -3
- package/test/fixtures/markdown/paragraphed-list-with-sublists.md +0 -13
- package/test/fixtures/markdown/pre-code-tags-inside-code-block.md +0 -7
- package/test/fixtures/markdown/pre-code-tags.md +0 -19
- package/test/fixtures/markdown/relative-anchors.md +0 -1
- package/test/fixtures/markdown/repeated-headers.md +0 -5
- package/test/fixtures/markdown/simple-paragraph.md +0 -1
- package/test/fixtures/markdown/strip-references.md +0 -13
- package/test/fixtures/markdown/strong.md +0 -5
- package/test/fixtures/markdown/unordered-list-asterisk.md +0 -3
- package/test/fixtures/markdown/unordered-list-minus.md +0 -3
- package/test/fixtures/markdown/unordered-list-plus.md +0 -3
- package/test/fixtures/markdown/url-with-parenthesis.md +0 -1
- package/test/fixtures/pfm/atx_headings/62.md +0 -6
- package/test/fixtures/pfm/atx_headings/63.md +0 -1
- package/test/fixtures/pfm/atx_headings/64.md +0 -3
- package/test/fixtures/pfm/atx_headings/65.md +0 -1
- package/test/fixtures/pfm/atx_headings/66.md +0 -1
- package/test/fixtures/pfm/atx_headings/67.md +0 -1
- package/test/fixtures/pfm/atx_headings/68.md +0 -3
- package/test/fixtures/pfm/atx_headings/69.md +0 -1
- package/test/fixtures/pfm/atx_headings/70.md +0 -2
- package/test/fixtures/pfm/atx_headings/71.md +0 -2
- package/test/fixtures/pfm/atx_headings/72.md +0 -2
- package/test/fixtures/pfm/atx_headings/73.md +0 -1
- package/test/fixtures/pfm/atx_headings/74.md +0 -1
- package/test/fixtures/pfm/atx_headings/75.md +0 -1
- package/test/fixtures/pfm/atx_headings/76.md +0 -3
- package/test/fixtures/pfm/atx_headings/77.md +0 -3
- package/test/fixtures/pfm/atx_headings/78.md +0 -3
- package/test/fixtures/pfm/atx_headings/79.md +0 -3
- package/test/fixtures/pfm/autolinks/594.md +0 -1
- package/test/fixtures/pfm/autolinks/595.md +0 -1
- package/test/fixtures/pfm/autolinks/596.md +0 -1
- package/test/fixtures/pfm/autolinks/597.md +0 -1
- package/test/fixtures/pfm/autolinks/598.md +0 -1
- package/test/fixtures/pfm/autolinks/599.md +0 -1
- package/test/fixtures/pfm/autolinks/600.md +0 -1
- package/test/fixtures/pfm/autolinks/601.md +0 -1
- package/test/fixtures/pfm/autolinks/602.md +0 -1
- package/test/fixtures/pfm/autolinks/603.md +0 -1
- package/test/fixtures/pfm/autolinks/604.md +0 -1
- package/test/fixtures/pfm/autolinks/605.md +0 -1
- package/test/fixtures/pfm/autolinks/606.md +0 -1
- package/test/fixtures/pfm/autolinks/607.md +0 -1
- package/test/fixtures/pfm/autolinks/608.md +0 -1
- package/test/fixtures/pfm/autolinks/609.md +0 -1
- package/test/fixtures/pfm/autolinks/610.md +0 -1
- package/test/fixtures/pfm/autolinks/611.md +0 -1
- package/test/fixtures/pfm/autolinks/612.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/12.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/13.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/14.md +0 -9
- package/test/fixtures/pfm/backslash_escapes/15.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/16.md +0 -2
- package/test/fixtures/pfm/backslash_escapes/17.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/18.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/19.md +0 -3
- package/test/fixtures/pfm/backslash_escapes/20.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/21.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/22.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/23.md +0 -3
- package/test/fixtures/pfm/backslash_escapes/24.md +0 -3
- package/test/fixtures/pfm/blank_lines/227.md +0 -8
- package/test/fixtures/pfm/block_quotes/228.md +0 -3
- package/test/fixtures/pfm/block_quotes/229.md +0 -3
- package/test/fixtures/pfm/block_quotes/230.md +0 -3
- package/test/fixtures/pfm/block_quotes/231.md +0 -3
- package/test/fixtures/pfm/block_quotes/232.md +0 -3
- package/test/fixtures/pfm/block_quotes/233.md +0 -3
- package/test/fixtures/pfm/block_quotes/234.md +0 -2
- package/test/fixtures/pfm/block_quotes/235.md +0 -2
- package/test/fixtures/pfm/block_quotes/236.md +0 -2
- package/test/fixtures/pfm/block_quotes/237.md +0 -3
- package/test/fixtures/pfm/block_quotes/238.md +0 -2
- package/test/fixtures/pfm/block_quotes/239.md +0 -1
- package/test/fixtures/pfm/block_quotes/240.md +0 -3
- package/test/fixtures/pfm/block_quotes/241.md +0 -3
- package/test/fixtures/pfm/block_quotes/242.md +0 -3
- package/test/fixtures/pfm/block_quotes/243.md +0 -2
- package/test/fixtures/pfm/block_quotes/244.md +0 -3
- package/test/fixtures/pfm/block_quotes/245.md +0 -2
- package/test/fixtures/pfm/block_quotes/246.md +0 -3
- package/test/fixtures/pfm/block_quotes/247.md +0 -2
- package/test/fixtures/pfm/block_quotes/248.md +0 -3
- package/test/fixtures/pfm/block_quotes/249.md +0 -3
- package/test/fixtures/pfm/block_quotes/250.md +0 -2
- package/test/fixtures/pfm/block_quotes/251.md +0 -3
- package/test/fixtures/pfm/block_quotes/252.md +0 -3
- package/test/fixtures/pfm/block_quotes/pfm_fence_close.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_compact.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_end_quote.md +0 -5
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_info.md +0 -5
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_longer.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_nested.md +0 -3
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_twice.md +0 -6
- package/test/fixtures/pfm/block_quotes/pfm_fence_info_eof.md +0 -1
- package/test/fixtures/pfm/block_quotes/pfm_fence_unclosed.md +0 -2
- package/test/fixtures/pfm/code_spans/328.md +0 -1
- package/test/fixtures/pfm/code_spans/329.md +0 -1
- package/test/fixtures/pfm/code_spans/330.md +0 -1
- package/test/fixtures/pfm/code_spans/331.md +0 -1
- package/test/fixtures/pfm/code_spans/332.md +0 -1
- package/test/fixtures/pfm/code_spans/333.md +0 -1
- package/test/fixtures/pfm/code_spans/334.md +0 -2
- package/test/fixtures/pfm/code_spans/335.md +0 -5
- package/test/fixtures/pfm/code_spans/336.md +0 -3
- package/test/fixtures/pfm/code_spans/337.md +0 -2
- package/test/fixtures/pfm/code_spans/338.md +0 -1
- package/test/fixtures/pfm/code_spans/339.md +0 -1
- package/test/fixtures/pfm/code_spans/340.md +0 -1
- package/test/fixtures/pfm/code_spans/341.md +0 -1
- package/test/fixtures/pfm/code_spans/342.md +0 -1
- package/test/fixtures/pfm/code_spans/343.md +0 -1
- package/test/fixtures/pfm/code_spans/344.md +0 -1
- package/test/fixtures/pfm/code_spans/345.md +0 -1
- package/test/fixtures/pfm/code_spans/346.md +0 -1
- package/test/fixtures/pfm/code_spans/347.md +0 -1
- package/test/fixtures/pfm/code_spans/348.md +0 -1
- package/test/fixtures/pfm/code_spans/349.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_1.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_2.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_3.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_4.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_5.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_6.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_7.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_8.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_9.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/350.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/351.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/352.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/353.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/354.md +0 -5
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/355.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/356.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/357.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/358.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/359.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/360.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/361.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/362.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/363.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/364.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/365.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/366.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/367.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/368.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/369.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/370.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/371.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/372.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/373.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/374.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/375.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/376.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/377.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/378.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/379.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/380.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/381.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/382.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/383.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/384.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/385.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/386.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/387.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/388.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/389.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/390.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/391.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/392.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/393.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/394.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/395.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/396.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/397.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/398.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/399.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/400.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/401.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/402.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/403.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/404.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/405.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/406.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/407.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/408.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/409.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/410.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/411.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/412.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/413.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/414.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/415.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/416.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/417.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/418.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/419.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/420.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/421.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/422.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/423.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/424.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/425.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/426.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/427.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/428.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/429.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/430.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/431.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/432.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/433.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/434.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/435.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/436.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/437.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/438.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/439.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/440.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/441.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/442.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/443.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/444.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/445.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/446.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/447.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/448.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/449.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/450.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/451.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/452.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/453.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/454.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/455.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/456.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/457.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/458.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/459.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/460.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/461.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/462.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/463.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/464.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/465.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/466.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/467.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/468.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/469.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/470.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/471.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/472.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/473.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/474.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/475.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/476.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/477.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/478.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/479.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/480.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/481.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/119.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/121.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/122.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/124.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/126.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/127.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/128.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/130.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/131.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/132.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/133.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/134.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/135.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/136.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/137.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/138.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/140.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/142.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/144.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/145.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_2.md +0 -8
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_3.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof_no_lf.md +0 -1
- package/test/fixtures/pfm/frontmatter/1.md +0 -5
- package/test/fixtures/pfm/frontmatter/10.md +0 -1
- package/test/fixtures/pfm/frontmatter/2.md +0 -2
- package/test/fixtures/pfm/frontmatter/3.md +0 -4
- package/test/fixtures/pfm/frontmatter/4.md +0 -5
- package/test/fixtures/pfm/frontmatter/5.md +0 -6
- package/test/fixtures/pfm/frontmatter/6.md +0 -8
- package/test/fixtures/pfm/frontmatter/7.md +0 -4
- package/test/fixtures/pfm/frontmatter/8.md +0 -5
- package/test/fixtures/pfm/frontmatter/9.md +0 -4
- package/test/fixtures/pfm/generic_directives/001.md +0 -1
- package/test/fixtures/pfm/generic_directives/002.md +0 -1
- package/test/fixtures/pfm/generic_directives/003.md +0 -1
- package/test/fixtures/pfm/generic_directives/004.md +0 -1
- package/test/fixtures/pfm/generic_directives/005.md +0 -1
- package/test/fixtures/pfm/generic_directives/006.md +0 -1
- package/test/fixtures/pfm/generic_directives/007.md +0 -1
- package/test/fixtures/pfm/generic_directives/008.md +0 -1
- package/test/fixtures/pfm/generic_directives/009.md +0 -1
- package/test/fixtures/pfm/generic_directives/010.md +0 -1
- package/test/fixtures/pfm/generic_directives/011.md +0 -1
- package/test/fixtures/pfm/generic_directives/012.md +0 -1
- package/test/fixtures/pfm/generic_directives/013.md +0 -1
- package/test/fixtures/pfm/generic_directives/014.md +0 -1
- package/test/fixtures/pfm/generic_directives/015.md +0 -3
- package/test/fixtures/pfm/generic_directives/016.md +0 -1
- package/test/fixtures/pfm/generic_directives/017.md +0 -1
- package/test/fixtures/pfm/generic_directives/018.md +0 -1
- package/test/fixtures/pfm/generic_directives/019.md +0 -2
- package/test/fixtures/pfm/generic_directives/020.md +0 -3
- package/test/fixtures/pfm/generic_directives/021.md +0 -3
- package/test/fixtures/pfm/generic_directives/022.md +0 -5
- package/test/fixtures/pfm/generic_directives/023.md +0 -2
- package/test/fixtures/pfm/generic_directives/024.md +0 -5
- package/test/fixtures/pfm/generic_directives/025.md +0 -2
- package/test/fixtures/pfm/generic_directives/026.md +0 -3
- package/test/fixtures/pfm/generic_directives/027.md +0 -5
- package/test/fixtures/pfm/generic_directives/028.md +0 -5
- package/test/fixtures/pfm/generic_directives/029.md +0 -7
- package/test/fixtures/pfm/generic_directives/030.md +0 -3
- package/test/fixtures/pfm/generic_directives/031.md +0 -4
- package/test/fixtures/pfm/generic_directives/032.md +0 -3
- package/test/fixtures/pfm/generic_directives/033.md +0 -3
- package/test/fixtures/pfm/generic_directives/034.md +0 -5
- package/test/fixtures/pfm/generic_directives/035.md +0 -3
- package/test/fixtures/pfm/generic_directives/036.md +0 -1
- package/test/fixtures/pfm/generic_directives/037.md +0 -1
- package/test/fixtures/pfm/generic_directives/038.md +0 -3
- package/test/fixtures/pfm/generic_directives/039.md +0 -5
- package/test/fixtures/pfm/generic_directives/040.md +0 -9
- package/test/fixtures/pfm/generic_directives/041.md +0 -1
- package/test/fixtures/pfm/generic_directives/042.md +0 -1
- package/test/fixtures/pfm/generic_directives/043.md +0 -1
- package/test/fixtures/pfm/generic_directives/044.md +0 -1
- package/test/fixtures/pfm/generic_directives/045.md +0 -1
- package/test/fixtures/pfm/generic_directives/046.md +0 -3
- package/test/fixtures/pfm/generic_directives/047.md +0 -5
- package/test/fixtures/pfm/generic_directives/048.md +0 -1
- package/test/fixtures/pfm/generic_directives/049.md +0 -1
- package/test/fixtures/pfm/generic_directives/050.md +0 -1
- package/test/fixtures/pfm/generic_directives/051.md +0 -1
- package/test/fixtures/pfm/generic_directives/052.md +0 -1
- package/test/fixtures/pfm/generic_directives/053.md +0 -1
- package/test/fixtures/pfm/generic_directives/054.md +0 -1
- package/test/fixtures/pfm/generic_directives/055.md +0 -1
- package/test/fixtures/pfm/generic_directives/056.md +0 -1
- package/test/fixtures/pfm/generic_directives/057.md +0 -1
- package/test/fixtures/pfm/generic_directives/058.md +0 -1
- package/test/fixtures/pfm/generic_directives/059.md +0 -1
- package/test/fixtures/pfm/generic_directives/060.md +0 -1
- package/test/fixtures/pfm/generic_directives/061.md +0 -1
- package/test/fixtures/pfm/generic_directives/062.md +0 -1
- package/test/fixtures/pfm/generic_directives/063.md +0 -1
- package/test/fixtures/pfm/generic_directives/064.md +0 -1
- package/test/fixtures/pfm/generic_directives/065.md +0 -2
- package/test/fixtures/pfm/generic_directives/066.md +0 -1
- package/test/fixtures/pfm/generic_directives/067.md +0 -1
- package/test/fixtures/pfm/generic_directives/068.md +0 -1
- package/test/fixtures/pfm/generic_directives/069.md +0 -1
- package/test/fixtures/pfm/generic_directives/070.md +0 -1
- package/test/fixtures/pfm/generic_directives/071.md +0 -1
- package/test/fixtures/pfm/generic_directives/072.md +0 -1
- package/test/fixtures/pfm/generic_directives/073.md +0 -1
- package/test/fixtures/pfm/generic_directives/074.md +0 -3
- package/test/fixtures/pfm/generic_directives/075.md +0 -1
- package/test/fixtures/pfm/generic_directives/076.md +0 -1
- package/test/fixtures/pfm/generic_directives/077.md +0 -1
- package/test/fixtures/pfm/generic_directives/078.md +0 -1
- package/test/fixtures/pfm/generic_directives/079.md +0 -1
- package/test/fixtures/pfm/generic_directives/080.md +0 -1
- package/test/fixtures/pfm/generic_directives/081.md +0 -1
- package/test/fixtures/pfm/generic_directives/082.md +0 -1
- package/test/fixtures/pfm/generic_directives/083.md +0 -1
- package/test/fixtures/pfm/generic_directives/084.md +0 -1
- package/test/fixtures/pfm/generic_directives/085.md +0 -1
- package/test/fixtures/pfm/generic_directives/086.md +0 -1
- package/test/fixtures/pfm/generic_directives/087.md +0 -1
- package/test/fixtures/pfm/generic_directives/088.md +0 -3
- package/test/fixtures/pfm/generic_directives/089.md +0 -1
- package/test/fixtures/pfm/generic_directives/090.md +0 -1
- package/test/fixtures/pfm/generic_directives/091.md +0 -1
- package/test/fixtures/pfm/generic_directives/092.md +0 -3
- package/test/fixtures/pfm/generic_directives/093.md +0 -1
- package/test/fixtures/pfm/generic_directives/094.md +0 -1
- package/test/fixtures/pfm/generic_directives/095.md +0 -2
- package/test/fixtures/pfm/generic_directives/096.md +0 -1
- package/test/fixtures/pfm/generic_directives/097.md +0 -1
- package/test/fixtures/pfm/generic_directives/098.md +0 -1
- package/test/fixtures/pfm/generic_directives/099.md +0 -1
- package/test/fixtures/pfm/generic_directives/100.md +0 -1
- package/test/fixtures/pfm/generic_directives/101.md +0 -1
- package/test/fixtures/pfm/generic_directives/102.md +0 -1
- package/test/fixtures/pfm/generic_directives/103.md +0 -5
- package/test/fixtures/pfm/generic_directives/104.md +0 -1
- package/test/fixtures/pfm/generic_directives/105.md +0 -1
- package/test/fixtures/pfm/generic_directives/106.md +0 -1
- package/test/fixtures/pfm/generic_directives/107.md +0 -3
- package/test/fixtures/pfm/generic_directives/108.md +0 -1
- package/test/fixtures/pfm/generic_directives/109.md +0 -1
- package/test/fixtures/pfm/generic_directives/110.md +0 -1
- package/test/fixtures/pfm/generic_directives/111.md +0 -1
- package/test/fixtures/pfm/generic_directives/112.md +0 -1
- package/test/fixtures/pfm/generic_directives/113.md +0 -1
- package/test/fixtures/pfm/generic_directives/114.md +0 -2
- package/test/fixtures/pfm/generic_directives/115.md +0 -1
- package/test/fixtures/pfm/generic_directives/116.md +0 -6
- package/test/fixtures/pfm/generic_directives/117.md +0 -3
- package/test/fixtures/pfm/generic_directives/118.md +0 -6
- package/test/fixtures/pfm/generic_directives/119.md +0 -3
- package/test/fixtures/pfm/generic_directives/120.md +0 -5
- package/test/fixtures/pfm/generic_directives/121.md +0 -3
- package/test/fixtures/pfm/generic_directives/122.md +0 -4
- package/test/fixtures/pfm/generic_directives/123.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/633.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/634.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/635.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/636.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/637.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/638.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/639.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/640.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/641.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/642.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/643.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/644.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/645.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/646.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/647.md +0 -1
- package/test/fixtures/pfm/html/148.md +0 -7
- package/test/fixtures/pfm/html/149.md +0 -9
- package/test/fixtures/pfm/html/150.md +0 -3
- package/test/fixtures/pfm/html/151.md +0 -2
- package/test/fixtures/pfm/html/152.md +0 -5
- package/test/fixtures/pfm/html/153.md +0 -3
- package/test/fixtures/pfm/html/154.md +0 -3
- package/test/fixtures/pfm/html/155.md +0 -4
- package/test/fixtures/pfm/html/156.md +0 -2
- package/test/fixtures/pfm/html/157.md +0 -2
- package/test/fixtures/pfm/html/158.md +0 -2
- package/test/fixtures/pfm/html/159.md +0 -1
- package/test/fixtures/pfm/html/160.md +0 -3
- package/test/fixtures/pfm/html/161.md +0 -4
- package/test/fixtures/pfm/html/162.md +0 -3
- package/test/fixtures/pfm/html/163.md +0 -3
- package/test/fixtures/pfm/html/164.md +0 -3
- package/test/fixtures/pfm/html/165.md +0 -2
- package/test/fixtures/pfm/html/166.md +0 -3
- package/test/fixtures/pfm/html/167.md +0 -5
- package/test/fixtures/pfm/html/168.md +0 -1
- package/test/fixtures/pfm/html/169.md +0 -7
- package/test/fixtures/pfm/html/170.md +0 -6
- package/test/fixtures/pfm/html/171.md +0 -7
- package/test/fixtures/pfm/html/172.md +0 -7
- package/test/fixtures/pfm/html/173.md +0 -4
- package/test/fixtures/pfm/html/174.md +0 -4
- package/test/fixtures/pfm/html/175.md +0 -2
- package/test/fixtures/pfm/html/176.md +0 -2
- package/test/fixtures/pfm/html/177.md +0 -2
- package/test/fixtures/pfm/html/178.md +0 -3
- package/test/fixtures/pfm/html/179.md +0 -5
- package/test/fixtures/pfm/html/180.md +0 -6
- package/test/fixtures/pfm/html/181.md +0 -1
- package/test/fixtures/pfm/html/182.md +0 -13
- package/test/fixtures/pfm/html/183.md +0 -3
- package/test/fixtures/pfm/html/184.md +0 -3
- package/test/fixtures/pfm/html/185.md +0 -4
- package/test/fixtures/pfm/html/186.md +0 -4
- package/test/fixtures/pfm/html/187.md +0 -3
- package/test/fixtures/pfm/html/188.md +0 -5
- package/test/fixtures/pfm/html/189.md +0 -3
- package/test/fixtures/pfm/html/190.md +0 -11
- package/test/fixtures/pfm/html/191.md +0 -11
- package/test/fixtures/pfm/html/613.md +0 -1
- package/test/fixtures/pfm/html/614.md +0 -1
- package/test/fixtures/pfm/html/615.md +0 -2
- package/test/fixtures/pfm/html/616.md +0 -2
- package/test/fixtures/pfm/html/617.md +0 -1
- package/test/fixtures/pfm/html/618.md +0 -1
- package/test/fixtures/pfm/html/619.md +0 -1
- package/test/fixtures/pfm/html/620.md +0 -1
- package/test/fixtures/pfm/html/621.md +0 -4
- package/test/fixtures/pfm/html/622.md +0 -1
- package/test/fixtures/pfm/html/623.md +0 -1
- package/test/fixtures/pfm/html/624.md +0 -1
- package/test/fixtures/pfm/html/625.md +0 -2
- package/test/fixtures/pfm/html/626.md +0 -3
- package/test/fixtures/pfm/html/627.md +0 -1
- package/test/fixtures/pfm/html/628.md +0 -1
- package/test/fixtures/pfm/html/629.md +0 -1
- package/test/fixtures/pfm/html/630.md +0 -1
- package/test/fixtures/pfm/html/631.md +0 -1
- package/test/fixtures/pfm/html/632.md +0 -1
- package/test/fixtures/pfm/images/572.md +0 -1
- package/test/fixtures/pfm/images/573.md +0 -3
- package/test/fixtures/pfm/images/574.md +0 -1
- package/test/fixtures/pfm/images/575.md +0 -1
- package/test/fixtures/pfm/images/576.md +0 -3
- package/test/fixtures/pfm/images/577.md +0 -3
- package/test/fixtures/pfm/images/578.md +0 -1
- package/test/fixtures/pfm/images/579.md +0 -1
- package/test/fixtures/pfm/images/580.md +0 -1
- package/test/fixtures/pfm/images/581.md +0 -1
- package/test/fixtures/pfm/images/582.md +0 -3
- package/test/fixtures/pfm/images/583.md +0 -3
- package/test/fixtures/pfm/images/584.md +0 -3
- package/test/fixtures/pfm/images/585.md +0 -3
- package/test/fixtures/pfm/images/586.md +0 -3
- package/test/fixtures/pfm/images/587.md +0 -4
- package/test/fixtures/pfm/images/588.md +0 -3
- package/test/fixtures/pfm/images/589.md +0 -3
- package/test/fixtures/pfm/images/590.md +0 -3
- package/test/fixtures/pfm/images/591.md +0 -3
- package/test/fixtures/pfm/images/592.md +0 -3
- package/test/fixtures/pfm/images/593.md +0 -3
- package/test/fixtures/pfm/imports/1.md +0 -3
- package/test/fixtures/pfm/imports/10.md +0 -1
- package/test/fixtures/pfm/imports/11.md +0 -3
- package/test/fixtures/pfm/imports/2.md +0 -4
- package/test/fixtures/pfm/imports/3.md +0 -4
- package/test/fixtures/pfm/imports/4.md +0 -3
- package/test/fixtures/pfm/imports/5.md +0 -3
- package/test/fixtures/pfm/imports/6.md +0 -5
- package/test/fixtures/pfm/imports/7.md +0 -3
- package/test/fixtures/pfm/imports/8.md +0 -3
- package/test/fixtures/pfm/imports/9.md +0 -1
- package/test/fixtures/pfm/inlines/327.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/192.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/193.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/194.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/195.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/196.md +0 -7
- package/test/fixtures/pfm/link_reference_definitions/197.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/198.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/199.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/200.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/201.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/202.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/203.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/204.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/205.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/206.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/207.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/208.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/209.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/210.md +0 -2
- package/test/fixtures/pfm/link_reference_definitions/211.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/212.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/213.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/214.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/215.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/216.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/217.md +0 -8
- package/test/fixtures/pfm/link_reference_definitions/218.md +0 -3
- package/test/fixtures/pfm/links/482.md +0 -1
- package/test/fixtures/pfm/links/483.md +0 -1
- package/test/fixtures/pfm/links/484.md +0 -1
- package/test/fixtures/pfm/links/485.md +0 -1
- package/test/fixtures/pfm/links/486.md +0 -1
- package/test/fixtures/pfm/links/487.md +0 -1
- package/test/fixtures/pfm/links/488.md +0 -1
- package/test/fixtures/pfm/links/489.md +0 -1
- package/test/fixtures/pfm/links/490.md +0 -2
- package/test/fixtures/pfm/links/491.md +0 -2
- package/test/fixtures/pfm/links/492.md +0 -1
- package/test/fixtures/pfm/links/493.md +0 -1
- package/test/fixtures/pfm/links/494.md +0 -3
- package/test/fixtures/pfm/links/495.md +0 -1
- package/test/fixtures/pfm/links/496.md +0 -1
- package/test/fixtures/pfm/links/497.md +0 -1
- package/test/fixtures/pfm/links/498.md +0 -1
- package/test/fixtures/pfm/links/499.md +0 -1
- package/test/fixtures/pfm/links/500.md +0 -1
- package/test/fixtures/pfm/links/501.md +0 -5
- package/test/fixtures/pfm/links/502.md +0 -1
- package/test/fixtures/pfm/links/503.md +0 -1
- package/test/fixtures/pfm/links/504.md +0 -1
- package/test/fixtures/pfm/links/505.md +0 -3
- package/test/fixtures/pfm/links/506.md +0 -1
- package/test/fixtures/pfm/links/507.md +0 -1
- package/test/fixtures/pfm/links/508.md +0 -1
- package/test/fixtures/pfm/links/509.md +0 -1
- package/test/fixtures/pfm/links/510.md +0 -2
- package/test/fixtures/pfm/links/511.md +0 -1
- package/test/fixtures/pfm/links/512.md +0 -1
- package/test/fixtures/pfm/links/513.md +0 -1
- package/test/fixtures/pfm/links/514.md +0 -1
- package/test/fixtures/pfm/links/515.md +0 -1
- package/test/fixtures/pfm/links/516.md +0 -1
- package/test/fixtures/pfm/links/517.md +0 -1
- package/test/fixtures/pfm/links/518.md +0 -1
- package/test/fixtures/pfm/links/519.md +0 -1
- package/test/fixtures/pfm/links/520.md +0 -1
- package/test/fixtures/pfm/links/521.md +0 -1
- package/test/fixtures/pfm/links/522.md +0 -1
- package/test/fixtures/pfm/links/523.md +0 -1
- package/test/fixtures/pfm/links/524.md +0 -1
- package/test/fixtures/pfm/links/525.md +0 -1
- package/test/fixtures/pfm/links/526.md +0 -1
- package/test/fixtures/pfm/links/527.md +0 -3
- package/test/fixtures/pfm/links/528.md +0 -3
- package/test/fixtures/pfm/links/529.md +0 -3
- package/test/fixtures/pfm/links/530.md +0 -3
- package/test/fixtures/pfm/links/531.md +0 -3
- package/test/fixtures/pfm/links/532.md +0 -3
- package/test/fixtures/pfm/links/533.md +0 -3
- package/test/fixtures/pfm/links/534.md +0 -3
- package/test/fixtures/pfm/links/535.md +0 -3
- package/test/fixtures/pfm/links/536.md +0 -3
- package/test/fixtures/pfm/links/537.md +0 -3
- package/test/fixtures/pfm/links/538.md +0 -3
- package/test/fixtures/pfm/links/539.md +0 -3
- package/test/fixtures/pfm/links/540.md +0 -3
- package/test/fixtures/pfm/links/541.md +0 -4
- package/test/fixtures/pfm/links/542.md +0 -3
- package/test/fixtures/pfm/links/543.md +0 -4
- package/test/fixtures/pfm/links/544.md +0 -5
- package/test/fixtures/pfm/links/545.md +0 -3
- package/test/fixtures/pfm/links/546.md +0 -3
- package/test/fixtures/pfm/links/547.md +0 -3
- package/test/fixtures/pfm/links/548.md +0 -3
- package/test/fixtures/pfm/links/549.md +0 -3
- package/test/fixtures/pfm/links/550.md +0 -3
- package/test/fixtures/pfm/links/551.md +0 -3
- package/test/fixtures/pfm/links/552.md +0 -5
- package/test/fixtures/pfm/links/553.md +0 -3
- package/test/fixtures/pfm/links/554.md +0 -3
- package/test/fixtures/pfm/links/555.md +0 -3
- package/test/fixtures/pfm/links/556.md +0 -4
- package/test/fixtures/pfm/links/557.md +0 -3
- package/test/fixtures/pfm/links/558.md +0 -3
- package/test/fixtures/pfm/links/559.md +0 -3
- package/test/fixtures/pfm/links/560.md +0 -3
- package/test/fixtures/pfm/links/561.md +0 -3
- package/test/fixtures/pfm/links/562.md +0 -3
- package/test/fixtures/pfm/links/563.md +0 -3
- package/test/fixtures/pfm/links/564.md +0 -3
- package/test/fixtures/pfm/links/565.md +0 -4
- package/test/fixtures/pfm/links/566.md +0 -3
- package/test/fixtures/pfm/links/567.md +0 -3
- package/test/fixtures/pfm/links/568.md +0 -3
- package/test/fixtures/pfm/links/569.md +0 -3
- package/test/fixtures/pfm/links/570.md +0 -4
- package/test/fixtures/pfm/links/571.md +0 -4
- package/test/fixtures/pfm/list_items/253.md +0 -6
- package/test/fixtures/pfm/list_items/254.md +0 -6
- package/test/fixtures/pfm/list_items/255.md +0 -3
- package/test/fixtures/pfm/list_items/256.md +0 -3
- package/test/fixtures/pfm/list_items/257.md +0 -3
- package/test/fixtures/pfm/list_items/258.md +0 -3
- package/test/fixtures/pfm/list_items/259.md +0 -3
- package/test/fixtures/pfm/list_items/260.md +0 -3
- package/test/fixtures/pfm/list_items/261.md +0 -3
- package/test/fixtures/pfm/list_items/262.md +0 -4
- package/test/fixtures/pfm/list_items/263.md +0 -9
- package/test/fixtures/pfm/list_items/264.md +0 -6
- package/test/fixtures/pfm/list_items/265.md +0 -1
- package/test/fixtures/pfm/list_items/266.md +0 -1
- package/test/fixtures/pfm/list_items/267.md +0 -1
- package/test/fixtures/pfm/list_items/268.md +0 -1
- package/test/fixtures/pfm/list_items/269.md +0 -1
- package/test/fixtures/pfm/list_items/270.md +0 -3
- package/test/fixtures/pfm/list_items/271.md +0 -3
- package/test/fixtures/pfm/list_items/272.md +0 -5
- package/test/fixtures/pfm/list_items/273.md +0 -5
- package/test/fixtures/pfm/list_items/274.md +0 -5
- package/test/fixtures/pfm/list_items/275.md +0 -3
- package/test/fixtures/pfm/list_items/276.md +0 -3
- package/test/fixtures/pfm/list_items/277.md +0 -3
- package/test/fixtures/pfm/list_items/278.md +0 -8
- package/test/fixtures/pfm/list_items/279.md +0 -2
- package/test/fixtures/pfm/list_items/280.md +0 -3
- package/test/fixtures/pfm/list_items/281.md +0 -3
- package/test/fixtures/pfm/list_items/282.md +0 -3
- package/test/fixtures/pfm/list_items/283.md +0 -3
- package/test/fixtures/pfm/list_items/284.md +0 -1
- package/test/fixtures/pfm/list_items/285.md +0 -5
- package/test/fixtures/pfm/list_items/286.md +0 -6
- package/test/fixtures/pfm/list_items/287.md +0 -6
- package/test/fixtures/pfm/list_items/288.md +0 -6
- package/test/fixtures/pfm/list_items/289.md +0 -6
- package/test/fixtures/pfm/list_items/290.md +0 -6
- package/test/fixtures/pfm/list_items/291.md +0 -2
- package/test/fixtures/pfm/list_items/292.md +0 -2
- package/test/fixtures/pfm/list_items/293.md +0 -2
- package/test/fixtures/pfm/list_items/294.md +0 -4
- package/test/fixtures/pfm/list_items/295.md +0 -4
- package/test/fixtures/pfm/list_items/296.md +0 -2
- package/test/fixtures/pfm/list_items/297.md +0 -2
- package/test/fixtures/pfm/list_items/298.md +0 -1
- package/test/fixtures/pfm/list_items/299.md +0 -1
- package/test/fixtures/pfm/list_items/300.md +0 -4
- package/test/fixtures/pfm/lists/301.md +0 -3
- package/test/fixtures/pfm/lists/302.md +0 -3
- package/test/fixtures/pfm/lists/303.md +0 -3
- package/test/fixtures/pfm/lists/304.md +0 -2
- package/test/fixtures/pfm/lists/305.md +0 -2
- package/test/fixtures/pfm/lists/306.md +0 -6
- package/test/fixtures/pfm/lists/307.md +0 -6
- package/test/fixtures/pfm/lists/308.md +0 -7
- package/test/fixtures/pfm/lists/309.md +0 -9
- package/test/fixtures/pfm/lists/310.md +0 -7
- package/test/fixtures/pfm/lists/311.md +0 -5
- package/test/fixtures/pfm/lists/312.md +0 -5
- package/test/fixtures/pfm/lists/313.md +0 -5
- package/test/fixtures/pfm/lists/314.md +0 -4
- package/test/fixtures/pfm/lists/315.md +0 -4
- package/test/fixtures/pfm/lists/316.md +0 -5
- package/test/fixtures/pfm/lists/317.md +0 -5
- package/test/fixtures/pfm/lists/318.md +0 -7
- package/test/fixtures/pfm/lists/319.md +0 -5
- package/test/fixtures/pfm/lists/320.md +0 -4
- package/test/fixtures/pfm/lists/321.md +0 -6
- package/test/fixtures/pfm/lists/322.md +0 -1
- package/test/fixtures/pfm/lists/323.md +0 -2
- package/test/fixtures/pfm/lists/324.md +0 -5
- package/test/fixtures/pfm/lists/325.md +0 -4
- package/test/fixtures/pfm/lists/326.md +0 -7
- package/test/fixtures/pfm/paragraphs/219.md +0 -3
- package/test/fixtures/pfm/paragraphs/220.md +0 -5
- package/test/fixtures/pfm/paragraphs/221.md +0 -4
- package/test/fixtures/pfm/paragraphs/222.md +0 -2
- package/test/fixtures/pfm/paragraphs/223.md +0 -3
- package/test/fixtures/pfm/paragraphs/224.md +0 -2
- package/test/fixtures/pfm/paragraphs/225.md +0 -2
- package/test/fixtures/pfm/precedence/42.md +0 -2
- package/test/fixtures/pfm/setext_headings/100.md +0 -2
- package/test/fixtures/pfm/setext_headings/101.md +0 -2
- package/test/fixtures/pfm/setext_headings/102.md +0 -2
- package/test/fixtures/pfm/setext_headings/103.md +0 -5
- package/test/fixtures/pfm/setext_headings/104.md +0 -6
- package/test/fixtures/pfm/setext_headings/105.md +0 -4
- package/test/fixtures/pfm/setext_headings/106.md +0 -4
- package/test/fixtures/pfm/setext_headings/80.md +0 -5
- package/test/fixtures/pfm/setext_headings/81.md +0 -3
- package/test/fixtures/pfm/setext_headings/82.md +0 -3
- package/test/fixtures/pfm/setext_headings/83.md +0 -5
- package/test/fixtures/pfm/setext_headings/84.md +0 -8
- package/test/fixtures/pfm/setext_headings/85.md +0 -5
- package/test/fixtures/pfm/setext_headings/86.md +0 -2
- package/test/fixtures/pfm/setext_headings/87.md +0 -2
- package/test/fixtures/pfm/setext_headings/88.md +0 -5
- package/test/fixtures/pfm/setext_headings/89.md +0 -2
- package/test/fixtures/pfm/setext_headings/90.md +0 -2
- package/test/fixtures/pfm/setext_headings/91.md +0 -7
- package/test/fixtures/pfm/setext_headings/92.md +0 -2
- package/test/fixtures/pfm/setext_headings/93.md +0 -3
- package/test/fixtures/pfm/setext_headings/94.md +0 -2
- package/test/fixtures/pfm/setext_headings/95.md +0 -3
- package/test/fixtures/pfm/setext_headings/96.md +0 -6
- package/test/fixtures/pfm/setext_headings/97.md +0 -2
- package/test/fixtures/pfm/setext_headings/98.md +0 -2
- package/test/fixtures/pfm/setext_headings/99.md +0 -2
- package/test/fixtures/pfm/soft_line_breaks/648.md +0 -2
- package/test/fixtures/pfm/soft_line_breaks/649.md +0 -2
- package/test/fixtures/pfm/tabs/1.md +0 -1
- package/test/fixtures/pfm/tabs/10.md +0 -1
- package/test/fixtures/pfm/tabs/11.md +0 -1
- package/test/fixtures/pfm/tabs/12.md +0 -2
- package/test/fixtures/pfm/tabs/13.md +0 -2
- package/test/fixtures/pfm/tabs/14.md +0 -3
- package/test/fixtures/pfm/tabs/15.md +0 -2
- package/test/fixtures/pfm/tabs/16.md +0 -2
- package/test/fixtures/pfm/tabs/17.md +0 -3
- package/test/fixtures/pfm/tabs/2.md +0 -1
- package/test/fixtures/pfm/tabs/3.md +0 -2
- package/test/fixtures/pfm/tabs/4.md +0 -3
- package/test/fixtures/pfm/tabs/5.md +0 -3
- package/test/fixtures/pfm/tabs/6.md +0 -1
- package/test/fixtures/pfm/tabs/7.md +0 -1
- package/test/fixtures/pfm/tabs/8.md +0 -2
- package/test/fixtures/pfm/tabs/9.md +0 -3
- package/test/fixtures/pfm/textual_content/650.md +0 -1
- package/test/fixtures/pfm/textual_content/651.md +0 -1
- package/test/fixtures/pfm/textual_content/652.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/43.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/44.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/45.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/46.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/47.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/48.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/49.md +0 -2
- package/test/fixtures/pfm/thematic_breaks/50.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/51.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/52.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/53.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/54.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/55.md +0 -5
- package/test/fixtures/pfm/thematic_breaks/56.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/57.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/58.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/59.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/60.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/61.md +0 -2
- package/test/fixtures/svelte/00-introduction/00-hello-world/App.svelte +0 -5
- package/test/fixtures/svelte/00-introduction/01-dynamic-attributes/App.svelte +0 -7
- package/test/fixtures/svelte/00-introduction/02-styling/App.svelte +0 -9
- package/test/fixtures/svelte/00-introduction/03-nested-components/App.svelte +0 -14
- package/test/fixtures/svelte/00-introduction/03-nested-components/Nested.svelte +0 -1
- package/test/fixtures/svelte/00-introduction/04-html-tags/App.svelte +0 -5
- package/test/fixtures/svelte/01-reactivity/00-reactive-assignments/App.svelte +0 -11
- package/test/fixtures/svelte/01-reactivity/01-reactive-declarations/App.svelte +0 -18
- package/test/fixtures/svelte/01-reactivity/02-reactive-statements/App.svelte +0 -16
- package/test/fixtures/svelte/02-props/00-declaring-props/App.svelte +0 -5
- package/test/fixtures/svelte/02-props/00-declaring-props/Nested.svelte +0 -5
- package/test/fixtures/svelte/02-props/01-default-values/App.svelte +0 -6
- package/test/fixtures/svelte/02-props/01-default-values/Nested.svelte +0 -5
- package/test/fixtures/svelte/02-props/02-spread-props/App.svelte +0 -12
- package/test/fixtures/svelte/02-props/02-spread-props/Info.svelte +0 -12
- package/test/fixtures/svelte/03-logic/00-if-blocks/App.svelte +0 -19
- package/test/fixtures/svelte/03-logic/01-else-blocks/App.svelte +0 -17
- package/test/fixtures/svelte/03-logic/02-else-if-blocks/App.svelte +0 -11
- package/test/fixtures/svelte/03-logic/03-each-blocks/App.svelte +0 -17
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/App.svelte +0 -35
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/Thing.svelte +0 -24
- package/test/fixtures/svelte/04-events/00-dom-events/App.svelte +0 -16
- package/test/fixtures/svelte/04-events/01-inline-handlers/App.svelte +0 -11
- package/test/fixtures/svelte/04-events/02-event-modifiers/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/03-component-events/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/03-component-events/Inner.svelte +0 -15
- package/test/fixtures/svelte/04-events/04-event-forwarding/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/04-event-forwarding/Inner.svelte +0 -15
- package/test/fixtures/svelte/04-events/04-event-forwarding/Outer.svelte +0 -5
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/FancyButton.svelte +0 -15
- package/test/fixtures/svelte/05-bindings/00-text-inputs/App.svelte +0 -6
- package/test/fixtures/svelte/05-bindings/01-numeric-inputs/App.svelte +0 -16
- package/test/fixtures/svelte/05-bindings/02-checkbox-inputs/App.svelte +0 -18
- package/test/fixtures/svelte/05-bindings/03-group-inputs/App.svelte +0 -48
- package/test/fixtures/svelte/05-bindings/04-textarea-inputs/App.svelte +0 -12
- package/test/fixtures/svelte/05-bindings/05-select-bindings/App.svelte +0 -42
- package/test/fixtures/svelte/05-bindings/06-multiple-select-bindings/App.svelte +0 -49
- package/test/fixtures/svelte/05-bindings/07-each-block-bindings/App.svelte +0 -49
- package/test/fixtures/svelte/05-bindings/08-media-elements/App.svelte +0 -136
- package/test/fixtures/svelte/05-bindings/09-dimensions/App.svelte +0 -20
- package/test/fixtures/svelte/05-bindings/10-bind-this/App.svelte +0 -55
- package/test/fixtures/svelte/05-bindings/11-component-bindings/App.svelte +0 -14
- package/test/fixtures/svelte/05-bindings/11-component-bindings/Keypad.svelte +0 -40
- package/test/fixtures/svelte/06-lifecycle/00-onmount/App.svelte +0 -40
- package/test/fixtures/svelte/06-lifecycle/01-ondestroy/App.svelte +0 -11
- package/test/fixtures/svelte/06-lifecycle/02-update/App.svelte +0 -112
- package/test/fixtures/svelte/06-lifecycle/03-tick/App.svelte +0 -34
- package/test/fixtures/svelte/07-stores/00-writable-stores/App.svelte +0 -18
- package/test/fixtures/svelte/07-stores/00-writable-stores/Decrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/00-writable-stores/Incrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/00-writable-stores/Resetter.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/App.svelte +0 -12
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Decrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Incrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Resetter.svelte +0 -11
- package/test/fixtures/svelte/07-stores/02-readable-stores/App.svelte +0 -12
- package/test/fixtures/svelte/07-stores/03-derived-stores/App.svelte +0 -17
- package/test/fixtures/svelte/07-stores/04-custom-stores/App.svelte +0 -9
- package/test/fixtures/svelte/08-motion/00-tweened/App.svelte +0 -38
- package/test/fixtures/svelte/08-motion/01-spring/App.svelte +0 -38
- package/test/fixtures/svelte/09-transitions/00-transition/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/01-adding-parameters-to-transitions/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/02-in-and-out/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/03-custom-css-transitions/App.svelte +0 -49
- package/test/fixtures/svelte/09-transitions/04-custom-js-transitions/App.svelte +0 -36
- package/test/fixtures/svelte/09-transitions/05-transition-events/App.svelte +0 -25
- package/test/fixtures/svelte/10-animations/00-animate/App.svelte +0 -147
- package/test/fixtures/svelte/11-easing/00-easing/App.svelte +0 -106
- package/test/fixtures/svelte/11-easing/00-easing/Controls.svelte +0 -186
- package/test/fixtures/svelte/11-easing/00-easing/Grid.svelte +0 -62
- package/test/fixtures/svelte/12-svg/01-clock/App.svelte +0 -104
- package/test/fixtures/svelte/12-svg/02-bar-chart/App.svelte +0 -118
- package/test/fixtures/svelte/12-svg/03-area-chart/App.svelte +0 -111
- package/test/fixtures/svelte/12-svg/04-scatterplot/App.svelte +0 -24
- package/test/fixtures/svelte/12-svg/04-scatterplot/Scatterplot.svelte +0 -91
- package/test/fixtures/svelte/12-svg/05-svg-transitions/App.svelte +0 -74
- package/test/fixtures/svelte/13-actions/00-actions/App.svelte +0 -54
- package/test/fixtures/svelte/13-actions/01-adding-parameters-to-actions/App.svelte +0 -70
- package/test/fixtures/svelte/14-classes/00-classes/App.svelte +0 -29
- package/test/fixtures/svelte/14-classes/01-class-shorthand/App.svelte +0 -18
- package/test/fixtures/svelte/15-composition/00-slots/App.svelte +0 -8
- package/test/fixtures/svelte/15-composition/00-slots/Box.svelte +0 -14
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/App.svelte +0 -10
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/Box.svelte +0 -16
- package/test/fixtures/svelte/15-composition/02-named-slots/App.svelte +0 -14
- package/test/fixtures/svelte/15-composition/02-named-slots/ContactCard.svelte +0 -47
- package/test/fixtures/svelte/15-composition/03-slot-props/App.svelte +0 -46
- package/test/fixtures/svelte/15-composition/03-slot-props/Hoverable.svelte +0 -15
- package/test/fixtures/svelte/15-composition/04-modal/App.svelte +0 -35
- package/test/fixtures/svelte/15-composition/04-modal/Modal.svelte +0 -45
- package/test/fixtures/svelte/16-context/00-context-api/App.svelte +0 -13
- package/test/fixtures/svelte/16-context/00-context-api/Map.svelte +0 -50
- package/test/fixtures/svelte/16-context/00-context-api/MapMarker.svelte +0 -18
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/App.svelte +0 -39
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/File.svelte +0 -14
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/Folder.svelte +0 -52
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/App.svelte +0 -21
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/BlueThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/GreenThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/RedThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/02-svelte-window/App.svelte +0 -42
- package/test/fixtures/svelte/17-special-elements/03-svelte-window-bindings/App.svelte +0 -88
- package/test/fixtures/svelte/17-special-elements/04-svelte-body/App.svelte +0 -34
- package/test/fixtures/svelte/17-special-elements/05-svelte-head/App.svelte +0 -5
- package/test/fixtures/svelte/18-module-context/01-module-exports/App.svelte +0 -47
- package/test/fixtures/svelte/18-module-context/01-module-exports/AudioPlayer.svelte +0 -52
- package/test/fixtures/svelte/19-debugging/00-debug/App.svelte +0 -18
- package/test/fixtures/svelte/19-debugging/00-debug/Test.svelte +0 -250
- package/test/fixtures/svelte/20-7guis/01-7guis-counter/App.svelte +0 -7
- package/test/fixtures/svelte/20-7guis/02-7guis-temperature/App.svelte +0 -24
- package/test/fixtures/svelte/20-7guis/03-7guis-flight-booker/App.svelte +0 -59
- package/test/fixtures/svelte/20-7guis/04-7guis-timer/App.svelte +0 -38
- package/test/fixtures/svelte/20-7guis/05-7guis-crud/App.svelte +0 -97
- package/test/fixtures/svelte/20-7guis/06-7guis-circles/App.svelte +0 -125
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/App.svelte +0 -59
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Comment.svelte +0 -32
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Item.svelte +0 -39
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/List.svelte +0 -46
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Summary.svelte +0 -38
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/App.svelte +0 -38
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.svelte +0 -28
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/MutableTodo.svelte +0 -26
- package/test/fixtures/svelte/22-bugs/CSS/App.svelte +0 -45
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.svelte +0 -10
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.svelte +0 -15
- package/test/fixtures/svelte/99-embeds/20190420-blog-write-less-code/App.svelte +0 -9
- package/test/frontmatter.spec.ts +0 -133
- package/test/html.spec.ts +0 -829
- package/test/html_block_containers.spec.ts +0 -445
- package/test/images.spec.ts +0 -106
- package/test/imports.spec.ts +0 -166
- package/test/incremental.spec.ts +0 -750
- package/test/line_breaks.spec.ts +0 -166
- package/test/link_reference_definitions.spec.ts +0 -422
- package/test/links.spec.ts +0 -234
- package/test/lists.spec.ts +0 -694
- package/test/opcodes.spec.ts +0 -325
- package/test/paragraphs.spec.ts +0 -211
- package/test/parser_reuse.spec.ts +0 -40
- package/test/plugins.spec.ts +0 -879
- package/test/print.ts +0 -108
- package/test/run_bytecode.spec.ts +0 -36
- package/test/snapshots/hybrid/code-escaping.snap.ast +0 -13
- package/test/snapshots/hybrid/code-highlight-nesting.snap.ast +0 -2
- package/test/snapshots/hybrid/component-children.snap.ast +0 -37
- package/test/snapshots/hybrid/component-simple-00.snap.ast +0 -18
- package/test/snapshots/hybrid/component-simple-01.snap.ast +0 -15
- package/test/snapshots/hybrid/component-simple-02.snap.ast +0 -3
- package/test/snapshots/hybrid/component-simple-03.snap.ast +0 -16
- package/test/snapshots/hybrid/component-simple-04.snap.ast +0 -23
- package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +0 -3
- package/test/snapshots/hybrid/error.snap.ast +0 -24
- package/test/snapshots/hybrid/link-curlies.snap.ast +0 -56
- package/test/snapshots/hybrid/tags-in-frontmatter.snap.ast +0 -2
- package/test/snapshots/markdown/anchors-by-reference.snap.ast +0 -28
- package/test/snapshots/markdown/anchors-followed-by-brakets.snap.ast +0 -28
- package/test/snapshots/markdown/automatic-anchors.snap.ast +0 -6
- package/test/snapshots/markdown/blockquote-followed-by-code.snap.ast +0 -19
- package/test/snapshots/markdown/blockquote-inside-code.snap.ast +0 -8
- package/test/snapshots/markdown/blockquote-nested-markdown.snap.ast +0 -16
- package/test/snapshots/markdown/blockquote.snap.ast +0 -9
- package/test/snapshots/markdown/code-block-html-escape.snap.ast +0 -7
- package/test/snapshots/markdown/code-block-with-special-chars.snap.ast +0 -2
- package/test/snapshots/markdown/code-block.snap.ast +0 -7
- package/test/snapshots/markdown/double-emphasis.snap.ast +0 -32
- package/test/snapshots/markdown/doubline-list.snap.ast +0 -10
- package/test/snapshots/markdown/ellipsis.snap.ast +0 -41
- package/test/snapshots/markdown/emphasis-inside-inline-code.snap.ast +0 -5
- package/test/snapshots/markdown/emphasis.snap.ast +0 -296
- package/test/snapshots/markdown/encodeHTMLCodeTags.snap.ast +0 -18
- package/test/snapshots/markdown/escaped-html-taglikes.snap.ast +0 -21
- package/test/snapshots/markdown/escaped-number-period.snap.ast +0 -5
- package/test/snapshots/markdown/escaping.snap.ast +0 -65
- package/test/snapshots/markdown/github-style-at-start.snap.ast +0 -7
- package/test/snapshots/markdown/github-style-codeblock-inside-quote.snap.ast +0 -13
- package/test/snapshots/markdown/github-style-codeblock.snap.ast +0 -38
- package/test/snapshots/markdown/github-style-linebreaks.snap.ast +0 -2
- package/test/snapshots/markdown/h1-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h1-with-equals.snap.ast +0 -6
- package/test/snapshots/markdown/h1-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h2-with-dashes.snap.ast +0 -5
- package/test/snapshots/markdown/h2-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h2-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h3-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h3-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h4-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h5-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h6-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/horizontal-rules.snap.ast +0 -11
- package/test/snapshots/markdown/html-comments.snap.ast +0 -19
- package/test/snapshots/markdown/html-inside-listed-code.snap.ast +0 -6
- package/test/snapshots/markdown/html5-strutural-tags.snap.ast +0 -132
- package/test/snapshots/markdown/images-followed-by-brackets.snap.ast +0 -12
- package/test/snapshots/markdown/images.snap.ast +0 -35
- package/test/snapshots/markdown/implicit-anchors.snap.ast +0 -22
- package/test/snapshots/markdown/inline-anchors.snap.ast +0 -13
- package/test/snapshots/markdown/inline-code.snap.ast +0 -41
- package/test/snapshots/markdown/inline-escaped-chars.snap.ast +0 -10
- package/test/snapshots/markdown/inline-style-tag.snap.ast +0 -7
- package/test/snapshots/markdown/lazy-blockquote.snap.ast +0 -10
- package/test/snapshots/markdown/line-starts-with-html.snap.ast +0 -11
- package/test/snapshots/markdown/list-followed-by-blockquote.snap.ast +0 -23
- package/test/snapshots/markdown/list-followed-by-ghcode.snap.ast +0 -20
- package/test/snapshots/markdown/list-with-blockquote.snap.ast +0 -11
- package/test/snapshots/markdown/literal-html-tags.snap.ast +0 -44
- package/test/snapshots/markdown/multi-paragraph-list.snap.ast +0 -14
- package/test/snapshots/markdown/multiline-unordered-list.snap.ast +0 -9
- package/test/snapshots/markdown/nested-blockquote.snap.ast +0 -13
- package/test/snapshots/markdown/nested-gh-codeblocks.snap.ast +0 -6
- package/test/snapshots/markdown/obfuscated-emails.snap.ast +0 -1
- package/test/snapshots/markdown/ordered-list-same-number.snap.ast +0 -9
- package/test/snapshots/markdown/ordered-list-starting-number.snap.ast +0 -22
- package/test/snapshots/markdown/ordered-list-wrong-numbers.snap.ast +0 -9
- package/test/snapshots/markdown/ordered-list.snap.ast +0 -9
- package/test/snapshots/markdown/paragraphed-list-with-sublists.snap.ast +0 -26
- package/test/snapshots/markdown/pre-code-tags-inside-code-block.snap.ast +0 -6
- package/test/snapshots/markdown/pre-code-tags.snap.ast +0 -32
- package/test/snapshots/markdown/relative-anchors.snap.ast +0 -7
- package/test/snapshots/markdown/repeated-headers.snap.ast +0 -12
- package/test/snapshots/markdown/simple-paragraph.snap.ast +0 -5
- package/test/snapshots/markdown/strip-references.snap.ast +0 -9
- package/test/snapshots/markdown/strong.snap.ast +0 -17
- package/test/snapshots/markdown/unordered-list-asterisk.snap.ast +0 -9
- package/test/snapshots/markdown/unordered-list-minus.snap.ast +0 -9
- package/test/snapshots/markdown/unordered-list-plus.snap.ast +0 -9
- package/test/snapshots/markdown/url-with-parenthesis.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/62.snap.ast +0 -19
- package/test/snapshots/pfm/atx_headings/63.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/64.snap.ast +0 -8
- package/test/snapshots/pfm/atx_headings/65.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/66.snap.ast +0 -9
- package/test/snapshots/pfm/atx_headings/67.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/68.snap.ast +0 -10
- package/test/snapshots/pfm/atx_headings/69.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/70.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/71.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/72.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/73.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/74.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/75.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/76.snap.ast +0 -13
- package/test/snapshots/pfm/atx_headings/77.snap.ast +0 -6
- package/test/snapshots/pfm/atx_headings/78.snap.ast +0 -10
- package/test/snapshots/pfm/atx_headings/79.snap.ast +0 -8
- package/test/snapshots/pfm/autolinks/594.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/595.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/596.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/597.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/598.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/599.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/600.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/601.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/602.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/603.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/604.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/605.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/606.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/607.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/608.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/609.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/610.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/611.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/612.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/12.snap.ast +0 -35
- package/test/snapshots/pfm/backslash_escapes/13.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/14.snap.ast +0 -25
- package/test/snapshots/pfm/backslash_escapes/15.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/16.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/17.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/18.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/19.snap.ast +0 -10
- package/test/snapshots/pfm/backslash_escapes/20.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/21.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/22.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/23.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/24.snap.ast +0 -2
- package/test/snapshots/pfm/blank_lines/227.snap.ast +0 -13
- package/test/snapshots/pfm/block_quotes/228.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/229.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/230.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/231.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/232.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/233.snap.ast +0 -12
- package/test/snapshots/pfm/block_quotes/234.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/235.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/236.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/237.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/238.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/239.snap.ast +0 -3
- package/test/snapshots/pfm/block_quotes/240.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/241.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/242.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/243.snap.ast +0 -7
- package/test/snapshots/pfm/block_quotes/244.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/245.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/246.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/247.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/248.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/249.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/250.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/251.snap.ast +0 -12
- package/test/snapshots/pfm/block_quotes/252.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/pfm_fence_close.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_compact.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_end_quote.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_info.snap.ast +0 -4
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_longer.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_nested.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_twice.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/pfm_fence_info_eof.snap.ast +0 -3
- package/test/snapshots/pfm/block_quotes/pfm_fence_unclosed.snap.ast +0 -3
- package/test/snapshots/pfm/code_spans/328.snap.ast +0 -3
- package/test/snapshots/pfm/code_spans/329.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/330.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/331.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/332.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/333.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/334.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/335.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/336.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/337.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/338.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/339.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/340.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/341.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/342.snap.ast +0 -7
- package/test/snapshots/pfm/code_spans/343.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/344.snap.ast +0 -5
- package/test/snapshots/pfm/code_spans/345.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/346.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/347.snap.ast +0 -2
- package/test/snapshots/pfm/code_spans/348.snap.ast +0 -5
- package/test/snapshots/pfm/code_spans/349.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_1.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_2.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_3.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_4.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_5.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_6.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_7.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_8.snap.ast +0 -8
- package/test/snapshots/pfm/code_spans/pfm_328_9.snap.ast +0 -10
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/350.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/351.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/352.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/353.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/354.snap.ast +0 -18
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/355.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/356.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/357.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/358.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/359.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/360.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/361.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/362.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/363.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/364.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/365.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/366.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/367.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/368.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/369.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/370.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/371.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/372.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/373.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/374.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/375.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/376.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/377.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/378.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/379.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/380.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/381.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/382.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/383.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/384.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/385.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/386.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/387.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/388.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/389.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/390.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/391.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/392.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/393.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/394.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/395.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/396.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/397.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/398.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/399.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/400.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/401.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/402.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/403.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/404.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/405.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/406.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/407.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/408.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/409.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/410.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/411.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/412.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/413.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/414.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/415.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/416.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/417.snap.ast +0 -15
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/418.snap.ast +0 -11
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/419.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/420.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/421.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/422.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/423.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/424.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/425.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/426.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/427.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/428.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/429.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/430.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/431.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/432.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/433.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/434.snap.ast +0 -4
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/435.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/436.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/437.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/438.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/439.snap.ast +0 -9
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/440.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/441.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/442.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/443.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/444.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/445.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/446.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/447.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/448.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/449.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/450.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/451.snap.ast +0 -9
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/452.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/453.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/454.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/455.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/456.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/457.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/458.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/459.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/460.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/461.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/462.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/463.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/464.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/465.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/466.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/467.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/468.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/469.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/470.snap.ast +0 -10
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/471.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/472.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/473.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/474.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/475.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/476.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/477.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/478.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/480.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/481.snap.ast +0 -7
- package/test/snapshots/pfm/fenced_code_blocks/119.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/121.snap.ast +0 -4
- package/test/snapshots/pfm/fenced_code_blocks/122.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/124.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/126.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/127.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/128.snap.ast +0 -11
- package/test/snapshots/pfm/fenced_code_blocks/130.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/131.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/132.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/133.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/134.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/135.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/136.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/137.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/138.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/140.snap.ast +0 -8
- package/test/snapshots/pfm/fenced_code_blocks/142.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/144.snap.ast +0 -3
- package/test/snapshots/pfm/fenced_code_blocks/145.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_2.snap.ast +0 -6
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_3.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof_no_lf.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/1.snap.ast +0 -6
- package/test/snapshots/pfm/frontmatter/10.snap.ast +0 -4
- package/test/snapshots/pfm/frontmatter/2.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/3.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/4.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/5.snap.ast +0 -7
- package/test/snapshots/pfm/frontmatter/6.snap.ast +0 -9
- package/test/snapshots/pfm/frontmatter/7.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/8.snap.ast +0 -6
- package/test/snapshots/pfm/frontmatter/9.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/001.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/002.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/003.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/004.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/005.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/006.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/007.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/008.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/009.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/010.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/011.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/012.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/013.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/014.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/015.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/016.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/017.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/018.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/019.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/020.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/021.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/022.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/023.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/024.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/025.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/026.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/027.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/028.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/029.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/030.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/031.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/032.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/033.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/034.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/035.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/036.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/037.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/038.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/039.snap.ast +0 -11
- package/test/snapshots/pfm/generic_directives/040.snap.ast +0 -17
- package/test/snapshots/pfm/generic_directives/041.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/042.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/043.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/044.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/045.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/046.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/047.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/048.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/049.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/050.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/051.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/052.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/053.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/054.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/055.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/056.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/057.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/058.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/059.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/060.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/061.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/062.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/063.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/064.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/065.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/066.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/067.snap.ast +0 -16
- package/test/snapshots/pfm/generic_directives/068.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/069.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/070.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/071.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/072.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/073.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/074.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/075.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/076.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/077.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/078.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/079.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/080.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/081.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/082.snap.ast +0 -11
- package/test/snapshots/pfm/generic_directives/083.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/084.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/085.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/086.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/087.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/088.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/089.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/090.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/091.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/092.snap.ast +0 -16
- package/test/snapshots/pfm/generic_directives/093.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/094.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/095.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/096.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/097.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/098.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/099.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/100.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/101.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/102.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/103.snap.ast +0 -13
- package/test/snapshots/pfm/generic_directives/104.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/105.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/106.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/107.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/108.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/109.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/110.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/111.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/112.snap.ast +0 -18
- package/test/snapshots/pfm/generic_directives/113.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/114.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/115.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/116.snap.ast +0 -13
- package/test/snapshots/pfm/generic_directives/117.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/118.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/119.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/120.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/121.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/122.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/123.snap.ast +0 -3
- package/test/snapshots/pfm/hard_line_breaks/633.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/634.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/635.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/636.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/637.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/638.snap.ast +0 -7
- package/test/snapshots/pfm/hard_line_breaks/639.snap.ast +0 -7
- package/test/snapshots/pfm/hard_line_breaks/640.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/641.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/642.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/643.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/644.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/645.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/646.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/647.snap.ast +0 -4
- package/test/snapshots/pfm/html/148.snap.ast +0 -21
- package/test/snapshots/pfm/html/149.snap.ast +0 -17
- package/test/snapshots/pfm/html/150.snap.ast +0 -11
- package/test/snapshots/pfm/html/151.snap.ast +0 -7
- package/test/snapshots/pfm/html/152.snap.ast +0 -10
- package/test/snapshots/pfm/html/153.snap.ast +0 -4
- package/test/snapshots/pfm/html/154.snap.ast +0 -4
- package/test/snapshots/pfm/html/155.snap.ast +0 -13
- package/test/snapshots/pfm/html/156.snap.ast +0 -7
- package/test/snapshots/pfm/html/157.snap.ast +0 -6
- package/test/snapshots/pfm/html/158.snap.ast +0 -10
- package/test/snapshots/pfm/html/159.snap.ast +0 -6
- package/test/snapshots/pfm/html/160.snap.ast +0 -9
- package/test/snapshots/pfm/html/161.snap.ast +0 -4
- package/test/snapshots/pfm/html/162.snap.ast +0 -7
- package/test/snapshots/pfm/html/163.snap.ast +0 -8
- package/test/snapshots/pfm/html/164.snap.ast +0 -7
- package/test/snapshots/pfm/html/165.snap.ast +0 -7
- package/test/snapshots/pfm/html/166.snap.ast +0 -8
- package/test/snapshots/pfm/html/167.snap.ast +0 -10
- package/test/snapshots/pfm/html/168.snap.ast +0 -5
- package/test/snapshots/pfm/html/169.snap.ast +0 -15
- package/test/snapshots/pfm/html/170.snap.ast +0 -6
- package/test/snapshots/pfm/html/171.snap.ast +0 -15
- package/test/snapshots/pfm/html/172.snap.ast +0 -6
- package/test/snapshots/pfm/html/173.snap.ast +0 -2
- package/test/snapshots/pfm/html/174.snap.ast +0 -11
- package/test/snapshots/pfm/html/175.snap.ast +0 -7
- package/test/snapshots/pfm/html/176.snap.ast +0 -7
- package/test/snapshots/pfm/html/177.snap.ast +0 -9
- package/test/snapshots/pfm/html/178.snap.ast +0 -7
- package/test/snapshots/pfm/html/179.snap.ast +0 -6
- package/test/snapshots/pfm/html/180.snap.ast +0 -14
- package/test/snapshots/pfm/html/181.snap.ast +0 -5
- package/test/snapshots/pfm/html/182.snap.ast +0 -16
- package/test/snapshots/pfm/html/183.snap.ast +0 -6
- package/test/snapshots/pfm/html/184.snap.ast +0 -8
- package/test/snapshots/pfm/html/185.snap.ast +0 -10
- package/test/snapshots/pfm/html/186.snap.ast +0 -11
- package/test/snapshots/pfm/html/187.snap.ast +0 -8
- package/test/snapshots/pfm/html/188.snap.ast +0 -11
- package/test/snapshots/pfm/html/189.snap.ast +0 -9
- package/test/snapshots/pfm/html/190.snap.ast +0 -17
- package/test/snapshots/pfm/html/191.snap.ast +0 -17
- package/test/snapshots/pfm/html/613.snap.ast +0 -8
- package/test/snapshots/pfm/html/614.snap.ast +0 -4
- package/test/snapshots/pfm/html/615.snap.ast +0 -5
- package/test/snapshots/pfm/html/616.snap.ast +0 -3
- package/test/snapshots/pfm/html/617.snap.ast +0 -5
- package/test/snapshots/pfm/html/618.snap.ast +0 -5
- package/test/snapshots/pfm/html/619.snap.ast +0 -4
- package/test/snapshots/pfm/html/620.snap.ast +0 -5
- package/test/snapshots/pfm/html/621.snap.ast +0 -10
- package/test/snapshots/pfm/html/622.snap.ast +0 -4
- package/test/snapshots/pfm/html/623.snap.ast +0 -5
- package/test/snapshots/pfm/html/624.snap.ast +0 -4
- package/test/snapshots/pfm/html/625.snap.ast +0 -5
- package/test/snapshots/pfm/html/626.snap.ast +0 -10
- package/test/snapshots/pfm/html/627.snap.ast +0 -5
- package/test/snapshots/pfm/html/628.snap.ast +0 -6
- package/test/snapshots/pfm/html/629.snap.ast +0 -12
- package/test/snapshots/pfm/html/630.snap.ast +0 -5
- package/test/snapshots/pfm/html/631.snap.ast +0 -5
- package/test/snapshots/pfm/html/632.snap.ast +0 -4
- package/test/snapshots/pfm/images/572.snap.ast +0 -5
- package/test/snapshots/pfm/images/573.snap.ast +0 -9
- package/test/snapshots/pfm/images/574.snap.ast +0 -7
- package/test/snapshots/pfm/images/575.snap.ast +0 -7
- package/test/snapshots/pfm/images/576.snap.ast +0 -11
- package/test/snapshots/pfm/images/577.snap.ast +0 -11
- package/test/snapshots/pfm/images/578.snap.ast +0 -5
- package/test/snapshots/pfm/images/579.snap.ast +0 -6
- package/test/snapshots/pfm/images/580.snap.ast +0 -5
- package/test/snapshots/pfm/images/581.snap.ast +0 -4
- package/test/snapshots/pfm/images/582.snap.ast +0 -8
- package/test/snapshots/pfm/images/583.snap.ast +0 -8
- package/test/snapshots/pfm/images/584.snap.ast +0 -8
- package/test/snapshots/pfm/images/585.snap.ast +0 -11
- package/test/snapshots/pfm/images/586.snap.ast +0 -8
- package/test/snapshots/pfm/images/587.snap.ast +0 -9
- package/test/snapshots/pfm/images/588.snap.ast +0 -6
- package/test/snapshots/pfm/images/589.snap.ast +0 -9
- package/test/snapshots/pfm/images/590.snap.ast +0 -12
- package/test/snapshots/pfm/images/591.snap.ast +0 -6
- package/test/snapshots/pfm/images/592.snap.ast +0 -7
- package/test/snapshots/pfm/images/593.snap.ast +0 -7
- package/test/snapshots/pfm/imports/1.snap.ast +0 -6
- package/test/snapshots/pfm/imports/10.snap.ast +0 -4
- package/test/snapshots/pfm/imports/11.snap.ast +0 -6
- package/test/snapshots/pfm/imports/2.snap.ast +0 -7
- package/test/snapshots/pfm/imports/3.snap.ast +0 -7
- package/test/snapshots/pfm/imports/4.snap.ast +0 -6
- package/test/snapshots/pfm/imports/5.snap.ast +0 -6
- package/test/snapshots/pfm/imports/6.snap.ast +0 -8
- package/test/snapshots/pfm/imports/7.snap.ast +0 -6
- package/test/snapshots/pfm/imports/8.snap.ast +0 -8
- package/test/snapshots/pfm/imports/9.snap.ast +0 -2
- package/test/snapshots/pfm/inlines/327.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/192.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/193.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/194.snap.ast +0 -8
- package/test/snapshots/pfm/link_reference_definitions/195.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/196.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/197.snap.ast +0 -16
- package/test/snapshots/pfm/link_reference_definitions/198.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/199.snap.ast +0 -12
- package/test/snapshots/pfm/link_reference_definitions/200.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/201.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/202.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/203.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/204.snap.ast +0 -8
- package/test/snapshots/pfm/link_reference_definitions/205.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/206.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/207.snap.ast +0 -1
- package/test/snapshots/pfm/link_reference_definitions/208.snap.ast +0 -12
- package/test/snapshots/pfm/link_reference_definitions/209.snap.ast +0 -5
- package/test/snapshots/pfm/link_reference_definitions/210.snap.ast +0 -7
- package/test/snapshots/pfm/link_reference_definitions/211.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/212.snap.ast +0 -9
- package/test/snapshots/pfm/link_reference_definitions/213.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/214.snap.ast +0 -11
- package/test/snapshots/pfm/link_reference_definitions/215.snap.ast +0 -9
- package/test/snapshots/pfm/link_reference_definitions/216.snap.ast +0 -7
- package/test/snapshots/pfm/link_reference_definitions/217.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/218.snap.ast +0 -13
- package/test/snapshots/pfm/links/482.snap.ast +0 -5
- package/test/snapshots/pfm/links/483.snap.ast +0 -5
- package/test/snapshots/pfm/links/484.snap.ast +0 -4
- package/test/snapshots/pfm/links/485.snap.ast +0 -5
- package/test/snapshots/pfm/links/486.snap.ast +0 -5
- package/test/snapshots/pfm/links/487.snap.ast +0 -4
- package/test/snapshots/pfm/links/488.snap.ast +0 -5
- package/test/snapshots/pfm/links/489.snap.ast +0 -5
- package/test/snapshots/pfm/links/490.snap.ast +0 -7
- package/test/snapshots/pfm/links/491.snap.ast +0 -7
- package/test/snapshots/pfm/links/492.snap.ast +0 -5
- package/test/snapshots/pfm/links/493.snap.ast +0 -5
- package/test/snapshots/pfm/links/494.snap.ast +0 -11
- package/test/snapshots/pfm/links/495.snap.ast +0 -5
- package/test/snapshots/pfm/links/496.snap.ast +0 -5
- package/test/snapshots/pfm/links/497.snap.ast +0 -5
- package/test/snapshots/pfm/links/498.snap.ast +0 -5
- package/test/snapshots/pfm/links/499.snap.ast +0 -5
- package/test/snapshots/pfm/links/500.snap.ast +0 -5
- package/test/snapshots/pfm/links/501.snap.ast +0 -15
- package/test/snapshots/pfm/links/502.snap.ast +0 -5
- package/test/snapshots/pfm/links/503.snap.ast +0 -5
- package/test/snapshots/pfm/links/504.snap.ast +0 -5
- package/test/snapshots/pfm/links/505.snap.ast +0 -11
- package/test/snapshots/pfm/links/506.snap.ast +0 -5
- package/test/snapshots/pfm/links/507.snap.ast +0 -5
- package/test/snapshots/pfm/links/508.snap.ast +0 -5
- package/test/snapshots/pfm/links/509.snap.ast +0 -5
- package/test/snapshots/pfm/links/510.snap.ast +0 -7
- package/test/snapshots/pfm/links/511.snap.ast +0 -5
- package/test/snapshots/pfm/links/512.snap.ast +0 -11
- package/test/snapshots/pfm/links/513.snap.ast +0 -6
- package/test/snapshots/pfm/links/514.snap.ast +0 -7
- package/test/snapshots/pfm/links/515.snap.ast +0 -6
- package/test/snapshots/pfm/links/516.snap.ast +0 -12
- package/test/snapshots/pfm/links/517.snap.ast +0 -6
- package/test/snapshots/pfm/links/518.snap.ast +0 -7
- package/test/snapshots/pfm/links/519.snap.ast +0 -10
- package/test/snapshots/pfm/links/520.snap.ast +0 -7
- package/test/snapshots/pfm/links/521.snap.ast +0 -7
- package/test/snapshots/pfm/links/522.snap.ast +0 -9
- package/test/snapshots/pfm/links/523.snap.ast +0 -9
- package/test/snapshots/pfm/links/524.snap.ast +0 -6
- package/test/snapshots/pfm/links/525.snap.ast +0 -6
- package/test/snapshots/pfm/links/526.snap.ast +0 -7
- package/test/snapshots/pfm/links/527.snap.ast +0 -6
- package/test/snapshots/pfm/links/528.snap.ast +0 -14
- package/test/snapshots/pfm/links/529.snap.ast +0 -7
- package/test/snapshots/pfm/links/530.snap.ast +0 -13
- package/test/snapshots/pfm/links/531.snap.ast +0 -7
- package/test/snapshots/pfm/links/532.snap.ast +0 -8
- package/test/snapshots/pfm/links/533.snap.ast +0 -10
- package/test/snapshots/pfm/links/534.snap.ast +0 -8
- package/test/snapshots/pfm/links/535.snap.ast +0 -11
- package/test/snapshots/pfm/links/536.snap.ast +0 -7
- package/test/snapshots/pfm/links/537.snap.ast +0 -7
- package/test/snapshots/pfm/links/538.snap.ast +0 -8
- package/test/snapshots/pfm/links/539.snap.ast +0 -6
- package/test/snapshots/pfm/links/540.snap.ast +0 -8
- package/test/snapshots/pfm/links/541.snap.ast +0 -15
- package/test/snapshots/pfm/links/542.snap.ast +0 -8
- package/test/snapshots/pfm/links/543.snap.ast +0 -11
- package/test/snapshots/pfm/links/544.snap.ast +0 -7
- package/test/snapshots/pfm/links/545.snap.ast +0 -10
- package/test/snapshots/pfm/links/546.snap.ast +0 -16
- package/test/snapshots/pfm/links/547.snap.ast +0 -18
- package/test/snapshots/pfm/links/548.snap.ast +0 -14
- package/test/snapshots/pfm/links/549.snap.ast +0 -6
- package/test/snapshots/pfm/links/550.snap.ast +0 -7
- package/test/snapshots/pfm/links/551.snap.ast +0 -12
- package/test/snapshots/pfm/links/552.snap.ast +0 -12
- package/test/snapshots/pfm/links/553.snap.ast +0 -6
- package/test/snapshots/pfm/links/554.snap.ast +0 -8
- package/test/snapshots/pfm/links/555.snap.ast +0 -6
- package/test/snapshots/pfm/links/556.snap.ast +0 -9
- package/test/snapshots/pfm/links/557.snap.ast +0 -6
- package/test/snapshots/pfm/links/558.snap.ast +0 -8
- package/test/snapshots/pfm/links/559.snap.ast +0 -10
- package/test/snapshots/pfm/links/560.snap.ast +0 -9
- package/test/snapshots/pfm/links/561.snap.ast +0 -6
- package/test/snapshots/pfm/links/562.snap.ast +0 -7
- package/test/snapshots/pfm/links/563.snap.ast +0 -8
- package/test/snapshots/pfm/links/564.snap.ast +0 -8
- package/test/snapshots/pfm/links/565.snap.ast +0 -6
- package/test/snapshots/pfm/links/566.snap.ast +0 -6
- package/test/snapshots/pfm/links/567.snap.ast +0 -6
- package/test/snapshots/pfm/links/568.snap.ast +0 -6
- package/test/snapshots/pfm/links/569.snap.ast +0 -8
- package/test/snapshots/pfm/links/570.snap.ast +0 -8
- package/test/snapshots/pfm/links/571.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/253.snap.ast +0 -15
- package/test/snapshots/pfm/list_items/254.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/255.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/256.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/257.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/258.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/259.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/260.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/261.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/262.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/263.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/264.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/265.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/266.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/267.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/268.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/269.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/270.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/271.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/272.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/273.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/274.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/275.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/276.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/277.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/278.snap.ast +0 -14
- package/test/snapshots/pfm/list_items/279.snap.ast +0 -6
- package/test/snapshots/pfm/list_items/280.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/281.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/282.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/283.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/284.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/285.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/286.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/287.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/288.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/289.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/290.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/291.snap.ast +0 -7
- package/test/snapshots/pfm/list_items/292.snap.ast +0 -11
- package/test/snapshots/pfm/list_items/293.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/294.snap.ast +0 -14
- package/test/snapshots/pfm/list_items/295.snap.ast +0 -11
- package/test/snapshots/pfm/list_items/296.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/297.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/298.snap.ast +0 -6
- package/test/snapshots/pfm/list_items/299.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/300.snap.ast +0 -12
- package/test/snapshots/pfm/lists/301.snap.ast +0 -11
- package/test/snapshots/pfm/lists/302.snap.ast +0 -11
- package/test/snapshots/pfm/lists/303.snap.ast +0 -10
- package/test/snapshots/pfm/lists/304.snap.ast +0 -6
- package/test/snapshots/pfm/lists/305.snap.ast +0 -8
- package/test/snapshots/pfm/lists/306.snap.ast +0 -12
- package/test/snapshots/pfm/lists/307.snap.ast +0 -14
- package/test/snapshots/pfm/lists/308.snap.ast +0 -17
- package/test/snapshots/pfm/lists/309.snap.ast +0 -18
- package/test/snapshots/pfm/lists/310.snap.ast +0 -17
- package/test/snapshots/pfm/lists/311.snap.ast +0 -12
- package/test/snapshots/pfm/lists/312.snap.ast +0 -13
- package/test/snapshots/pfm/lists/313.snap.ast +0 -12
- package/test/snapshots/pfm/lists/314.snap.ast +0 -12
- package/test/snapshots/pfm/lists/315.snap.ast +0 -11
- package/test/snapshots/pfm/lists/316.snap.ast +0 -14
- package/test/snapshots/pfm/lists/317.snap.ast +0 -15
- package/test/snapshots/pfm/lists/318.snap.ast +0 -9
- package/test/snapshots/pfm/lists/319.snap.ast +0 -13
- package/test/snapshots/pfm/lists/320.snap.ast +0 -11
- package/test/snapshots/pfm/lists/321.snap.ast +0 -11
- package/test/snapshots/pfm/lists/322.snap.ast +0 -5
- package/test/snapshots/pfm/lists/323.snap.ast +0 -8
- package/test/snapshots/pfm/lists/324.snap.ast +0 -7
- package/test/snapshots/pfm/lists/325.snap.ast +0 -11
- package/test/snapshots/pfm/lists/326.snap.ast +0 -19
- package/test/snapshots/pfm/paragraphs/219.snap.ast +0 -8
- package/test/snapshots/pfm/paragraphs/220.snap.ast +0 -12
- package/test/snapshots/pfm/paragraphs/221.snap.ast +0 -9
- package/test/snapshots/pfm/paragraphs/222.snap.ast +0 -6
- package/test/snapshots/pfm/paragraphs/223.snap.ast +0 -8
- package/test/snapshots/pfm/paragraphs/224.snap.ast +0 -6
- package/test/snapshots/pfm/paragraphs/225.snap.ast +0 -6
- package/test/snapshots/pfm/precedence/42.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/100.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/101.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/102.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/103.snap.ast +0 -12
- package/test/snapshots/pfm/setext_headings/104.snap.ast +0 -12
- package/test/snapshots/pfm/setext_headings/105.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/106.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/80.snap.ast +0 -15
- package/test/snapshots/pfm/setext_headings/81.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/82.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/83.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/84.snap.ast +0 -16
- package/test/snapshots/pfm/setext_headings/85.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/86.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/87.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/88.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/89.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/90.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/91.snap.ast +0 -7
- package/test/snapshots/pfm/setext_headings/92.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/93.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/94.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/95.snap.ast +0 -7
- package/test/snapshots/pfm/setext_headings/96.snap.ast +0 -9
- package/test/snapshots/pfm/setext_headings/97.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/98.snap.ast +0 -2
- package/test/snapshots/pfm/setext_headings/99.snap.ast +0 -6
- package/test/snapshots/pfm/soft_line_breaks/648.snap.ast +0 -6
- package/test/snapshots/pfm/soft_line_breaks/649.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/1.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/10.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/11.snap.ast +0 -2
- package/test/snapshots/pfm/tabs/12.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/13.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/14.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/15.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/16.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/17.snap.ast +0 -11
- package/test/snapshots/pfm/tabs/2.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/3.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/4.snap.ast +0 -9
- package/test/snapshots/pfm/tabs/5.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/6.snap.ast +0 -5
- package/test/snapshots/pfm/tabs/7.snap.ast +0 -5
- package/test/snapshots/pfm/tabs/8.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/9.snap.ast +0 -10
- package/test/snapshots/pfm/textual_content/650.snap.ast +0 -4
- package/test/snapshots/pfm/textual_content/651.snap.ast +0 -4
- package/test/snapshots/pfm/textual_content/652.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/43.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/44.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/45.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/46.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/47.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/48.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/49.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/50.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/51.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/52.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/53.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/54.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/55.snap.ast +0 -15
- package/test/snapshots/pfm/thematic_breaks/56.snap.ast +0 -5
- package/test/snapshots/pfm/thematic_breaks/57.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/58.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/59.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/60.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/61.snap.ast +0 -6
- package/test/snapshots/svelte/00-introduction/00-hello-world/App.snap.ast +0 -8
- package/test/snapshots/svelte/00-introduction/01-dynamic-attributes/App.snap.ast +0 -7
- package/test/snapshots/svelte/00-introduction/02-styling/App.snap.ast +0 -7
- package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +0 -11
- package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +0 -3
- package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +0 -6
- package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +0 -11
- package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +0 -22
- package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +0 -11
- package/test/snapshots/svelte/02-props/00-declaring-props/App.snap.ast +0 -5
- package/test/snapshots/svelte/02-props/00-declaring-props/Nested.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/01-default-values/App.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/01-default-values/Nested.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/02-spread-props/App.snap.ast +0 -5
- package/test/snapshots/svelte/02-props/02-spread-props/Info.snap.ast +0 -23
- package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +0 -22
- package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +0 -19
- package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +0 -23
- package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +0 -22
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +0 -37
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +0 -16
- package/test/snapshots/svelte/04-events/00-dom-events/App.snap.ast +0 -15
- package/test/snapshots/svelte/04-events/01-inline-handlers/App.snap.ast +0 -15
- package/test/snapshots/svelte/04-events/02-event-modifiers/App.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/03-component-events/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/03-component-events/Inner.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/04-event-forwarding/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/04-event-forwarding/Inner.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/04-event-forwarding/Outer.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/FancyButton.snap.ast +0 -8
- package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +0 -10
- package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +0 -28
- package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +0 -30
- package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +0 -75
- package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +0 -11
- package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +0 -40
- package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +0 -76
- package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +0 -40
- package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +0 -49
- package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +0 -25
- package/test/snapshots/svelte/05-bindings/10-bind-this/App.snap.ast +0 -9
- package/test/snapshots/svelte/05-bindings/11-component-bindings/App.snap.ast +0 -9
- package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +0 -56
- package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +0 -33
- package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +0 -13
- package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +0 -29
- package/test/snapshots/svelte/06-lifecycle/03-tick/App.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/App.snap.ast +0 -14
- package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +0 -14
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +0 -7
- package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +0 -18
- package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +0 -17
- package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +0 -38
- package/test/snapshots/svelte/08-motion/01-spring/App.snap.ast +0 -38
- package/test/snapshots/svelte/09-transitions/00-transition/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +0 -25
- package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +0 -25
- package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +0 -58
- package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +0 -36
- package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +0 -108
- package/test/snapshots/svelte/11-easing/00-easing/Grid.snap.ast +0 -31
- package/test/snapshots/svelte/12-svg/01-clock/App.snap.ast +0 -48
- package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +0 -63
- package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +0 -70
- package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +0 -24
- package/test/snapshots/svelte/12-svg/04-scatterplot/Scatterplot.snap.ast +0 -59
- package/test/snapshots/svelte/12-svg/05-svg-transitions/App.snap.ast +0 -43
- package/test/snapshots/svelte/13-actions/00-actions/App.snap.ast +0 -8
- package/test/snapshots/svelte/13-actions/01-adding-parameters-to-actions/App.snap.ast +0 -8
- package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +0 -17
- package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +0 -22
- package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +0 -13
- package/test/snapshots/svelte/15-composition/00-slots/Box.snap.ast +0 -8
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/App.snap.ast +0 -16
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +0 -12
- package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +0 -20
- package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +0 -35
- package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +0 -65
- package/test/snapshots/svelte/15-composition/03-slot-props/Hoverable.snap.ast +0 -8
- package/test/snapshots/svelte/15-composition/04-modal/App.snap.ast +0 -66
- package/test/snapshots/svelte/15-composition/04-modal/Modal.snap.ast +0 -26
- package/test/snapshots/svelte/16-context/00-context-api/App.snap.ast +0 -23
- package/test/snapshots/svelte/16-context/00-context-api/Map.snap.ast +0 -15
- package/test/snapshots/svelte/16-context/00-context-api/MapMarker.snap.ast +0 -2
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/App.snap.ast +0 -5
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/File.snap.ast +0 -9
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +0 -34
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +0 -16
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +0 -27
- package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +0 -37
- package/test/snapshots/svelte/17-special-elements/04-svelte-body/App.snap.ast +0 -12
- package/test/snapshots/svelte/17-special-elements/05-svelte-head/App.snap.ast +0 -10
- package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +0 -34
- package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +0 -24
- package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +0 -26
- package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +0 -355
- package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +0 -10
- package/test/snapshots/svelte/20-7guis/02-7guis-temperature/App.snap.ast +0 -16
- package/test/snapshots/svelte/20-7guis/03-7guis-flight-booker/App.snap.ast +0 -27
- package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +0 -32
- package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +0 -47
- package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +0 -46
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/App.snap.ast +0 -22
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Comment.snap.ast +0 -27
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +0 -40
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +0 -26
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +0 -24
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +0 -26
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.snap.ast +0 -20
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/MutableTodo.snap.ast +0 -17
- package/test/snapshots/svelte/22-bugs/CSS/App.snap.ast +0 -3
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.snap.ast +0 -17
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +0 -23
- package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +0 -15
- package/test/strikethrough.spec.ts +0 -114
- package/test/subscript.spec.ts +0 -132
- package/test/superscript.spec.ts +0 -139
- package/test/svelte_blocks.spec.ts +0 -208
- package/test/svelte_expressions.spec.ts +0 -264
- package/test/svelte_tags.spec.ts +0 -140
- package/test/tables.spec.ts +0 -1010
- package/test/thematic_breaks.spec.ts +0 -274
- package/test/tree_builder.spec.ts +0 -627
- package/test/unclosed_delimiters.spec.ts +0 -529
- package/test/utils.ts +0 -58
- package/test/wire_emitter.spec.ts +0 -487
- package/tsc/buf_utils.d.ts +0 -13
- package/tsc/buf_utils.js +0 -49
- package/tsc/constants.d.ts +0 -68
- package/tsc/constants.js +0 -68
- package/tsc/cursor.d.ts +0 -83
- package/tsc/cursor.js +0 -177
- package/tsc/main.d.ts +0 -808
- package/tsc/main.js +0 -10415
- package/tsc/node_view.d.ts +0 -115
- package/tsc/node_view.js +0 -374
- package/tsc/opcodes.d.ts +0 -92
- package/tsc/opcodes.js +0 -1
- package/tsc/plugin_dispatch.d.ts +0 -82
- package/tsc/plugin_dispatch.js +0 -623
- package/tsc/plugin_types.d.ts +0 -31
- package/tsc/plugin_types.js +0 -1
- package/tsc/tree_builder.d.ts +0 -62
- package/tsc/tree_builder.js +0 -328
- package/tsc/types.d.ts +0 -25
- package/tsc/types.js +0 -1
- package/tsc/undo_log.d.ts +0 -113
- package/tsc/undo_log.js +0 -229
- package/tsc/utils.d.ts +0 -268
- package/tsc/utils.js +0 -1135
- package/tsc/utils.spec.d.ts +0 -1
- package/tsc/utils.spec.js +0 -354
- package/tsc/wire_emitter.d.ts +0 -66
- package/tsc/wire_emitter.js +0 -391
- package/tsc/wire_tree_builder.d.ts +0 -55
- package/tsc/wire_tree_builder.js +0 -273
- package/tsconfig.json +0 -15
- package/vite.config.build.ts +0 -28
package/test/plugins.spec.ts
DELETED
|
@@ -1,879 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect } from 'vitest';
|
|
2
|
-
import { parse_markdown_svelte, NodeKind } from '../src/main';
|
|
3
|
-
import type { ParsePlugin } from '../src/plugin_types';
|
|
4
|
-
import { TreeBuilder } from '../src/tree_builder';
|
|
5
|
-
import { PluginDispatcher } from '../src/plugin_dispatch';
|
|
6
|
-
import { SourceTextSource, WireTextSource } from '../src/node_view';
|
|
7
|
-
import { PFMParser, WireEmitter } from '../src/main';
|
|
8
|
-
import { WireTreeBuilder } from '../src/wire_tree_builder';
|
|
9
|
-
import { NodeBuffer, kind_to_string, string_to_kind } from '../src/utils';
|
|
10
|
-
import { UndoLog, UndoEntryKind, ATTR_DID_NOT_EXIST } from '../src/undo_log';
|
|
11
|
-
import { NodeView, ViewCache } from '../src/node_view';
|
|
12
|
-
|
|
13
|
-
describe('string_to_kind', () => {
|
|
14
|
-
it('maps all known node types', () => {
|
|
15
|
-
expect(string_to_kind('root')).toBe(NodeKind.root);
|
|
16
|
-
expect(string_to_kind('heading')).toBe(NodeKind.heading);
|
|
17
|
-
expect(string_to_kind('paragraph')).toBe(NodeKind.paragraph);
|
|
18
|
-
expect(string_to_kind('link')).toBe(NodeKind.link);
|
|
19
|
-
expect(string_to_kind('code_fence')).toBe(NodeKind.code_fence);
|
|
20
|
-
expect(string_to_kind('emphasis')).toBe(NodeKind.emphasis);
|
|
21
|
-
expect(string_to_kind('import_statement')).toBe(NodeKind.import_statement);
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
it('returns undefined for unknown types', () => {
|
|
25
|
-
expect(string_to_kind('nonexistent')).toBeUndefined();
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
it('round-trips with kind_to_string', () => {
|
|
29
|
-
for (let i = 0; i <= 34; i++) {
|
|
30
|
-
const name = kind_to_string(i as NodeKind);
|
|
31
|
-
expect(string_to_kind(name)).toBe(i);
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
describe('NodeBuffer extensions', () => {
|
|
37
|
-
describe('push_unlinked', () => {
|
|
38
|
-
it('allocates without parent linking', () => {
|
|
39
|
-
const buf = new NodeBuffer(16);
|
|
40
|
-
const idx = buf.push_unlinked(NodeKind.paragraph, 0);
|
|
41
|
-
expect(buf.kind_at(idx)).toBe(NodeKind.paragraph);
|
|
42
|
-
expect(buf.parent_at(idx)).toBe(0xffffffff);
|
|
43
|
-
expect(buf.first_child_at(0)).toBe(0xffffffff);
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
describe('wrap_children', () => {
|
|
48
|
-
it('wraps existing children under a new node', () => {
|
|
49
|
-
const buf = new NodeBuffer(16);
|
|
50
|
-
// push two children under root
|
|
51
|
-
const a = buf.push(NodeKind.paragraph, 0, 0);
|
|
52
|
-
const b = buf.push(NodeKind.paragraph, 10, 0);
|
|
53
|
-
|
|
54
|
-
// wrap root's children in a block_quote
|
|
55
|
-
const wrapper = buf.wrap_children(0, NodeKind.block_quote);
|
|
56
|
-
|
|
57
|
-
// wrapper is sole child of root
|
|
58
|
-
expect(buf.first_child_at(0)).toBe(wrapper);
|
|
59
|
-
expect(buf.last_child_at(0)).toBe(wrapper);
|
|
60
|
-
|
|
61
|
-
// a and b are children of wrapper
|
|
62
|
-
expect(buf.parent_at(a)).toBe(wrapper);
|
|
63
|
-
expect(buf.parent_at(b)).toBe(wrapper);
|
|
64
|
-
expect(buf.first_child_at(wrapper)).toBe(a);
|
|
65
|
-
expect(buf.last_child_at(wrapper)).toBe(b);
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('works with no existing children', () => {
|
|
69
|
-
const buf = new NodeBuffer(16);
|
|
70
|
-
const wrapper = buf.wrap_children(0, NodeKind.paragraph);
|
|
71
|
-
|
|
72
|
-
expect(buf.first_child_at(0)).toBe(wrapper);
|
|
73
|
-
expect(buf.last_child_at(0)).toBe(wrapper);
|
|
74
|
-
expect(buf.first_child_at(wrapper)).toBe(0xffffffff);
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('preserves sibling chain order', () => {
|
|
78
|
-
const buf = new NodeBuffer(16);
|
|
79
|
-
const a = buf.push(NodeKind.text, 0, 0);
|
|
80
|
-
const b = buf.push(NodeKind.text, 5, 0);
|
|
81
|
-
const c = buf.push(NodeKind.text, 10, 0);
|
|
82
|
-
|
|
83
|
-
const wrapper = buf.wrap_children(0, NodeKind.emphasis);
|
|
84
|
-
|
|
85
|
-
// sibling chain: a -> b -> c
|
|
86
|
-
expect(buf.next_at(a)).toBe(b);
|
|
87
|
-
expect(buf.next_at(b)).toBe(c);
|
|
88
|
-
expect(buf.next_at(c)).toBe(0xffffffff);
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
describe('UndoLog', () => {
|
|
94
|
-
it('records and revokes attr set', () => {
|
|
95
|
-
const buf = new NodeBuffer(16);
|
|
96
|
-
const idx = buf.push(NodeKind.heading, 0, 0);
|
|
97
|
-
buf.set_metadata(idx, { id: 'original' });
|
|
98
|
-
|
|
99
|
-
const undo = new UndoLog();
|
|
100
|
-
undo.set_active_node(idx);
|
|
101
|
-
undo.record_attr_set(idx, 'id', 'original');
|
|
102
|
-
undo.clear_active_node();
|
|
103
|
-
|
|
104
|
-
// simulate mutation
|
|
105
|
-
const meta = buf.metadata_at(idx)!;
|
|
106
|
-
meta.id = 'changed';
|
|
107
|
-
buf.set_metadata(idx, meta);
|
|
108
|
-
|
|
109
|
-
expect(buf.metadata_at(idx)!.id).toBe('changed');
|
|
110
|
-
|
|
111
|
-
// revoke
|
|
112
|
-
undo.revoke(idx, buf);
|
|
113
|
-
expect(buf.metadata_at(idx)!.id).toBe('original');
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
it('records and revokes attr set on non-existent key', () => {
|
|
117
|
-
const buf = new NodeBuffer(16);
|
|
118
|
-
const idx = buf.push(NodeKind.heading, 0, 0);
|
|
119
|
-
|
|
120
|
-
const undo = new UndoLog();
|
|
121
|
-
undo.set_active_node(idx);
|
|
122
|
-
undo.record_attr_set(idx, 'id', ATTR_DID_NOT_EXIST);
|
|
123
|
-
undo.clear_active_node();
|
|
124
|
-
|
|
125
|
-
// simulate mutation
|
|
126
|
-
buf.set_metadata(idx, { id: 'new' });
|
|
127
|
-
|
|
128
|
-
// revoke
|
|
129
|
-
undo.revoke(idx, buf);
|
|
130
|
-
expect(buf.metadata_at(idx)!.id).toBeUndefined();
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
it('records and revokes type change', () => {
|
|
134
|
-
const buf = new NodeBuffer(16);
|
|
135
|
-
const idx = buf.push(NodeKind.heading, 0, 0);
|
|
136
|
-
|
|
137
|
-
const undo = new UndoLog();
|
|
138
|
-
undo.set_active_node(idx);
|
|
139
|
-
undo.record_type_change(idx, NodeKind.heading);
|
|
140
|
-
undo.clear_active_node();
|
|
141
|
-
|
|
142
|
-
// simulate type change
|
|
143
|
-
buf.set_kind(idx, NodeKind.paragraph);
|
|
144
|
-
expect(buf.kind_at(idx)).toBe(NodeKind.paragraph);
|
|
145
|
-
|
|
146
|
-
// revoke
|
|
147
|
-
undo.revoke(idx, buf);
|
|
148
|
-
expect(buf.kind_at(idx)).toBe(NodeKind.heading);
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
it('commit discards the log', () => {
|
|
152
|
-
const buf = new NodeBuffer(16);
|
|
153
|
-
const idx = buf.push(NodeKind.heading, 0, 0);
|
|
154
|
-
|
|
155
|
-
const undo = new UndoLog();
|
|
156
|
-
undo.set_active_node(idx);
|
|
157
|
-
undo.record_type_change(idx, NodeKind.heading);
|
|
158
|
-
undo.clear_active_node();
|
|
159
|
-
|
|
160
|
-
buf.set_kind(idx, NodeKind.paragraph);
|
|
161
|
-
|
|
162
|
-
// commit (not revoke)
|
|
163
|
-
undo.commit(idx);
|
|
164
|
-
// type change is permanent
|
|
165
|
-
expect(buf.kind_at(idx)).toBe(NodeKind.paragraph);
|
|
166
|
-
expect(undo.has(idx)).toBe(false);
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
it('revokes in reverse order', () => {
|
|
170
|
-
const buf = new NodeBuffer(16);
|
|
171
|
-
const idx = buf.push(NodeKind.heading, 0, 0);
|
|
172
|
-
buf.set_metadata(idx, {});
|
|
173
|
-
|
|
174
|
-
const undo = new UndoLog();
|
|
175
|
-
undo.set_active_node(idx);
|
|
176
|
-
|
|
177
|
-
// first mutation: set id
|
|
178
|
-
undo.record_attr_set(idx, 'id', ATTR_DID_NOT_EXIST);
|
|
179
|
-
buf.metadata_at(idx)!.id = 'first';
|
|
180
|
-
buf.set_metadata(idx, buf.metadata_at(idx)!);
|
|
181
|
-
|
|
182
|
-
// second mutation: overwrite id
|
|
183
|
-
undo.record_attr_set(idx, 'id', 'first');
|
|
184
|
-
buf.metadata_at(idx)!.id = 'second';
|
|
185
|
-
buf.set_metadata(idx, buf.metadata_at(idx)!);
|
|
186
|
-
|
|
187
|
-
undo.clear_active_node();
|
|
188
|
-
|
|
189
|
-
expect(buf.metadata_at(idx)!.id).toBe('second');
|
|
190
|
-
|
|
191
|
-
// revoke should restore to before any mutation
|
|
192
|
-
undo.revoke(idx, buf);
|
|
193
|
-
expect(buf.metadata_at(idx)!.id).toBeUndefined();
|
|
194
|
-
});
|
|
195
|
-
});
|
|
196
|
-
|
|
197
|
-
describe('parse plugins', () => {
|
|
198
|
-
it('no-op when no plugins provided', () => {
|
|
199
|
-
const result = parse_markdown_svelte('# Hello\n\nWorld\n');
|
|
200
|
-
const root = result.nodes.get_node(0);
|
|
201
|
-
expect(root.children.length).toBeGreaterThan(0);
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
it('fires open handler on matching node type', () => {
|
|
205
|
-
const seen: string[] = [];
|
|
206
|
-
const plugin: ParsePlugin = {
|
|
207
|
-
heading: {
|
|
208
|
-
parse(node) {
|
|
209
|
-
seen.push(node.type);
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
parse_markdown_svelte('# Hello\n\n## World\n', { plugins: [plugin] });
|
|
215
|
-
expect(seen).toEqual(['heading', 'heading']);
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
it('fires close callback on node close', () => {
|
|
219
|
-
const open_types: string[] = [];
|
|
220
|
-
const close_types: string[] = [];
|
|
221
|
-
|
|
222
|
-
const plugin: ParsePlugin = {
|
|
223
|
-
heading: {
|
|
224
|
-
parse(node) {
|
|
225
|
-
open_types.push(node.type);
|
|
226
|
-
return () => {
|
|
227
|
-
close_types.push(node.type);
|
|
228
|
-
};
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
};
|
|
232
|
-
|
|
233
|
-
parse_markdown_svelte('# Hello\n', { plugins: [plugin] });
|
|
234
|
-
expect(open_types).toEqual(['heading']);
|
|
235
|
-
expect(close_types).toEqual(['heading']);
|
|
236
|
-
});
|
|
237
|
-
|
|
238
|
-
it('sets attrs on nodes', () => {
|
|
239
|
-
const plugin: ParsePlugin = {
|
|
240
|
-
heading: {
|
|
241
|
-
parse(node) {
|
|
242
|
-
node.attrs.id = 'test-heading';
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
const result = parse_markdown_svelte('# Hello\n', {
|
|
248
|
-
plugins: [plugin],
|
|
249
|
-
});
|
|
250
|
-
const root = result.nodes.get_node(0);
|
|
251
|
-
const heading_idx = root.children[0];
|
|
252
|
-
expect(result.nodes.metadata_at(heading_idx)?.id).toBe('test-heading');
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
it('reads text_content in close callback', () => {
|
|
256
|
-
let text = '';
|
|
257
|
-
const plugin: ParsePlugin = {
|
|
258
|
-
heading: {
|
|
259
|
-
parse(node) {
|
|
260
|
-
return () => {
|
|
261
|
-
text = node.text_content;
|
|
262
|
-
};
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
parse_markdown_svelte('# Hello World\n', { plugins: [plugin] });
|
|
268
|
-
expect(text).toBe('Hello World');
|
|
269
|
-
});
|
|
270
|
-
|
|
271
|
-
it('reads heading depth', () => {
|
|
272
|
-
const depths: (number | undefined)[] = [];
|
|
273
|
-
const plugin: ParsePlugin = {
|
|
274
|
-
heading: {
|
|
275
|
-
parse(node) {
|
|
276
|
-
depths.push(node.depth);
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
parse_markdown_svelte('# H1\n\n## H2\n\n### H3\n', {
|
|
282
|
-
plugins: [plugin],
|
|
283
|
-
});
|
|
284
|
-
expect(depths).toEqual([1, 2, 3]);
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
it('traverses to parent', () => {
|
|
288
|
-
let parent_type = '';
|
|
289
|
-
const plugin: ParsePlugin = {
|
|
290
|
-
heading: {
|
|
291
|
-
parse(node) {
|
|
292
|
-
parent_type = node.parent?.type ?? 'none';
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
parse_markdown_svelte('# Hello\n', { plugins: [plugin] });
|
|
298
|
-
expect(parent_type).toBe('root');
|
|
299
|
-
});
|
|
300
|
-
|
|
301
|
-
it('multiple plugins compose on same node type', () => {
|
|
302
|
-
const log: string[] = [];
|
|
303
|
-
|
|
304
|
-
const plugin_a: ParsePlugin = {
|
|
305
|
-
heading: {
|
|
306
|
-
parse(node) {
|
|
307
|
-
node.attrs.from_a = true;
|
|
308
|
-
log.push('a-open');
|
|
309
|
-
return () => log.push('a-close');
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
const plugin_b: ParsePlugin = {
|
|
315
|
-
heading: {
|
|
316
|
-
parse(node) {
|
|
317
|
-
// second plugin can see first plugin's mutations
|
|
318
|
-
log.push(`b-open:from_a=${node.attrs.from_a}`);
|
|
319
|
-
node.attrs.from_b = true;
|
|
320
|
-
return () => log.push('b-close');
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
const result = parse_markdown_svelte('# Hello\n', {
|
|
326
|
-
plugins: [plugin_a, plugin_b],
|
|
327
|
-
});
|
|
328
|
-
|
|
329
|
-
expect(log).toEqual(['a-open', 'b-open:from_a=true', 'a-close', 'b-close']);
|
|
330
|
-
|
|
331
|
-
// both mutations present
|
|
332
|
-
const root = result.nodes.get_node(0);
|
|
333
|
-
const heading_idx = root.children[0];
|
|
334
|
-
const meta = result.nodes.metadata_at(heading_idx);
|
|
335
|
-
expect(meta?.from_a).toBe(true);
|
|
336
|
-
expect(meta?.from_b).toBe(true);
|
|
337
|
-
});
|
|
338
|
-
|
|
339
|
-
it('handles multiple different node types', () => {
|
|
340
|
-
const types_seen: string[] = [];
|
|
341
|
-
|
|
342
|
-
const plugin: ParsePlugin = {
|
|
343
|
-
heading: {
|
|
344
|
-
parse(node) {
|
|
345
|
-
types_seen.push(node.type);
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
paragraph: {
|
|
349
|
-
parse(node) {
|
|
350
|
-
types_seen.push(node.type);
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
parse_markdown_svelte('# Hello\n\nWorld\n', { plugins: [plugin] });
|
|
356
|
-
expect(types_seen).toEqual(['heading', 'paragraph']);
|
|
357
|
-
});
|
|
358
|
-
|
|
359
|
-
it('ignores unregistered node types', () => {
|
|
360
|
-
let called = false;
|
|
361
|
-
const plugin: ParsePlugin = {
|
|
362
|
-
heading: {
|
|
363
|
-
parse() {
|
|
364
|
-
called = true;
|
|
365
|
-
},
|
|
366
|
-
},
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
// no headings in this input
|
|
370
|
-
parse_markdown_svelte('Just a paragraph\n', { plugins: [plugin] });
|
|
371
|
-
expect(called).toBe(false);
|
|
372
|
-
});
|
|
373
|
-
});
|
|
374
|
-
|
|
375
|
-
describe('parse plugins: sequential', () => {
|
|
376
|
-
it('runs sequential plugins after fused plugins', () => {
|
|
377
|
-
const log: string[] = [];
|
|
378
|
-
|
|
379
|
-
const fused: ParsePlugin = {
|
|
380
|
-
heading: {
|
|
381
|
-
parse() {
|
|
382
|
-
log.push('fused');
|
|
383
|
-
},
|
|
384
|
-
},
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
const sequential: ParsePlugin = {
|
|
388
|
-
sequential: true,
|
|
389
|
-
heading: {
|
|
390
|
-
parse() {
|
|
391
|
-
log.push('sequential');
|
|
392
|
-
},
|
|
393
|
-
},
|
|
394
|
-
};
|
|
395
|
-
|
|
396
|
-
parse_markdown_svelte('# Hello\n', {
|
|
397
|
-
plugins: [fused, sequential],
|
|
398
|
-
});
|
|
399
|
-
expect(log).toEqual(['fused', 'sequential']);
|
|
400
|
-
});
|
|
401
|
-
|
|
402
|
-
it('sequential plugin sees fused mutations', () => {
|
|
403
|
-
const fused: ParsePlugin = {
|
|
404
|
-
heading: {
|
|
405
|
-
parse(node) {
|
|
406
|
-
node.attrs.fused_id = 'from-fused';
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
let seen_id = '';
|
|
412
|
-
const sequential: ParsePlugin = {
|
|
413
|
-
sequential: true,
|
|
414
|
-
heading: {
|
|
415
|
-
parse(node) {
|
|
416
|
-
seen_id = node.attrs.fused_id ?? 'not-found';
|
|
417
|
-
},
|
|
418
|
-
},
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
parse_markdown_svelte('# Hello\n', {
|
|
422
|
-
plugins: [fused, sequential],
|
|
423
|
-
});
|
|
424
|
-
expect(seen_id).toBe('from-fused');
|
|
425
|
-
});
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
describe('parse plugins: structural mutations', () => {
|
|
429
|
-
it('append adds a child node', () => {
|
|
430
|
-
const plugin: ParsePlugin = {
|
|
431
|
-
heading: {
|
|
432
|
-
parse(node) {
|
|
433
|
-
node.append('text');
|
|
434
|
-
},
|
|
435
|
-
},
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
const result = parse_markdown_svelte('# Hello\n', {
|
|
439
|
-
plugins: [plugin],
|
|
440
|
-
});
|
|
441
|
-
const root = result.nodes.get_node(0);
|
|
442
|
-
const heading = result.nodes.get_node(root.children[0]);
|
|
443
|
-
// heading should have children (at minimum the appended text node)
|
|
444
|
-
expect(heading.children.length).toBeGreaterThan(0);
|
|
445
|
-
});
|
|
446
|
-
|
|
447
|
-
it('prepend adds a first child node', () => {
|
|
448
|
-
const plugin: ParsePlugin = {
|
|
449
|
-
heading: {
|
|
450
|
-
parse(node) {
|
|
451
|
-
const prepended = node.prepend('text');
|
|
452
|
-
prepended.attrs.marker = true;
|
|
453
|
-
},
|
|
454
|
-
},
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
const result = parse_markdown_svelte('# Hello\n', {
|
|
458
|
-
plugins: [plugin],
|
|
459
|
-
});
|
|
460
|
-
const root = result.nodes.get_node(0);
|
|
461
|
-
const heading = result.nodes.get_node(root.children[0]);
|
|
462
|
-
// first child should have our marker attr
|
|
463
|
-
if (heading.children.length > 0) {
|
|
464
|
-
const first_child_meta = result.nodes.metadata_at(heading.children[0]);
|
|
465
|
-
expect(first_child_meta?.marker).toBe(true);
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
it('wrap_inner wraps existing children', () => {
|
|
470
|
-
let wrapper_type = '';
|
|
471
|
-
const plugin: ParsePlugin = {
|
|
472
|
-
heading: {
|
|
473
|
-
parse(node) {
|
|
474
|
-
const wrapper = node.wrap_inner('link');
|
|
475
|
-
wrapper_type = wrapper.type;
|
|
476
|
-
return () => {
|
|
477
|
-
wrapper.attrs.href = '#test';
|
|
478
|
-
};
|
|
479
|
-
},
|
|
480
|
-
},
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
const result = parse_markdown_svelte('# Hello\n', {
|
|
484
|
-
plugins: [plugin],
|
|
485
|
-
});
|
|
486
|
-
expect(wrapper_type).toBe('link');
|
|
487
|
-
|
|
488
|
-
const root = result.nodes.get_node(0);
|
|
489
|
-
const heading = result.nodes.get_node(root.children[0]);
|
|
490
|
-
// heading's first child should be the link wrapper
|
|
491
|
-
expect(heading.children.length).toBeGreaterThan(0);
|
|
492
|
-
const first_child_kind = result.nodes.kind_at(heading.children[0]);
|
|
493
|
-
expect(first_child_kind).toBe(NodeKind.link);
|
|
494
|
-
|
|
495
|
-
// link should have href attr
|
|
496
|
-
const link_meta = result.nodes.metadata_at(heading.children[0]);
|
|
497
|
-
expect(link_meta?.href).toBe('#test');
|
|
498
|
-
});
|
|
499
|
-
});
|
|
500
|
-
|
|
501
|
-
describe('parse plugins: the heading auto-link example from PLUGINS.md', () => {
|
|
502
|
-
function slugify(text: string): string {
|
|
503
|
-
return text
|
|
504
|
-
.toLowerCase()
|
|
505
|
-
.replace(/[^\w]+/g, '-')
|
|
506
|
-
.replace(/^-+|-+$/g, '');
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
it('wraps heading content in a link with slug-based href', () => {
|
|
510
|
-
const plugin: ParsePlugin = {
|
|
511
|
-
heading: {
|
|
512
|
-
parse(node) {
|
|
513
|
-
const link = node.wrap_inner('link');
|
|
514
|
-
return () => {
|
|
515
|
-
const slug = slugify(node.text_content);
|
|
516
|
-
node.attrs.id = slug;
|
|
517
|
-
link.attrs.href = `#${slug}`;
|
|
518
|
-
};
|
|
519
|
-
},
|
|
520
|
-
},
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
const result = parse_markdown_svelte('# Hello World\n\n## Second\n', {
|
|
524
|
-
plugins: [plugin],
|
|
525
|
-
});
|
|
526
|
-
|
|
527
|
-
const root = result.nodes.get_node(0);
|
|
528
|
-
|
|
529
|
-
// find headings in root children (skip line_breaks/blank lines)
|
|
530
|
-
const headings = root.children
|
|
531
|
-
.map((idx) => result.nodes.get_node(idx))
|
|
532
|
-
.filter((n) => n.kind === 'heading');
|
|
533
|
-
|
|
534
|
-
expect(headings.length).toBe(2);
|
|
535
|
-
|
|
536
|
-
// first heading
|
|
537
|
-
const h1 = headings[0];
|
|
538
|
-
expect(h1.metadata.id).toBe('hello-world');
|
|
539
|
-
const link1 = result.nodes.get_node(h1.children[0]);
|
|
540
|
-
expect(link1.kind).toBe('link');
|
|
541
|
-
expect(link1.metadata.href).toBe('#hello-world');
|
|
542
|
-
|
|
543
|
-
// second heading
|
|
544
|
-
const h2 = headings[1];
|
|
545
|
-
expect(h2.metadata.id).toBe('second');
|
|
546
|
-
const link2 = result.nodes.get_node(h2.children[0]);
|
|
547
|
-
expect(link2.kind).toBe('link');
|
|
548
|
-
expect(link2.metadata.href).toBe('#second');
|
|
549
|
-
});
|
|
550
|
-
});
|
|
551
|
-
|
|
552
|
-
describe('parse plugins: wire path (WireEmitter → WireTreeBuilder)', () => {
|
|
553
|
-
function slugify(text: string): string {
|
|
554
|
-
return text
|
|
555
|
-
.toLowerCase()
|
|
556
|
-
.replace(/[^\w]+/g, '-')
|
|
557
|
-
.replace(/^-+|-+$/g, '');
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
it('simple attrs on strong_emphasis through wire pipeline', () => {
|
|
561
|
-
const plugin: ParsePlugin = {
|
|
562
|
-
strong_emphasis: {
|
|
563
|
-
parse(node) {
|
|
564
|
-
node.attrs.id = 'boo';
|
|
565
|
-
},
|
|
566
|
-
},
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
const source = 'hello *world*\n';
|
|
570
|
-
const emitter = new WireEmitter();
|
|
571
|
-
const parser = new PFMParser(emitter);
|
|
572
|
-
emitter.set_source(source);
|
|
573
|
-
parser.parse(source);
|
|
574
|
-
const batches = emitter.flush();
|
|
575
|
-
|
|
576
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
577
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
578
|
-
builder.apply(batches);
|
|
579
|
-
|
|
580
|
-
const buf = builder.get_buffer();
|
|
581
|
-
|
|
582
|
-
// find strong_emphasis
|
|
583
|
-
let strong_idx = -1;
|
|
584
|
-
for (let i = 0; i < buf.size; i++) {
|
|
585
|
-
if (buf.kind_at(i) === NodeKind.strong_emphasis) {
|
|
586
|
-
strong_idx = i;
|
|
587
|
-
break;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
expect(strong_idx).not.toBe(-1);
|
|
591
|
-
expect(buf.metadata_at(strong_idx)).toEqual({ id: 'boo' });
|
|
592
|
-
});
|
|
593
|
-
|
|
594
|
-
it('autolink works through wire pipeline', () => {
|
|
595
|
-
const plugin: ParsePlugin = {
|
|
596
|
-
heading: {
|
|
597
|
-
parse(node) {
|
|
598
|
-
const link = node.wrap_inner('link');
|
|
599
|
-
return () => {
|
|
600
|
-
const slug = slugify(node.text_content);
|
|
601
|
-
node.attrs.id = slug;
|
|
602
|
-
link.attrs.href = `#${slug}`;
|
|
603
|
-
};
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
const source = '# Hello World\n';
|
|
609
|
-
|
|
610
|
-
// wire pipeline: parser → WireEmitter → batches → WireTreeBuilder
|
|
611
|
-
const emitter = new WireEmitter();
|
|
612
|
-
const parser = new PFMParser(emitter);
|
|
613
|
-
emitter.set_source(source);
|
|
614
|
-
parser.parse(source);
|
|
615
|
-
const batches = emitter.flush();
|
|
616
|
-
|
|
617
|
-
// build tree with plugin dispatcher
|
|
618
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
619
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
620
|
-
builder.apply(batches);
|
|
621
|
-
dispatcher.run_sequential(builder.get_buffer());
|
|
622
|
-
|
|
623
|
-
const buf = builder.get_buffer();
|
|
624
|
-
const root = buf.get_node(0);
|
|
625
|
-
|
|
626
|
-
// find heading
|
|
627
|
-
const heading_idx = root.children.find(
|
|
628
|
-
(i: number) => buf.kind_at(i) === NodeKind.heading
|
|
629
|
-
)!;
|
|
630
|
-
expect(heading_idx).toBeDefined();
|
|
631
|
-
|
|
632
|
-
const heading = buf.get_node(heading_idx);
|
|
633
|
-
expect(heading.metadata.id).toBe('hello-world');
|
|
634
|
-
|
|
635
|
-
// heading's first child should be a link
|
|
636
|
-
expect(heading.children.length).toBeGreaterThan(0);
|
|
637
|
-
const link = buf.get_node(heading.children[0]);
|
|
638
|
-
expect(link.kind).toBe('link');
|
|
639
|
-
expect(link.metadata.href).toBe('#hello-world');
|
|
640
|
-
});
|
|
641
|
-
|
|
642
|
-
it('autolink works with incremental feeding', () => {
|
|
643
|
-
const plugin: ParsePlugin = {
|
|
644
|
-
heading: {
|
|
645
|
-
parse(node) {
|
|
646
|
-
const link = node.wrap_inner('link');
|
|
647
|
-
return () => {
|
|
648
|
-
const slug = slugify(node.text_content);
|
|
649
|
-
node.attrs.id = slug;
|
|
650
|
-
link.attrs.href = `#${slug}`;
|
|
651
|
-
};
|
|
652
|
-
},
|
|
653
|
-
},
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
const source = '# Hello World\n';
|
|
657
|
-
|
|
658
|
-
// incremental wire pipeline: feed char by char
|
|
659
|
-
const emitter = new WireEmitter();
|
|
660
|
-
const parser = new PFMParser(emitter);
|
|
661
|
-
parser.init();
|
|
662
|
-
|
|
663
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
664
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
665
|
-
|
|
666
|
-
let accumulated = '';
|
|
667
|
-
for (let i = 0; i < source.length; i++) {
|
|
668
|
-
accumulated += source[i];
|
|
669
|
-
emitter.set_source(accumulated);
|
|
670
|
-
parser.feed(source[i]);
|
|
671
|
-
const batch = emitter.flush();
|
|
672
|
-
if (batch.length > 0) builder.apply(batch);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
emitter.set_source(accumulated);
|
|
676
|
-
parser.finish();
|
|
677
|
-
const final_batch = emitter.flush();
|
|
678
|
-
if (final_batch.length > 0) builder.apply(final_batch);
|
|
679
|
-
|
|
680
|
-
dispatcher.run_sequential(builder.get_buffer());
|
|
681
|
-
|
|
682
|
-
const buf = builder.get_buffer();
|
|
683
|
-
const root = buf.get_node(0);
|
|
684
|
-
|
|
685
|
-
const heading_idx = root.children.find(
|
|
686
|
-
(i: number) => buf.kind_at(i) === NodeKind.heading
|
|
687
|
-
)!;
|
|
688
|
-
const heading = buf.get_node(heading_idx);
|
|
689
|
-
expect(heading.metadata.id).toBe('hello-world');
|
|
690
|
-
|
|
691
|
-
const link = buf.get_node(heading.children[0]);
|
|
692
|
-
expect(link.kind).toBe('link');
|
|
693
|
-
expect(link.metadata.href).toBe('#hello-world');
|
|
694
|
-
});
|
|
695
|
-
|
|
696
|
-
it('structural mutations are unwound when node is revoked during streaming', () => {
|
|
697
|
-
const plugin: ParsePlugin = {
|
|
698
|
-
strong_emphasis: {
|
|
699
|
-
parse(node) {
|
|
700
|
-
node.prepend('link', { id: 'HELLO' });
|
|
701
|
-
},
|
|
702
|
-
},
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
// "*h" opens strong_emphasis (pending), plugin prepends a link.
|
|
706
|
-
// "*hello\n\n" causes revocation, the * was not valid emphasis.
|
|
707
|
-
// the prepended link must be cleaned up.
|
|
708
|
-
const source = '*hello\n\n';
|
|
709
|
-
|
|
710
|
-
const emitter = new WireEmitter();
|
|
711
|
-
const parser = new PFMParser(emitter);
|
|
712
|
-
parser.init();
|
|
713
|
-
|
|
714
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
715
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
716
|
-
|
|
717
|
-
// feed char by char to trigger incremental open → revoke
|
|
718
|
-
let accumulated = '';
|
|
719
|
-
for (let i = 0; i < source.length; i++) {
|
|
720
|
-
accumulated += source[i];
|
|
721
|
-
emitter.set_source(accumulated);
|
|
722
|
-
parser.feed(source[i]);
|
|
723
|
-
const batch = emitter.flush();
|
|
724
|
-
if (batch.length > 0) builder.apply(batch);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
emitter.set_source(accumulated);
|
|
728
|
-
parser.finish();
|
|
729
|
-
const final_batch = emitter.flush();
|
|
730
|
-
if (final_batch.length > 0) builder.apply(final_batch);
|
|
731
|
-
|
|
732
|
-
const buf = builder.get_buffer();
|
|
733
|
-
const root = buf.get_node(0);
|
|
734
|
-
|
|
735
|
-
// should have a paragraph with text "*hello", no orphaned link nodes
|
|
736
|
-
// no node in the tree should have id "HELLO"
|
|
737
|
-
let found_hello = false;
|
|
738
|
-
for (let i = 0; i < buf.size; i++) {
|
|
739
|
-
const meta = buf.metadata_at(i);
|
|
740
|
-
if (meta?.id === 'HELLO' && buf.parent_at(i) !== 0xffffffff) {
|
|
741
|
-
found_hello = true;
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
expect(found_hello).toBe(false);
|
|
745
|
-
|
|
746
|
-
// the paragraph's children should form a valid sibling chain
|
|
747
|
-
const para_idx = root.children.find(
|
|
748
|
-
(i: number) => buf.kind_at(i) === NodeKind.paragraph
|
|
749
|
-
);
|
|
750
|
-
expect(para_idx).toBeDefined();
|
|
751
|
-
const para = buf.get_node(para_idx!);
|
|
752
|
-
expect(para.children.length).toBeGreaterThan(0);
|
|
753
|
-
|
|
754
|
-
// walk the sibling chain to verify integrity
|
|
755
|
-
let child = buf.first_child_at(para_idx!);
|
|
756
|
-
let count = 0;
|
|
757
|
-
while (child !== 0xffffffff && buf.parent_at(child) === para_idx!) {
|
|
758
|
-
count++;
|
|
759
|
-
child = buf.next_at(child);
|
|
760
|
-
}
|
|
761
|
-
expect(count).toBe(para.children.length);
|
|
762
|
-
});
|
|
763
|
-
|
|
764
|
-
it('cross-node wrap_inner redirects children of the wrapped node', () => {
|
|
765
|
-
// plugin wraps parent's children from a child handler.
|
|
766
|
-
// children arriving AFTER the wrap should land inside the wrapper.
|
|
767
|
-
const plugin: ParsePlugin = {
|
|
768
|
-
strong_emphasis: {
|
|
769
|
-
parse(node) {
|
|
770
|
-
node.parent?.wrap_inner('link', { href: '#wrapped' });
|
|
771
|
-
},
|
|
772
|
-
},
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
const source = 'This *works* fine\n';
|
|
776
|
-
|
|
777
|
-
const emitter = new WireEmitter();
|
|
778
|
-
const parser = new PFMParser(emitter);
|
|
779
|
-
parser.init();
|
|
780
|
-
|
|
781
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
782
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
783
|
-
|
|
784
|
-
let accumulated = '';
|
|
785
|
-
for (let i = 0; i < source.length; i++) {
|
|
786
|
-
accumulated += source[i];
|
|
787
|
-
emitter.set_source(accumulated);
|
|
788
|
-
parser.feed(source[i]);
|
|
789
|
-
const batch = emitter.flush();
|
|
790
|
-
if (batch.length > 0) builder.apply(batch);
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
emitter.set_source(accumulated);
|
|
794
|
-
parser.finish();
|
|
795
|
-
const final_batch = emitter.flush();
|
|
796
|
-
if (final_batch.length > 0) builder.apply(final_batch);
|
|
797
|
-
|
|
798
|
-
const buf = builder.get_buffer();
|
|
799
|
-
const root = buf.get_node(0);
|
|
800
|
-
|
|
801
|
-
// find paragraph
|
|
802
|
-
const para_idx = root.children.find(
|
|
803
|
-
(i: number) => buf.kind_at(i) === NodeKind.paragraph
|
|
804
|
-
)!;
|
|
805
|
-
const para = buf.get_node(para_idx);
|
|
806
|
-
|
|
807
|
-
// paragraph's sole child should be the link wrapper
|
|
808
|
-
expect(para.children.length).toBe(1);
|
|
809
|
-
const link_idx = para.children[0];
|
|
810
|
-
expect(buf.kind_at(link_idx)).toBe(NodeKind.link);
|
|
811
|
-
expect(buf.metadata_at(link_idx)?.href).toBe('#wrapped');
|
|
812
|
-
|
|
813
|
-
// the link should contain: text "This ", strong "works", text " fine"
|
|
814
|
-
const link = buf.get_node(link_idx);
|
|
815
|
-
expect(link.children.length).toBe(3);
|
|
816
|
-
|
|
817
|
-
expect(buf.kind_at(link.children[0])).toBe(NodeKind.text);
|
|
818
|
-
expect(buf.kind_at(link.children[1])).toBe(NodeKind.strong_emphasis);
|
|
819
|
-
expect(buf.kind_at(link.children[2])).toBe(NodeKind.text);
|
|
820
|
-
});
|
|
821
|
-
|
|
822
|
-
it('cross-node wrap_inner redirect is cleaned up on revocation', () => {
|
|
823
|
-
// if the handler node is revoked, the cross-node wrap_inner
|
|
824
|
-
// should be undone and the redirect removed.
|
|
825
|
-
const plugin: ParsePlugin = {
|
|
826
|
-
strong_emphasis: {
|
|
827
|
-
parse(node) {
|
|
828
|
-
node.parent?.wrap_inner('link', { href: '#wrapped' });
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
};
|
|
832
|
-
|
|
833
|
-
// "*hello\n\n", strong_emphasis is revoked (unclosed)
|
|
834
|
-
const source = '*hello\n\n';
|
|
835
|
-
|
|
836
|
-
const emitter = new WireEmitter();
|
|
837
|
-
const parser = new PFMParser(emitter);
|
|
838
|
-
parser.init();
|
|
839
|
-
|
|
840
|
-
const dispatcher = new PluginDispatcher([plugin], new WireTextSource([]));
|
|
841
|
-
const builder = new WireTreeBuilder(128, dispatcher);
|
|
842
|
-
|
|
843
|
-
let accumulated = '';
|
|
844
|
-
for (let i = 0; i < source.length; i++) {
|
|
845
|
-
accumulated += source[i];
|
|
846
|
-
emitter.set_source(accumulated);
|
|
847
|
-
parser.feed(source[i]);
|
|
848
|
-
const batch = emitter.flush();
|
|
849
|
-
if (batch.length > 0) builder.apply(batch);
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
emitter.set_source(accumulated);
|
|
853
|
-
parser.finish();
|
|
854
|
-
const final_batch = emitter.flush();
|
|
855
|
-
if (final_batch.length > 0) builder.apply(final_batch);
|
|
856
|
-
|
|
857
|
-
const buf = builder.get_buffer();
|
|
858
|
-
const root = buf.get_node(0);
|
|
859
|
-
|
|
860
|
-
// no link wrapper should remain in the tree
|
|
861
|
-
let found_link = false;
|
|
862
|
-
for (let i = 0; i < buf.size; i++) {
|
|
863
|
-
if (buf.kind_at(i) === NodeKind.link && buf.parent_at(i) !== 0xffffffff) {
|
|
864
|
-
found_link = true;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
expect(found_link).toBe(false);
|
|
868
|
-
|
|
869
|
-
// paragraph should have text children directly (no wrapper)
|
|
870
|
-
const para_idx = root.children.find(
|
|
871
|
-
(i: number) => buf.kind_at(i) === NodeKind.paragraph
|
|
872
|
-
)!;
|
|
873
|
-
expect(para_idx).toBeDefined();
|
|
874
|
-
const para = buf.get_node(para_idx);
|
|
875
|
-
expect(para.children.length).toBeGreaterThan(0);
|
|
876
|
-
// first child should be text, not a link
|
|
877
|
-
expect(buf.kind_at(para.children[0])).toBe(NodeKind.text);
|
|
878
|
-
});
|
|
879
|
-
});
|