@mdsvex/parse 1.0.0-next.1 → 1.0.0-next.3
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 +867 -18
- package/WIRE_FORMAT.md +56 -14
- package/dist/buf-utils.js +142 -30
- package/dist/buf_utils.d.ts +64 -1
- package/dist/constants.d.ts +2 -0
- package/dist/cursor.d.ts +5 -1
- package/dist/cursor.js +15 -4
- package/dist/heading_ids.d.ts +101 -0
- package/dist/main.d.ts +415 -82
- package/dist/main.js +7402 -3913
- package/dist/node_view-DEZDLDFD.js +710 -0
- package/dist/node_view.d.ts +158 -10
- package/dist/opcodes.d.ts +37 -3
- package/dist/plugin_data.d.ts +84 -0
- package/dist/plugin_dispatch.d.ts +392 -30
- package/dist/plugin_tasks.d.ts +190 -0
- package/dist/plugin_types.d.ts +224 -6
- package/dist/text_run.d.ts +77 -0
- package/dist/tree-builder.js +192 -121
- package/dist/tree_builder.d.ts +40 -10
- package/dist/types.d.ts +28 -3
- package/dist/undo_log.d.ts +99 -6
- package/dist/unicode_punctuation.d.ts +5 -0
- package/dist/utils.d.ts +147 -5
- package/dist/utils.js +640 -319
- package/dist/wire-tree-builder.js +99 -66
- package/dist/wire_emitter.d.ts +9 -2
- package/dist/wire_tree_builder.d.ts +23 -5
- package/package.json +12 -5
- package/CHANGELOG.md +0 -234
- package/dist/node_view-bvM0i0-p.js +0 -407
- package/src/buf_utils.ts +0 -54
- package/src/constants.ts +0 -101
- package/src/cursor.ts +0 -212
- package/src/main.ts +0 -11991
- package/src/node_view.ts +0 -460
- package/src/opcodes.ts +0 -123
- package/src/plugin_dispatch.ts +0 -744
- package/src/plugin_types.ts +0 -36
- package/src/tree_builder.ts +0 -394
- package/src/types.ts +0 -30
- package/src/undo_log.ts +0 -336
- package/src/utils.spec.ts +0 -424
- package/src/utils.ts +0 -1369
- package/src/wire_emitter.ts +0 -475
- package/src/wire_tree_builder.ts +0 -324
- package/test/ast_snapshots.spec.ts +0 -155
- package/test/atx_headings.spec.ts +0 -260
- package/test/autolinks.spec.ts +0 -306
- package/test/backslash_escapes.spec.ts +0 -266
- package/test/blank_lines.spec.ts +0 -113
- package/test/block_quotes.spec.ts +0 -533
- package/test/code_spans.spec.ts +0 -862
- package/test/crlf.spec.ts +0 -173
- package/test/directives.spec.ts +0 -1305
- package/test/emphasis.spec.ts +0 -1892
- package/test/fenced_code_blocks.spec.ts +0 -375
- package/test/fixtures/hybrid/code-escaping.svx +0 -10
- package/test/fixtures/hybrid/code-highlight-nesting.svx +0 -6
- package/test/fixtures/hybrid/component-children.svx +0 -24
- package/test/fixtures/hybrid/component-simple-00.svx +0 -9
- package/test/fixtures/hybrid/component-simple-01.svx +0 -7
- package/test/fixtures/hybrid/component-simple-02.svx +0 -1
- package/test/fixtures/hybrid/component-simple-03.svx +0 -7
- package/test/fixtures/hybrid/component-simple-04.svx +0 -9
- package/test/fixtures/hybrid/dollar-one-in-frontmatter.svx +0 -5
- package/test/fixtures/hybrid/error.svx +0 -37
- package/test/fixtures/hybrid/link-curlies.svx +0 -22
- package/test/fixtures/hybrid/tags-in-frontmatter.svx +0 -3
- package/test/fixtures/markdown/anchors-by-reference.md +0 -11
- package/test/fixtures/markdown/anchors-followed-by-brakets.md +0 -7
- package/test/fixtures/markdown/automatic-anchors.md +0 -2
- package/test/fixtures/markdown/blockquote-followed-by-code.md +0 -10
- package/test/fixtures/markdown/blockquote-inside-code.md +0 -11
- package/test/fixtures/markdown/blockquote-nested-markdown.md +0 -10
- package/test/fixtures/markdown/blockquote.md +0 -4
- package/test/fixtures/markdown/code-block-html-escape.md +0 -6
- package/test/fixtures/markdown/code-block-with-special-chars.md +0 -8
- package/test/fixtures/markdown/code-block.md +0 -6
- package/test/fixtures/markdown/double-emphasis.md +0 -7
- package/test/fixtures/markdown/doubline-list.md +0 -4
- package/test/fixtures/markdown/ellipsis.md +0 -24
- package/test/fixtures/markdown/emphasis-inside-inline-code.md +0 -1
- package/test/fixtures/markdown/emphasis.md +0 -88
- package/test/fixtures/markdown/encodeHTMLCodeTags.md +0 -5
- package/test/fixtures/markdown/escaped-html-taglikes.md +0 -7
- package/test/fixtures/markdown/escaped-number-period.md +0 -1
- package/test/fixtures/markdown/escaping.md +0 -32
- package/test/fixtures/markdown/github-style-at-start.md +0 -7
- package/test/fixtures/markdown/github-style-codeblock-inside-quote.md +0 -13
- package/test/fixtures/markdown/github-style-codeblock.md +0 -34
- package/test/fixtures/markdown/github-style-linebreaks.md +0 -4
- package/test/fixtures/markdown/h1-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h1-with-equals.md +0 -2
- package/test/fixtures/markdown/h1-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h2-with-dashes.md +0 -2
- package/test/fixtures/markdown/h2-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h2-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h3-with-double-hash.md +0 -1
- package/test/fixtures/markdown/h3-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h4-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h5-with-single-hash.md +0 -1
- package/test/fixtures/markdown/h6-with-single-hash.md +0 -1
- package/test/fixtures/markdown/horizontal-rules.md +0 -10
- package/test/fixtures/markdown/html-comments.md +0 -8
- package/test/fixtures/markdown/html-inside-listed-code.md +0 -8
- package/test/fixtures/markdown/html5-strutural-tags.md +0 -68
- package/test/fixtures/markdown/images-followed-by-brackets.md +0 -3
- package/test/fixtures/markdown/images.md +0 -14
- package/test/fixtures/markdown/implicit-anchors.md +0 -7
- package/test/fixtures/markdown/inline-anchors.md +0 -3
- package/test/fixtures/markdown/inline-code.md +0 -13
- package/test/fixtures/markdown/inline-escaped-chars.md +0 -2
- package/test/fixtures/markdown/inline-style-tag.md +0 -5
- package/test/fixtures/markdown/lazy-blockquote.md +0 -3
- package/test/fixtures/markdown/line-starts-with-html.md +0 -3
- package/test/fixtures/markdown/list-followed-by-blockquote.md +0 -9
- package/test/fixtures/markdown/list-followed-by-ghcode.md +0 -13
- package/test/fixtures/markdown/list-with-blockquote.md +0 -4
- package/test/fixtures/markdown/literal-html-tags.md +0 -9
- package/test/fixtures/markdown/multi-paragraph-list.md +0 -5
- package/test/fixtures/markdown/multiline-unordered-list.md +0 -3
- package/test/fixtures/markdown/nested-blockquote.md +0 -5
- package/test/fixtures/markdown/nested-gh-codeblocks.md +0 -9
- package/test/fixtures/markdown/obfuscated-emails.md +0 -0
- package/test/fixtures/markdown/ordered-list-same-number.md +0 -3
- package/test/fixtures/markdown/ordered-list-starting-number.md +0 -10
- package/test/fixtures/markdown/ordered-list-wrong-numbers.md +0 -3
- package/test/fixtures/markdown/ordered-list.md +0 -3
- package/test/fixtures/markdown/paragraphed-list-with-sublists.md +0 -13
- package/test/fixtures/markdown/pre-code-tags-inside-code-block.md +0 -7
- package/test/fixtures/markdown/pre-code-tags.md +0 -19
- package/test/fixtures/markdown/relative-anchors.md +0 -1
- package/test/fixtures/markdown/repeated-headers.md +0 -5
- package/test/fixtures/markdown/simple-paragraph.md +0 -1
- package/test/fixtures/markdown/strip-references.md +0 -13
- package/test/fixtures/markdown/strong.md +0 -5
- package/test/fixtures/markdown/unordered-list-asterisk.md +0 -3
- package/test/fixtures/markdown/unordered-list-minus.md +0 -3
- package/test/fixtures/markdown/unordered-list-plus.md +0 -3
- package/test/fixtures/markdown/url-with-parenthesis.md +0 -1
- package/test/fixtures/pfm/atx_headings/62.md +0 -6
- package/test/fixtures/pfm/atx_headings/63.md +0 -1
- package/test/fixtures/pfm/atx_headings/64.md +0 -3
- package/test/fixtures/pfm/atx_headings/65.md +0 -1
- package/test/fixtures/pfm/atx_headings/66.md +0 -1
- package/test/fixtures/pfm/atx_headings/67.md +0 -1
- package/test/fixtures/pfm/atx_headings/68.md +0 -3
- package/test/fixtures/pfm/atx_headings/69.md +0 -1
- package/test/fixtures/pfm/atx_headings/70.md +0 -2
- package/test/fixtures/pfm/atx_headings/71.md +0 -2
- package/test/fixtures/pfm/atx_headings/72.md +0 -2
- package/test/fixtures/pfm/atx_headings/73.md +0 -1
- package/test/fixtures/pfm/atx_headings/74.md +0 -1
- package/test/fixtures/pfm/atx_headings/75.md +0 -1
- package/test/fixtures/pfm/atx_headings/76.md +0 -3
- package/test/fixtures/pfm/atx_headings/77.md +0 -3
- package/test/fixtures/pfm/atx_headings/78.md +0 -3
- package/test/fixtures/pfm/atx_headings/79.md +0 -3
- package/test/fixtures/pfm/autolinks/594.md +0 -1
- package/test/fixtures/pfm/autolinks/595.md +0 -1
- package/test/fixtures/pfm/autolinks/596.md +0 -1
- package/test/fixtures/pfm/autolinks/597.md +0 -1
- package/test/fixtures/pfm/autolinks/598.md +0 -1
- package/test/fixtures/pfm/autolinks/599.md +0 -1
- package/test/fixtures/pfm/autolinks/600.md +0 -1
- package/test/fixtures/pfm/autolinks/601.md +0 -1
- package/test/fixtures/pfm/autolinks/602.md +0 -1
- package/test/fixtures/pfm/autolinks/603.md +0 -1
- package/test/fixtures/pfm/autolinks/604.md +0 -1
- package/test/fixtures/pfm/autolinks/605.md +0 -1
- package/test/fixtures/pfm/autolinks/606.md +0 -1
- package/test/fixtures/pfm/autolinks/607.md +0 -1
- package/test/fixtures/pfm/autolinks/608.md +0 -1
- package/test/fixtures/pfm/autolinks/609.md +0 -1
- package/test/fixtures/pfm/autolinks/610.md +0 -1
- package/test/fixtures/pfm/autolinks/611.md +0 -1
- package/test/fixtures/pfm/autolinks/612.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/12.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/13.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/14.md +0 -9
- package/test/fixtures/pfm/backslash_escapes/15.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/16.md +0 -2
- package/test/fixtures/pfm/backslash_escapes/17.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/18.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/19.md +0 -3
- package/test/fixtures/pfm/backslash_escapes/20.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/21.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/22.md +0 -1
- package/test/fixtures/pfm/backslash_escapes/23.md +0 -3
- package/test/fixtures/pfm/backslash_escapes/24.md +0 -3
- package/test/fixtures/pfm/blank_lines/227.md +0 -8
- package/test/fixtures/pfm/block_quotes/228.md +0 -3
- package/test/fixtures/pfm/block_quotes/229.md +0 -3
- package/test/fixtures/pfm/block_quotes/230.md +0 -3
- package/test/fixtures/pfm/block_quotes/231.md +0 -3
- package/test/fixtures/pfm/block_quotes/232.md +0 -3
- package/test/fixtures/pfm/block_quotes/233.md +0 -3
- package/test/fixtures/pfm/block_quotes/234.md +0 -2
- package/test/fixtures/pfm/block_quotes/235.md +0 -2
- package/test/fixtures/pfm/block_quotes/236.md +0 -2
- package/test/fixtures/pfm/block_quotes/237.md +0 -3
- package/test/fixtures/pfm/block_quotes/238.md +0 -2
- package/test/fixtures/pfm/block_quotes/239.md +0 -1
- package/test/fixtures/pfm/block_quotes/240.md +0 -3
- package/test/fixtures/pfm/block_quotes/241.md +0 -3
- package/test/fixtures/pfm/block_quotes/242.md +0 -3
- package/test/fixtures/pfm/block_quotes/243.md +0 -2
- package/test/fixtures/pfm/block_quotes/244.md +0 -3
- package/test/fixtures/pfm/block_quotes/245.md +0 -2
- package/test/fixtures/pfm/block_quotes/246.md +0 -3
- package/test/fixtures/pfm/block_quotes/247.md +0 -2
- package/test/fixtures/pfm/block_quotes/248.md +0 -3
- package/test/fixtures/pfm/block_quotes/249.md +0 -3
- package/test/fixtures/pfm/block_quotes/250.md +0 -2
- package/test/fixtures/pfm/block_quotes/251.md +0 -3
- package/test/fixtures/pfm/block_quotes/252.md +0 -3
- package/test/fixtures/pfm/block_quotes/pfm_fence_close.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_compact.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_end_quote.md +0 -5
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_info.md +0 -5
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_longer.md +0 -4
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_nested.md +0 -3
- package/test/fixtures/pfm/block_quotes/pfm_fence_close_twice.md +0 -6
- package/test/fixtures/pfm/block_quotes/pfm_fence_info_eof.md +0 -1
- package/test/fixtures/pfm/block_quotes/pfm_fence_unclosed.md +0 -2
- package/test/fixtures/pfm/code_spans/328.md +0 -1
- package/test/fixtures/pfm/code_spans/329.md +0 -1
- package/test/fixtures/pfm/code_spans/330.md +0 -1
- package/test/fixtures/pfm/code_spans/331.md +0 -1
- package/test/fixtures/pfm/code_spans/332.md +0 -1
- package/test/fixtures/pfm/code_spans/333.md +0 -1
- package/test/fixtures/pfm/code_spans/334.md +0 -2
- package/test/fixtures/pfm/code_spans/335.md +0 -5
- package/test/fixtures/pfm/code_spans/336.md +0 -3
- package/test/fixtures/pfm/code_spans/337.md +0 -2
- package/test/fixtures/pfm/code_spans/338.md +0 -1
- package/test/fixtures/pfm/code_spans/339.md +0 -1
- package/test/fixtures/pfm/code_spans/340.md +0 -1
- package/test/fixtures/pfm/code_spans/341.md +0 -1
- package/test/fixtures/pfm/code_spans/342.md +0 -1
- package/test/fixtures/pfm/code_spans/343.md +0 -1
- package/test/fixtures/pfm/code_spans/344.md +0 -1
- package/test/fixtures/pfm/code_spans/345.md +0 -1
- package/test/fixtures/pfm/code_spans/346.md +0 -1
- package/test/fixtures/pfm/code_spans/347.md +0 -1
- package/test/fixtures/pfm/code_spans/348.md +0 -1
- package/test/fixtures/pfm/code_spans/349.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_1.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_2.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_3.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_4.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_5.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_6.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_7.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_8.md +0 -1
- package/test/fixtures/pfm/code_spans/pfm_328_9.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/350.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/351.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/352.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/353.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/354.md +0 -5
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/355.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/356.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/357.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/358.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/359.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/360.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/361.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/362.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/363.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/364.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/365.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/366.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/367.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/368.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/369.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/370.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/371.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/372.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/373.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/374.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/375.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/376.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/377.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/378.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/379.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/380.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/381.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/382.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/383.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/384.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/385.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/386.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/387.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/388.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/389.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/390.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/391.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/392.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/393.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/394.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/395.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/396.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/397.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/398.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/399.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/400.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/401.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/402.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/403.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/404.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/405.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/406.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/407.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/408.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/409.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/410.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/411.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/412.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/413.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/414.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/415.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/416.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/417.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/418.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/419.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/420.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/421.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/422.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/423.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/424.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/425.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/426.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/427.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/428.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/429.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/430.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/431.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/432.md +0 -2
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/433.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/434.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/435.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/436.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/437.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/438.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/439.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/440.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/441.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/442.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/443.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/444.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/445.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/446.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/447.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/448.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/449.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/450.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/451.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/452.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/453.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/454.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/455.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/456.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/457.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/458.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/459.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/460.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/461.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/462.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/463.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/464.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/465.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/466.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/467.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/468.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/469.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/470.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/471.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/472.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/473.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/474.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/475.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/476.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/477.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/478.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/479.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/480.md +0 -1
- package/test/fixtures/pfm/emphasis_and_strong_emphasis/481.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/119.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/121.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/122.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/124.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/126.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/127.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/128.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/130.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/131.md +0 -4
- package/test/fixtures/pfm/fenced_code_blocks/132.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/133.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/134.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/135.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/136.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/137.md +0 -3
- package/test/fixtures/pfm/fenced_code_blocks/138.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/140.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/142.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/144.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/145.md +0 -2
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_2.md +0 -8
- package/test/fixtures/pfm/fenced_code_blocks/pfm_119_3.md +0 -5
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof.md +0 -1
- package/test/fixtures/pfm/fenced_code_blocks/pfm_info_eof_no_lf.md +0 -1
- package/test/fixtures/pfm/frontmatter/1.md +0 -5
- package/test/fixtures/pfm/frontmatter/10.md +0 -1
- package/test/fixtures/pfm/frontmatter/2.md +0 -2
- package/test/fixtures/pfm/frontmatter/3.md +0 -4
- package/test/fixtures/pfm/frontmatter/4.md +0 -5
- package/test/fixtures/pfm/frontmatter/5.md +0 -6
- package/test/fixtures/pfm/frontmatter/6.md +0 -8
- package/test/fixtures/pfm/frontmatter/7.md +0 -4
- package/test/fixtures/pfm/frontmatter/8.md +0 -5
- package/test/fixtures/pfm/frontmatter/9.md +0 -4
- package/test/fixtures/pfm/generic_directives/001.md +0 -1
- package/test/fixtures/pfm/generic_directives/002.md +0 -1
- package/test/fixtures/pfm/generic_directives/003.md +0 -1
- package/test/fixtures/pfm/generic_directives/004.md +0 -1
- package/test/fixtures/pfm/generic_directives/005.md +0 -1
- package/test/fixtures/pfm/generic_directives/006.md +0 -1
- package/test/fixtures/pfm/generic_directives/007.md +0 -1
- package/test/fixtures/pfm/generic_directives/008.md +0 -1
- package/test/fixtures/pfm/generic_directives/009.md +0 -1
- package/test/fixtures/pfm/generic_directives/010.md +0 -1
- package/test/fixtures/pfm/generic_directives/011.md +0 -1
- package/test/fixtures/pfm/generic_directives/012.md +0 -1
- package/test/fixtures/pfm/generic_directives/013.md +0 -1
- package/test/fixtures/pfm/generic_directives/014.md +0 -1
- package/test/fixtures/pfm/generic_directives/015.md +0 -3
- package/test/fixtures/pfm/generic_directives/016.md +0 -1
- package/test/fixtures/pfm/generic_directives/017.md +0 -1
- package/test/fixtures/pfm/generic_directives/018.md +0 -1
- package/test/fixtures/pfm/generic_directives/019.md +0 -2
- package/test/fixtures/pfm/generic_directives/020.md +0 -3
- package/test/fixtures/pfm/generic_directives/021.md +0 -3
- package/test/fixtures/pfm/generic_directives/022.md +0 -5
- package/test/fixtures/pfm/generic_directives/023.md +0 -2
- package/test/fixtures/pfm/generic_directives/024.md +0 -5
- package/test/fixtures/pfm/generic_directives/025.md +0 -2
- package/test/fixtures/pfm/generic_directives/026.md +0 -3
- package/test/fixtures/pfm/generic_directives/027.md +0 -5
- package/test/fixtures/pfm/generic_directives/028.md +0 -5
- package/test/fixtures/pfm/generic_directives/029.md +0 -7
- package/test/fixtures/pfm/generic_directives/030.md +0 -3
- package/test/fixtures/pfm/generic_directives/031.md +0 -4
- package/test/fixtures/pfm/generic_directives/032.md +0 -3
- package/test/fixtures/pfm/generic_directives/033.md +0 -3
- package/test/fixtures/pfm/generic_directives/034.md +0 -5
- package/test/fixtures/pfm/generic_directives/035.md +0 -3
- package/test/fixtures/pfm/generic_directives/036.md +0 -1
- package/test/fixtures/pfm/generic_directives/037.md +0 -1
- package/test/fixtures/pfm/generic_directives/038.md +0 -3
- package/test/fixtures/pfm/generic_directives/039.md +0 -5
- package/test/fixtures/pfm/generic_directives/040.md +0 -9
- package/test/fixtures/pfm/generic_directives/041.md +0 -1
- package/test/fixtures/pfm/generic_directives/042.md +0 -1
- package/test/fixtures/pfm/generic_directives/043.md +0 -1
- package/test/fixtures/pfm/generic_directives/044.md +0 -1
- package/test/fixtures/pfm/generic_directives/045.md +0 -1
- package/test/fixtures/pfm/generic_directives/046.md +0 -3
- package/test/fixtures/pfm/generic_directives/047.md +0 -5
- package/test/fixtures/pfm/generic_directives/048.md +0 -1
- package/test/fixtures/pfm/generic_directives/049.md +0 -1
- package/test/fixtures/pfm/generic_directives/050.md +0 -1
- package/test/fixtures/pfm/generic_directives/051.md +0 -1
- package/test/fixtures/pfm/generic_directives/052.md +0 -1
- package/test/fixtures/pfm/generic_directives/053.md +0 -1
- package/test/fixtures/pfm/generic_directives/054.md +0 -1
- package/test/fixtures/pfm/generic_directives/055.md +0 -1
- package/test/fixtures/pfm/generic_directives/056.md +0 -1
- package/test/fixtures/pfm/generic_directives/057.md +0 -1
- package/test/fixtures/pfm/generic_directives/058.md +0 -1
- package/test/fixtures/pfm/generic_directives/059.md +0 -1
- package/test/fixtures/pfm/generic_directives/060.md +0 -1
- package/test/fixtures/pfm/generic_directives/061.md +0 -1
- package/test/fixtures/pfm/generic_directives/062.md +0 -1
- package/test/fixtures/pfm/generic_directives/063.md +0 -1
- package/test/fixtures/pfm/generic_directives/064.md +0 -1
- package/test/fixtures/pfm/generic_directives/065.md +0 -2
- package/test/fixtures/pfm/generic_directives/066.md +0 -1
- package/test/fixtures/pfm/generic_directives/067.md +0 -1
- package/test/fixtures/pfm/generic_directives/068.md +0 -1
- package/test/fixtures/pfm/generic_directives/069.md +0 -1
- package/test/fixtures/pfm/generic_directives/070.md +0 -1
- package/test/fixtures/pfm/generic_directives/071.md +0 -1
- package/test/fixtures/pfm/generic_directives/072.md +0 -1
- package/test/fixtures/pfm/generic_directives/073.md +0 -1
- package/test/fixtures/pfm/generic_directives/074.md +0 -3
- package/test/fixtures/pfm/generic_directives/075.md +0 -1
- package/test/fixtures/pfm/generic_directives/076.md +0 -1
- package/test/fixtures/pfm/generic_directives/077.md +0 -1
- package/test/fixtures/pfm/generic_directives/078.md +0 -1
- package/test/fixtures/pfm/generic_directives/079.md +0 -1
- package/test/fixtures/pfm/generic_directives/080.md +0 -1
- package/test/fixtures/pfm/generic_directives/081.md +0 -1
- package/test/fixtures/pfm/generic_directives/082.md +0 -1
- package/test/fixtures/pfm/generic_directives/083.md +0 -1
- package/test/fixtures/pfm/generic_directives/084.md +0 -1
- package/test/fixtures/pfm/generic_directives/085.md +0 -1
- package/test/fixtures/pfm/generic_directives/086.md +0 -1
- package/test/fixtures/pfm/generic_directives/087.md +0 -1
- package/test/fixtures/pfm/generic_directives/088.md +0 -3
- package/test/fixtures/pfm/generic_directives/089.md +0 -1
- package/test/fixtures/pfm/generic_directives/090.md +0 -1
- package/test/fixtures/pfm/generic_directives/091.md +0 -1
- package/test/fixtures/pfm/generic_directives/092.md +0 -3
- package/test/fixtures/pfm/generic_directives/093.md +0 -1
- package/test/fixtures/pfm/generic_directives/094.md +0 -1
- package/test/fixtures/pfm/generic_directives/095.md +0 -2
- package/test/fixtures/pfm/generic_directives/096.md +0 -1
- package/test/fixtures/pfm/generic_directives/097.md +0 -1
- package/test/fixtures/pfm/generic_directives/098.md +0 -1
- package/test/fixtures/pfm/generic_directives/099.md +0 -1
- package/test/fixtures/pfm/generic_directives/100.md +0 -1
- package/test/fixtures/pfm/generic_directives/101.md +0 -1
- package/test/fixtures/pfm/generic_directives/102.md +0 -1
- package/test/fixtures/pfm/generic_directives/103.md +0 -5
- package/test/fixtures/pfm/generic_directives/104.md +0 -1
- package/test/fixtures/pfm/generic_directives/105.md +0 -1
- package/test/fixtures/pfm/generic_directives/106.md +0 -1
- package/test/fixtures/pfm/generic_directives/107.md +0 -3
- package/test/fixtures/pfm/generic_directives/108.md +0 -1
- package/test/fixtures/pfm/generic_directives/109.md +0 -1
- package/test/fixtures/pfm/generic_directives/110.md +0 -1
- package/test/fixtures/pfm/generic_directives/111.md +0 -1
- package/test/fixtures/pfm/generic_directives/112.md +0 -1
- package/test/fixtures/pfm/generic_directives/113.md +0 -1
- package/test/fixtures/pfm/generic_directives/114.md +0 -2
- package/test/fixtures/pfm/generic_directives/115.md +0 -1
- package/test/fixtures/pfm/generic_directives/116.md +0 -6
- package/test/fixtures/pfm/generic_directives/117.md +0 -3
- package/test/fixtures/pfm/generic_directives/118.md +0 -6
- package/test/fixtures/pfm/generic_directives/119.md +0 -3
- package/test/fixtures/pfm/generic_directives/120.md +0 -5
- package/test/fixtures/pfm/generic_directives/121.md +0 -3
- package/test/fixtures/pfm/generic_directives/122.md +0 -4
- package/test/fixtures/pfm/generic_directives/123.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/633.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/634.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/635.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/636.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/637.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/638.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/639.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/640.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/641.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/642.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/643.md +0 -2
- package/test/fixtures/pfm/hard_line_breaks/644.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/645.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/646.md +0 -1
- package/test/fixtures/pfm/hard_line_breaks/647.md +0 -1
- package/test/fixtures/pfm/html/148.md +0 -7
- package/test/fixtures/pfm/html/149.md +0 -9
- package/test/fixtures/pfm/html/150.md +0 -3
- package/test/fixtures/pfm/html/151.md +0 -2
- package/test/fixtures/pfm/html/152.md +0 -5
- package/test/fixtures/pfm/html/153.md +0 -3
- package/test/fixtures/pfm/html/154.md +0 -3
- package/test/fixtures/pfm/html/155.md +0 -4
- package/test/fixtures/pfm/html/156.md +0 -2
- package/test/fixtures/pfm/html/157.md +0 -2
- package/test/fixtures/pfm/html/158.md +0 -2
- package/test/fixtures/pfm/html/159.md +0 -1
- package/test/fixtures/pfm/html/160.md +0 -3
- package/test/fixtures/pfm/html/161.md +0 -4
- package/test/fixtures/pfm/html/162.md +0 -3
- package/test/fixtures/pfm/html/163.md +0 -3
- package/test/fixtures/pfm/html/164.md +0 -3
- package/test/fixtures/pfm/html/165.md +0 -2
- package/test/fixtures/pfm/html/166.md +0 -3
- package/test/fixtures/pfm/html/167.md +0 -5
- package/test/fixtures/pfm/html/168.md +0 -1
- package/test/fixtures/pfm/html/169.md +0 -7
- package/test/fixtures/pfm/html/170.md +0 -6
- package/test/fixtures/pfm/html/171.md +0 -7
- package/test/fixtures/pfm/html/172.md +0 -7
- package/test/fixtures/pfm/html/173.md +0 -4
- package/test/fixtures/pfm/html/174.md +0 -4
- package/test/fixtures/pfm/html/175.md +0 -2
- package/test/fixtures/pfm/html/176.md +0 -2
- package/test/fixtures/pfm/html/177.md +0 -2
- package/test/fixtures/pfm/html/178.md +0 -3
- package/test/fixtures/pfm/html/179.md +0 -5
- package/test/fixtures/pfm/html/180.md +0 -6
- package/test/fixtures/pfm/html/181.md +0 -1
- package/test/fixtures/pfm/html/182.md +0 -13
- package/test/fixtures/pfm/html/183.md +0 -3
- package/test/fixtures/pfm/html/184.md +0 -3
- package/test/fixtures/pfm/html/185.md +0 -4
- package/test/fixtures/pfm/html/186.md +0 -4
- package/test/fixtures/pfm/html/187.md +0 -3
- package/test/fixtures/pfm/html/188.md +0 -5
- package/test/fixtures/pfm/html/189.md +0 -3
- package/test/fixtures/pfm/html/190.md +0 -11
- package/test/fixtures/pfm/html/191.md +0 -11
- package/test/fixtures/pfm/html/613.md +0 -1
- package/test/fixtures/pfm/html/614.md +0 -1
- package/test/fixtures/pfm/html/615.md +0 -2
- package/test/fixtures/pfm/html/616.md +0 -2
- package/test/fixtures/pfm/html/617.md +0 -1
- package/test/fixtures/pfm/html/618.md +0 -1
- package/test/fixtures/pfm/html/619.md +0 -1
- package/test/fixtures/pfm/html/620.md +0 -1
- package/test/fixtures/pfm/html/621.md +0 -4
- package/test/fixtures/pfm/html/622.md +0 -1
- package/test/fixtures/pfm/html/623.md +0 -1
- package/test/fixtures/pfm/html/624.md +0 -1
- package/test/fixtures/pfm/html/625.md +0 -2
- package/test/fixtures/pfm/html/626.md +0 -3
- package/test/fixtures/pfm/html/627.md +0 -1
- package/test/fixtures/pfm/html/628.md +0 -1
- package/test/fixtures/pfm/html/629.md +0 -1
- package/test/fixtures/pfm/html/630.md +0 -1
- package/test/fixtures/pfm/html/631.md +0 -1
- package/test/fixtures/pfm/html/632.md +0 -1
- package/test/fixtures/pfm/images/572.md +0 -1
- package/test/fixtures/pfm/images/573.md +0 -3
- package/test/fixtures/pfm/images/574.md +0 -1
- package/test/fixtures/pfm/images/575.md +0 -1
- package/test/fixtures/pfm/images/576.md +0 -3
- package/test/fixtures/pfm/images/577.md +0 -3
- package/test/fixtures/pfm/images/578.md +0 -1
- package/test/fixtures/pfm/images/579.md +0 -1
- package/test/fixtures/pfm/images/580.md +0 -1
- package/test/fixtures/pfm/images/581.md +0 -1
- package/test/fixtures/pfm/images/582.md +0 -3
- package/test/fixtures/pfm/images/583.md +0 -3
- package/test/fixtures/pfm/images/584.md +0 -3
- package/test/fixtures/pfm/images/585.md +0 -3
- package/test/fixtures/pfm/images/586.md +0 -3
- package/test/fixtures/pfm/images/587.md +0 -4
- package/test/fixtures/pfm/images/588.md +0 -3
- package/test/fixtures/pfm/images/589.md +0 -3
- package/test/fixtures/pfm/images/590.md +0 -3
- package/test/fixtures/pfm/images/591.md +0 -3
- package/test/fixtures/pfm/images/592.md +0 -3
- package/test/fixtures/pfm/images/593.md +0 -3
- package/test/fixtures/pfm/imports/1.md +0 -3
- package/test/fixtures/pfm/imports/10.md +0 -1
- package/test/fixtures/pfm/imports/11.md +0 -3
- package/test/fixtures/pfm/imports/2.md +0 -4
- package/test/fixtures/pfm/imports/3.md +0 -4
- package/test/fixtures/pfm/imports/4.md +0 -3
- package/test/fixtures/pfm/imports/5.md +0 -3
- package/test/fixtures/pfm/imports/6.md +0 -5
- package/test/fixtures/pfm/imports/7.md +0 -3
- package/test/fixtures/pfm/imports/8.md +0 -3
- package/test/fixtures/pfm/imports/9.md +0 -1
- package/test/fixtures/pfm/inlines/327.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/192.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/193.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/194.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/195.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/196.md +0 -7
- package/test/fixtures/pfm/link_reference_definitions/197.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/198.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/199.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/200.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/201.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/202.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/203.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/204.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/205.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/206.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/207.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/208.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/209.md +0 -1
- package/test/fixtures/pfm/link_reference_definitions/210.md +0 -2
- package/test/fixtures/pfm/link_reference_definitions/211.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/212.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/213.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/214.md +0 -5
- package/test/fixtures/pfm/link_reference_definitions/215.md +0 -4
- package/test/fixtures/pfm/link_reference_definitions/216.md +0 -3
- package/test/fixtures/pfm/link_reference_definitions/217.md +0 -8
- package/test/fixtures/pfm/link_reference_definitions/218.md +0 -3
- package/test/fixtures/pfm/links/482.md +0 -1
- package/test/fixtures/pfm/links/483.md +0 -1
- package/test/fixtures/pfm/links/484.md +0 -1
- package/test/fixtures/pfm/links/485.md +0 -1
- package/test/fixtures/pfm/links/486.md +0 -1
- package/test/fixtures/pfm/links/487.md +0 -1
- package/test/fixtures/pfm/links/488.md +0 -1
- package/test/fixtures/pfm/links/489.md +0 -1
- package/test/fixtures/pfm/links/490.md +0 -2
- package/test/fixtures/pfm/links/491.md +0 -2
- package/test/fixtures/pfm/links/492.md +0 -1
- package/test/fixtures/pfm/links/493.md +0 -1
- package/test/fixtures/pfm/links/494.md +0 -3
- package/test/fixtures/pfm/links/495.md +0 -1
- package/test/fixtures/pfm/links/496.md +0 -1
- package/test/fixtures/pfm/links/497.md +0 -1
- package/test/fixtures/pfm/links/498.md +0 -1
- package/test/fixtures/pfm/links/499.md +0 -1
- package/test/fixtures/pfm/links/500.md +0 -1
- package/test/fixtures/pfm/links/501.md +0 -5
- package/test/fixtures/pfm/links/502.md +0 -1
- package/test/fixtures/pfm/links/503.md +0 -1
- package/test/fixtures/pfm/links/504.md +0 -1
- package/test/fixtures/pfm/links/505.md +0 -3
- package/test/fixtures/pfm/links/506.md +0 -1
- package/test/fixtures/pfm/links/507.md +0 -1
- package/test/fixtures/pfm/links/508.md +0 -1
- package/test/fixtures/pfm/links/509.md +0 -1
- package/test/fixtures/pfm/links/510.md +0 -2
- package/test/fixtures/pfm/links/511.md +0 -1
- package/test/fixtures/pfm/links/512.md +0 -1
- package/test/fixtures/pfm/links/513.md +0 -1
- package/test/fixtures/pfm/links/514.md +0 -1
- package/test/fixtures/pfm/links/515.md +0 -1
- package/test/fixtures/pfm/links/516.md +0 -1
- package/test/fixtures/pfm/links/517.md +0 -1
- package/test/fixtures/pfm/links/518.md +0 -1
- package/test/fixtures/pfm/links/519.md +0 -1
- package/test/fixtures/pfm/links/520.md +0 -1
- package/test/fixtures/pfm/links/521.md +0 -1
- package/test/fixtures/pfm/links/522.md +0 -1
- package/test/fixtures/pfm/links/523.md +0 -1
- package/test/fixtures/pfm/links/524.md +0 -1
- package/test/fixtures/pfm/links/525.md +0 -1
- package/test/fixtures/pfm/links/526.md +0 -1
- package/test/fixtures/pfm/links/527.md +0 -3
- package/test/fixtures/pfm/links/528.md +0 -3
- package/test/fixtures/pfm/links/529.md +0 -3
- package/test/fixtures/pfm/links/530.md +0 -3
- package/test/fixtures/pfm/links/531.md +0 -3
- package/test/fixtures/pfm/links/532.md +0 -3
- package/test/fixtures/pfm/links/533.md +0 -3
- package/test/fixtures/pfm/links/534.md +0 -3
- package/test/fixtures/pfm/links/535.md +0 -3
- package/test/fixtures/pfm/links/536.md +0 -3
- package/test/fixtures/pfm/links/537.md +0 -3
- package/test/fixtures/pfm/links/538.md +0 -3
- package/test/fixtures/pfm/links/539.md +0 -3
- package/test/fixtures/pfm/links/540.md +0 -3
- package/test/fixtures/pfm/links/541.md +0 -4
- package/test/fixtures/pfm/links/542.md +0 -3
- package/test/fixtures/pfm/links/543.md +0 -4
- package/test/fixtures/pfm/links/544.md +0 -5
- package/test/fixtures/pfm/links/545.md +0 -3
- package/test/fixtures/pfm/links/546.md +0 -3
- package/test/fixtures/pfm/links/547.md +0 -3
- package/test/fixtures/pfm/links/548.md +0 -3
- package/test/fixtures/pfm/links/549.md +0 -3
- package/test/fixtures/pfm/links/550.md +0 -3
- package/test/fixtures/pfm/links/551.md +0 -3
- package/test/fixtures/pfm/links/552.md +0 -5
- package/test/fixtures/pfm/links/553.md +0 -3
- package/test/fixtures/pfm/links/554.md +0 -3
- package/test/fixtures/pfm/links/555.md +0 -3
- package/test/fixtures/pfm/links/556.md +0 -4
- package/test/fixtures/pfm/links/557.md +0 -3
- package/test/fixtures/pfm/links/558.md +0 -3
- package/test/fixtures/pfm/links/559.md +0 -3
- package/test/fixtures/pfm/links/560.md +0 -3
- package/test/fixtures/pfm/links/561.md +0 -3
- package/test/fixtures/pfm/links/562.md +0 -3
- package/test/fixtures/pfm/links/563.md +0 -3
- package/test/fixtures/pfm/links/564.md +0 -3
- package/test/fixtures/pfm/links/565.md +0 -4
- package/test/fixtures/pfm/links/566.md +0 -3
- package/test/fixtures/pfm/links/567.md +0 -3
- package/test/fixtures/pfm/links/568.md +0 -3
- package/test/fixtures/pfm/links/569.md +0 -3
- package/test/fixtures/pfm/links/570.md +0 -4
- package/test/fixtures/pfm/links/571.md +0 -4
- package/test/fixtures/pfm/list_items/253.md +0 -6
- package/test/fixtures/pfm/list_items/254.md +0 -6
- package/test/fixtures/pfm/list_items/255.md +0 -3
- package/test/fixtures/pfm/list_items/256.md +0 -3
- package/test/fixtures/pfm/list_items/257.md +0 -3
- package/test/fixtures/pfm/list_items/258.md +0 -3
- package/test/fixtures/pfm/list_items/259.md +0 -3
- package/test/fixtures/pfm/list_items/260.md +0 -3
- package/test/fixtures/pfm/list_items/261.md +0 -3
- package/test/fixtures/pfm/list_items/262.md +0 -4
- package/test/fixtures/pfm/list_items/263.md +0 -9
- package/test/fixtures/pfm/list_items/264.md +0 -6
- package/test/fixtures/pfm/list_items/265.md +0 -1
- package/test/fixtures/pfm/list_items/266.md +0 -1
- package/test/fixtures/pfm/list_items/267.md +0 -1
- package/test/fixtures/pfm/list_items/268.md +0 -1
- package/test/fixtures/pfm/list_items/269.md +0 -1
- package/test/fixtures/pfm/list_items/270.md +0 -3
- package/test/fixtures/pfm/list_items/271.md +0 -3
- package/test/fixtures/pfm/list_items/272.md +0 -5
- package/test/fixtures/pfm/list_items/273.md +0 -5
- package/test/fixtures/pfm/list_items/274.md +0 -5
- package/test/fixtures/pfm/list_items/275.md +0 -3
- package/test/fixtures/pfm/list_items/276.md +0 -3
- package/test/fixtures/pfm/list_items/277.md +0 -3
- package/test/fixtures/pfm/list_items/278.md +0 -8
- package/test/fixtures/pfm/list_items/279.md +0 -2
- package/test/fixtures/pfm/list_items/280.md +0 -3
- package/test/fixtures/pfm/list_items/281.md +0 -3
- package/test/fixtures/pfm/list_items/282.md +0 -3
- package/test/fixtures/pfm/list_items/283.md +0 -3
- package/test/fixtures/pfm/list_items/284.md +0 -1
- package/test/fixtures/pfm/list_items/285.md +0 -5
- package/test/fixtures/pfm/list_items/286.md +0 -6
- package/test/fixtures/pfm/list_items/287.md +0 -6
- package/test/fixtures/pfm/list_items/288.md +0 -6
- package/test/fixtures/pfm/list_items/289.md +0 -6
- package/test/fixtures/pfm/list_items/290.md +0 -6
- package/test/fixtures/pfm/list_items/291.md +0 -2
- package/test/fixtures/pfm/list_items/292.md +0 -2
- package/test/fixtures/pfm/list_items/293.md +0 -2
- package/test/fixtures/pfm/list_items/294.md +0 -4
- package/test/fixtures/pfm/list_items/295.md +0 -4
- package/test/fixtures/pfm/list_items/296.md +0 -2
- package/test/fixtures/pfm/list_items/297.md +0 -2
- package/test/fixtures/pfm/list_items/298.md +0 -1
- package/test/fixtures/pfm/list_items/299.md +0 -1
- package/test/fixtures/pfm/list_items/300.md +0 -4
- package/test/fixtures/pfm/lists/301.md +0 -3
- package/test/fixtures/pfm/lists/302.md +0 -3
- package/test/fixtures/pfm/lists/303.md +0 -3
- package/test/fixtures/pfm/lists/304.md +0 -2
- package/test/fixtures/pfm/lists/305.md +0 -2
- package/test/fixtures/pfm/lists/306.md +0 -6
- package/test/fixtures/pfm/lists/307.md +0 -6
- package/test/fixtures/pfm/lists/308.md +0 -7
- package/test/fixtures/pfm/lists/309.md +0 -9
- package/test/fixtures/pfm/lists/310.md +0 -7
- package/test/fixtures/pfm/lists/311.md +0 -5
- package/test/fixtures/pfm/lists/312.md +0 -5
- package/test/fixtures/pfm/lists/313.md +0 -5
- package/test/fixtures/pfm/lists/314.md +0 -4
- package/test/fixtures/pfm/lists/315.md +0 -4
- package/test/fixtures/pfm/lists/316.md +0 -5
- package/test/fixtures/pfm/lists/317.md +0 -5
- package/test/fixtures/pfm/lists/318.md +0 -7
- package/test/fixtures/pfm/lists/319.md +0 -5
- package/test/fixtures/pfm/lists/320.md +0 -4
- package/test/fixtures/pfm/lists/321.md +0 -6
- package/test/fixtures/pfm/lists/322.md +0 -1
- package/test/fixtures/pfm/lists/323.md +0 -2
- package/test/fixtures/pfm/lists/324.md +0 -5
- package/test/fixtures/pfm/lists/325.md +0 -4
- package/test/fixtures/pfm/lists/326.md +0 -7
- package/test/fixtures/pfm/paragraphs/219.md +0 -3
- package/test/fixtures/pfm/paragraphs/220.md +0 -5
- package/test/fixtures/pfm/paragraphs/221.md +0 -4
- package/test/fixtures/pfm/paragraphs/222.md +0 -2
- package/test/fixtures/pfm/paragraphs/223.md +0 -3
- package/test/fixtures/pfm/paragraphs/224.md +0 -2
- package/test/fixtures/pfm/paragraphs/225.md +0 -2
- package/test/fixtures/pfm/precedence/42.md +0 -2
- package/test/fixtures/pfm/setext_headings/100.md +0 -2
- package/test/fixtures/pfm/setext_headings/101.md +0 -2
- package/test/fixtures/pfm/setext_headings/102.md +0 -2
- package/test/fixtures/pfm/setext_headings/103.md +0 -5
- package/test/fixtures/pfm/setext_headings/104.md +0 -6
- package/test/fixtures/pfm/setext_headings/105.md +0 -4
- package/test/fixtures/pfm/setext_headings/106.md +0 -4
- package/test/fixtures/pfm/setext_headings/80.md +0 -5
- package/test/fixtures/pfm/setext_headings/81.md +0 -3
- package/test/fixtures/pfm/setext_headings/82.md +0 -3
- package/test/fixtures/pfm/setext_headings/83.md +0 -5
- package/test/fixtures/pfm/setext_headings/84.md +0 -8
- package/test/fixtures/pfm/setext_headings/85.md +0 -5
- package/test/fixtures/pfm/setext_headings/86.md +0 -2
- package/test/fixtures/pfm/setext_headings/87.md +0 -2
- package/test/fixtures/pfm/setext_headings/88.md +0 -5
- package/test/fixtures/pfm/setext_headings/89.md +0 -2
- package/test/fixtures/pfm/setext_headings/90.md +0 -2
- package/test/fixtures/pfm/setext_headings/91.md +0 -7
- package/test/fixtures/pfm/setext_headings/92.md +0 -2
- package/test/fixtures/pfm/setext_headings/93.md +0 -3
- package/test/fixtures/pfm/setext_headings/94.md +0 -2
- package/test/fixtures/pfm/setext_headings/95.md +0 -3
- package/test/fixtures/pfm/setext_headings/96.md +0 -6
- package/test/fixtures/pfm/setext_headings/97.md +0 -2
- package/test/fixtures/pfm/setext_headings/98.md +0 -2
- package/test/fixtures/pfm/setext_headings/99.md +0 -2
- package/test/fixtures/pfm/soft_line_breaks/648.md +0 -2
- package/test/fixtures/pfm/soft_line_breaks/649.md +0 -2
- package/test/fixtures/pfm/tabs/1.md +0 -1
- package/test/fixtures/pfm/tabs/10.md +0 -1
- package/test/fixtures/pfm/tabs/11.md +0 -1
- package/test/fixtures/pfm/tabs/12.md +0 -2
- package/test/fixtures/pfm/tabs/13.md +0 -2
- package/test/fixtures/pfm/tabs/14.md +0 -3
- package/test/fixtures/pfm/tabs/15.md +0 -2
- package/test/fixtures/pfm/tabs/16.md +0 -2
- package/test/fixtures/pfm/tabs/17.md +0 -3
- package/test/fixtures/pfm/tabs/2.md +0 -1
- package/test/fixtures/pfm/tabs/3.md +0 -2
- package/test/fixtures/pfm/tabs/4.md +0 -3
- package/test/fixtures/pfm/tabs/5.md +0 -3
- package/test/fixtures/pfm/tabs/6.md +0 -1
- package/test/fixtures/pfm/tabs/7.md +0 -1
- package/test/fixtures/pfm/tabs/8.md +0 -2
- package/test/fixtures/pfm/tabs/9.md +0 -3
- package/test/fixtures/pfm/textual_content/650.md +0 -1
- package/test/fixtures/pfm/textual_content/651.md +0 -1
- package/test/fixtures/pfm/textual_content/652.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/43.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/44.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/45.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/46.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/47.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/48.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/49.md +0 -2
- package/test/fixtures/pfm/thematic_breaks/50.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/51.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/52.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/53.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/54.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/55.md +0 -5
- package/test/fixtures/pfm/thematic_breaks/56.md +0 -1
- package/test/fixtures/pfm/thematic_breaks/57.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/58.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/59.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/60.md +0 -3
- package/test/fixtures/pfm/thematic_breaks/61.md +0 -2
- package/test/fixtures/svelte/00-introduction/00-hello-world/App.svelte +0 -5
- package/test/fixtures/svelte/00-introduction/01-dynamic-attributes/App.svelte +0 -7
- package/test/fixtures/svelte/00-introduction/02-styling/App.svelte +0 -9
- package/test/fixtures/svelte/00-introduction/03-nested-components/App.svelte +0 -14
- package/test/fixtures/svelte/00-introduction/03-nested-components/Nested.svelte +0 -1
- package/test/fixtures/svelte/00-introduction/04-html-tags/App.svelte +0 -5
- package/test/fixtures/svelte/01-reactivity/00-reactive-assignments/App.svelte +0 -11
- package/test/fixtures/svelte/01-reactivity/01-reactive-declarations/App.svelte +0 -18
- package/test/fixtures/svelte/01-reactivity/02-reactive-statements/App.svelte +0 -16
- package/test/fixtures/svelte/02-props/00-declaring-props/App.svelte +0 -5
- package/test/fixtures/svelte/02-props/00-declaring-props/Nested.svelte +0 -5
- package/test/fixtures/svelte/02-props/01-default-values/App.svelte +0 -6
- package/test/fixtures/svelte/02-props/01-default-values/Nested.svelte +0 -5
- package/test/fixtures/svelte/02-props/02-spread-props/App.svelte +0 -12
- package/test/fixtures/svelte/02-props/02-spread-props/Info.svelte +0 -12
- package/test/fixtures/svelte/03-logic/00-if-blocks/App.svelte +0 -19
- package/test/fixtures/svelte/03-logic/01-else-blocks/App.svelte +0 -17
- package/test/fixtures/svelte/03-logic/02-else-if-blocks/App.svelte +0 -11
- package/test/fixtures/svelte/03-logic/03-each-blocks/App.svelte +0 -17
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/App.svelte +0 -35
- package/test/fixtures/svelte/03-logic/04-keyed-each-blocks/Thing.svelte +0 -24
- package/test/fixtures/svelte/04-events/00-dom-events/App.svelte +0 -16
- package/test/fixtures/svelte/04-events/01-inline-handlers/App.svelte +0 -11
- package/test/fixtures/svelte/04-events/02-event-modifiers/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/03-component-events/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/03-component-events/Inner.svelte +0 -15
- package/test/fixtures/svelte/04-events/04-event-forwarding/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/04-event-forwarding/Inner.svelte +0 -15
- package/test/fixtures/svelte/04-events/04-event-forwarding/Outer.svelte +0 -5
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/App.svelte +0 -9
- package/test/fixtures/svelte/04-events/05-dom-event-forwarding/FancyButton.svelte +0 -15
- package/test/fixtures/svelte/05-bindings/00-text-inputs/App.svelte +0 -6
- package/test/fixtures/svelte/05-bindings/01-numeric-inputs/App.svelte +0 -16
- package/test/fixtures/svelte/05-bindings/02-checkbox-inputs/App.svelte +0 -18
- package/test/fixtures/svelte/05-bindings/03-group-inputs/App.svelte +0 -48
- package/test/fixtures/svelte/05-bindings/04-textarea-inputs/App.svelte +0 -12
- package/test/fixtures/svelte/05-bindings/05-select-bindings/App.svelte +0 -42
- package/test/fixtures/svelte/05-bindings/06-multiple-select-bindings/App.svelte +0 -49
- package/test/fixtures/svelte/05-bindings/07-each-block-bindings/App.svelte +0 -49
- package/test/fixtures/svelte/05-bindings/08-media-elements/App.svelte +0 -136
- package/test/fixtures/svelte/05-bindings/09-dimensions/App.svelte +0 -20
- package/test/fixtures/svelte/05-bindings/10-bind-this/App.svelte +0 -55
- package/test/fixtures/svelte/05-bindings/11-component-bindings/App.svelte +0 -14
- package/test/fixtures/svelte/05-bindings/11-component-bindings/Keypad.svelte +0 -40
- package/test/fixtures/svelte/06-lifecycle/00-onmount/App.svelte +0 -40
- package/test/fixtures/svelte/06-lifecycle/01-ondestroy/App.svelte +0 -11
- package/test/fixtures/svelte/06-lifecycle/02-update/App.svelte +0 -112
- package/test/fixtures/svelte/06-lifecycle/03-tick/App.svelte +0 -34
- package/test/fixtures/svelte/07-stores/00-writable-stores/App.svelte +0 -18
- package/test/fixtures/svelte/07-stores/00-writable-stores/Decrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/00-writable-stores/Incrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/00-writable-stores/Resetter.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/App.svelte +0 -12
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Decrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Incrementer.svelte +0 -11
- package/test/fixtures/svelte/07-stores/01-auto-subscriptions/Resetter.svelte +0 -11
- package/test/fixtures/svelte/07-stores/02-readable-stores/App.svelte +0 -12
- package/test/fixtures/svelte/07-stores/03-derived-stores/App.svelte +0 -17
- package/test/fixtures/svelte/07-stores/04-custom-stores/App.svelte +0 -9
- package/test/fixtures/svelte/08-motion/00-tweened/App.svelte +0 -38
- package/test/fixtures/svelte/08-motion/01-spring/App.svelte +0 -38
- package/test/fixtures/svelte/09-transitions/00-transition/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/01-adding-parameters-to-transitions/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/02-in-and-out/App.svelte +0 -15
- package/test/fixtures/svelte/09-transitions/03-custom-css-transitions/App.svelte +0 -49
- package/test/fixtures/svelte/09-transitions/04-custom-js-transitions/App.svelte +0 -36
- package/test/fixtures/svelte/09-transitions/05-transition-events/App.svelte +0 -25
- package/test/fixtures/svelte/10-animations/00-animate/App.svelte +0 -147
- package/test/fixtures/svelte/11-easing/00-easing/App.svelte +0 -106
- package/test/fixtures/svelte/11-easing/00-easing/Controls.svelte +0 -186
- package/test/fixtures/svelte/11-easing/00-easing/Grid.svelte +0 -62
- package/test/fixtures/svelte/12-svg/01-clock/App.svelte +0 -104
- package/test/fixtures/svelte/12-svg/02-bar-chart/App.svelte +0 -118
- package/test/fixtures/svelte/12-svg/03-area-chart/App.svelte +0 -111
- package/test/fixtures/svelte/12-svg/04-scatterplot/App.svelte +0 -24
- package/test/fixtures/svelte/12-svg/04-scatterplot/Scatterplot.svelte +0 -91
- package/test/fixtures/svelte/12-svg/05-svg-transitions/App.svelte +0 -74
- package/test/fixtures/svelte/13-actions/00-actions/App.svelte +0 -54
- package/test/fixtures/svelte/13-actions/01-adding-parameters-to-actions/App.svelte +0 -70
- package/test/fixtures/svelte/14-classes/00-classes/App.svelte +0 -29
- package/test/fixtures/svelte/14-classes/01-class-shorthand/App.svelte +0 -18
- package/test/fixtures/svelte/15-composition/00-slots/App.svelte +0 -8
- package/test/fixtures/svelte/15-composition/00-slots/Box.svelte +0 -14
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/App.svelte +0 -10
- package/test/fixtures/svelte/15-composition/01-slot-fallbacks/Box.svelte +0 -16
- package/test/fixtures/svelte/15-composition/02-named-slots/App.svelte +0 -14
- package/test/fixtures/svelte/15-composition/02-named-slots/ContactCard.svelte +0 -47
- package/test/fixtures/svelte/15-composition/03-slot-props/App.svelte +0 -46
- package/test/fixtures/svelte/15-composition/03-slot-props/Hoverable.svelte +0 -15
- package/test/fixtures/svelte/15-composition/04-modal/App.svelte +0 -35
- package/test/fixtures/svelte/15-composition/04-modal/Modal.svelte +0 -45
- package/test/fixtures/svelte/16-context/00-context-api/App.svelte +0 -13
- package/test/fixtures/svelte/16-context/00-context-api/Map.svelte +0 -50
- package/test/fixtures/svelte/16-context/00-context-api/MapMarker.svelte +0 -18
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/App.svelte +0 -39
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/File.svelte +0 -14
- package/test/fixtures/svelte/17-special-elements/00-svelte-self/Folder.svelte +0 -52
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/App.svelte +0 -21
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/BlueThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/GreenThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/01-svelte-component/RedThing.svelte +0 -5
- package/test/fixtures/svelte/17-special-elements/02-svelte-window/App.svelte +0 -42
- package/test/fixtures/svelte/17-special-elements/03-svelte-window-bindings/App.svelte +0 -88
- package/test/fixtures/svelte/17-special-elements/04-svelte-body/App.svelte +0 -34
- package/test/fixtures/svelte/17-special-elements/05-svelte-head/App.svelte +0 -5
- package/test/fixtures/svelte/18-module-context/01-module-exports/App.svelte +0 -47
- package/test/fixtures/svelte/18-module-context/01-module-exports/AudioPlayer.svelte +0 -52
- package/test/fixtures/svelte/19-debugging/00-debug/App.svelte +0 -18
- package/test/fixtures/svelte/19-debugging/00-debug/Test.svelte +0 -250
- package/test/fixtures/svelte/20-7guis/01-7guis-counter/App.svelte +0 -7
- package/test/fixtures/svelte/20-7guis/02-7guis-temperature/App.svelte +0 -24
- package/test/fixtures/svelte/20-7guis/03-7guis-flight-booker/App.svelte +0 -59
- package/test/fixtures/svelte/20-7guis/04-7guis-timer/App.svelte +0 -38
- package/test/fixtures/svelte/20-7guis/05-7guis-crud/App.svelte +0 -97
- package/test/fixtures/svelte/20-7guis/06-7guis-circles/App.svelte +0 -125
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/App.svelte +0 -59
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Comment.svelte +0 -32
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Item.svelte +0 -39
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/List.svelte +0 -46
- package/test/fixtures/svelte/21-miscellaneous/01-hacker-news/Summary.svelte +0 -38
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/App.svelte +0 -38
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.svelte +0 -28
- package/test/fixtures/svelte/21-miscellaneous/02-immutable-data/MutableTodo.svelte +0 -26
- package/test/fixtures/svelte/22-bugs/CSS/App.svelte +0 -45
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.svelte +0 -10
- package/test/fixtures/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.svelte +0 -15
- package/test/fixtures/svelte/99-embeds/20190420-blog-write-less-code/App.svelte +0 -9
- package/test/frontmatter.spec.ts +0 -133
- package/test/html.spec.ts +0 -829
- package/test/html_block_containers.spec.ts +0 -445
- package/test/images.spec.ts +0 -106
- package/test/imports.spec.ts +0 -166
- package/test/incremental.spec.ts +0 -750
- package/test/line_breaks.spec.ts +0 -166
- package/test/link_reference_definitions.spec.ts +0 -422
- package/test/links.spec.ts +0 -234
- package/test/lists.spec.ts +0 -694
- package/test/opcodes.spec.ts +0 -325
- package/test/paragraphs.spec.ts +0 -211
- package/test/parser_reuse.spec.ts +0 -40
- package/test/plugins.spec.ts +0 -879
- package/test/print.ts +0 -108
- package/test/run_bytecode.spec.ts +0 -36
- package/test/snapshots/hybrid/code-escaping.snap.ast +0 -13
- package/test/snapshots/hybrid/code-highlight-nesting.snap.ast +0 -2
- package/test/snapshots/hybrid/component-children.snap.ast +0 -37
- package/test/snapshots/hybrid/component-simple-00.snap.ast +0 -18
- package/test/snapshots/hybrid/component-simple-01.snap.ast +0 -15
- package/test/snapshots/hybrid/component-simple-02.snap.ast +0 -3
- package/test/snapshots/hybrid/component-simple-03.snap.ast +0 -16
- package/test/snapshots/hybrid/component-simple-04.snap.ast +0 -23
- package/test/snapshots/hybrid/dollar-one-in-frontmatter.snap.ast +0 -3
- package/test/snapshots/hybrid/error.snap.ast +0 -24
- package/test/snapshots/hybrid/link-curlies.snap.ast +0 -56
- package/test/snapshots/hybrid/tags-in-frontmatter.snap.ast +0 -2
- package/test/snapshots/markdown/anchors-by-reference.snap.ast +0 -28
- package/test/snapshots/markdown/anchors-followed-by-brakets.snap.ast +0 -28
- package/test/snapshots/markdown/automatic-anchors.snap.ast +0 -6
- package/test/snapshots/markdown/blockquote-followed-by-code.snap.ast +0 -19
- package/test/snapshots/markdown/blockquote-inside-code.snap.ast +0 -8
- package/test/snapshots/markdown/blockquote-nested-markdown.snap.ast +0 -16
- package/test/snapshots/markdown/blockquote.snap.ast +0 -9
- package/test/snapshots/markdown/code-block-html-escape.snap.ast +0 -7
- package/test/snapshots/markdown/code-block-with-special-chars.snap.ast +0 -2
- package/test/snapshots/markdown/code-block.snap.ast +0 -7
- package/test/snapshots/markdown/double-emphasis.snap.ast +0 -32
- package/test/snapshots/markdown/doubline-list.snap.ast +0 -10
- package/test/snapshots/markdown/ellipsis.snap.ast +0 -41
- package/test/snapshots/markdown/emphasis-inside-inline-code.snap.ast +0 -5
- package/test/snapshots/markdown/emphasis.snap.ast +0 -296
- package/test/snapshots/markdown/encodeHTMLCodeTags.snap.ast +0 -18
- package/test/snapshots/markdown/escaped-html-taglikes.snap.ast +0 -21
- package/test/snapshots/markdown/escaped-number-period.snap.ast +0 -5
- package/test/snapshots/markdown/escaping.snap.ast +0 -65
- package/test/snapshots/markdown/github-style-at-start.snap.ast +0 -7
- package/test/snapshots/markdown/github-style-codeblock-inside-quote.snap.ast +0 -13
- package/test/snapshots/markdown/github-style-codeblock.snap.ast +0 -38
- package/test/snapshots/markdown/github-style-linebreaks.snap.ast +0 -2
- package/test/snapshots/markdown/h1-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h1-with-equals.snap.ast +0 -6
- package/test/snapshots/markdown/h1-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h2-with-dashes.snap.ast +0 -5
- package/test/snapshots/markdown/h2-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h2-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h3-with-double-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h3-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h4-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h5-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/h6-with-single-hash.snap.ast +0 -4
- package/test/snapshots/markdown/horizontal-rules.snap.ast +0 -11
- package/test/snapshots/markdown/html-comments.snap.ast +0 -19
- package/test/snapshots/markdown/html-inside-listed-code.snap.ast +0 -6
- package/test/snapshots/markdown/html5-strutural-tags.snap.ast +0 -132
- package/test/snapshots/markdown/images-followed-by-brackets.snap.ast +0 -12
- package/test/snapshots/markdown/images.snap.ast +0 -35
- package/test/snapshots/markdown/implicit-anchors.snap.ast +0 -22
- package/test/snapshots/markdown/inline-anchors.snap.ast +0 -13
- package/test/snapshots/markdown/inline-code.snap.ast +0 -41
- package/test/snapshots/markdown/inline-escaped-chars.snap.ast +0 -10
- package/test/snapshots/markdown/inline-style-tag.snap.ast +0 -7
- package/test/snapshots/markdown/lazy-blockquote.snap.ast +0 -10
- package/test/snapshots/markdown/line-starts-with-html.snap.ast +0 -11
- package/test/snapshots/markdown/list-followed-by-blockquote.snap.ast +0 -23
- package/test/snapshots/markdown/list-followed-by-ghcode.snap.ast +0 -20
- package/test/snapshots/markdown/list-with-blockquote.snap.ast +0 -11
- package/test/snapshots/markdown/literal-html-tags.snap.ast +0 -44
- package/test/snapshots/markdown/multi-paragraph-list.snap.ast +0 -14
- package/test/snapshots/markdown/multiline-unordered-list.snap.ast +0 -9
- package/test/snapshots/markdown/nested-blockquote.snap.ast +0 -13
- package/test/snapshots/markdown/nested-gh-codeblocks.snap.ast +0 -6
- package/test/snapshots/markdown/obfuscated-emails.snap.ast +0 -1
- package/test/snapshots/markdown/ordered-list-same-number.snap.ast +0 -9
- package/test/snapshots/markdown/ordered-list-starting-number.snap.ast +0 -22
- package/test/snapshots/markdown/ordered-list-wrong-numbers.snap.ast +0 -9
- package/test/snapshots/markdown/ordered-list.snap.ast +0 -9
- package/test/snapshots/markdown/paragraphed-list-with-sublists.snap.ast +0 -26
- package/test/snapshots/markdown/pre-code-tags-inside-code-block.snap.ast +0 -6
- package/test/snapshots/markdown/pre-code-tags.snap.ast +0 -32
- package/test/snapshots/markdown/relative-anchors.snap.ast +0 -7
- package/test/snapshots/markdown/repeated-headers.snap.ast +0 -12
- package/test/snapshots/markdown/simple-paragraph.snap.ast +0 -5
- package/test/snapshots/markdown/strip-references.snap.ast +0 -9
- package/test/snapshots/markdown/strong.snap.ast +0 -17
- package/test/snapshots/markdown/unordered-list-asterisk.snap.ast +0 -9
- package/test/snapshots/markdown/unordered-list-minus.snap.ast +0 -9
- package/test/snapshots/markdown/unordered-list-plus.snap.ast +0 -9
- package/test/snapshots/markdown/url-with-parenthesis.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/62.snap.ast +0 -19
- package/test/snapshots/pfm/atx_headings/63.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/64.snap.ast +0 -8
- package/test/snapshots/pfm/atx_headings/65.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/66.snap.ast +0 -9
- package/test/snapshots/pfm/atx_headings/67.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/68.snap.ast +0 -10
- package/test/snapshots/pfm/atx_headings/69.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/70.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/71.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/72.snap.ast +0 -7
- package/test/snapshots/pfm/atx_headings/73.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/74.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/75.snap.ast +0 -4
- package/test/snapshots/pfm/atx_headings/76.snap.ast +0 -13
- package/test/snapshots/pfm/atx_headings/77.snap.ast +0 -6
- package/test/snapshots/pfm/atx_headings/78.snap.ast +0 -10
- package/test/snapshots/pfm/atx_headings/79.snap.ast +0 -8
- package/test/snapshots/pfm/autolinks/594.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/595.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/596.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/597.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/598.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/599.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/600.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/601.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/602.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/603.snap.ast +0 -5
- package/test/snapshots/pfm/autolinks/604.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/605.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/606.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/607.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/608.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/609.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/610.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/611.snap.ast +0 -4
- package/test/snapshots/pfm/autolinks/612.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/12.snap.ast +0 -35
- package/test/snapshots/pfm/backslash_escapes/13.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/14.snap.ast +0 -25
- package/test/snapshots/pfm/backslash_escapes/15.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/16.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/17.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/18.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/19.snap.ast +0 -10
- package/test/snapshots/pfm/backslash_escapes/20.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/21.snap.ast +0 -4
- package/test/snapshots/pfm/backslash_escapes/22.snap.ast +0 -5
- package/test/snapshots/pfm/backslash_escapes/23.snap.ast +0 -6
- package/test/snapshots/pfm/backslash_escapes/24.snap.ast +0 -2
- package/test/snapshots/pfm/blank_lines/227.snap.ast +0 -13
- package/test/snapshots/pfm/block_quotes/228.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/229.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/230.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/231.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/232.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/233.snap.ast +0 -12
- package/test/snapshots/pfm/block_quotes/234.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/235.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/236.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/237.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/238.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/239.snap.ast +0 -3
- package/test/snapshots/pfm/block_quotes/240.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/241.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/242.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/243.snap.ast +0 -7
- package/test/snapshots/pfm/block_quotes/244.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/245.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/246.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/247.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/248.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/249.snap.ast +0 -9
- package/test/snapshots/pfm/block_quotes/250.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/251.snap.ast +0 -12
- package/test/snapshots/pfm/block_quotes/252.snap.ast +0 -10
- package/test/snapshots/pfm/block_quotes/pfm_fence_close.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_compact.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_end_quote.snap.ast +0 -8
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_info.snap.ast +0 -4
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_longer.snap.ast +0 -6
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_nested.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/pfm_fence_close_twice.snap.ast +0 -5
- package/test/snapshots/pfm/block_quotes/pfm_fence_info_eof.snap.ast +0 -3
- package/test/snapshots/pfm/block_quotes/pfm_fence_unclosed.snap.ast +0 -3
- package/test/snapshots/pfm/code_spans/328.snap.ast +0 -3
- package/test/snapshots/pfm/code_spans/329.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/330.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/331.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/332.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/333.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/334.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/335.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/336.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/337.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/338.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/339.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/340.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/341.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/342.snap.ast +0 -7
- package/test/snapshots/pfm/code_spans/343.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/344.snap.ast +0 -5
- package/test/snapshots/pfm/code_spans/345.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/346.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/347.snap.ast +0 -2
- package/test/snapshots/pfm/code_spans/348.snap.ast +0 -5
- package/test/snapshots/pfm/code_spans/349.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_1.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_2.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_3.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_4.snap.ast +0 -4
- package/test/snapshots/pfm/code_spans/pfm_328_5.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_6.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_7.snap.ast +0 -6
- package/test/snapshots/pfm/code_spans/pfm_328_8.snap.ast +0 -8
- package/test/snapshots/pfm/code_spans/pfm_328_9.snap.ast +0 -10
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/350.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/351.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/352.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/353.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/354.snap.ast +0 -18
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/355.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/356.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/357.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/358.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/359.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/360.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/361.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/362.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/363.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/364.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/365.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/366.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/367.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/368.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/369.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/370.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/371.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/372.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/373.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/374.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/375.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/376.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/377.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/378.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/379.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/380.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/381.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/382.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/383.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/384.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/385.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/386.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/387.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/388.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/389.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/390.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/391.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/392.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/393.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/394.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/395.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/396.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/397.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/398.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/399.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/400.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/401.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/402.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/403.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/404.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/405.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/406.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/407.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/408.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/409.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/410.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/411.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/412.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/413.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/414.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/415.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/416.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/417.snap.ast +0 -15
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/418.snap.ast +0 -11
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/419.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/420.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/421.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/422.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/423.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/424.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/425.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/426.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/427.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/428.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/429.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/430.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/431.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/432.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/433.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/434.snap.ast +0 -4
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/435.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/436.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/437.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/438.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/439.snap.ast +0 -9
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/440.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/441.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/442.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/443.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/444.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/445.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/446.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/447.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/448.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/449.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/450.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/451.snap.ast +0 -9
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/452.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/453.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/454.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/455.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/456.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/457.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/458.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/459.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/460.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/461.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/462.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/463.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/464.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/465.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/466.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/467.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/468.snap.ast +0 -12
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/469.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/470.snap.ast +0 -10
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/471.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/472.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/473.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/474.snap.ast +0 -8
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/475.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/476.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/477.snap.ast +0 -5
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/478.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/479.snap.ast +0 -6
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/480.snap.ast +0 -7
- package/test/snapshots/pfm/emphasis_and_strong_emphasis/481.snap.ast +0 -7
- package/test/snapshots/pfm/fenced_code_blocks/119.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/121.snap.ast +0 -4
- package/test/snapshots/pfm/fenced_code_blocks/122.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/124.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/126.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/127.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/128.snap.ast +0 -11
- package/test/snapshots/pfm/fenced_code_blocks/130.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/131.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/132.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/133.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/134.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/135.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/136.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/137.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/138.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/140.snap.ast +0 -8
- package/test/snapshots/pfm/fenced_code_blocks/142.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/144.snap.ast +0 -3
- package/test/snapshots/pfm/fenced_code_blocks/145.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_2.snap.ast +0 -6
- package/test/snapshots/pfm/fenced_code_blocks/pfm_119_3.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof.snap.ast +0 -2
- package/test/snapshots/pfm/fenced_code_blocks/pfm_info_eof_no_lf.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/1.snap.ast +0 -6
- package/test/snapshots/pfm/frontmatter/10.snap.ast +0 -4
- package/test/snapshots/pfm/frontmatter/2.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/3.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/4.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/5.snap.ast +0 -7
- package/test/snapshots/pfm/frontmatter/6.snap.ast +0 -9
- package/test/snapshots/pfm/frontmatter/7.snap.ast +0 -2
- package/test/snapshots/pfm/frontmatter/8.snap.ast +0 -6
- package/test/snapshots/pfm/frontmatter/9.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/001.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/002.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/003.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/004.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/005.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/006.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/007.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/008.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/009.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/010.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/011.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/012.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/013.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/014.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/015.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/016.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/017.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/018.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/019.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/020.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/021.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/022.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/023.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/024.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/025.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/026.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/027.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/028.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/029.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/030.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/031.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/032.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/033.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/034.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/035.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/036.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/037.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/038.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/039.snap.ast +0 -11
- package/test/snapshots/pfm/generic_directives/040.snap.ast +0 -17
- package/test/snapshots/pfm/generic_directives/041.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/042.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/043.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/044.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/045.snap.ast +0 -2
- package/test/snapshots/pfm/generic_directives/046.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/047.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/048.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/049.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/050.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/051.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/052.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/053.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/054.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/055.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/056.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/057.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/058.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/059.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/060.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/061.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/062.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/063.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/064.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/065.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/066.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/067.snap.ast +0 -16
- package/test/snapshots/pfm/generic_directives/068.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/069.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/070.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/071.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/072.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/073.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/074.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/075.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/076.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/077.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/078.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/079.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/080.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/081.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/082.snap.ast +0 -11
- package/test/snapshots/pfm/generic_directives/083.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/084.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/085.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/086.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/087.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/088.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/089.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/090.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/091.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/092.snap.ast +0 -16
- package/test/snapshots/pfm/generic_directives/093.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/094.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/095.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/096.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/097.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/098.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/099.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/100.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/101.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/102.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/103.snap.ast +0 -13
- package/test/snapshots/pfm/generic_directives/104.snap.ast +0 -6
- package/test/snapshots/pfm/generic_directives/105.snap.ast +0 -8
- package/test/snapshots/pfm/generic_directives/106.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/107.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/108.snap.ast +0 -5
- package/test/snapshots/pfm/generic_directives/109.snap.ast +0 -4
- package/test/snapshots/pfm/generic_directives/110.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/111.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/112.snap.ast +0 -18
- package/test/snapshots/pfm/generic_directives/113.snap.ast +0 -7
- package/test/snapshots/pfm/generic_directives/114.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/115.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/116.snap.ast +0 -13
- package/test/snapshots/pfm/generic_directives/117.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/118.snap.ast +0 -10
- package/test/snapshots/pfm/generic_directives/119.snap.ast +0 -9
- package/test/snapshots/pfm/generic_directives/120.snap.ast +0 -12
- package/test/snapshots/pfm/generic_directives/121.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/122.snap.ast +0 -3
- package/test/snapshots/pfm/generic_directives/123.snap.ast +0 -3
- package/test/snapshots/pfm/hard_line_breaks/633.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/634.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/635.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/636.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/637.snap.ast +0 -6
- package/test/snapshots/pfm/hard_line_breaks/638.snap.ast +0 -7
- package/test/snapshots/pfm/hard_line_breaks/639.snap.ast +0 -7
- package/test/snapshots/pfm/hard_line_breaks/640.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/641.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/642.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/643.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/644.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/645.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/646.snap.ast +0 -4
- package/test/snapshots/pfm/hard_line_breaks/647.snap.ast +0 -4
- package/test/snapshots/pfm/html/148.snap.ast +0 -21
- package/test/snapshots/pfm/html/149.snap.ast +0 -17
- package/test/snapshots/pfm/html/150.snap.ast +0 -11
- package/test/snapshots/pfm/html/151.snap.ast +0 -7
- package/test/snapshots/pfm/html/152.snap.ast +0 -10
- package/test/snapshots/pfm/html/153.snap.ast +0 -4
- package/test/snapshots/pfm/html/154.snap.ast +0 -4
- package/test/snapshots/pfm/html/155.snap.ast +0 -13
- package/test/snapshots/pfm/html/156.snap.ast +0 -7
- package/test/snapshots/pfm/html/157.snap.ast +0 -6
- package/test/snapshots/pfm/html/158.snap.ast +0 -10
- package/test/snapshots/pfm/html/159.snap.ast +0 -6
- package/test/snapshots/pfm/html/160.snap.ast +0 -9
- package/test/snapshots/pfm/html/161.snap.ast +0 -4
- package/test/snapshots/pfm/html/162.snap.ast +0 -7
- package/test/snapshots/pfm/html/163.snap.ast +0 -8
- package/test/snapshots/pfm/html/164.snap.ast +0 -7
- package/test/snapshots/pfm/html/165.snap.ast +0 -7
- package/test/snapshots/pfm/html/166.snap.ast +0 -8
- package/test/snapshots/pfm/html/167.snap.ast +0 -10
- package/test/snapshots/pfm/html/168.snap.ast +0 -5
- package/test/snapshots/pfm/html/169.snap.ast +0 -15
- package/test/snapshots/pfm/html/170.snap.ast +0 -6
- package/test/snapshots/pfm/html/171.snap.ast +0 -15
- package/test/snapshots/pfm/html/172.snap.ast +0 -6
- package/test/snapshots/pfm/html/173.snap.ast +0 -2
- package/test/snapshots/pfm/html/174.snap.ast +0 -11
- package/test/snapshots/pfm/html/175.snap.ast +0 -7
- package/test/snapshots/pfm/html/176.snap.ast +0 -7
- package/test/snapshots/pfm/html/177.snap.ast +0 -9
- package/test/snapshots/pfm/html/178.snap.ast +0 -7
- package/test/snapshots/pfm/html/179.snap.ast +0 -6
- package/test/snapshots/pfm/html/180.snap.ast +0 -14
- package/test/snapshots/pfm/html/181.snap.ast +0 -5
- package/test/snapshots/pfm/html/182.snap.ast +0 -16
- package/test/snapshots/pfm/html/183.snap.ast +0 -6
- package/test/snapshots/pfm/html/184.snap.ast +0 -8
- package/test/snapshots/pfm/html/185.snap.ast +0 -10
- package/test/snapshots/pfm/html/186.snap.ast +0 -11
- package/test/snapshots/pfm/html/187.snap.ast +0 -8
- package/test/snapshots/pfm/html/188.snap.ast +0 -11
- package/test/snapshots/pfm/html/189.snap.ast +0 -9
- package/test/snapshots/pfm/html/190.snap.ast +0 -17
- package/test/snapshots/pfm/html/191.snap.ast +0 -17
- package/test/snapshots/pfm/html/613.snap.ast +0 -8
- package/test/snapshots/pfm/html/614.snap.ast +0 -4
- package/test/snapshots/pfm/html/615.snap.ast +0 -5
- package/test/snapshots/pfm/html/616.snap.ast +0 -3
- package/test/snapshots/pfm/html/617.snap.ast +0 -5
- package/test/snapshots/pfm/html/618.snap.ast +0 -5
- package/test/snapshots/pfm/html/619.snap.ast +0 -4
- package/test/snapshots/pfm/html/620.snap.ast +0 -5
- package/test/snapshots/pfm/html/621.snap.ast +0 -10
- package/test/snapshots/pfm/html/622.snap.ast +0 -4
- package/test/snapshots/pfm/html/623.snap.ast +0 -5
- package/test/snapshots/pfm/html/624.snap.ast +0 -4
- package/test/snapshots/pfm/html/625.snap.ast +0 -5
- package/test/snapshots/pfm/html/626.snap.ast +0 -10
- package/test/snapshots/pfm/html/627.snap.ast +0 -5
- package/test/snapshots/pfm/html/628.snap.ast +0 -6
- package/test/snapshots/pfm/html/629.snap.ast +0 -12
- package/test/snapshots/pfm/html/630.snap.ast +0 -5
- package/test/snapshots/pfm/html/631.snap.ast +0 -5
- package/test/snapshots/pfm/html/632.snap.ast +0 -4
- package/test/snapshots/pfm/images/572.snap.ast +0 -5
- package/test/snapshots/pfm/images/573.snap.ast +0 -9
- package/test/snapshots/pfm/images/574.snap.ast +0 -7
- package/test/snapshots/pfm/images/575.snap.ast +0 -7
- package/test/snapshots/pfm/images/576.snap.ast +0 -11
- package/test/snapshots/pfm/images/577.snap.ast +0 -11
- package/test/snapshots/pfm/images/578.snap.ast +0 -5
- package/test/snapshots/pfm/images/579.snap.ast +0 -6
- package/test/snapshots/pfm/images/580.snap.ast +0 -5
- package/test/snapshots/pfm/images/581.snap.ast +0 -4
- package/test/snapshots/pfm/images/582.snap.ast +0 -8
- package/test/snapshots/pfm/images/583.snap.ast +0 -8
- package/test/snapshots/pfm/images/584.snap.ast +0 -8
- package/test/snapshots/pfm/images/585.snap.ast +0 -11
- package/test/snapshots/pfm/images/586.snap.ast +0 -8
- package/test/snapshots/pfm/images/587.snap.ast +0 -9
- package/test/snapshots/pfm/images/588.snap.ast +0 -6
- package/test/snapshots/pfm/images/589.snap.ast +0 -9
- package/test/snapshots/pfm/images/590.snap.ast +0 -12
- package/test/snapshots/pfm/images/591.snap.ast +0 -6
- package/test/snapshots/pfm/images/592.snap.ast +0 -7
- package/test/snapshots/pfm/images/593.snap.ast +0 -7
- package/test/snapshots/pfm/imports/1.snap.ast +0 -6
- package/test/snapshots/pfm/imports/10.snap.ast +0 -4
- package/test/snapshots/pfm/imports/11.snap.ast +0 -6
- package/test/snapshots/pfm/imports/2.snap.ast +0 -7
- package/test/snapshots/pfm/imports/3.snap.ast +0 -7
- package/test/snapshots/pfm/imports/4.snap.ast +0 -6
- package/test/snapshots/pfm/imports/5.snap.ast +0 -6
- package/test/snapshots/pfm/imports/6.snap.ast +0 -8
- package/test/snapshots/pfm/imports/7.snap.ast +0 -6
- package/test/snapshots/pfm/imports/8.snap.ast +0 -8
- package/test/snapshots/pfm/imports/9.snap.ast +0 -2
- package/test/snapshots/pfm/inlines/327.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/192.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/193.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/194.snap.ast +0 -8
- package/test/snapshots/pfm/link_reference_definitions/195.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/196.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/197.snap.ast +0 -16
- package/test/snapshots/pfm/link_reference_definitions/198.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/199.snap.ast +0 -12
- package/test/snapshots/pfm/link_reference_definitions/200.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/201.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/202.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/203.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/204.snap.ast +0 -8
- package/test/snapshots/pfm/link_reference_definitions/205.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/206.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/207.snap.ast +0 -1
- package/test/snapshots/pfm/link_reference_definitions/208.snap.ast +0 -12
- package/test/snapshots/pfm/link_reference_definitions/209.snap.ast +0 -5
- package/test/snapshots/pfm/link_reference_definitions/210.snap.ast +0 -7
- package/test/snapshots/pfm/link_reference_definitions/211.snap.ast +0 -6
- package/test/snapshots/pfm/link_reference_definitions/212.snap.ast +0 -9
- package/test/snapshots/pfm/link_reference_definitions/213.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/214.snap.ast +0 -11
- package/test/snapshots/pfm/link_reference_definitions/215.snap.ast +0 -9
- package/test/snapshots/pfm/link_reference_definitions/216.snap.ast +0 -7
- package/test/snapshots/pfm/link_reference_definitions/217.snap.ast +0 -14
- package/test/snapshots/pfm/link_reference_definitions/218.snap.ast +0 -13
- package/test/snapshots/pfm/links/482.snap.ast +0 -5
- package/test/snapshots/pfm/links/483.snap.ast +0 -5
- package/test/snapshots/pfm/links/484.snap.ast +0 -4
- package/test/snapshots/pfm/links/485.snap.ast +0 -5
- package/test/snapshots/pfm/links/486.snap.ast +0 -5
- package/test/snapshots/pfm/links/487.snap.ast +0 -4
- package/test/snapshots/pfm/links/488.snap.ast +0 -5
- package/test/snapshots/pfm/links/489.snap.ast +0 -5
- package/test/snapshots/pfm/links/490.snap.ast +0 -7
- package/test/snapshots/pfm/links/491.snap.ast +0 -7
- package/test/snapshots/pfm/links/492.snap.ast +0 -5
- package/test/snapshots/pfm/links/493.snap.ast +0 -5
- package/test/snapshots/pfm/links/494.snap.ast +0 -11
- package/test/snapshots/pfm/links/495.snap.ast +0 -5
- package/test/snapshots/pfm/links/496.snap.ast +0 -5
- package/test/snapshots/pfm/links/497.snap.ast +0 -5
- package/test/snapshots/pfm/links/498.snap.ast +0 -5
- package/test/snapshots/pfm/links/499.snap.ast +0 -5
- package/test/snapshots/pfm/links/500.snap.ast +0 -5
- package/test/snapshots/pfm/links/501.snap.ast +0 -15
- package/test/snapshots/pfm/links/502.snap.ast +0 -5
- package/test/snapshots/pfm/links/503.snap.ast +0 -5
- package/test/snapshots/pfm/links/504.snap.ast +0 -5
- package/test/snapshots/pfm/links/505.snap.ast +0 -11
- package/test/snapshots/pfm/links/506.snap.ast +0 -5
- package/test/snapshots/pfm/links/507.snap.ast +0 -5
- package/test/snapshots/pfm/links/508.snap.ast +0 -5
- package/test/snapshots/pfm/links/509.snap.ast +0 -5
- package/test/snapshots/pfm/links/510.snap.ast +0 -7
- package/test/snapshots/pfm/links/511.snap.ast +0 -5
- package/test/snapshots/pfm/links/512.snap.ast +0 -11
- package/test/snapshots/pfm/links/513.snap.ast +0 -6
- package/test/snapshots/pfm/links/514.snap.ast +0 -7
- package/test/snapshots/pfm/links/515.snap.ast +0 -6
- package/test/snapshots/pfm/links/516.snap.ast +0 -12
- package/test/snapshots/pfm/links/517.snap.ast +0 -6
- package/test/snapshots/pfm/links/518.snap.ast +0 -7
- package/test/snapshots/pfm/links/519.snap.ast +0 -10
- package/test/snapshots/pfm/links/520.snap.ast +0 -7
- package/test/snapshots/pfm/links/521.snap.ast +0 -7
- package/test/snapshots/pfm/links/522.snap.ast +0 -9
- package/test/snapshots/pfm/links/523.snap.ast +0 -9
- package/test/snapshots/pfm/links/524.snap.ast +0 -6
- package/test/snapshots/pfm/links/525.snap.ast +0 -6
- package/test/snapshots/pfm/links/526.snap.ast +0 -7
- package/test/snapshots/pfm/links/527.snap.ast +0 -6
- package/test/snapshots/pfm/links/528.snap.ast +0 -14
- package/test/snapshots/pfm/links/529.snap.ast +0 -7
- package/test/snapshots/pfm/links/530.snap.ast +0 -13
- package/test/snapshots/pfm/links/531.snap.ast +0 -7
- package/test/snapshots/pfm/links/532.snap.ast +0 -8
- package/test/snapshots/pfm/links/533.snap.ast +0 -10
- package/test/snapshots/pfm/links/534.snap.ast +0 -8
- package/test/snapshots/pfm/links/535.snap.ast +0 -11
- package/test/snapshots/pfm/links/536.snap.ast +0 -7
- package/test/snapshots/pfm/links/537.snap.ast +0 -7
- package/test/snapshots/pfm/links/538.snap.ast +0 -8
- package/test/snapshots/pfm/links/539.snap.ast +0 -6
- package/test/snapshots/pfm/links/540.snap.ast +0 -8
- package/test/snapshots/pfm/links/541.snap.ast +0 -15
- package/test/snapshots/pfm/links/542.snap.ast +0 -8
- package/test/snapshots/pfm/links/543.snap.ast +0 -11
- package/test/snapshots/pfm/links/544.snap.ast +0 -7
- package/test/snapshots/pfm/links/545.snap.ast +0 -10
- package/test/snapshots/pfm/links/546.snap.ast +0 -16
- package/test/snapshots/pfm/links/547.snap.ast +0 -18
- package/test/snapshots/pfm/links/548.snap.ast +0 -14
- package/test/snapshots/pfm/links/549.snap.ast +0 -6
- package/test/snapshots/pfm/links/550.snap.ast +0 -7
- package/test/snapshots/pfm/links/551.snap.ast +0 -12
- package/test/snapshots/pfm/links/552.snap.ast +0 -12
- package/test/snapshots/pfm/links/553.snap.ast +0 -6
- package/test/snapshots/pfm/links/554.snap.ast +0 -8
- package/test/snapshots/pfm/links/555.snap.ast +0 -6
- package/test/snapshots/pfm/links/556.snap.ast +0 -9
- package/test/snapshots/pfm/links/557.snap.ast +0 -6
- package/test/snapshots/pfm/links/558.snap.ast +0 -8
- package/test/snapshots/pfm/links/559.snap.ast +0 -10
- package/test/snapshots/pfm/links/560.snap.ast +0 -9
- package/test/snapshots/pfm/links/561.snap.ast +0 -6
- package/test/snapshots/pfm/links/562.snap.ast +0 -7
- package/test/snapshots/pfm/links/563.snap.ast +0 -8
- package/test/snapshots/pfm/links/564.snap.ast +0 -8
- package/test/snapshots/pfm/links/565.snap.ast +0 -6
- package/test/snapshots/pfm/links/566.snap.ast +0 -6
- package/test/snapshots/pfm/links/567.snap.ast +0 -6
- package/test/snapshots/pfm/links/568.snap.ast +0 -6
- package/test/snapshots/pfm/links/569.snap.ast +0 -8
- package/test/snapshots/pfm/links/570.snap.ast +0 -8
- package/test/snapshots/pfm/links/571.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/253.snap.ast +0 -15
- package/test/snapshots/pfm/list_items/254.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/255.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/256.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/257.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/258.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/259.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/260.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/261.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/262.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/263.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/264.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/265.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/266.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/267.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/268.snap.ast +0 -5
- package/test/snapshots/pfm/list_items/269.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/270.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/271.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/272.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/273.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/274.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/275.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/276.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/277.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/278.snap.ast +0 -14
- package/test/snapshots/pfm/list_items/279.snap.ast +0 -6
- package/test/snapshots/pfm/list_items/280.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/281.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/282.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/283.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/284.snap.ast +0 -4
- package/test/snapshots/pfm/list_items/285.snap.ast +0 -12
- package/test/snapshots/pfm/list_items/286.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/287.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/288.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/289.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/290.snap.ast +0 -13
- package/test/snapshots/pfm/list_items/291.snap.ast +0 -7
- package/test/snapshots/pfm/list_items/292.snap.ast +0 -11
- package/test/snapshots/pfm/list_items/293.snap.ast +0 -10
- package/test/snapshots/pfm/list_items/294.snap.ast +0 -14
- package/test/snapshots/pfm/list_items/295.snap.ast +0 -11
- package/test/snapshots/pfm/list_items/296.snap.ast +0 -8
- package/test/snapshots/pfm/list_items/297.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/298.snap.ast +0 -6
- package/test/snapshots/pfm/list_items/299.snap.ast +0 -9
- package/test/snapshots/pfm/list_items/300.snap.ast +0 -12
- package/test/snapshots/pfm/lists/301.snap.ast +0 -11
- package/test/snapshots/pfm/lists/302.snap.ast +0 -11
- package/test/snapshots/pfm/lists/303.snap.ast +0 -10
- package/test/snapshots/pfm/lists/304.snap.ast +0 -6
- package/test/snapshots/pfm/lists/305.snap.ast +0 -8
- package/test/snapshots/pfm/lists/306.snap.ast +0 -12
- package/test/snapshots/pfm/lists/307.snap.ast +0 -14
- package/test/snapshots/pfm/lists/308.snap.ast +0 -17
- package/test/snapshots/pfm/lists/309.snap.ast +0 -18
- package/test/snapshots/pfm/lists/310.snap.ast +0 -17
- package/test/snapshots/pfm/lists/311.snap.ast +0 -12
- package/test/snapshots/pfm/lists/312.snap.ast +0 -13
- package/test/snapshots/pfm/lists/313.snap.ast +0 -12
- package/test/snapshots/pfm/lists/314.snap.ast +0 -12
- package/test/snapshots/pfm/lists/315.snap.ast +0 -11
- package/test/snapshots/pfm/lists/316.snap.ast +0 -14
- package/test/snapshots/pfm/lists/317.snap.ast +0 -15
- package/test/snapshots/pfm/lists/318.snap.ast +0 -9
- package/test/snapshots/pfm/lists/319.snap.ast +0 -13
- package/test/snapshots/pfm/lists/320.snap.ast +0 -11
- package/test/snapshots/pfm/lists/321.snap.ast +0 -11
- package/test/snapshots/pfm/lists/322.snap.ast +0 -5
- package/test/snapshots/pfm/lists/323.snap.ast +0 -8
- package/test/snapshots/pfm/lists/324.snap.ast +0 -7
- package/test/snapshots/pfm/lists/325.snap.ast +0 -11
- package/test/snapshots/pfm/lists/326.snap.ast +0 -19
- package/test/snapshots/pfm/paragraphs/219.snap.ast +0 -8
- package/test/snapshots/pfm/paragraphs/220.snap.ast +0 -12
- package/test/snapshots/pfm/paragraphs/221.snap.ast +0 -9
- package/test/snapshots/pfm/paragraphs/222.snap.ast +0 -6
- package/test/snapshots/pfm/paragraphs/223.snap.ast +0 -8
- package/test/snapshots/pfm/paragraphs/224.snap.ast +0 -6
- package/test/snapshots/pfm/paragraphs/225.snap.ast +0 -6
- package/test/snapshots/pfm/precedence/42.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/100.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/101.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/102.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/103.snap.ast +0 -12
- package/test/snapshots/pfm/setext_headings/104.snap.ast +0 -12
- package/test/snapshots/pfm/setext_headings/105.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/106.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/80.snap.ast +0 -15
- package/test/snapshots/pfm/setext_headings/81.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/82.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/83.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/84.snap.ast +0 -16
- package/test/snapshots/pfm/setext_headings/85.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/86.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/87.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/88.snap.ast +0 -11
- package/test/snapshots/pfm/setext_headings/89.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/90.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/91.snap.ast +0 -7
- package/test/snapshots/pfm/setext_headings/92.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/93.snap.ast +0 -10
- package/test/snapshots/pfm/setext_headings/94.snap.ast +0 -6
- package/test/snapshots/pfm/setext_headings/95.snap.ast +0 -7
- package/test/snapshots/pfm/setext_headings/96.snap.ast +0 -9
- package/test/snapshots/pfm/setext_headings/97.snap.ast +0 -5
- package/test/snapshots/pfm/setext_headings/98.snap.ast +0 -2
- package/test/snapshots/pfm/setext_headings/99.snap.ast +0 -6
- package/test/snapshots/pfm/soft_line_breaks/648.snap.ast +0 -6
- package/test/snapshots/pfm/soft_line_breaks/649.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/1.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/10.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/11.snap.ast +0 -2
- package/test/snapshots/pfm/tabs/12.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/13.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/14.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/15.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/16.snap.ast +0 -7
- package/test/snapshots/pfm/tabs/17.snap.ast +0 -11
- package/test/snapshots/pfm/tabs/2.snap.ast +0 -4
- package/test/snapshots/pfm/tabs/3.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/4.snap.ast +0 -9
- package/test/snapshots/pfm/tabs/5.snap.ast +0 -8
- package/test/snapshots/pfm/tabs/6.snap.ast +0 -5
- package/test/snapshots/pfm/tabs/7.snap.ast +0 -5
- package/test/snapshots/pfm/tabs/8.snap.ast +0 -6
- package/test/snapshots/pfm/tabs/9.snap.ast +0 -10
- package/test/snapshots/pfm/textual_content/650.snap.ast +0 -4
- package/test/snapshots/pfm/textual_content/651.snap.ast +0 -4
- package/test/snapshots/pfm/textual_content/652.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/43.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/44.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/45.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/46.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/47.snap.ast +0 -4
- package/test/snapshots/pfm/thematic_breaks/48.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/49.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/50.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/51.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/52.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/53.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/54.snap.ast +0 -2
- package/test/snapshots/pfm/thematic_breaks/55.snap.ast +0 -15
- package/test/snapshots/pfm/thematic_breaks/56.snap.ast +0 -5
- package/test/snapshots/pfm/thematic_breaks/57.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/58.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/59.snap.ast +0 -8
- package/test/snapshots/pfm/thematic_breaks/60.snap.ast +0 -10
- package/test/snapshots/pfm/thematic_breaks/61.snap.ast +0 -6
- package/test/snapshots/svelte/00-introduction/00-hello-world/App.snap.ast +0 -8
- package/test/snapshots/svelte/00-introduction/01-dynamic-attributes/App.snap.ast +0 -7
- package/test/snapshots/svelte/00-introduction/02-styling/App.snap.ast +0 -7
- package/test/snapshots/svelte/00-introduction/03-nested-components/App.snap.ast +0 -11
- package/test/snapshots/svelte/00-introduction/03-nested-components/Nested.snap.ast +0 -3
- package/test/snapshots/svelte/00-introduction/04-html-tags/App.snap.ast +0 -6
- package/test/snapshots/svelte/01-reactivity/00-reactive-assignments/App.snap.ast +0 -11
- package/test/snapshots/svelte/01-reactivity/01-reactive-declarations/App.snap.ast +0 -22
- package/test/snapshots/svelte/01-reactivity/02-reactive-statements/App.snap.ast +0 -11
- package/test/snapshots/svelte/02-props/00-declaring-props/App.snap.ast +0 -5
- package/test/snapshots/svelte/02-props/00-declaring-props/Nested.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/01-default-values/App.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/01-default-values/Nested.snap.ast +0 -7
- package/test/snapshots/svelte/02-props/02-spread-props/App.snap.ast +0 -5
- package/test/snapshots/svelte/02-props/02-spread-props/Info.snap.ast +0 -23
- package/test/snapshots/svelte/03-logic/00-if-blocks/App.snap.ast +0 -22
- package/test/snapshots/svelte/03-logic/01-else-blocks/App.snap.ast +0 -19
- package/test/snapshots/svelte/03-logic/02-else-if-blocks/App.snap.ast +0 -23
- package/test/snapshots/svelte/03-logic/03-each-blocks/App.snap.ast +0 -22
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/App.snap.ast +0 -37
- package/test/snapshots/svelte/03-logic/04-keyed-each-blocks/Thing.snap.ast +0 -16
- package/test/snapshots/svelte/04-events/00-dom-events/App.snap.ast +0 -15
- package/test/snapshots/svelte/04-events/01-inline-handlers/App.snap.ast +0 -15
- package/test/snapshots/svelte/04-events/02-event-modifiers/App.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/03-component-events/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/03-component-events/Inner.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/04-event-forwarding/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/04-event-forwarding/Inner.snap.ast +0 -8
- package/test/snapshots/svelte/04-events/04-event-forwarding/Outer.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/App.snap.ast +0 -5
- package/test/snapshots/svelte/04-events/05-dom-event-forwarding/FancyButton.snap.ast +0 -8
- package/test/snapshots/svelte/05-bindings/00-text-inputs/App.snap.ast +0 -10
- package/test/snapshots/svelte/05-bindings/01-numeric-inputs/App.snap.ast +0 -28
- package/test/snapshots/svelte/05-bindings/02-checkbox-inputs/App.snap.ast +0 -30
- package/test/snapshots/svelte/05-bindings/03-group-inputs/App.snap.ast +0 -75
- package/test/snapshots/svelte/05-bindings/04-textarea-inputs/App.snap.ast +0 -11
- package/test/snapshots/svelte/05-bindings/05-select-bindings/App.snap.ast +0 -40
- package/test/snapshots/svelte/05-bindings/06-multiple-select-bindings/App.snap.ast +0 -76
- package/test/snapshots/svelte/05-bindings/07-each-block-bindings/App.snap.ast +0 -40
- package/test/snapshots/svelte/05-bindings/08-media-elements/App.snap.ast +0 -49
- package/test/snapshots/svelte/05-bindings/09-dimensions/App.snap.ast +0 -25
- package/test/snapshots/svelte/05-bindings/10-bind-this/App.snap.ast +0 -9
- package/test/snapshots/svelte/05-bindings/11-component-bindings/App.snap.ast +0 -9
- package/test/snapshots/svelte/05-bindings/11-component-bindings/Keypad.snap.ast +0 -56
- package/test/snapshots/svelte/06-lifecycle/00-onmount/App.snap.ast +0 -33
- package/test/snapshots/svelte/06-lifecycle/01-ondestroy/App.snap.ast +0 -13
- package/test/snapshots/svelte/06-lifecycle/02-update/App.snap.ast +0 -29
- package/test/snapshots/svelte/06-lifecycle/03-tick/App.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/App.snap.ast +0 -14
- package/test/snapshots/svelte/07-stores/00-writable-stores/Decrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/Incrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/00-writable-stores/Resetter.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/App.snap.ast +0 -14
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Decrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Incrementer.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/01-auto-subscriptions/Resetter.snap.ast +0 -8
- package/test/snapshots/svelte/07-stores/02-readable-stores/App.snap.ast +0 -7
- package/test/snapshots/svelte/07-stores/03-derived-stores/App.snap.ast +0 -18
- package/test/snapshots/svelte/07-stores/04-custom-stores/App.snap.ast +0 -17
- package/test/snapshots/svelte/08-motion/00-tweened/App.snap.ast +0 -38
- package/test/snapshots/svelte/08-motion/01-spring/App.snap.ast +0 -38
- package/test/snapshots/svelte/09-transitions/00-transition/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/01-adding-parameters-to-transitions/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/02-in-and-out/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/03-custom-css-transitions/App.snap.ast +0 -25
- package/test/snapshots/svelte/09-transitions/04-custom-js-transitions/App.snap.ast +0 -20
- package/test/snapshots/svelte/09-transitions/05-transition-events/App.snap.ast +0 -25
- package/test/snapshots/svelte/10-animations/00-animate/App.snap.ast +0 -58
- package/test/snapshots/svelte/11-easing/00-easing/App.snap.ast +0 -36
- package/test/snapshots/svelte/11-easing/00-easing/Controls.snap.ast +0 -108
- package/test/snapshots/svelte/11-easing/00-easing/Grid.snap.ast +0 -31
- package/test/snapshots/svelte/12-svg/01-clock/App.snap.ast +0 -48
- package/test/snapshots/svelte/12-svg/02-bar-chart/App.snap.ast +0 -63
- package/test/snapshots/svelte/12-svg/03-area-chart/App.snap.ast +0 -70
- package/test/snapshots/svelte/12-svg/04-scatterplot/App.snap.ast +0 -24
- package/test/snapshots/svelte/12-svg/04-scatterplot/Scatterplot.snap.ast +0 -59
- package/test/snapshots/svelte/12-svg/05-svg-transitions/App.snap.ast +0 -43
- package/test/snapshots/svelte/13-actions/00-actions/App.snap.ast +0 -8
- package/test/snapshots/svelte/13-actions/01-adding-parameters-to-actions/App.snap.ast +0 -8
- package/test/snapshots/svelte/14-classes/00-classes/App.snap.ast +0 -17
- package/test/snapshots/svelte/14-classes/01-class-shorthand/App.snap.ast +0 -22
- package/test/snapshots/svelte/15-composition/00-slots/App.snap.ast +0 -13
- package/test/snapshots/svelte/15-composition/00-slots/Box.snap.ast +0 -8
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/App.snap.ast +0 -16
- package/test/snapshots/svelte/15-composition/01-slot-fallbacks/Box.snap.ast +0 -12
- package/test/snapshots/svelte/15-composition/02-named-slots/App.snap.ast +0 -20
- package/test/snapshots/svelte/15-composition/02-named-slots/ContactCard.snap.ast +0 -35
- package/test/snapshots/svelte/15-composition/03-slot-props/App.snap.ast +0 -65
- package/test/snapshots/svelte/15-composition/03-slot-props/Hoverable.snap.ast +0 -8
- package/test/snapshots/svelte/15-composition/04-modal/App.snap.ast +0 -66
- package/test/snapshots/svelte/15-composition/04-modal/Modal.snap.ast +0 -26
- package/test/snapshots/svelte/16-context/00-context-api/App.snap.ast +0 -23
- package/test/snapshots/svelte/16-context/00-context-api/Map.snap.ast +0 -15
- package/test/snapshots/svelte/16-context/00-context-api/MapMarker.snap.ast +0 -2
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/App.snap.ast +0 -5
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/File.snap.ast +0 -9
- package/test/snapshots/svelte/17-special-elements/00-svelte-self/Folder.snap.ast +0 -34
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/App.snap.ast +0 -16
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/BlueThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/GreenThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/01-svelte-component/RedThing.snap.ast +0 -6
- package/test/snapshots/svelte/17-special-elements/02-svelte-window/App.snap.ast +0 -27
- package/test/snapshots/svelte/17-special-elements/03-svelte-window-bindings/App.snap.ast +0 -37
- package/test/snapshots/svelte/17-special-elements/04-svelte-body/App.snap.ast +0 -12
- package/test/snapshots/svelte/17-special-elements/05-svelte-head/App.snap.ast +0 -10
- package/test/snapshots/svelte/18-module-context/01-module-exports/App.snap.ast +0 -34
- package/test/snapshots/svelte/18-module-context/01-module-exports/AudioPlayer.snap.ast +0 -24
- package/test/snapshots/svelte/19-debugging/00-debug/App.snap.ast +0 -26
- package/test/snapshots/svelte/19-debugging/00-debug/Test.snap.ast +0 -355
- package/test/snapshots/svelte/20-7guis/01-7guis-counter/App.snap.ast +0 -10
- package/test/snapshots/svelte/20-7guis/02-7guis-temperature/App.snap.ast +0 -16
- package/test/snapshots/svelte/20-7guis/03-7guis-flight-booker/App.snap.ast +0 -27
- package/test/snapshots/svelte/20-7guis/04-7guis-timer/App.snap.ast +0 -32
- package/test/snapshots/svelte/20-7guis/05-7guis-crud/App.snap.ast +0 -47
- package/test/snapshots/svelte/20-7guis/06-7guis-circles/App.snap.ast +0 -46
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/App.snap.ast +0 -22
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Comment.snap.ast +0 -27
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Item.snap.ast +0 -40
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/List.snap.ast +0 -26
- package/test/snapshots/svelte/21-miscellaneous/01-hacker-news/Summary.snap.ast +0 -24
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/App.snap.ast +0 -26
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/ImmutableTodo.snap.ast +0 -20
- package/test/snapshots/svelte/21-miscellaneous/02-immutable-data/MutableTodo.snap.ast +0 -17
- package/test/snapshots/svelte/22-bugs/CSS/App.snap.ast +0 -3
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/App.snap.ast +0 -17
- package/test/snapshots/svelte/99-embeds/20181225-blog-svelte-css-in-js/Hero.snap.ast +0 -23
- package/test/snapshots/svelte/99-embeds/20190420-blog-write-less-code/App.snap.ast +0 -15
- package/test/strikethrough.spec.ts +0 -114
- package/test/subscript.spec.ts +0 -132
- package/test/superscript.spec.ts +0 -139
- package/test/svelte_blocks.spec.ts +0 -208
- package/test/svelte_expressions.spec.ts +0 -264
- package/test/svelte_tags.spec.ts +0 -140
- package/test/tables.spec.ts +0 -1010
- package/test/thematic_breaks.spec.ts +0 -274
- package/test/tree_builder.spec.ts +0 -627
- package/test/unclosed_delimiters.spec.ts +0 -529
- package/test/utils.ts +0 -58
- package/test/wire_emitter.spec.ts +0 -487
- package/tsc/buf_utils.d.ts +0 -13
- package/tsc/buf_utils.js +0 -49
- package/tsc/constants.d.ts +0 -68
- package/tsc/constants.js +0 -68
- package/tsc/cursor.d.ts +0 -83
- package/tsc/cursor.js +0 -177
- package/tsc/main.d.ts +0 -808
- package/tsc/main.js +0 -10415
- package/tsc/node_view.d.ts +0 -115
- package/tsc/node_view.js +0 -374
- package/tsc/opcodes.d.ts +0 -92
- package/tsc/opcodes.js +0 -1
- package/tsc/plugin_dispatch.d.ts +0 -82
- package/tsc/plugin_dispatch.js +0 -623
- package/tsc/plugin_types.d.ts +0 -31
- package/tsc/plugin_types.js +0 -1
- package/tsc/tree_builder.d.ts +0 -62
- package/tsc/tree_builder.js +0 -328
- package/tsc/types.d.ts +0 -25
- package/tsc/types.js +0 -1
- package/tsc/undo_log.d.ts +0 -113
- package/tsc/undo_log.js +0 -229
- package/tsc/utils.d.ts +0 -268
- package/tsc/utils.js +0 -1135
- package/tsc/utils.spec.d.ts +0 -1
- package/tsc/utils.spec.js +0 -354
- package/tsc/wire_emitter.d.ts +0 -66
- package/tsc/wire_emitter.js +0 -391
- package/tsc/wire_tree_builder.d.ts +0 -55
- package/tsc/wire_tree_builder.js +0 -273
- package/tsconfig.json +0 -15
- package/vite.config.build.ts +0 -28
package/test/emphasis.spec.ts
DELETED
|
@@ -1,1892 +0,0 @@
|
|
|
1
|
-
import { readFileSync } from 'node:fs';
|
|
2
|
-
import { dirname, resolve } from 'node:path';
|
|
3
|
-
import { fileURLToPath } from 'node:url';
|
|
4
|
-
|
|
5
|
-
import { describe, expect, test } from 'vitest';
|
|
6
|
-
|
|
7
|
-
import { get_all_child_kinds, get_child_range, get_content } from './utils';
|
|
8
|
-
|
|
9
|
-
import { parse_markdown_svelte } from '../src/main';
|
|
10
|
-
import { NodeKind } from '../src/utils';
|
|
11
|
-
|
|
12
|
-
const this_dir = dirname(fileURLToPath(import.meta.url));
|
|
13
|
-
const fixtures_root = resolve(
|
|
14
|
-
this_dir,
|
|
15
|
-
'fixtures/pfm/emphasis_and_strong_emphasis'
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
const load_fixture = (id: string): string =>
|
|
19
|
-
readFileSync(resolve(fixtures_root, `${id}.md`), 'utf8');
|
|
20
|
-
|
|
21
|
-
describe('emphasis and strong emphasis', () => {
|
|
22
|
-
// strong emphasis
|
|
23
|
-
test('pfm example 350', () => {
|
|
24
|
-
const input = load_fixture('350');
|
|
25
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
26
|
-
|
|
27
|
-
const root = nodes.get_node();
|
|
28
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
29
|
-
const strong_emphasis = nodes.get_node(paragraph.children[0]);
|
|
30
|
-
const text = nodes.get_node(strong_emphasis.children[0]);
|
|
31
|
-
|
|
32
|
-
// root(1) + paragraph(1) + strong_emphasis(1) + text(1) + line_break(1) = 5
|
|
33
|
-
expect(nodes.size).toBe(5);
|
|
34
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
35
|
-
expect(strong_emphasis.kind).toBe('strong_emphasis');
|
|
36
|
-
expect(text.kind).toBe('text');
|
|
37
|
-
|
|
38
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
39
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
40
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
41
|
-
'strong_emphasis',
|
|
42
|
-
]);
|
|
43
|
-
|
|
44
|
-
const strong_emphasis_content = get_content(
|
|
45
|
-
nodes,
|
|
46
|
-
strong_emphasis.index,
|
|
47
|
-
input
|
|
48
|
-
);
|
|
49
|
-
expect(strong_emphasis_content.content).toBe(input.trim());
|
|
50
|
-
expect(get_all_child_kinds(nodes, strong_emphasis.index)).toEqual(['text']);
|
|
51
|
-
|
|
52
|
-
expect(strong_emphasis.start).toBe(paragraph.start);
|
|
53
|
-
expect(strong_emphasis.end).toBe(paragraph.end);
|
|
54
|
-
|
|
55
|
-
const text_content = get_content(nodes, text.index, input);
|
|
56
|
-
expect(text_content.content).toBe('foo bar');
|
|
57
|
-
expect(text_content.value).toEqual('foo bar');
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
//text
|
|
61
|
-
test('pfm example 351', () => {
|
|
62
|
-
const input = load_fixture('351');
|
|
63
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
64
|
-
|
|
65
|
-
const root = nodes.get_node();
|
|
66
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
67
|
-
|
|
68
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
69
|
-
const paragraph_child_content = get_child_range(
|
|
70
|
-
nodes,
|
|
71
|
-
paragraph.index,
|
|
72
|
-
input
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
// +1 for trailing line_break
|
|
76
|
-
expect(nodes.size).toBe(6);
|
|
77
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
78
|
-
|
|
79
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
80
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
81
|
-
|
|
82
|
-
expect(paragraph.start).toBe(0);
|
|
83
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
84
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
85
|
-
|
|
86
|
-
expect(paragraph_child_content.content).toBe('a * foo bar*');
|
|
87
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
88
|
-
'text',
|
|
89
|
-
'text',
|
|
90
|
-
'text',
|
|
91
|
-
]);
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
//text
|
|
95
|
-
test('pfm example 352', () => {
|
|
96
|
-
const input = load_fixture('352');
|
|
97
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
98
|
-
const root = nodes.get_node();
|
|
99
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
100
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
101
|
-
const paragraph_child_content = get_child_range(
|
|
102
|
-
nodes,
|
|
103
|
-
paragraph.index,
|
|
104
|
-
input
|
|
105
|
-
);
|
|
106
|
-
|
|
107
|
-
// +1 for trailing line_break
|
|
108
|
-
expect(nodes.size).toBe(6);
|
|
109
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
110
|
-
|
|
111
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
112
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
113
|
-
|
|
114
|
-
expect(paragraph.start).toBe(0);
|
|
115
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
116
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
117
|
-
|
|
118
|
-
expect(paragraph_child_content.content).toBe('a*"foo"*');
|
|
119
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
120
|
-
'text',
|
|
121
|
-
'text',
|
|
122
|
-
'text',
|
|
123
|
-
]);
|
|
124
|
-
|
|
125
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
126
|
-
const emphasis_content = get_content(nodes, emphasis.index, input);
|
|
127
|
-
const emphasis_child_content = get_child_range(
|
|
128
|
-
nodes,
|
|
129
|
-
emphasis.index,
|
|
130
|
-
input
|
|
131
|
-
);
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
// NBSP between * and content: * is not flanking, pure text
|
|
135
|
-
test('pfm example 353', () => {
|
|
136
|
-
const input = load_fixture('353');
|
|
137
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
138
|
-
const root = nodes.get_node();
|
|
139
|
-
|
|
140
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
141
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
142
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
143
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
//text
|
|
147
|
-
test('pfm example 354', () => {
|
|
148
|
-
const input = load_fixture('354');
|
|
149
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
150
|
-
const p_kinds = nodes.get_kinds(NodeKind.paragraph);
|
|
151
|
-
const [p1, p2, p3] = p_kinds;
|
|
152
|
-
const paragraph_one = nodes.get_node(p1);
|
|
153
|
-
const paragraph_one_content = get_content(nodes, p1, input);
|
|
154
|
-
const paragraph_child_content = get_child_range(nodes, p1, input);
|
|
155
|
-
|
|
156
|
-
// expect(nodes.size).toBe(13);
|
|
157
|
-
expect(paragraph_one.kind).toBe('paragraph');
|
|
158
|
-
|
|
159
|
-
expect(paragraph_one_content.content).toBe('*$*alpha.');
|
|
160
|
-
expect(paragraph_child_content.content).toBe('*$*alpha.');
|
|
161
|
-
expect(paragraph_child_content.content).toBe('*$*alpha.');
|
|
162
|
-
expect(get_all_child_kinds(nodes, p1)).toEqual(['text', 'text', 'text']);
|
|
163
|
-
|
|
164
|
-
const paragraph_two = nodes.get_node(p2);
|
|
165
|
-
const paragraph_two_content = get_content(nodes, p2, input);
|
|
166
|
-
const paragraph_two_child_content = get_child_range(nodes, p2, input);
|
|
167
|
-
|
|
168
|
-
expect(paragraph_two.kind).toBe('paragraph');
|
|
169
|
-
expect(paragraph_two_content.content).toBe('*£*bravo.');
|
|
170
|
-
expect(paragraph_two_child_content.content).toBe('*£*bravo.');
|
|
171
|
-
expect(get_all_child_kinds(nodes, p2)).toEqual(['text', 'text', 'text']);
|
|
172
|
-
|
|
173
|
-
const paragraph_three = nodes.get_node(p3);
|
|
174
|
-
const paragraph_three_content = get_content(nodes, p3, input);
|
|
175
|
-
const paragraph_three_child_content = get_child_range(nodes, p3, input);
|
|
176
|
-
|
|
177
|
-
expect(paragraph_three.kind).toBe('paragraph');
|
|
178
|
-
expect(paragraph_three_content.content).toBe('*€*charlie.');
|
|
179
|
-
expect(paragraph_three_child_content.content).toBe('*€*charlie.');
|
|
180
|
-
expect(get_all_child_kinds(nodes, p3)).toEqual(['text', 'text', 'text']);
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
//text
|
|
184
|
-
test('pfm example 355', () => {
|
|
185
|
-
const input = load_fixture('355');
|
|
186
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
187
|
-
|
|
188
|
-
const root = nodes.get_node();
|
|
189
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
190
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
191
|
-
const paragraph_child_content = get_child_range(
|
|
192
|
-
nodes,
|
|
193
|
-
paragraph.index,
|
|
194
|
-
input
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
198
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
199
|
-
'text',
|
|
200
|
-
'text',
|
|
201
|
-
'text',
|
|
202
|
-
]);
|
|
203
|
-
|
|
204
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
205
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
206
|
-
|
|
207
|
-
expect(paragraph.start).toBe(0);
|
|
208
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
209
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
210
|
-
|
|
211
|
-
expect(paragraph_child_content.content).toBe('foo*bar*');
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
//text
|
|
215
|
-
test('pfm example 356', () => {
|
|
216
|
-
const input = load_fixture('356');
|
|
217
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
218
|
-
|
|
219
|
-
const root = nodes.get_node();
|
|
220
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
221
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
222
|
-
const paragraph_child_content = get_child_range(
|
|
223
|
-
nodes,
|
|
224
|
-
paragraph.index,
|
|
225
|
-
input
|
|
226
|
-
);
|
|
227
|
-
|
|
228
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
229
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
230
|
-
'text',
|
|
231
|
-
'text',
|
|
232
|
-
'text',
|
|
233
|
-
]);
|
|
234
|
-
|
|
235
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
236
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
237
|
-
|
|
238
|
-
expect(paragraph.start).toBe(0);
|
|
239
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
240
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
241
|
-
|
|
242
|
-
expect(paragraph_child_content.content).toBe('5*6*78');
|
|
243
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
244
|
-
'text',
|
|
245
|
-
'text',
|
|
246
|
-
'text',
|
|
247
|
-
]);
|
|
248
|
-
});
|
|
249
|
-
|
|
250
|
-
// emphasis: _foo bar_
|
|
251
|
-
test('pfm example 357', () => {
|
|
252
|
-
const input = load_fixture('357');
|
|
253
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
254
|
-
|
|
255
|
-
const root = nodes.get_node();
|
|
256
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
257
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
258
|
-
const text = nodes.get_node(emphasis.children[0]);
|
|
259
|
-
|
|
260
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
261
|
-
expect(emphasis.kind).toBe('emphasis');
|
|
262
|
-
expect(text.kind).toBe('text');
|
|
263
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
264
|
-
expect(get_all_child_kinds(nodes, emphasis.index)).toEqual(['text']);
|
|
265
|
-
|
|
266
|
-
const text_content = get_content(nodes, text.index, input);
|
|
267
|
-
expect(text_content.content).toBe('foo bar');
|
|
268
|
-
});
|
|
269
|
-
|
|
270
|
-
// text: _ foo bar_ (space after opening _)
|
|
271
|
-
test('pfm example 358', () => {
|
|
272
|
-
const input = load_fixture('358');
|
|
273
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
274
|
-
const root = nodes.get_node();
|
|
275
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
276
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
277
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
278
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
279
|
-
expect(get_child_range(nodes, paragraph.index, input).content).toBe(
|
|
280
|
-
'_ foo bar_'
|
|
281
|
-
);
|
|
282
|
-
});
|
|
283
|
-
|
|
284
|
-
// text: a_"foo"_ (opening _ preceded by word)
|
|
285
|
-
test('pfm example 359', () => {
|
|
286
|
-
const input = load_fixture('359');
|
|
287
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
288
|
-
const root = nodes.get_node();
|
|
289
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
290
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
291
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
292
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
// text: foo_bar_ (opening _ preceded by word)
|
|
296
|
-
test('pfm example 360', () => {
|
|
297
|
-
const input = load_fixture('360');
|
|
298
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
299
|
-
const root = nodes.get_node();
|
|
300
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
301
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
302
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
303
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
304
|
-
});
|
|
305
|
-
|
|
306
|
-
// text: 5_6_78 (intraword underscores)
|
|
307
|
-
test('pfm example 361', () => {
|
|
308
|
-
const input = load_fixture('361');
|
|
309
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
310
|
-
const root = nodes.get_node();
|
|
311
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
312
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
313
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
314
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
315
|
-
});
|
|
316
|
-
|
|
317
|
-
// text: Cyrillic_word_ (opening _ preceded by word)
|
|
318
|
-
test('pfm example 362', () => {
|
|
319
|
-
const input = load_fixture('362');
|
|
320
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
321
|
-
const root = nodes.get_node();
|
|
322
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
323
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
324
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
325
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
326
|
-
});
|
|
327
|
-
|
|
328
|
-
// text: aa_"bb"_cc (opening _ preceded by word)
|
|
329
|
-
test('pfm example 363', () => {
|
|
330
|
-
const input = load_fixture('363');
|
|
331
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
332
|
-
const root = nodes.get_node();
|
|
333
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
334
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
335
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
336
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
337
|
-
});
|
|
338
|
-
|
|
339
|
-
// emphasis: foo-_(bar)_ (opening _ after punctuation)
|
|
340
|
-
test('pfm example 364', () => {
|
|
341
|
-
const input = load_fixture('364');
|
|
342
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
343
|
-
const root = nodes.get_node();
|
|
344
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
345
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
346
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
347
|
-
'text',
|
|
348
|
-
'emphasis',
|
|
349
|
-
]);
|
|
350
|
-
const emphasis = nodes.get_node(paragraph.children[1]);
|
|
351
|
-
expect(emphasis.kind).toBe('emphasis');
|
|
352
|
-
const emph_content = get_content(nodes, emphasis.index, input);
|
|
353
|
-
expect(emph_content.value).toBe('(bar)');
|
|
354
|
-
});
|
|
355
|
-
|
|
356
|
-
// text: _foo* (mismatched delimiters)
|
|
357
|
-
test('pfm example 365', () => {
|
|
358
|
-
const input = load_fixture('365');
|
|
359
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
360
|
-
const root = nodes.get_node();
|
|
361
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
362
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
363
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
364
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
365
|
-
});
|
|
366
|
-
|
|
367
|
-
//text
|
|
368
|
-
test('pfm example 366', () => {
|
|
369
|
-
const input = load_fixture('366');
|
|
370
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
371
|
-
|
|
372
|
-
const root = nodes.get_node();
|
|
373
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
374
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
375
|
-
const paragraph_child_content = get_child_range(
|
|
376
|
-
nodes,
|
|
377
|
-
paragraph.index,
|
|
378
|
-
input
|
|
379
|
-
);
|
|
380
|
-
|
|
381
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
382
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
383
|
-
'text',
|
|
384
|
-
'text',
|
|
385
|
-
'text',
|
|
386
|
-
]);
|
|
387
|
-
|
|
388
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
389
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
390
|
-
|
|
391
|
-
expect(paragraph.start).toBe(0);
|
|
392
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
393
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
394
|
-
|
|
395
|
-
expect(paragraph_child_content.content).toBe('*foo bar *');
|
|
396
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
397
|
-
'text',
|
|
398
|
-
'text',
|
|
399
|
-
'text',
|
|
400
|
-
]);
|
|
401
|
-
});
|
|
402
|
-
|
|
403
|
-
//strong emphasis
|
|
404
|
-
test('pfm example 367', () => {
|
|
405
|
-
const input = load_fixture('367');
|
|
406
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
407
|
-
|
|
408
|
-
const root = nodes.get_node();
|
|
409
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
410
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
411
|
-
const paragraph_child_content = get_child_range(
|
|
412
|
-
nodes,
|
|
413
|
-
paragraph.index,
|
|
414
|
-
input
|
|
415
|
-
);
|
|
416
|
-
|
|
417
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
418
|
-
// The * is not valid emphasis (not right-flanking).
|
|
419
|
-
// After revocation: text "*" + text "foo bar" + soft_break + text "*"
|
|
420
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
421
|
-
'text',
|
|
422
|
-
'text',
|
|
423
|
-
'soft_break',
|
|
424
|
-
'text',
|
|
425
|
-
]);
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
//text
|
|
429
|
-
test('pfm example 368', () => {
|
|
430
|
-
const input = load_fixture('368');
|
|
431
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
432
|
-
|
|
433
|
-
const root = nodes.get_node();
|
|
434
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
435
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
436
|
-
const paragraph_child_content = get_child_range(
|
|
437
|
-
nodes,
|
|
438
|
-
paragraph.index,
|
|
439
|
-
input
|
|
440
|
-
);
|
|
441
|
-
|
|
442
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
443
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
444
|
-
'text',
|
|
445
|
-
'text',
|
|
446
|
-
'text',
|
|
447
|
-
]);
|
|
448
|
-
|
|
449
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
450
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
451
|
-
|
|
452
|
-
expect(paragraph.start).toBe(0);
|
|
453
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
454
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
455
|
-
|
|
456
|
-
expect(paragraph_child_content.content).toBe('*(*foo)');
|
|
457
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
458
|
-
'text',
|
|
459
|
-
'text',
|
|
460
|
-
'text',
|
|
461
|
-
]);
|
|
462
|
-
});
|
|
463
|
-
|
|
464
|
-
// strong_emphasis
|
|
465
|
-
test('pfm example 369', () => {
|
|
466
|
-
const input = load_fixture('369');
|
|
467
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
468
|
-
|
|
469
|
-
const root = nodes.get_node();
|
|
470
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
471
|
-
const paragraph_content = get_content(nodes, paragraph.index, input);
|
|
472
|
-
const paragraph_child_content = get_child_range(
|
|
473
|
-
nodes,
|
|
474
|
-
paragraph.index,
|
|
475
|
-
input
|
|
476
|
-
);
|
|
477
|
-
|
|
478
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
479
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
480
|
-
'strong_emphasis',
|
|
481
|
-
]);
|
|
482
|
-
|
|
483
|
-
expect(paragraph_content.content).toBe(input.trim());
|
|
484
|
-
expect(paragraph_child_content.content).toBe(input.trim());
|
|
485
|
-
|
|
486
|
-
expect(paragraph.start).toBe(0);
|
|
487
|
-
expect(paragraph.start).toBe(paragraph_child_content.start);
|
|
488
|
-
expect(paragraph.end).toBe(paragraph_child_content.end);
|
|
489
|
-
});
|
|
490
|
-
|
|
491
|
-
// text: *foo*bar (closing * followed by word)
|
|
492
|
-
test('pfm example 370', () => {
|
|
493
|
-
const input = load_fixture('370');
|
|
494
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
495
|
-
const root = nodes.get_node();
|
|
496
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
497
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
498
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
499
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
500
|
-
expect(get_child_range(nodes, paragraph.index, input).content).toBe(
|
|
501
|
-
'*foo*bar'
|
|
502
|
-
);
|
|
503
|
-
});
|
|
504
|
-
|
|
505
|
-
// text: _foo bar _ (closing _ preceded by space)
|
|
506
|
-
test('pfm example 371', () => {
|
|
507
|
-
const input = load_fixture('371');
|
|
508
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
509
|
-
const root = nodes.get_node();
|
|
510
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
511
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
512
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
513
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
514
|
-
});
|
|
515
|
-
|
|
516
|
-
// text: _(_foo) (no valid closing _)
|
|
517
|
-
test('pfm example 372', () => {
|
|
518
|
-
const input = load_fixture('372');
|
|
519
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
520
|
-
const root = nodes.get_node();
|
|
521
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
522
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
523
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
524
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
525
|
-
});
|
|
526
|
-
|
|
527
|
-
// emphasis: _(_foo_)_, outer emphasis wraps all
|
|
528
|
-
test('pfm example 373', () => {
|
|
529
|
-
const input = load_fixture('373');
|
|
530
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
531
|
-
const root = nodes.get_node();
|
|
532
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
533
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
534
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
535
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
536
|
-
expect(emphasis.kind).toBe('emphasis');
|
|
537
|
-
});
|
|
538
|
-
|
|
539
|
-
// text: _foo_bar (closing _ followed by word)
|
|
540
|
-
test('pfm example 374', () => {
|
|
541
|
-
const input = load_fixture('374');
|
|
542
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
543
|
-
const root = nodes.get_node();
|
|
544
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
545
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
546
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
547
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
548
|
-
});
|
|
549
|
-
|
|
550
|
-
// text: _Cyrillic_word (closing _ followed by word)
|
|
551
|
-
test('pfm example 375', () => {
|
|
552
|
-
const input = load_fixture('375');
|
|
553
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
554
|
-
const root = nodes.get_node();
|
|
555
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
556
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
557
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
558
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
559
|
-
});
|
|
560
|
-
|
|
561
|
-
// emphasis: _foo_bar_baz_ (inner _ are intraword, outer pair matches)
|
|
562
|
-
test('pfm example 376', () => {
|
|
563
|
-
const input = load_fixture('376');
|
|
564
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
565
|
-
const root = nodes.get_node();
|
|
566
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
567
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
568
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
569
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
570
|
-
const emph_content = get_content(nodes, emphasis.index, input);
|
|
571
|
-
expect(emph_content.value).toBe('foo_bar_baz');
|
|
572
|
-
});
|
|
573
|
-
|
|
574
|
-
// emphasis: _(bar)_. (emphasis followed by punctuation)
|
|
575
|
-
test('pfm example 377', () => {
|
|
576
|
-
const input = load_fixture('377');
|
|
577
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
578
|
-
const root = nodes.get_node();
|
|
579
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
580
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
581
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
582
|
-
'emphasis',
|
|
583
|
-
'text',
|
|
584
|
-
]);
|
|
585
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
586
|
-
const emph_content = get_content(nodes, emphasis.index, input);
|
|
587
|
-
expect(emph_content.value).toBe('(bar)');
|
|
588
|
-
});
|
|
589
|
-
|
|
590
|
-
// PFM: *foo bar* -> single-delimiter strong
|
|
591
|
-
test('pfm example 378', () => {
|
|
592
|
-
const input = load_fixture('378');
|
|
593
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
594
|
-
const root = nodes.get_node();
|
|
595
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
596
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
597
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
598
|
-
'strong_emphasis',
|
|
599
|
-
]);
|
|
600
|
-
});
|
|
601
|
-
|
|
602
|
-
// PFM: * foo bar* -> * at line start with space is list marker
|
|
603
|
-
test('pfm example 379', () => {
|
|
604
|
-
const input = load_fixture('379');
|
|
605
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
606
|
-
const root = nodes.get_node();
|
|
607
|
-
const first = nodes.get_node(root.children[0]);
|
|
608
|
-
expect(first.kind).toBe('list');
|
|
609
|
-
});
|
|
610
|
-
|
|
611
|
-
// text
|
|
612
|
-
// PFM: a**"foo"** -> first * preceded by word -> text
|
|
613
|
-
test('pfm example 380', () => {
|
|
614
|
-
const input = load_fixture('380');
|
|
615
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
616
|
-
const root = nodes.get_node();
|
|
617
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
618
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
619
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
620
|
-
expect(kinds.includes('text')).toBe(true);
|
|
621
|
-
});
|
|
622
|
-
|
|
623
|
-
// text
|
|
624
|
-
// PFM: foo**bar** -> first * preceded by word -> text
|
|
625
|
-
test('pfm example 381', () => {
|
|
626
|
-
const input = load_fixture('381');
|
|
627
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
628
|
-
const root = nodes.get_node();
|
|
629
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
630
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
631
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
632
|
-
expect(kinds.includes('text')).toBe(true);
|
|
633
|
-
});
|
|
634
|
-
|
|
635
|
-
// emphasis
|
|
636
|
-
// PFM: __foo bar__ -> emphasis (extra _ treated as text content)
|
|
637
|
-
test('pfm example 382', () => {
|
|
638
|
-
const input = load_fixture('382');
|
|
639
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
640
|
-
const root = nodes.get_node();
|
|
641
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
642
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
643
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
644
|
-
});
|
|
645
|
-
|
|
646
|
-
// emphasis
|
|
647
|
-
// PFM: __ foo bar__ -> first _ opens (next=_), content includes space
|
|
648
|
-
test('pfm example 383', () => {
|
|
649
|
-
const input = load_fixture('383');
|
|
650
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
651
|
-
const root = nodes.get_node();
|
|
652
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
653
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
654
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
655
|
-
expect(kinds.includes('text')).toBe(true);
|
|
656
|
-
});
|
|
657
|
-
|
|
658
|
-
// emphasis
|
|
659
|
-
// PFM: __\nfoo bar__ -> emphasis spans newline
|
|
660
|
-
test('pfm example 384', () => {
|
|
661
|
-
const input = load_fixture('384');
|
|
662
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
663
|
-
const root = nodes.get_node();
|
|
664
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
665
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
666
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
667
|
-
expect(kinds.includes('text')).toBe(true);
|
|
668
|
-
});
|
|
669
|
-
|
|
670
|
-
// text
|
|
671
|
-
// PFM: a__"foo"__ -> first _ preceded by word -> text
|
|
672
|
-
test('pfm example 385', () => {
|
|
673
|
-
const input = load_fixture('385');
|
|
674
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
675
|
-
const root = nodes.get_node();
|
|
676
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
677
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
678
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
679
|
-
expect(kinds.every((k) => k === 'text' || k === 'emphasis')).toBe(true);
|
|
680
|
-
});
|
|
681
|
-
|
|
682
|
-
// text
|
|
683
|
-
// PFM: foo__bar__ -> intraword __ -> all text
|
|
684
|
-
test('pfm example 386', () => {
|
|
685
|
-
const input = load_fixture('386');
|
|
686
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
687
|
-
const root = nodes.get_node();
|
|
688
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
689
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
690
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
691
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
// text
|
|
695
|
-
// PFM: 5__6__78 -> intraword __ -> all text
|
|
696
|
-
test('pfm example 387', () => {
|
|
697
|
-
const input = load_fixture('387');
|
|
698
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
699
|
-
const root = nodes.get_node();
|
|
700
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
701
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
702
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
703
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
704
|
-
});
|
|
705
|
-
|
|
706
|
-
// text
|
|
707
|
-
// PFM: Cyrillic__word__ -> intraword __ -> all text
|
|
708
|
-
test('pfm example 388', () => {
|
|
709
|
-
const input = load_fixture('388');
|
|
710
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
711
|
-
const root = nodes.get_node();
|
|
712
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
713
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
714
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
715
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
716
|
-
});
|
|
717
|
-
|
|
718
|
-
// emphasis
|
|
719
|
-
// PFM: __foo, __bar__, baz__ -> emphasis
|
|
720
|
-
test('pfm example 389', () => {
|
|
721
|
-
const input = load_fixture('389');
|
|
722
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
723
|
-
const root = nodes.get_node();
|
|
724
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
725
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
726
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
727
|
-
});
|
|
728
|
-
|
|
729
|
-
// text
|
|
730
|
-
// PFM: foo-__(bar)__ -> emphasis after punctuation
|
|
731
|
-
test('pfm example 390', () => {
|
|
732
|
-
const input = load_fixture('390');
|
|
733
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
734
|
-
const root = nodes.get_node();
|
|
735
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
736
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
737
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
738
|
-
expect(kinds.includes('emphasis')).toBe(true);
|
|
739
|
-
});
|
|
740
|
-
|
|
741
|
-
// strong emphasis
|
|
742
|
-
// strong emphasis + text
|
|
743
|
-
test('pfm example 391', () => {
|
|
744
|
-
const input = load_fixture('391');
|
|
745
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
746
|
-
const root = nodes.get_node();
|
|
747
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
748
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
749
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
750
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
751
|
-
true
|
|
752
|
-
);
|
|
753
|
-
});
|
|
754
|
-
|
|
755
|
-
// text
|
|
756
|
-
// strong emphasis + text
|
|
757
|
-
test('pfm example 392', () => {
|
|
758
|
-
const input = load_fixture('392');
|
|
759
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
760
|
-
const root = nodes.get_node();
|
|
761
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
762
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
763
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
764
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
765
|
-
true
|
|
766
|
-
);
|
|
767
|
-
});
|
|
768
|
-
|
|
769
|
-
// PFM: _(*foo*)_ -> emphasis wrapping strong
|
|
770
|
-
test('pfm example 393', () => {
|
|
771
|
-
const input = load_fixture('393');
|
|
772
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
773
|
-
const root = nodes.get_node();
|
|
774
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
775
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
776
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
777
|
-
expect(kinds).toEqual(['emphasis']);
|
|
778
|
-
});
|
|
779
|
-
|
|
780
|
-
// strong emphasis
|
|
781
|
-
// strong emphasis + text
|
|
782
|
-
test('pfm example 394', () => {
|
|
783
|
-
const input = load_fixture('394');
|
|
784
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
785
|
-
const root = nodes.get_node();
|
|
786
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
787
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
788
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
789
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
790
|
-
true
|
|
791
|
-
);
|
|
792
|
-
});
|
|
793
|
-
|
|
794
|
-
// strong emphasis
|
|
795
|
-
// strong emphasis + text
|
|
796
|
-
test('pfm example 395', () => {
|
|
797
|
-
const input = load_fixture('395');
|
|
798
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
799
|
-
const root = nodes.get_node();
|
|
800
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
801
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
802
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
803
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
804
|
-
true
|
|
805
|
-
);
|
|
806
|
-
});
|
|
807
|
-
|
|
808
|
-
// text
|
|
809
|
-
// strong emphasis + text
|
|
810
|
-
test('pfm example 396', () => {
|
|
811
|
-
const input = load_fixture('396');
|
|
812
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
813
|
-
const root = nodes.get_node();
|
|
814
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
815
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
816
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
817
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
818
|
-
true
|
|
819
|
-
);
|
|
820
|
-
});
|
|
821
|
-
|
|
822
|
-
// emphasis
|
|
823
|
-
// emphasis + text
|
|
824
|
-
test('pfm example 397', () => {
|
|
825
|
-
const input = load_fixture('397');
|
|
826
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
827
|
-
const root = nodes.get_node();
|
|
828
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
829
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
830
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
831
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
832
|
-
});
|
|
833
|
-
|
|
834
|
-
// text
|
|
835
|
-
// emphasis + text
|
|
836
|
-
test('pfm example 398', () => {
|
|
837
|
-
const input = load_fixture('398');
|
|
838
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
839
|
-
const root = nodes.get_node();
|
|
840
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
841
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
842
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
843
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
844
|
-
});
|
|
845
|
-
|
|
846
|
-
// emphasis
|
|
847
|
-
// emphasis
|
|
848
|
-
test('pfm example 399', () => {
|
|
849
|
-
const input = load_fixture('399');
|
|
850
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
851
|
-
const root = nodes.get_node();
|
|
852
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
853
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
854
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
855
|
-
});
|
|
856
|
-
|
|
857
|
-
// text
|
|
858
|
-
// text only
|
|
859
|
-
test('pfm example 400', () => {
|
|
860
|
-
const input = load_fixture('400');
|
|
861
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
862
|
-
const root = nodes.get_node();
|
|
863
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
864
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
865
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
866
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
867
|
-
});
|
|
868
|
-
|
|
869
|
-
// text
|
|
870
|
-
// text only
|
|
871
|
-
test('pfm example 401', () => {
|
|
872
|
-
const input = load_fixture('401');
|
|
873
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
874
|
-
const root = nodes.get_node();
|
|
875
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
876
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
877
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
878
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
879
|
-
});
|
|
880
|
-
|
|
881
|
-
// emphasis
|
|
882
|
-
// emphasis
|
|
883
|
-
test('pfm example 402', () => {
|
|
884
|
-
const input = load_fixture('402');
|
|
885
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
886
|
-
const root = nodes.get_node();
|
|
887
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
888
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
889
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
890
|
-
});
|
|
891
|
-
|
|
892
|
-
// text
|
|
893
|
-
// emphasis + text
|
|
894
|
-
test('pfm example 403', () => {
|
|
895
|
-
const input = load_fixture('403');
|
|
896
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
897
|
-
const root = nodes.get_node();
|
|
898
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
899
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
900
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
901
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
902
|
-
});
|
|
903
|
-
|
|
904
|
-
// strong emphasis
|
|
905
|
-
// strong emphasis
|
|
906
|
-
test('pfm example 404', () => {
|
|
907
|
-
const input = load_fixture('404');
|
|
908
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
909
|
-
const root = nodes.get_node();
|
|
910
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
911
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
912
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
913
|
-
expect(kinds.includes('strong_emphasis')).toBe(true);
|
|
914
|
-
});
|
|
915
|
-
|
|
916
|
-
// strong emphasis
|
|
917
|
-
// strong emphasis
|
|
918
|
-
test('pfm example 405', () => {
|
|
919
|
-
const input = load_fixture('405');
|
|
920
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
921
|
-
const root = nodes.get_node();
|
|
922
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
923
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
924
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
925
|
-
expect(kinds.includes('strong_emphasis')).toBe(true);
|
|
926
|
-
});
|
|
927
|
-
|
|
928
|
-
// emphasis
|
|
929
|
-
// emphasis
|
|
930
|
-
test('pfm example 406', () => {
|
|
931
|
-
const input = load_fixture('406');
|
|
932
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
933
|
-
const root = nodes.get_node();
|
|
934
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
935
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
936
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
937
|
-
});
|
|
938
|
-
|
|
939
|
-
// emphasis
|
|
940
|
-
// emphasis
|
|
941
|
-
test('pfm example 407', () => {
|
|
942
|
-
const input = load_fixture('407');
|
|
943
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
944
|
-
const root = nodes.get_node();
|
|
945
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
946
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
947
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
948
|
-
});
|
|
949
|
-
|
|
950
|
-
// emphasis
|
|
951
|
-
// emphasis + text
|
|
952
|
-
test('pfm example 408', () => {
|
|
953
|
-
const input = load_fixture('408');
|
|
954
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
955
|
-
const root = nodes.get_node();
|
|
956
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
957
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
958
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
959
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
960
|
-
});
|
|
961
|
-
|
|
962
|
-
// strong emphasis
|
|
963
|
-
// strong emphasis + text
|
|
964
|
-
test('pfm example 409', () => {
|
|
965
|
-
const input = load_fixture('409');
|
|
966
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
967
|
-
const root = nodes.get_node();
|
|
968
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
969
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
970
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
971
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
972
|
-
true
|
|
973
|
-
);
|
|
974
|
-
});
|
|
975
|
-
|
|
976
|
-
// strong emphasis
|
|
977
|
-
// PFM: _foo *bar* baz_ -> emphasis wrapping text+strong+text
|
|
978
|
-
test('pfm example 410', () => {
|
|
979
|
-
const input = load_fixture('410');
|
|
980
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
981
|
-
const root = nodes.get_node();
|
|
982
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
983
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
984
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
985
|
-
});
|
|
986
|
-
|
|
987
|
-
// PFM: _foo*bar*baz_ -> emphasis
|
|
988
|
-
test('pfm example 411', () => {
|
|
989
|
-
const input = load_fixture('411');
|
|
990
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
991
|
-
const root = nodes.get_node();
|
|
992
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
993
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
994
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
995
|
-
});
|
|
996
|
-
|
|
997
|
-
// PFM: _foo*bar_ -> emphasis
|
|
998
|
-
test('pfm example 412', () => {
|
|
999
|
-
const input = load_fixture('412');
|
|
1000
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1001
|
-
const root = nodes.get_node();
|
|
1002
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1003
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1004
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1005
|
-
});
|
|
1006
|
-
|
|
1007
|
-
// PFM: _*foo* bar_ -> emphasis
|
|
1008
|
-
test('pfm example 413', () => {
|
|
1009
|
-
const input = load_fixture('413');
|
|
1010
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1011
|
-
const root = nodes.get_node();
|
|
1012
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1013
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1014
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1015
|
-
});
|
|
1016
|
-
|
|
1017
|
-
// strong emphasis
|
|
1018
|
-
// strong emphasis + text
|
|
1019
|
-
test('pfm example 414', () => {
|
|
1020
|
-
const input = load_fixture('414');
|
|
1021
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1022
|
-
const root = nodes.get_node();
|
|
1023
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1024
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1025
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1026
|
-
const emphasis = nodes.get_node(paragraph.children[0]);
|
|
1027
|
-
const inner_kinds = get_all_child_kinds(nodes, emphasis.index);
|
|
1028
|
-
expect(inner_kinds).toEqual(['text', 'strong_emphasis']);
|
|
1029
|
-
});
|
|
1030
|
-
|
|
1031
|
-
// PFM: _foo*bar*_ -> emphasis
|
|
1032
|
-
test('pfm example 415', () => {
|
|
1033
|
-
const input = load_fixture('415');
|
|
1034
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1035
|
-
const root = nodes.get_node();
|
|
1036
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1037
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1038
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1039
|
-
});
|
|
1040
|
-
|
|
1041
|
-
// text
|
|
1042
|
-
// strong emphasis + text
|
|
1043
|
-
test('pfm example 416', () => {
|
|
1044
|
-
const input = load_fixture('416');
|
|
1045
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1046
|
-
const root = nodes.get_node();
|
|
1047
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1048
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1049
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1050
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1051
|
-
true
|
|
1052
|
-
);
|
|
1053
|
-
});
|
|
1054
|
-
|
|
1055
|
-
// text
|
|
1056
|
-
// strong emphasis + text
|
|
1057
|
-
test('pfm example 417', () => {
|
|
1058
|
-
const input = load_fixture('417');
|
|
1059
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1060
|
-
const root = nodes.get_node();
|
|
1061
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1062
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1063
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1064
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1065
|
-
true
|
|
1066
|
-
);
|
|
1067
|
-
});
|
|
1068
|
-
|
|
1069
|
-
// PFM: _foo *bar _baz_ bim* bop_ -> emphasis
|
|
1070
|
-
test('pfm example 418', () => {
|
|
1071
|
-
const input = load_fixture('418');
|
|
1072
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1073
|
-
const root = nodes.get_node();
|
|
1074
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1075
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1076
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1077
|
-
});
|
|
1078
|
-
|
|
1079
|
-
// strong emphasis
|
|
1080
|
-
// strong emphasis
|
|
1081
|
-
test('pfm example 419', () => {
|
|
1082
|
-
const input = load_fixture('419');
|
|
1083
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1084
|
-
const root = nodes.get_node();
|
|
1085
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1086
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1087
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1088
|
-
expect(kinds.includes('strong_emphasis')).toBe(true);
|
|
1089
|
-
});
|
|
1090
|
-
|
|
1091
|
-
// PFM: * is not an empty emphasis -> list item
|
|
1092
|
-
test('pfm example 420', () => {
|
|
1093
|
-
const input = load_fixture('420');
|
|
1094
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1095
|
-
const root = nodes.get_node();
|
|
1096
|
-
const first = nodes.get_node(root.children[0]);
|
|
1097
|
-
expect(first.kind).toBe('list');
|
|
1098
|
-
});
|
|
1099
|
-
|
|
1100
|
-
// text
|
|
1101
|
-
// strong emphasis + text
|
|
1102
|
-
test('pfm example 421', () => {
|
|
1103
|
-
const input = load_fixture('421');
|
|
1104
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1105
|
-
const root = nodes.get_node();
|
|
1106
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1107
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1108
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1109
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1110
|
-
true
|
|
1111
|
-
);
|
|
1112
|
-
});
|
|
1113
|
-
|
|
1114
|
-
// strong emphasis
|
|
1115
|
-
// strong emphasis + text
|
|
1116
|
-
test('pfm example 422', () => {
|
|
1117
|
-
const input = load_fixture('422');
|
|
1118
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1119
|
-
const root = nodes.get_node();
|
|
1120
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1121
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1122
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1123
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1124
|
-
true
|
|
1125
|
-
);
|
|
1126
|
-
});
|
|
1127
|
-
|
|
1128
|
-
// strong emphasis
|
|
1129
|
-
// strong emphasis + text
|
|
1130
|
-
test('pfm example 423', () => {
|
|
1131
|
-
const input = load_fixture('423');
|
|
1132
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1133
|
-
const root = nodes.get_node();
|
|
1134
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1135
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1136
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1137
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1138
|
-
true
|
|
1139
|
-
);
|
|
1140
|
-
});
|
|
1141
|
-
|
|
1142
|
-
// PFM: *foo _bar_ baz* -> strong wrapping emphasis
|
|
1143
|
-
test('pfm example 424', () => {
|
|
1144
|
-
const input = load_fixture('424');
|
|
1145
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1146
|
-
const root = nodes.get_node();
|
|
1147
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1148
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1149
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
1150
|
-
'strong_emphasis',
|
|
1151
|
-
]);
|
|
1152
|
-
});
|
|
1153
|
-
|
|
1154
|
-
// emphasis
|
|
1155
|
-
// emphasis
|
|
1156
|
-
test('pfm example 425', () => {
|
|
1157
|
-
const input = load_fixture('425');
|
|
1158
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1159
|
-
const root = nodes.get_node();
|
|
1160
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1161
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1162
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1163
|
-
});
|
|
1164
|
-
|
|
1165
|
-
// emphasis
|
|
1166
|
-
// emphasis + text
|
|
1167
|
-
test('pfm example 426', () => {
|
|
1168
|
-
const input = load_fixture('426');
|
|
1169
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1170
|
-
const root = nodes.get_node();
|
|
1171
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1172
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1173
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1174
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1175
|
-
});
|
|
1176
|
-
|
|
1177
|
-
// strong emphasis
|
|
1178
|
-
// strong emphasis + text
|
|
1179
|
-
test('pfm example 427', () => {
|
|
1180
|
-
const input = load_fixture('427');
|
|
1181
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1182
|
-
const root = nodes.get_node();
|
|
1183
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1184
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1185
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1186
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1187
|
-
true
|
|
1188
|
-
);
|
|
1189
|
-
});
|
|
1190
|
-
|
|
1191
|
-
// strong emphasis
|
|
1192
|
-
// strong emphasis + text
|
|
1193
|
-
test('pfm example 428', () => {
|
|
1194
|
-
const input = load_fixture('428');
|
|
1195
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1196
|
-
const root = nodes.get_node();
|
|
1197
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1198
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1199
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1200
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1201
|
-
true
|
|
1202
|
-
);
|
|
1203
|
-
});
|
|
1204
|
-
|
|
1205
|
-
// strong emphasis
|
|
1206
|
-
// strong emphasis + text
|
|
1207
|
-
test('pfm example 429', () => {
|
|
1208
|
-
const input = load_fixture('429');
|
|
1209
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1210
|
-
const root = nodes.get_node();
|
|
1211
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1212
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1213
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1214
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1215
|
-
true
|
|
1216
|
-
);
|
|
1217
|
-
});
|
|
1218
|
-
|
|
1219
|
-
// strong emphasis
|
|
1220
|
-
// strong emphasis + text
|
|
1221
|
-
test('pfm example 430', () => {
|
|
1222
|
-
const input = load_fixture('430');
|
|
1223
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1224
|
-
const root = nodes.get_node();
|
|
1225
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1226
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1227
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1228
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1229
|
-
true
|
|
1230
|
-
);
|
|
1231
|
-
});
|
|
1232
|
-
|
|
1233
|
-
// strong emphasis
|
|
1234
|
-
// strong emphasis + text
|
|
1235
|
-
test('pfm example 431', () => {
|
|
1236
|
-
const input = load_fixture('431');
|
|
1237
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1238
|
-
const root = nodes.get_node();
|
|
1239
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1240
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1241
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1242
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1243
|
-
true
|
|
1244
|
-
);
|
|
1245
|
-
});
|
|
1246
|
-
|
|
1247
|
-
// strong emphasis
|
|
1248
|
-
// strong emphasis + text
|
|
1249
|
-
test('pfm example 432', () => {
|
|
1250
|
-
const input = load_fixture('432');
|
|
1251
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1252
|
-
const root = nodes.get_node();
|
|
1253
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1254
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1255
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1256
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1257
|
-
true
|
|
1258
|
-
);
|
|
1259
|
-
});
|
|
1260
|
-
|
|
1261
|
-
// strong emphasis
|
|
1262
|
-
// strong emphasis + text
|
|
1263
|
-
test('pfm example 433', () => {
|
|
1264
|
-
const input = load_fixture('433');
|
|
1265
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1266
|
-
const root = nodes.get_node();
|
|
1267
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1268
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1269
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1270
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1271
|
-
true
|
|
1272
|
-
);
|
|
1273
|
-
});
|
|
1274
|
-
|
|
1275
|
-
// text
|
|
1276
|
-
// emphasis + text
|
|
1277
|
-
test('pfm example 434', () => {
|
|
1278
|
-
const input = load_fixture('434');
|
|
1279
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1280
|
-
const root = nodes.get_node();
|
|
1281
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1282
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1283
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1284
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1285
|
-
});
|
|
1286
|
-
|
|
1287
|
-
// emphasis
|
|
1288
|
-
// emphasis + text
|
|
1289
|
-
test('pfm example 435', () => {
|
|
1290
|
-
const input = load_fixture('435');
|
|
1291
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1292
|
-
const root = nodes.get_node();
|
|
1293
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1294
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1295
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1296
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1297
|
-
});
|
|
1298
|
-
|
|
1299
|
-
// strong emphasis
|
|
1300
|
-
// strong emphasis + text
|
|
1301
|
-
test('pfm example 436', () => {
|
|
1302
|
-
const input = load_fixture('436');
|
|
1303
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1304
|
-
const root = nodes.get_node();
|
|
1305
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1306
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1307
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1308
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1309
|
-
true
|
|
1310
|
-
);
|
|
1311
|
-
});
|
|
1312
|
-
|
|
1313
|
-
// strong emphasis
|
|
1314
|
-
// strong emphasis + text
|
|
1315
|
-
test('pfm example 437', () => {
|
|
1316
|
-
const input = load_fixture('437');
|
|
1317
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1318
|
-
const root = nodes.get_node();
|
|
1319
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1320
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1321
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1322
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1323
|
-
true
|
|
1324
|
-
);
|
|
1325
|
-
});
|
|
1326
|
-
|
|
1327
|
-
// strong emphasis
|
|
1328
|
-
// text only
|
|
1329
|
-
test('pfm example 438', () => {
|
|
1330
|
-
const input = load_fixture('438');
|
|
1331
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1332
|
-
const root = nodes.get_node();
|
|
1333
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1334
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1335
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1336
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
1337
|
-
});
|
|
1338
|
-
|
|
1339
|
-
// strong emphasis
|
|
1340
|
-
// strong emphasis + text
|
|
1341
|
-
test('pfm example 439', () => {
|
|
1342
|
-
const input = load_fixture('439');
|
|
1343
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1344
|
-
const root = nodes.get_node();
|
|
1345
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1346
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1347
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1348
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1349
|
-
true
|
|
1350
|
-
);
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
// strong emphasis
|
|
1354
|
-
// strong emphasis + text
|
|
1355
|
-
test('pfm example 440', () => {
|
|
1356
|
-
const input = load_fixture('440');
|
|
1357
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1358
|
-
const root = nodes.get_node();
|
|
1359
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1360
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1361
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1362
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1363
|
-
true
|
|
1364
|
-
);
|
|
1365
|
-
});
|
|
1366
|
-
|
|
1367
|
-
// strong emphasis
|
|
1368
|
-
// text only
|
|
1369
|
-
test('pfm example 441', () => {
|
|
1370
|
-
const input = load_fixture('441');
|
|
1371
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1372
|
-
const root = nodes.get_node();
|
|
1373
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1374
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1375
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1376
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
1377
|
-
});
|
|
1378
|
-
|
|
1379
|
-
// strong emphasis
|
|
1380
|
-
// strong emphasis + text
|
|
1381
|
-
test('pfm example 442', () => {
|
|
1382
|
-
const input = load_fixture('442');
|
|
1383
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1384
|
-
const root = nodes.get_node();
|
|
1385
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1386
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1387
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1388
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1389
|
-
true
|
|
1390
|
-
);
|
|
1391
|
-
});
|
|
1392
|
-
|
|
1393
|
-
// strong emphasis
|
|
1394
|
-
// strong emphasis + text
|
|
1395
|
-
test('pfm example 443', () => {
|
|
1396
|
-
const input = load_fixture('443');
|
|
1397
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1398
|
-
const root = nodes.get_node();
|
|
1399
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1400
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1401
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1402
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1403
|
-
true
|
|
1404
|
-
);
|
|
1405
|
-
});
|
|
1406
|
-
|
|
1407
|
-
// strong emphasis
|
|
1408
|
-
// strong emphasis + text
|
|
1409
|
-
test('pfm example 444', () => {
|
|
1410
|
-
const input = load_fixture('444');
|
|
1411
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1412
|
-
const root = nodes.get_node();
|
|
1413
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1414
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1415
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1416
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1417
|
-
true
|
|
1418
|
-
);
|
|
1419
|
-
});
|
|
1420
|
-
|
|
1421
|
-
// strong emphasis
|
|
1422
|
-
// strong emphasis + text
|
|
1423
|
-
test('pfm example 445', () => {
|
|
1424
|
-
const input = load_fixture('445');
|
|
1425
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1426
|
-
const root = nodes.get_node();
|
|
1427
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1428
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1429
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1430
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1431
|
-
true
|
|
1432
|
-
);
|
|
1433
|
-
});
|
|
1434
|
-
|
|
1435
|
-
// strong emphasis
|
|
1436
|
-
// strong emphasis + text
|
|
1437
|
-
test('pfm example 446', () => {
|
|
1438
|
-
const input = load_fixture('446');
|
|
1439
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1440
|
-
const root = nodes.get_node();
|
|
1441
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1442
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1443
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1444
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1445
|
-
true
|
|
1446
|
-
);
|
|
1447
|
-
});
|
|
1448
|
-
|
|
1449
|
-
// strong emphasis
|
|
1450
|
-
// strong emphasis + text
|
|
1451
|
-
test('pfm example 447', () => {
|
|
1452
|
-
const input = load_fixture('447');
|
|
1453
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1454
|
-
const root = nodes.get_node();
|
|
1455
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1456
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1457
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1458
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1459
|
-
true
|
|
1460
|
-
);
|
|
1461
|
-
});
|
|
1462
|
-
|
|
1463
|
-
// emphasis
|
|
1464
|
-
// emphasis + text
|
|
1465
|
-
test('pfm example 448', () => {
|
|
1466
|
-
const input = load_fixture('448');
|
|
1467
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1468
|
-
const root = nodes.get_node();
|
|
1469
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1470
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1471
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1472
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1473
|
-
});
|
|
1474
|
-
|
|
1475
|
-
// emphasis
|
|
1476
|
-
// emphasis + text
|
|
1477
|
-
test('pfm example 449', () => {
|
|
1478
|
-
const input = load_fixture('449');
|
|
1479
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1480
|
-
const root = nodes.get_node();
|
|
1481
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1482
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1483
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1484
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1485
|
-
});
|
|
1486
|
-
|
|
1487
|
-
// emphasis
|
|
1488
|
-
// emphasis + text
|
|
1489
|
-
test('pfm example 450', () => {
|
|
1490
|
-
const input = load_fixture('450');
|
|
1491
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1492
|
-
const root = nodes.get_node();
|
|
1493
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1494
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1495
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1496
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
|
-
// emphasis
|
|
1500
|
-
// emphasis + text
|
|
1501
|
-
test('pfm example 451', () => {
|
|
1502
|
-
const input = load_fixture('451');
|
|
1503
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1504
|
-
const root = nodes.get_node();
|
|
1505
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1506
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1507
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1508
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1509
|
-
});
|
|
1510
|
-
|
|
1511
|
-
// emphasis
|
|
1512
|
-
// emphasis + text
|
|
1513
|
-
test('pfm example 452', () => {
|
|
1514
|
-
const input = load_fixture('452');
|
|
1515
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1516
|
-
const root = nodes.get_node();
|
|
1517
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1518
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1519
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1520
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1521
|
-
});
|
|
1522
|
-
|
|
1523
|
-
// emphasis
|
|
1524
|
-
// emphasis + text
|
|
1525
|
-
test('pfm example 453', () => {
|
|
1526
|
-
const input = load_fixture('453');
|
|
1527
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1528
|
-
const root = nodes.get_node();
|
|
1529
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1530
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1531
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1532
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1533
|
-
});
|
|
1534
|
-
|
|
1535
|
-
// PFM: *foo_ -> mismatched delimiters, no emphasis
|
|
1536
|
-
test('pfm example 454', () => {
|
|
1537
|
-
const input = load_fixture('454');
|
|
1538
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1539
|
-
const root = nodes.get_node();
|
|
1540
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1541
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1542
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1543
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
1544
|
-
});
|
|
1545
|
-
|
|
1546
|
-
// PFM: _foo* -> mismatched delimiters, no emphasis
|
|
1547
|
-
test('pfm example 455', () => {
|
|
1548
|
-
const input = load_fixture('455');
|
|
1549
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1550
|
-
const root = nodes.get_node();
|
|
1551
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1552
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1553
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1554
|
-
expect(kinds.every((k) => k === 'text')).toBe(true);
|
|
1555
|
-
});
|
|
1556
|
-
|
|
1557
|
-
// PFM: _*foo* -> unclosed emphasis, text
|
|
1558
|
-
test('pfm example 456', () => {
|
|
1559
|
-
const input = load_fixture('456');
|
|
1560
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1561
|
-
const root = nodes.get_node();
|
|
1562
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1563
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1564
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1565
|
-
expect(kinds).toContain('strong_emphasis');
|
|
1566
|
-
});
|
|
1567
|
-
|
|
1568
|
-
// PFM: *_foo_ -> text + emphasis
|
|
1569
|
-
test('pfm example 457', () => {
|
|
1570
|
-
const input = load_fixture('457');
|
|
1571
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1572
|
-
const root = nodes.get_node();
|
|
1573
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1574
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1575
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
1576
|
-
'text',
|
|
1577
|
-
'emphasis',
|
|
1578
|
-
]);
|
|
1579
|
-
});
|
|
1580
|
-
|
|
1581
|
-
// PFM: *foo*_ -> text
|
|
1582
|
-
test('pfm example 458', () => {
|
|
1583
|
-
const input = load_fixture('458');
|
|
1584
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1585
|
-
const root = nodes.get_node();
|
|
1586
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1587
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1588
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
1589
|
-
'strong_emphasis',
|
|
1590
|
-
'text',
|
|
1591
|
-
]);
|
|
1592
|
-
});
|
|
1593
|
-
|
|
1594
|
-
// PFM: _foo_* -> emphasis + text
|
|
1595
|
-
test('pfm example 459', () => {
|
|
1596
|
-
const input = load_fixture('459');
|
|
1597
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1598
|
-
const root = nodes.get_node();
|
|
1599
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1600
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1601
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
1602
|
-
'emphasis',
|
|
1603
|
-
'text',
|
|
1604
|
-
]);
|
|
1605
|
-
});
|
|
1606
|
-
|
|
1607
|
-
// strong emphasis
|
|
1608
|
-
// strong emphasis + text
|
|
1609
|
-
test('pfm example 460', () => {
|
|
1610
|
-
const input = load_fixture('460');
|
|
1611
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1612
|
-
const root = nodes.get_node();
|
|
1613
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1614
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1615
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1616
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1617
|
-
true
|
|
1618
|
-
);
|
|
1619
|
-
});
|
|
1620
|
-
|
|
1621
|
-
// PFM: *_foo_* -> strong wrapping emphasis (both close correctly)
|
|
1622
|
-
test('pfm example 461', () => {
|
|
1623
|
-
const input = load_fixture('461');
|
|
1624
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1625
|
-
const root = nodes.get_node();
|
|
1626
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1627
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1628
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual([
|
|
1629
|
-
'strong_emphasis',
|
|
1630
|
-
]);
|
|
1631
|
-
// strong wraps emphasis wraps text
|
|
1632
|
-
const strong = nodes.get_node(paragraph.children[0]);
|
|
1633
|
-
expect(get_all_child_kinds(nodes, strong.index)).toEqual(['emphasis']);
|
|
1634
|
-
const emph = nodes.get_node(strong.children[0]);
|
|
1635
|
-
expect(get_all_child_kinds(nodes, emph.index)).toEqual(['text']);
|
|
1636
|
-
});
|
|
1637
|
-
|
|
1638
|
-
// emphasis
|
|
1639
|
-
// emphasis
|
|
1640
|
-
test('pfm example 462', () => {
|
|
1641
|
-
const input = load_fixture('462');
|
|
1642
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1643
|
-
const root = nodes.get_node();
|
|
1644
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1645
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1646
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1647
|
-
});
|
|
1648
|
-
|
|
1649
|
-
// emphasis
|
|
1650
|
-
// emphasis
|
|
1651
|
-
test('pfm example 463', () => {
|
|
1652
|
-
const input = load_fixture('463');
|
|
1653
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1654
|
-
const root = nodes.get_node();
|
|
1655
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1656
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1657
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1658
|
-
});
|
|
1659
|
-
|
|
1660
|
-
// strong emphasis
|
|
1661
|
-
// strong emphasis + text
|
|
1662
|
-
test('pfm example 464', () => {
|
|
1663
|
-
const input = load_fixture('464');
|
|
1664
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1665
|
-
const root = nodes.get_node();
|
|
1666
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1667
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1668
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1669
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1670
|
-
true
|
|
1671
|
-
);
|
|
1672
|
-
});
|
|
1673
|
-
|
|
1674
|
-
// emphasis
|
|
1675
|
-
// emphasis
|
|
1676
|
-
test('pfm example 465', () => {
|
|
1677
|
-
const input = load_fixture('465');
|
|
1678
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1679
|
-
const root = nodes.get_node();
|
|
1680
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1681
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1682
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1683
|
-
});
|
|
1684
|
-
|
|
1685
|
-
// strong emphasis
|
|
1686
|
-
// strong emphasis + text
|
|
1687
|
-
test('pfm example 466', () => {
|
|
1688
|
-
const input = load_fixture('466');
|
|
1689
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1690
|
-
const root = nodes.get_node();
|
|
1691
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1692
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1693
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1694
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1695
|
-
true
|
|
1696
|
-
);
|
|
1697
|
-
});
|
|
1698
|
-
|
|
1699
|
-
// strong emphasis
|
|
1700
|
-
// strong emphasis
|
|
1701
|
-
test('pfm example 467', () => {
|
|
1702
|
-
const input = load_fixture('467');
|
|
1703
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1704
|
-
const root = nodes.get_node();
|
|
1705
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1706
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1707
|
-
// PFM: _*foo*_ -> emphasis
|
|
1708
|
-
expect(get_all_child_kinds(nodes, paragraph.index)).toEqual(['emphasis']);
|
|
1709
|
-
});
|
|
1710
|
-
|
|
1711
|
-
// emphasis
|
|
1712
|
-
// emphasis
|
|
1713
|
-
test('pfm example 468', () => {
|
|
1714
|
-
const input = load_fixture('468');
|
|
1715
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1716
|
-
const root = nodes.get_node();
|
|
1717
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1718
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1719
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1720
|
-
expect(kinds).toContain('emphasis');
|
|
1721
|
-
});
|
|
1722
|
-
|
|
1723
|
-
// strong emphasis
|
|
1724
|
-
// emphasis + text
|
|
1725
|
-
test('pfm example 469', () => {
|
|
1726
|
-
const input = load_fixture('469');
|
|
1727
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1728
|
-
const root = nodes.get_node();
|
|
1729
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1730
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1731
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1732
|
-
expect(kinds.some((k) => k === 'emphasis' || k === 'text')).toBe(true);
|
|
1733
|
-
});
|
|
1734
|
-
|
|
1735
|
-
// strong emphasis + emphasis
|
|
1736
|
-
// strong emphasis + text
|
|
1737
|
-
test('pfm example 470', () => {
|
|
1738
|
-
const input = load_fixture('470');
|
|
1739
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1740
|
-
const root = nodes.get_node();
|
|
1741
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1742
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1743
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1744
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1745
|
-
true
|
|
1746
|
-
);
|
|
1747
|
-
});
|
|
1748
|
-
|
|
1749
|
-
// strong emphasis
|
|
1750
|
-
// TODO: understand semantic meaning
|
|
1751
|
-
// strong emphasis + text
|
|
1752
|
-
test('pfm example 471', () => {
|
|
1753
|
-
const input = load_fixture('471');
|
|
1754
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1755
|
-
const root = nodes.get_node();
|
|
1756
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1757
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1758
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1759
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1760
|
-
true
|
|
1761
|
-
);
|
|
1762
|
-
});
|
|
1763
|
-
|
|
1764
|
-
// strong emphasis
|
|
1765
|
-
// TODO: understand semantic meaning
|
|
1766
|
-
// strong emphasis + text
|
|
1767
|
-
test('pfm example 472', () => {
|
|
1768
|
-
const input = load_fixture('472');
|
|
1769
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1770
|
-
const root = nodes.get_node();
|
|
1771
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1772
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1773
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1774
|
-
expect(kinds.some((k) => k === 'strong_emphasis' || k === 'text')).toBe(
|
|
1775
|
-
true
|
|
1776
|
-
);
|
|
1777
|
-
});
|
|
1778
|
-
|
|
1779
|
-
// *[bar*](/url), emphasis delimiters around link syntax are text
|
|
1780
|
-
test('pfm example 473', () => {
|
|
1781
|
-
const input = load_fixture('473');
|
|
1782
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1783
|
-
|
|
1784
|
-
const root = nodes.get_node();
|
|
1785
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1786
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1787
|
-
|
|
1788
|
-
// No emphasis should be formed, all children should be text
|
|
1789
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1790
|
-
expect(kinds).not.toContain('strong_emphasis');
|
|
1791
|
-
expect(kinds).not.toContain('emphasis');
|
|
1792
|
-
});
|
|
1793
|
-
|
|
1794
|
-
// _foo [bar_](/url), emphasis delimiters around link syntax are text
|
|
1795
|
-
test('pfm example 474', () => {
|
|
1796
|
-
const input = load_fixture('474');
|
|
1797
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1798
|
-
|
|
1799
|
-
const root = nodes.get_node();
|
|
1800
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1801
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1802
|
-
|
|
1803
|
-
// No emphasis should be formed
|
|
1804
|
-
const kinds = get_all_child_kinds(nodes, paragraph.index);
|
|
1805
|
-
expect(kinds).not.toContain('strong_emphasis');
|
|
1806
|
-
expect(kinds).not.toContain('emphasis');
|
|
1807
|
-
});
|
|
1808
|
-
|
|
1809
|
-
// *<img src="foo" title="*"/>, HTML takes precedence over emphasis
|
|
1810
|
-
test('pfm example 475', () => {
|
|
1811
|
-
const input = load_fixture('475');
|
|
1812
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1813
|
-
|
|
1814
|
-
const root = nodes.get_node();
|
|
1815
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1816
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1817
|
-
const kinds = paragraph.children.map((i) => nodes.get_node(i).kind);
|
|
1818
|
-
expect(kinds).not.toContain('emphasis');
|
|
1819
|
-
});
|
|
1820
|
-
|
|
1821
|
-
// *<a href="*">, HTML takes precedence, no emphasis
|
|
1822
|
-
test('pfm example 476', () => {
|
|
1823
|
-
const input = load_fixture('476');
|
|
1824
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1825
|
-
|
|
1826
|
-
const root = nodes.get_node();
|
|
1827
|
-
const children = root.children.map((i) => nodes.get_node(i));
|
|
1828
|
-
const paragraph = children.find((n) => n.kind === 'paragraph');
|
|
1829
|
-
expect(paragraph).toBeDefined();
|
|
1830
|
-
|
|
1831
|
-
const kinds = paragraph!.children.map((i) => nodes.get_node(i).kind);
|
|
1832
|
-
expect(kinds).not.toContain('strong_emphasis');
|
|
1833
|
-
expect(kinds).not.toContain('emphasis');
|
|
1834
|
-
});
|
|
1835
|
-
|
|
1836
|
-
// _<a href="_">, HTML takes precedence, no emphasis
|
|
1837
|
-
test('pfm example 477', () => {
|
|
1838
|
-
const input = load_fixture('477');
|
|
1839
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1840
|
-
|
|
1841
|
-
const root = nodes.get_node();
|
|
1842
|
-
const children = root.children.map((i) => nodes.get_node(i));
|
|
1843
|
-
const paragraph = children.find((n) => n.kind === 'paragraph');
|
|
1844
|
-
expect(paragraph).toBeDefined();
|
|
1845
|
-
|
|
1846
|
-
const kinds = paragraph!.children.map((i) => nodes.get_node(i).kind);
|
|
1847
|
-
expect(kinds).not.toContain('strong_emphasis');
|
|
1848
|
-
expect(kinds).not.toContain('emphasis');
|
|
1849
|
-
});
|
|
1850
|
-
|
|
1851
|
-
// *a `*`*, code span takes precedence over the inner *
|
|
1852
|
-
test('pfm example 478', () => {
|
|
1853
|
-
const input = load_fixture('478');
|
|
1854
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1855
|
-
|
|
1856
|
-
const root = nodes.get_node();
|
|
1857
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1858
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1859
|
-
const kinds = paragraph.children.map((i) => nodes.get_node(i).kind);
|
|
1860
|
-
expect(kinds).toEqual(['strong_emphasis']);
|
|
1861
|
-
const wrapper = nodes.get_node(paragraph.children[0]);
|
|
1862
|
-
const inner = wrapper.children.map((i) => nodes.get_node(i).kind);
|
|
1863
|
-
expect(inner).toEqual(['text', 'code_span']);
|
|
1864
|
-
});
|
|
1865
|
-
|
|
1866
|
-
// _a `_`_, code span takes precedence over the inner _
|
|
1867
|
-
test('pfm example 479', () => {
|
|
1868
|
-
const input = load_fixture('479');
|
|
1869
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1870
|
-
|
|
1871
|
-
const root = nodes.get_node();
|
|
1872
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1873
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1874
|
-
const kinds = paragraph.children.map((i) => nodes.get_node(i).kind);
|
|
1875
|
-
expect(kinds).toEqual(['emphasis']);
|
|
1876
|
-
const wrapper = nodes.get_node(paragraph.children[0]);
|
|
1877
|
-
const inner = wrapper.children.map((i) => nodes.get_node(i).kind);
|
|
1878
|
-
expect(inner).toEqual(['text', 'code_span']);
|
|
1879
|
-
});
|
|
1880
|
-
|
|
1881
|
-
// **a<https://foo.bar/?q=**>, autolink takes precedence over strong
|
|
1882
|
-
test('pfm example 480', () => {
|
|
1883
|
-
const input = load_fixture('480');
|
|
1884
|
-
const { nodes } = parse_markdown_svelte(input);
|
|
1885
|
-
|
|
1886
|
-
const root = nodes.get_node();
|
|
1887
|
-
const paragraph = nodes.get_node(root.children[0]);
|
|
1888
|
-
expect(paragraph.kind).toBe('paragraph');
|
|
1889
|
-
const kinds = paragraph.children.map((i) => nodes.get_node(i).kind);
|
|
1890
|
-
expect(kinds).not.toContain('strong_emphasis');
|
|
1891
|
-
});
|
|
1892
|
-
});
|