@mdsvex/parse 1.0.0-next.0 → 1.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLUGINS.md +827 -18
- package/WIRE_FORMAT.md +61 -15
- package/dist/buf-utils.js +141 -29
- package/dist/buf_utils.d.ts +65 -2
- package/dist/constants.d.ts +2 -0
- package/dist/cursor.d.ts +21 -13
- package/dist/cursor.js +129 -31
- package/dist/heading_ids.d.ts +101 -0
- package/dist/main.d.ts +747 -78
- package/dist/main.js +9843 -4174
- package/dist/node_view-DEZDLDFD.js +710 -0
- package/dist/node_view.d.ts +166 -19
- package/dist/opcodes.d.ts +59 -8
- package/dist/plugin_data.d.ts +84 -0
- package/dist/plugin_dispatch.d.ts +385 -27
- 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 +253 -63
- package/dist/tree_builder.d.ts +72 -11
- package/dist/types.d.ts +28 -3
- package/dist/undo_log.d.ts +109 -6
- package/dist/unicode_punctuation.d.ts +5 -0
- package/dist/utils.d.ts +158 -54
- package/dist/utils.js +932 -218
- package/dist/wire-tree-builder.js +122 -91
- package/dist/wire_emitter.d.ts +9 -2
- package/dist/wire_tree_builder.d.ts +24 -9
- package/package.json +12 -5
- package/CHANGELOG.md +0 -21
- package/dist/node_view-BEh2-H86.js +0 -373
- package/src/buf_utils.ts +0 -58
- package/src/constants.ts +0 -101
- package/src/cursor.ts +0 -195
- package/src/main.ts +0 -7686
- package/src/node_view.ts +0 -441
- package/src/opcodes.ts +0 -91
- package/src/plugin_dispatch.ts +0 -635
- package/src/plugin_types.ts +0 -36
- package/src/tree_builder.ts +0 -214
- package/src/types.ts +0 -30
- package/src/undo_log.ts +0 -302
- package/src/utils.spec.ts +0 -347
- package/src/utils.ts +0 -992
- package/src/wire_emitter.ts +0 -469
- package/src/wire_tree_builder.ts +0 -337
- 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 -462
- package/test/code_spans.spec.ts +0 -710
- package/test/crlf.spec.ts +0 -125
- package/test/directives.spec.ts +0 -776
- package/test/emphasis.spec.ts +0 -1886
- 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/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/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/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/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 -786
- package/test/images.spec.ts +0 -106
- package/test/imports.spec.ts +0 -166
- package/test/incremental.spec.ts +0 -479
- 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 -588
- package/test/opcodes.spec.ts +0 -325
- package/test/paragraphs.spec.ts +0 -211
- package/test/plugins.spec.ts +0 -909
- package/test/print.ts +0 -109
- 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 -44
- package/test/snapshots/hybrid/component-simple-00.snap.ast +0 -19
- package/test/snapshots/hybrid/component-simple-01.snap.ast +0 -16
- 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 -24
- package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +0 -3
- package/test/snapshots/hybrid/error.snap.ast +0 -25
- 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 -15
- 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 -19
- 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 -6
- 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 -21
- package/test/snapshots/markdown/html-inside-listed-code.snap.ast +0 -6
- package/test/snapshots/markdown/html5-strutural-tags.snap.ast +0 -147
- 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 -12
- 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 -47
- 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 -35
- 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 -10
- 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/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 -3
- 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/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 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +0 -7
- 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 -3
- 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/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 -2
- 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 -6
- package/test/snapshots/pfm/generic_directives/016.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/017.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/018.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/019.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/020.snap.ast +0 -5
- 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 -9
- 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 -6
- package/test/snapshots/pfm/generic_directives/035.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/036.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/037.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/038.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/039.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/040.snap.ast +0 -15
- 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 -2
- package/test/snapshots/pfm/generic_directives/045.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/046.snap.ast +0 -5
- 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 -9
- 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/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 -7
- 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 -8
- package/test/snapshots/pfm/html/163.snap.ast +0 -8
- package/test/snapshots/pfm/html/164.snap.ast +0 -8
- 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 -6
- package/test/snapshots/pfm/html/169.snap.ast +0 -17
- 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 -13
- 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 -17
- 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 -11
- 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 -8
- 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 -8
- 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 -9
- 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 -8
- package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +0 -12
- package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +0 -4
- package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +0 -7
- package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +0 -12
- package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +0 -25
- package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +0 -12
- 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 -8
- 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 -8
- 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 -24
- package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +0 -26
- package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +0 -23
- package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +0 -26
- package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +0 -25
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +0 -40
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +0 -17
- 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 -9
- 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 -9
- 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 -9
- 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 -9
- package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +0 -11
- package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +0 -27
- package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +0 -34
- package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +0 -84
- package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +0 -12
- package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +0 -44
- package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +0 -84
- package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +0 -44
- package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +0 -53
- package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +0 -27
- 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 -10
- package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +0 -58
- package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +0 -36
- package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +0 -14
- package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +0 -31
- 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 -15
- package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +0 -15
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +0 -9
- package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +0 -20
- package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +0 -21
- package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +0 -43
- 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 -22
- package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +0 -22
- package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +0 -22
- package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +0 -27
- package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +0 -22
- package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +0 -28
- package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +0 -62
- package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +0 -31
- package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +0 -113
- 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 -47
- package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +0 -65
- package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +0 -71
- package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +0 -22
- 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 -44
- 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 -9
- package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +0 -20
- package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +0 -23
- package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +0 -15
- 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 -18
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +0 -13
- package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +0 -24
- package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +0 -38
- package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +0 -71
- 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 -75
- 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 -18
- 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 -10
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +0 -35
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +0 -17
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +0 -7
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +0 -7
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +0 -7
- package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +0 -30
- package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +0 -39
- 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 -16
- package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +0 -35
- package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +0 -27
- package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +0 -28
- package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +0 -359
- package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +0 -11
- 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 -30
- package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +0 -36
- package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +0 -49
- package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +0 -47
- 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 -29
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +0 -44
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +0 -28
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +0 -28
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +0 -28
- 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 -18
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +0 -25
- package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +0 -16
- 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 -175
- package/test/svelte_tags.spec.ts +0 -125
- package/test/tables.spec.ts +0 -663
- package/test/thematic_breaks.spec.ts +0 -274
- package/test/tree_builder.spec.ts +0 -342
- 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 -79
- package/tsc/cursor.js +0 -160
- package/tsc/main.d.ts +0 -472
- package/tsc/main.js +0 -6351
- package/tsc/node_view.d.ts +0 -116
- package/tsc/node_view.js +0 -342
- package/tsc/opcodes.d.ts +0 -75
- package/tsc/opcodes.js +0 -1
- package/tsc/plugin_dispatch.d.ts +0 -68
- package/tsc/plugin_dispatch.js +0 -501
- package/tsc/plugin_types.d.ts +0 -31
- package/tsc/plugin_types.js +0 -1
- package/tsc/tree_builder.d.ts +0 -31
- package/tsc/tree_builder.js +0 -173
- package/tsc/types.d.ts +0 -25
- package/tsc/types.js +0 -1
- package/tsc/undo_log.d.ts +0 -103
- package/tsc/undo_log.js +0 -194
- package/tsc/utils.d.ts +0 -242
- package/tsc/utils.js +0 -792
- package/tsc/utils.spec.d.ts +0 -1
- package/tsc/utils.spec.js +0 -280
- package/tsc/wire_emitter.d.ts +0 -66
- package/tsc/wire_emitter.js +0 -385
- package/tsc/wire_tree_builder.d.ts +0 -58
- package/tsc/wire_tree_builder.js +0 -276
- package/tsconfig.json +0 -15
- package/vite.config.build.ts +0 -28
package/test/directives.spec.ts
DELETED
|
@@ -1,776 +0,0 @@
|
|
|
1
|
-
import { describe, expect, test } from 'vitest';
|
|
2
|
-
|
|
3
|
-
import { get_content, get_all_child_kinds } from './utils';
|
|
4
|
-
import { parse_markdown_svelte } from '../src/main';
|
|
5
|
-
|
|
6
|
-
/** Find first child of a given kind under a node. */
|
|
7
|
-
const find_child = (
|
|
8
|
-
nodes: ReturnType<typeof parse_markdown_svelte>['nodes'],
|
|
9
|
-
parent_idx: number,
|
|
10
|
-
kind: string
|
|
11
|
-
) => {
|
|
12
|
-
const parent = nodes.get_node(parent_idx);
|
|
13
|
-
for (const idx of parent.children) {
|
|
14
|
-
const child = nodes.get_node(idx);
|
|
15
|
-
if (child.kind === kind) return child;
|
|
16
|
-
}
|
|
17
|
-
return null;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
/** Find all children of a given kind under a node. */
|
|
21
|
-
const find_children = (
|
|
22
|
-
nodes: ReturnType<typeof parse_markdown_svelte>['nodes'],
|
|
23
|
-
parent_idx: number,
|
|
24
|
-
kind: string
|
|
25
|
-
) => {
|
|
26
|
-
const parent = nodes.get_node(parent_idx);
|
|
27
|
-
const results: ReturnType<typeof nodes.get_node>[] = [];
|
|
28
|
-
for (const idx of parent.children) {
|
|
29
|
-
const child = nodes.get_node(idx);
|
|
30
|
-
if (child.kind === kind) results.push(child);
|
|
31
|
-
}
|
|
32
|
-
return results;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
// ===========================================================
|
|
36
|
-
// Inline directives: :name[content]
|
|
37
|
-
// ===========================================================
|
|
38
|
-
|
|
39
|
-
describe('inline directives', () => {
|
|
40
|
-
test('basic inline directive', () => {
|
|
41
|
-
const input = 'hello :name[content] world\n';
|
|
42
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
43
|
-
|
|
44
|
-
const root = nodes.get_node();
|
|
45
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
46
|
-
expect(paragraph).not.toBeNull();
|
|
47
|
-
|
|
48
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
49
|
-
expect(directive).not.toBeNull();
|
|
50
|
-
expect(directive!.metadata.name).toBe('name');
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
test('inline directive with empty content', () => {
|
|
54
|
-
const input = ':tag[]\n';
|
|
55
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
56
|
-
|
|
57
|
-
const root = nodes.get_node();
|
|
58
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
59
|
-
expect(paragraph).not.toBeNull();
|
|
60
|
-
|
|
61
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
62
|
-
expect(directive).not.toBeNull();
|
|
63
|
-
expect(directive!.metadata.name).toBe('tag');
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
test('inline directive with hyphenated name', () => {
|
|
67
|
-
const input = ':my-directive[text]\n';
|
|
68
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
69
|
-
|
|
70
|
-
const root = nodes.get_node();
|
|
71
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
72
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
73
|
-
expect(directive).not.toBeNull();
|
|
74
|
-
expect(directive!.metadata.name).toBe('my-directive');
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
test('inline directive with underscored name', () => {
|
|
78
|
-
const input = ':my_dir[stuff]\n';
|
|
79
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
80
|
-
|
|
81
|
-
const root = nodes.get_node();
|
|
82
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
83
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
84
|
-
expect(directive).not.toBeNull();
|
|
85
|
-
expect(directive!.metadata.name).toBe('my_dir');
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
test('inline directive with numeric name chars', () => {
|
|
89
|
-
const input = ':h2o[water]\n';
|
|
90
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
91
|
-
|
|
92
|
-
const root = nodes.get_node();
|
|
93
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
94
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
95
|
-
expect(directive).not.toBeNull();
|
|
96
|
-
expect(directive!.metadata.name).toBe('h2o');
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
test('inline directive has text children', () => {
|
|
100
|
-
const input = ':note[some content]\n';
|
|
101
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
102
|
-
|
|
103
|
-
const root = nodes.get_node();
|
|
104
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
105
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
106
|
-
expect(directive).not.toBeNull();
|
|
107
|
-
|
|
108
|
-
const kinds = get_all_child_kinds(nodes, directive!.index);
|
|
109
|
-
expect(kinds).toContain('text');
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
test('colon without name is text', () => {
|
|
113
|
-
const input = 'hello: world\n';
|
|
114
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
115
|
-
|
|
116
|
-
const root = nodes.get_node();
|
|
117
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
118
|
-
expect(paragraph).not.toBeNull();
|
|
119
|
-
|
|
120
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
121
|
-
expect(directive).toBeNull();
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
test('colon with name but no bracket is text', () => {
|
|
125
|
-
const input = 'see :thing here\n';
|
|
126
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
127
|
-
|
|
128
|
-
const root = nodes.get_node();
|
|
129
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
130
|
-
expect(paragraph).not.toBeNull();
|
|
131
|
-
|
|
132
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
133
|
-
expect(directive).toBeNull();
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
test('multiple inline directives in one paragraph', () => {
|
|
137
|
-
const input = ':a[one] and :b[two]\n';
|
|
138
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
139
|
-
|
|
140
|
-
const root = nodes.get_node();
|
|
141
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
142
|
-
const directives = find_children(
|
|
143
|
-
nodes,
|
|
144
|
-
paragraph!.index,
|
|
145
|
-
'directive_inline'
|
|
146
|
-
);
|
|
147
|
-
expect(directives.length).toBe(2);
|
|
148
|
-
expect(directives[0].metadata.name).toBe('a');
|
|
149
|
-
expect(directives[1].metadata.name).toBe('b');
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
test('inline directive name must start with letter', () => {
|
|
153
|
-
const input = ':123[nope]\n';
|
|
154
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
155
|
-
|
|
156
|
-
const root = nodes.get_node();
|
|
157
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
158
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
159
|
-
expect(directive).toBeNull();
|
|
160
|
-
});
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
// ===========================================================
|
|
164
|
-
// Leaf block directives: ::name[content]
|
|
165
|
-
// ===========================================================
|
|
166
|
-
|
|
167
|
-
describe('leaf block directives', () => {
|
|
168
|
-
test('basic leaf directive', () => {
|
|
169
|
-
const input = '::toc[Table of Contents]\n';
|
|
170
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
171
|
-
|
|
172
|
-
const root = nodes.get_node();
|
|
173
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
174
|
-
expect(directive).not.toBeNull();
|
|
175
|
-
expect(directive!.metadata.name).toBe('toc');
|
|
176
|
-
|
|
177
|
-
const { value } = get_content(nodes, directive!.index, input);
|
|
178
|
-
expect(value).toBe('Table of Contents');
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
test('leaf directive without brackets is not a directive', () => {
|
|
182
|
-
const input = '::toc\n';
|
|
183
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
184
|
-
|
|
185
|
-
const root = nodes.get_node();
|
|
186
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
187
|
-
expect(directive).toBeNull();
|
|
188
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
189
|
-
expect(paragraph).not.toBeNull();
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
test('leaf directive with empty brackets', () => {
|
|
193
|
-
const input = '::note[]\n';
|
|
194
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
195
|
-
|
|
196
|
-
const root = nodes.get_node();
|
|
197
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
198
|
-
expect(directive).not.toBeNull();
|
|
199
|
-
expect(directive!.metadata.name).toBe('note');
|
|
200
|
-
});
|
|
201
|
-
|
|
202
|
-
test('leaf directive with trailing content is not a directive', () => {
|
|
203
|
-
const input = '::name[content] extra stuff\n';
|
|
204
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
205
|
-
|
|
206
|
-
const root = nodes.get_node();
|
|
207
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
208
|
-
expect(directive).toBeNull();
|
|
209
|
-
// Should be a paragraph instead
|
|
210
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
211
|
-
expect(paragraph).not.toBeNull();
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
test('leaf directive interrupts paragraph', () => {
|
|
215
|
-
const input = 'hello\n::note[content]\n';
|
|
216
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
217
|
-
|
|
218
|
-
const root = nodes.get_node();
|
|
219
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
220
|
-
expect(directive).not.toBeNull();
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
test('single colon at block level is paragraph', () => {
|
|
224
|
-
const input = ':notblock\n';
|
|
225
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
226
|
-
|
|
227
|
-
const root = nodes.get_node();
|
|
228
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
229
|
-
expect(directive).toBeNull();
|
|
230
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
231
|
-
expect(paragraph).not.toBeNull();
|
|
232
|
-
});
|
|
233
|
-
|
|
234
|
-
test('leaf directive in block quote', () => {
|
|
235
|
-
const input = '> ::note[inside quote]\n';
|
|
236
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
237
|
-
|
|
238
|
-
const root = nodes.get_node();
|
|
239
|
-
const bq = find_child(nodes, root.index, 'block_quote');
|
|
240
|
-
expect(bq).not.toBeNull();
|
|
241
|
-
const directive = find_child(nodes, bq!.index, 'directive_leaf');
|
|
242
|
-
expect(directive).not.toBeNull();
|
|
243
|
-
expect(directive!.metadata.name).toBe('note');
|
|
244
|
-
});
|
|
245
|
-
});
|
|
246
|
-
|
|
247
|
-
// ===========================================================
|
|
248
|
-
// Container block directives: :::name[content] ... :::
|
|
249
|
-
// ===========================================================
|
|
250
|
-
|
|
251
|
-
describe('container block directives', () => {
|
|
252
|
-
test('basic container directive', () => {
|
|
253
|
-
const input = ':::warning[Caution]\nBe careful here.\n:::\n';
|
|
254
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
255
|
-
|
|
256
|
-
const root = nodes.get_node();
|
|
257
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
258
|
-
expect(directive).not.toBeNull();
|
|
259
|
-
expect(directive!.metadata.name).toBe('warning');
|
|
260
|
-
|
|
261
|
-
const { value } = get_content(nodes, directive!.index, input);
|
|
262
|
-
expect(value).toBe('Caution');
|
|
263
|
-
|
|
264
|
-
// Should contain a paragraph child
|
|
265
|
-
const paragraph = find_child(nodes, directive!.index, 'paragraph');
|
|
266
|
-
expect(paragraph).not.toBeNull();
|
|
267
|
-
});
|
|
268
|
-
|
|
269
|
-
test('container directive without brackets is not a directive', () => {
|
|
270
|
-
const input = ':::note\nSome text.\n:::\n';
|
|
271
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
272
|
-
|
|
273
|
-
const root = nodes.get_node();
|
|
274
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
275
|
-
expect(directive).toBeNull();
|
|
276
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
277
|
-
expect(paragraph).not.toBeNull();
|
|
278
|
-
});
|
|
279
|
-
|
|
280
|
-
test('container directive with multiple block children', () => {
|
|
281
|
-
const input = ':::section[]\n# Heading\n\nParagraph text.\n:::\n';
|
|
282
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
283
|
-
|
|
284
|
-
const root = nodes.get_node();
|
|
285
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
286
|
-
expect(directive).not.toBeNull();
|
|
287
|
-
|
|
288
|
-
const heading = find_child(nodes, directive!.index, 'heading');
|
|
289
|
-
expect(heading).not.toBeNull();
|
|
290
|
-
|
|
291
|
-
const paragraph = find_child(nodes, directive!.index, 'paragraph');
|
|
292
|
-
expect(paragraph).not.toBeNull();
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
test('container closes at EOF if no closing fence', () => {
|
|
296
|
-
const input = ':::note[]\nSome text.\n';
|
|
297
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
298
|
-
|
|
299
|
-
const root = nodes.get_node();
|
|
300
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
301
|
-
expect(directive).not.toBeNull();
|
|
302
|
-
expect(directive!.metadata.name).toBe('note');
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
test('nested container directives', () => {
|
|
306
|
-
const input = '::::outer[]\n:::inner[]\nContent.\n:::\n::::\n';
|
|
307
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
308
|
-
|
|
309
|
-
const root = nodes.get_node();
|
|
310
|
-
const outer = find_child(nodes, root.index, 'directive_container');
|
|
311
|
-
expect(outer).not.toBeNull();
|
|
312
|
-
expect(outer!.metadata.name).toBe('outer');
|
|
313
|
-
|
|
314
|
-
const inner = find_child(nodes, outer!.index, 'directive_container');
|
|
315
|
-
expect(inner).not.toBeNull();
|
|
316
|
-
expect(inner!.metadata.name).toBe('inner');
|
|
317
|
-
});
|
|
318
|
-
|
|
319
|
-
test('closing fence must have >= opening colons', () => {
|
|
320
|
-
// ::: opens with 3, so ::: closes it
|
|
321
|
-
const input = ':::note[]\nText.\n:::\n';
|
|
322
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
323
|
-
|
|
324
|
-
const root = nodes.get_node();
|
|
325
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
326
|
-
expect(directive).not.toBeNull();
|
|
327
|
-
});
|
|
328
|
-
|
|
329
|
-
test('closing fence with more colons closes container', () => {
|
|
330
|
-
const input = ':::note[]\nText.\n:::::\n';
|
|
331
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
332
|
-
|
|
333
|
-
const root = nodes.get_node();
|
|
334
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
335
|
-
expect(directive).not.toBeNull();
|
|
336
|
-
});
|
|
337
|
-
|
|
338
|
-
test('closing fence with fewer colons does not close', () => {
|
|
339
|
-
// :::: opens with 4, :: (2 colons) can't close it
|
|
340
|
-
// but :: is a leaf directive opener... let me use a line with just 2 colons and no name
|
|
341
|
-
// Actually 2 colons without a name won't parse as anything useful, it becomes paragraph
|
|
342
|
-
// Let me test with 4-colon opener and 3-colon closer
|
|
343
|
-
const input = '::::note[]\nText.\n:::\nMore text.\n::::\n';
|
|
344
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
345
|
-
|
|
346
|
-
const root = nodes.get_node();
|
|
347
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
348
|
-
expect(directive).not.toBeNull();
|
|
349
|
-
|
|
350
|
-
// The ::: should NOT close the :::: container, so both text paragraphs should be inside
|
|
351
|
-
const paragraphs = find_children(nodes, directive!.index, 'paragraph');
|
|
352
|
-
expect(paragraphs.length).toBe(2);
|
|
353
|
-
});
|
|
354
|
-
|
|
355
|
-
test('container directive interrupts paragraph', () => {
|
|
356
|
-
const input = 'hello\n:::note[]\nContent.\n:::\n';
|
|
357
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
358
|
-
|
|
359
|
-
const root = nodes.get_node();
|
|
360
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
361
|
-
expect(directive).not.toBeNull();
|
|
362
|
-
});
|
|
363
|
-
|
|
364
|
-
test('container with code fence inside', () => {
|
|
365
|
-
const input = ':::example[]\n```js\nconsole.log("hi")\n```\n:::\n';
|
|
366
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
367
|
-
|
|
368
|
-
const root = nodes.get_node();
|
|
369
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
370
|
-
expect(directive).not.toBeNull();
|
|
371
|
-
|
|
372
|
-
const code = find_child(nodes, directive!.index, 'code_fence');
|
|
373
|
-
expect(code).not.toBeNull();
|
|
374
|
-
});
|
|
375
|
-
|
|
376
|
-
test('container with thematic break inside', () => {
|
|
377
|
-
const input = ':::section[]\nBefore.\n\n---\n\nAfter.\n:::\n';
|
|
378
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
379
|
-
|
|
380
|
-
const root = nodes.get_node();
|
|
381
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
382
|
-
expect(directive).not.toBeNull();
|
|
383
|
-
|
|
384
|
-
const tb = find_child(nodes, directive!.index, 'thematic_break');
|
|
385
|
-
expect(tb).not.toBeNull();
|
|
386
|
-
});
|
|
387
|
-
|
|
388
|
-
test('empty container', () => {
|
|
389
|
-
const input = ':::note[]\n:::\n';
|
|
390
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
391
|
-
|
|
392
|
-
const root = nodes.get_node();
|
|
393
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
394
|
-
expect(directive).not.toBeNull();
|
|
395
|
-
expect(directive!.metadata.name).toBe('note');
|
|
396
|
-
});
|
|
397
|
-
|
|
398
|
-
test('container in block quote', () => {
|
|
399
|
-
const input = '> :::note[]\n> Content.\n> :::\n';
|
|
400
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
401
|
-
|
|
402
|
-
const root = nodes.get_node();
|
|
403
|
-
const bq = find_child(nodes, root.index, 'block_quote');
|
|
404
|
-
expect(bq).not.toBeNull();
|
|
405
|
-
const directive = find_child(nodes, bq!.index, 'directive_container');
|
|
406
|
-
expect(directive).not.toBeNull();
|
|
407
|
-
});
|
|
408
|
-
});
|
|
409
|
-
|
|
410
|
-
// ===========================================================
|
|
411
|
-
// Interactions with other constructs
|
|
412
|
-
// ===========================================================
|
|
413
|
-
|
|
414
|
-
describe('directive interactions', () => {
|
|
415
|
-
test('inline directive inside container directive', () => {
|
|
416
|
-
const input = ':::note[]\nSee :ref[here] for details.\n:::\n';
|
|
417
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
418
|
-
|
|
419
|
-
const root = nodes.get_node();
|
|
420
|
-
const container = find_child(nodes, root.index, 'directive_container');
|
|
421
|
-
expect(container).not.toBeNull();
|
|
422
|
-
|
|
423
|
-
const paragraph = find_child(nodes, container!.index, 'paragraph');
|
|
424
|
-
expect(paragraph).not.toBeNull();
|
|
425
|
-
|
|
426
|
-
const inline_dir = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
427
|
-
expect(inline_dir).not.toBeNull();
|
|
428
|
-
expect(inline_dir!.metadata.name).toBe('ref');
|
|
429
|
-
});
|
|
430
|
-
|
|
431
|
-
test('leaf directive inside container directive', () => {
|
|
432
|
-
const input = ':::section[]\n::toc[]\n:::\n';
|
|
433
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
434
|
-
|
|
435
|
-
const root = nodes.get_node();
|
|
436
|
-
const container = find_child(nodes, root.index, 'directive_container');
|
|
437
|
-
expect(container).not.toBeNull();
|
|
438
|
-
|
|
439
|
-
const leaf = find_child(nodes, container!.index, 'directive_leaf');
|
|
440
|
-
expect(leaf).not.toBeNull();
|
|
441
|
-
expect(leaf!.metadata.name).toBe('toc');
|
|
442
|
-
});
|
|
443
|
-
|
|
444
|
-
test('inline directive in emphasis', () => {
|
|
445
|
-
const input = '_:note[important] text_\n';
|
|
446
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
447
|
-
|
|
448
|
-
const root = nodes.get_node();
|
|
449
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
450
|
-
expect(paragraph).not.toBeNull();
|
|
451
|
-
|
|
452
|
-
const emphasis = find_child(nodes, paragraph!.index, 'emphasis');
|
|
453
|
-
expect(emphasis).not.toBeNull();
|
|
454
|
-
|
|
455
|
-
const directive = find_child(nodes, emphasis!.index, 'directive_inline');
|
|
456
|
-
expect(directive).not.toBeNull();
|
|
457
|
-
});
|
|
458
|
-
});
|
|
459
|
-
|
|
460
|
-
// ===========================================================
|
|
461
|
-
// Directive arguments: :name[text](key=val, key2=val2)
|
|
462
|
-
// ===========================================================
|
|
463
|
-
|
|
464
|
-
describe('directive arguments', () => {
|
|
465
|
-
test('inline directive with args', () => {
|
|
466
|
-
const input = ':hello[text](arg_one=val_one, arg_two=val_two)\n';
|
|
467
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
468
|
-
|
|
469
|
-
const root = nodes.get_node();
|
|
470
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
471
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
472
|
-
expect(directive).not.toBeNull();
|
|
473
|
-
expect(directive!.metadata.args).toEqual({
|
|
474
|
-
arg_one: 'val_one',
|
|
475
|
-
arg_two: 'val_two',
|
|
476
|
-
});
|
|
477
|
-
});
|
|
478
|
-
|
|
479
|
-
test('inline directive with empty text and args', () => {
|
|
480
|
-
const input = ':hello[](a=1)\n';
|
|
481
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
482
|
-
|
|
483
|
-
const root = nodes.get_node();
|
|
484
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
485
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
486
|
-
expect(directive).not.toBeNull();
|
|
487
|
-
expect(directive!.metadata.args).toEqual({ a: '1' });
|
|
488
|
-
});
|
|
489
|
-
|
|
490
|
-
test('empty args are allowed but ignored', () => {
|
|
491
|
-
const input = ':hello[text]()\n';
|
|
492
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
493
|
-
|
|
494
|
-
const root = nodes.get_node();
|
|
495
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
496
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
497
|
-
expect(directive).not.toBeNull();
|
|
498
|
-
expect(directive!.metadata.args).toBeUndefined();
|
|
499
|
-
// the () is consumed, not left as text
|
|
500
|
-
const kinds = get_all_child_kinds(nodes, paragraph!.index);
|
|
501
|
-
expect(kinds).toEqual(['directive_inline']);
|
|
502
|
-
});
|
|
503
|
-
|
|
504
|
-
test('leaf directive with args', () => {
|
|
505
|
-
const input = '::leaf[text](a=1, b=2)\n';
|
|
506
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
507
|
-
|
|
508
|
-
const root = nodes.get_node();
|
|
509
|
-
const directive = find_child(nodes, root.index, 'directive_leaf');
|
|
510
|
-
expect(directive).not.toBeNull();
|
|
511
|
-
expect(directive!.metadata.args).toEqual({ a: '1', b: '2' });
|
|
512
|
-
});
|
|
513
|
-
|
|
514
|
-
test('container directive with args', () => {
|
|
515
|
-
const input = ':::box[Label](variant=warning)\nBody.\n:::\n';
|
|
516
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
517
|
-
|
|
518
|
-
const root = nodes.get_node();
|
|
519
|
-
const directive = find_child(nodes, root.index, 'directive_container');
|
|
520
|
-
expect(directive).not.toBeNull();
|
|
521
|
-
expect(directive!.metadata.args).toEqual({ variant: 'warning' });
|
|
522
|
-
|
|
523
|
-
const paragraph = find_child(nodes, directive!.index, 'paragraph');
|
|
524
|
-
expect(paragraph).not.toBeNull();
|
|
525
|
-
});
|
|
526
|
-
|
|
527
|
-
test('quoted values may contain spaces, commas, and parens', () => {
|
|
528
|
-
const input = ':d[x](a="hello world", b=\'one, two\', c="(parens)")\n';
|
|
529
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
530
|
-
|
|
531
|
-
const root = nodes.get_node();
|
|
532
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
533
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
534
|
-
expect(directive!.metadata.args).toEqual({
|
|
535
|
-
a: 'hello world',
|
|
536
|
-
b: 'one, two',
|
|
537
|
-
c: '(parens)',
|
|
538
|
-
});
|
|
539
|
-
});
|
|
540
|
-
|
|
541
|
-
test('quoted values keep backslash escapes raw', () => {
|
|
542
|
-
const input = ':d[x](msg="say \\"hi\\"")\n';
|
|
543
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
544
|
-
|
|
545
|
-
const root = nodes.get_node();
|
|
546
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
547
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
548
|
-
expect(directive!.metadata.args).toEqual({ msg: 'say \\"hi\\"' });
|
|
549
|
-
});
|
|
550
|
-
|
|
551
|
-
test('whitespace around = and , is tolerated', () => {
|
|
552
|
-
const input = ':d[x]( a = 1 , b = 2 )\n';
|
|
553
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
554
|
-
|
|
555
|
-
const root = nodes.get_node();
|
|
556
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
557
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
558
|
-
expect(directive!.metadata.args).toEqual({ a: '1', b: '2' });
|
|
559
|
-
});
|
|
560
|
-
|
|
561
|
-
test('bare values may contain = and url characters', () => {
|
|
562
|
-
const input = ':d[x](url=https://e.com/a?b=c&d=e, eq=a=b)\n';
|
|
563
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
564
|
-
|
|
565
|
-
const root = nodes.get_node();
|
|
566
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
567
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
568
|
-
expect(directive!.metadata.args).toEqual({
|
|
569
|
-
url: 'https://e.com/a?b=c&d=e',
|
|
570
|
-
eq: 'a=b',
|
|
571
|
-
});
|
|
572
|
-
});
|
|
573
|
-
|
|
574
|
-
test('args on directive nested in link text', () => {
|
|
575
|
-
const input = '[see :d[x](k=v) here](https://example.com)\n';
|
|
576
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
577
|
-
|
|
578
|
-
const root = nodes.get_node();
|
|
579
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
580
|
-
const link = find_child(nodes, paragraph!.index, 'link');
|
|
581
|
-
expect(link).not.toBeNull();
|
|
582
|
-
const directive = find_child(nodes, link!.index, 'directive_inline');
|
|
583
|
-
expect(directive).not.toBeNull();
|
|
584
|
-
expect(directive!.metadata.args).toEqual({ k: 'v' });
|
|
585
|
-
});
|
|
586
|
-
});
|
|
587
|
-
|
|
588
|
-
describe('malformed directive arguments', () => {
|
|
589
|
-
/** Expect the directive to close at ] with the raw paren text following. */
|
|
590
|
-
const expect_args_as_text = (input: string, trailing: string) => {
|
|
591
|
-
const { nodes, source } = parse_markdown_svelte(input);
|
|
592
|
-
const root = nodes.get_node();
|
|
593
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
594
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
595
|
-
expect(directive).not.toBeNull();
|
|
596
|
-
expect(directive!.metadata.args).toBeUndefined();
|
|
597
|
-
const text = nodes
|
|
598
|
-
.get_node(paragraph!.index)
|
|
599
|
-
.children.map((c) => {
|
|
600
|
-
const n = nodes.get_node(c);
|
|
601
|
-
return n.kind === 'text' ? source.slice(n.value[0], n.value[1]) : '';
|
|
602
|
-
})
|
|
603
|
-
.join('');
|
|
604
|
-
expect(text).toBe(trailing);
|
|
605
|
-
};
|
|
606
|
-
|
|
607
|
-
test('positional args are not allowed', () => {
|
|
608
|
-
expect_args_as_text(':d[x](positional)\n', '(positional)');
|
|
609
|
-
});
|
|
610
|
-
|
|
611
|
-
test('trailing comma is malformed', () => {
|
|
612
|
-
expect_args_as_text(':d[x](a=1,)\n', '(a=1,)');
|
|
613
|
-
});
|
|
614
|
-
|
|
615
|
-
test('duplicate keys are malformed', () => {
|
|
616
|
-
expect_args_as_text(':d[x](a=1, a=2)\n', '(a=1, a=2)');
|
|
617
|
-
});
|
|
618
|
-
|
|
619
|
-
test('empty value is malformed', () => {
|
|
620
|
-
expect_args_as_text(':d[x](a=)\n', '(a=)');
|
|
621
|
-
});
|
|
622
|
-
|
|
623
|
-
test('args must follow ] immediately', () => {
|
|
624
|
-
expect_args_as_text(':d[x] (a=1)\n', ' (a=1)');
|
|
625
|
-
});
|
|
626
|
-
|
|
627
|
-
test('unterminated quote is malformed', () => {
|
|
628
|
-
expect_args_as_text(':d[x](a="unclosed)\n', '(a="unclosed)');
|
|
629
|
-
});
|
|
630
|
-
|
|
631
|
-
test('newline inside args is malformed', () => {
|
|
632
|
-
const input = ':d[x](a=1,\nb=2)\n';
|
|
633
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
634
|
-
const root = nodes.get_node();
|
|
635
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
636
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
637
|
-
expect(directive).not.toBeNull();
|
|
638
|
-
expect(directive!.metadata.args).toBeUndefined();
|
|
639
|
-
});
|
|
640
|
-
|
|
641
|
-
test('only the first args list is consumed', () => {
|
|
642
|
-
const input = ':d[x](a=1)(b=2)\n';
|
|
643
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
644
|
-
const root = nodes.get_node();
|
|
645
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
646
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
647
|
-
expect(directive!.metadata.args).toEqual({ a: '1' });
|
|
648
|
-
});
|
|
649
|
-
|
|
650
|
-
test('malformed args on a leaf directive make it a paragraph', () => {
|
|
651
|
-
const input = '::leaf[x](positional)\n';
|
|
652
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
653
|
-
const root = nodes.get_node();
|
|
654
|
-
expect(find_child(nodes, root.index, 'directive_leaf')).toBeNull();
|
|
655
|
-
expect(find_child(nodes, root.index, 'paragraph')).not.toBeNull();
|
|
656
|
-
});
|
|
657
|
-
|
|
658
|
-
test('trailing content after container args makes it a paragraph', () => {
|
|
659
|
-
const input = ':::box[x](a=1) junk\n';
|
|
660
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
661
|
-
const root = nodes.get_node();
|
|
662
|
-
expect(find_child(nodes, root.index, 'directive_container')).toBeNull();
|
|
663
|
-
expect(find_child(nodes, root.index, 'paragraph')).not.toBeNull();
|
|
664
|
-
});
|
|
665
|
-
});
|
|
666
|
-
|
|
667
|
-
// ===========================================================
|
|
668
|
-
// Directive text content rules
|
|
669
|
-
// ===========================================================
|
|
670
|
-
|
|
671
|
-
describe('directive text content', () => {
|
|
672
|
-
test('emphasis and code spans are allowed', () => {
|
|
673
|
-
const input = ':d[_italic_ and `code`]\n';
|
|
674
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
675
|
-
|
|
676
|
-
const root = nodes.get_node();
|
|
677
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
678
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
679
|
-
const kinds = get_all_child_kinds(nodes, directive!.index);
|
|
680
|
-
expect(kinds).toContain('emphasis');
|
|
681
|
-
expect(kinds).toContain('code_span');
|
|
682
|
-
});
|
|
683
|
-
|
|
684
|
-
test('links are not allowed and stay literal', () => {
|
|
685
|
-
const input = ':d[not a [link](url) here]\n';
|
|
686
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
687
|
-
|
|
688
|
-
const root = nodes.get_node();
|
|
689
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
690
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
691
|
-
expect(directive).not.toBeNull();
|
|
692
|
-
const kinds = get_all_child_kinds(nodes, directive!.index);
|
|
693
|
-
expect(kinds).not.toContain('link');
|
|
694
|
-
// the directive closes at the final ], not at the link's ]
|
|
695
|
-
expect(get_all_child_kinds(nodes, paragraph!.index)).toEqual([
|
|
696
|
-
'directive_inline',
|
|
697
|
-
]);
|
|
698
|
-
});
|
|
699
|
-
|
|
700
|
-
test('images are not allowed and stay literal', () => {
|
|
701
|
-
const input = ':d[not an  here]\n';
|
|
702
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
703
|
-
|
|
704
|
-
const root = nodes.get_node();
|
|
705
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
706
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
707
|
-
expect(directive).not.toBeNull();
|
|
708
|
-
const kinds = get_all_child_kinds(nodes, directive!.index);
|
|
709
|
-
expect(kinds).not.toContain('image');
|
|
710
|
-
});
|
|
711
|
-
|
|
712
|
-
test('autolinks are not allowed and stay literal', () => {
|
|
713
|
-
const input = ':d[no <https://auto.link> here]\n';
|
|
714
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
715
|
-
|
|
716
|
-
const root = nodes.get_node();
|
|
717
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
718
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
719
|
-
expect(directive).not.toBeNull();
|
|
720
|
-
const kinds = get_all_child_kinds(nodes, directive!.index);
|
|
721
|
-
expect(kinds).not.toContain('link');
|
|
722
|
-
});
|
|
723
|
-
|
|
724
|
-
test('balanced literal brackets stay inside the text', () => {
|
|
725
|
-
const input = ':d[a [b] c]\n';
|
|
726
|
-
const { nodes, source } = parse_markdown_svelte(input);
|
|
727
|
-
|
|
728
|
-
const root = nodes.get_node();
|
|
729
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
730
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
731
|
-
expect(directive).not.toBeNull();
|
|
732
|
-
// the directive spans through the final ]
|
|
733
|
-
const { content } = get_content(nodes, directive!.index, source);
|
|
734
|
-
expect(content).toBe(':d[a [b] c]');
|
|
735
|
-
expect(get_all_child_kinds(nodes, paragraph!.index)).toEqual([
|
|
736
|
-
'directive_inline',
|
|
737
|
-
]);
|
|
738
|
-
});
|
|
739
|
-
|
|
740
|
-
test('nested inline directives are allowed', () => {
|
|
741
|
-
const input = ':outer[has :inner[x](k=v) inside]\n';
|
|
742
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
743
|
-
|
|
744
|
-
const root = nodes.get_node();
|
|
745
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
746
|
-
const outer = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
747
|
-
expect(outer!.metadata.name).toBe('outer');
|
|
748
|
-
const inner = find_child(nodes, outer!.index, 'directive_inline');
|
|
749
|
-
expect(inner).not.toBeNull();
|
|
750
|
-
expect(inner!.metadata.name).toBe('inner');
|
|
751
|
-
expect(inner!.metadata.args).toEqual({ k: 'v' });
|
|
752
|
-
});
|
|
753
|
-
|
|
754
|
-
test('escaped brackets do not affect balancing', () => {
|
|
755
|
-
const input = ':d[escaped \\] close]\n';
|
|
756
|
-
const { nodes, source } = parse_markdown_svelte(input);
|
|
757
|
-
|
|
758
|
-
const root = nodes.get_node();
|
|
759
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
760
|
-
const directive = find_child(nodes, paragraph!.index, 'directive_inline');
|
|
761
|
-
expect(directive).not.toBeNull();
|
|
762
|
-
const { content } = get_content(nodes, directive!.index, source);
|
|
763
|
-
expect(content).toBe(':d[escaped \\] close]');
|
|
764
|
-
});
|
|
765
|
-
|
|
766
|
-
test('links work again after the directive closes', () => {
|
|
767
|
-
const input = ':d[x] then [a link](url)\n';
|
|
768
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
769
|
-
|
|
770
|
-
const root = nodes.get_node();
|
|
771
|
-
const paragraph = find_child(nodes, root.index, 'paragraph');
|
|
772
|
-
const kinds = get_all_child_kinds(nodes, paragraph!.index);
|
|
773
|
-
expect(kinds).toContain('directive_inline');
|
|
774
|
-
expect(kinds).toContain('link');
|
|
775
|
-
});
|
|
776
|
-
});
|