fixtures #
Every parser test fixture rendered live alongside its parsed MdzNode tree — the
same corpus the usage docs and the parser tests are checked against.
412 fixtures
adjacent_empty_bold #
****_italic_****italic
JSON
adjacent_multiple_sequence #
**b1**_i1_**b2**_i2_b1i1b2i2
JSON
adjacent_unclosed_italic #
**bold**_unclosedbold_unclosed
JSON
adjacent_with_numbers #
123**bold**_italic_456123bold_italic_456
JSON
adjacent_with_preceding_underscore #
text_name**bold**_italic_text_namebolditalic
JSON
adjacent_with_trailing_text #
word**bold**_italic_wordwordbold_italic_word
JSON
all_three_nested_reverse_close #
**_~~text~~_**text
JSON
autolink_adjacent_bold #
**bold**https://fuz.devboldhttps://fuz.dev
JSON
autolink_inside_bold #
**bold https://fuz.dev text**bold https://fuz.dev text
JSON
backtick_inside_bold_with_newline #
**bold `code
still** bold`bold `code still bold`
JSON
blockquote_backtrack_second_marker #
> >x
>x
JSON
blockquote_bare_literal #
>
>
JSON
blockquote_bare_then_quote #
>
> a
>
a
JSON
blockquote_basic #
> a
a
JSON
blockquote_blank_splits #
> a
> b
a
b
JSON
blockquote_bold_across_lines #
> **a
> b**
a b
JSON
blockquote_content_slop #
> b
b
JSON
blockquote_crlf #
> a
> b
a b
JSON
blockquote_deepen_multiple #
> a
> > > b
a
b
JSON
blockquote_deepen_then_dedent #
>>> a
> b
a
b
JSON
blockquote_deeper_empty_is_content #
> a
> >
a >
JSON
blockquote_fence #
> ```js
> code
> ```
after
codeafter
JSON
blockquote_fence_no_lazy #
> ```
code
code
JSON
blockquote_fence_unclosed_quote_end #
> ```
> code
after
codeafter
JSON
blockquote_full_blank_after_nested #
> > a
> b
a
b
JSON
blockquote_heading #
> a
> # h
> b
a
h
b
JSON
blockquote_hr #
> a
> ---
> b
a
b
JSON
blockquote_in_item #
- a
> q
> r
- a
q r
JSON
blockquote_in_item_bare_prefix_continuation #
- a
>
- a >
JSON
blockquote_in_item_blank_split #
- a
> q
> r
- a
q
r
JSON
blockquote_in_item_col0_quote #
- a
> q
- a
q
JSON
blockquote_in_item_indent_slop #
- a
> q
> r
- a
q r
JSON
blockquote_in_item_nested_attach #
- a
- b
> q
- a
- b
q
JSON
blockquote_in_item_then_dedent_text #
- a
> q
back
- a
q
back
JSON
blockquote_in_item_with_list #
- a
> - x
> - y
- a
- x
- y
JSON
blockquote_indented_line_ends #
> a
> b
a
> b
JSON
blockquote_inline_bounded_by_blank #
> **a
>
> b**
**a
b**
JSON
blockquote_inquote_blank_cr #
> a
>
> b
a
b
JSON
blockquote_inquote_blank_paragraphs #
> a
>
> b
a
b
JSON
blockquote_inquote_blank_run #
> a
>
>
> b
a
b
JSON
blockquote_inquote_blank_trailing_ws #
> a
>
> b
a
b
JSON
blockquote_interrupts_item_run #
- if x
> 5 then
- if x
5 then
JSON
blockquote_interrupts_paragraph #
text
> q
text
q
JSON
blockquote_list #
> - x
> - y
- x
- y
JSON
blockquote_list_containment_blank #
> - a
>
> - b
- a
- b
JSON
blockquote_list_continuation #
> - a
> cont
- a cont
JSON
blockquote_marker_line_inline #
- > q
- > q
JSON
blockquote_mixed_nesting_spelling #
>> a
> > b
a b
JSON
blockquote_nested_list #
> - x
> - y
> - z
- x
- y
- z
JSON
blockquote_no_lazy #
> a
b
a
b
JSON
blockquote_no_lazy_nested #
> > a
> b
a
b
JSON
blockquote_no_lazy_sandwich #
> a
b
> c
a
b
c
JSON
blockquote_no_space_literal #
>a b
>a b
JSON
blockquote_ordered_guard #
> The year
> 2024. was wild
The year 2024. was wild
JSON
blockquote_ordered_interrupt #
> foo
> 1. bar
foo
- bar
JSON
blockquote_partial_prefix_blank #
> > a
>
> b
a
b
JSON
blockquote_softbreak_lines #
> a
> b
a b
JSON
blockquote_spaced_nested #
> > a
a
JSON
blockquote_tab_after_literal #
> a
> a
JSON
blockquote_tight_nested #
>> a
a
JSON
blockquote_tight_run_content_literal #
>>x
>>x
JSON
blocks_consecutive_mixed #
# Heading
---
```
code
```
More text.
Heading
codeMore text.
JSON
bold_interrupts_strikethrough #
**bold ~~strike** after~~bold ~~strike after~~
JSON
bold_invalid_across_paragraph_break #
**unclosed bold
unopened bold****unclosed bold
unopened bold**
JSON
bold_invalid_across_whitespace_blank #
**a
b****a
b**
JSON
bold_italic_intraword_underscore #
snake**_case_**snakecase
JSON
bold_multiline #
**bold text
continues here**
bold text continues here
JSON
bold_nested_code #
**bold `code` text**bold code text
JSON
bold_nested_italic #
**bold with _italic_ inside**bold with italic inside
JSON
bold_nested_link #
**see [Example](https://fuz.dev) here**see Example here
JSON
bold_nested_strikethrough_adjacent_italic #
**bold ~~strike_italic_~~**bold strike_italic_
JSON
bold_nested_strikethrough_nested_code #
**bold ~~strikethrough `code`~~ text**bold strikethrough textcode
JSON
bold_preceded_by_double_underscore #
text_name_**bold**text_name_bold
JSON
bold_simple #
hello **bold** worldhello bold world
JSON
bold_strikethrough_italic_adjacent_edge_case #
**~~_All_ three~~ combi**_ned_All three combined
JSON
bold_unclosed_with_italic #
**bold _italic_**bold italic
JSON
bold_with_failed_italic #
_italic **bold_text**_italic bold_text
JSON
bold_with_failed_strikethrough #
~strike **bold~text**~strike bold~text
JSON
bold_with_reverted_link_only #
**[**[
JSON
bold_with_reverted_strikethrough_only #
**~**~
JSON
bold_with_space_after_opening #
** text**text
JSON
bold_with_unclosed_code #
**bold `backtick** after`bold `backtick after`
JSON
bold_with_unclosed_italic #
**bold _italic** unclosed_bold _italic unclosed_
JSON
cascading_delimiter_failures #
_a **b _c ~~d~~ e_ f** g__a b c d e f g_
JSON
code_block_adjacent_inline #
```
block
```
`inline`blockinline
JSON
code_block_at_end #
Some text before.
```
code at end
```
Some text before.
code at endJSON
code_block_at_start #
```
code at start
```
Some text after.
code at startSome text after.
JSON
code_block_between_paragraphs #
First paragraph.
```
code block
```
Second paragraph.
First paragraph.
code blockSecond paragraph.
JSON
code_block_between_text_no_blank #
Some text.
```
code here
```
More text.
Some text.
code hereMore text.
JSON
code_block_breaks_inline #
**Bold starts
```
code
```
Bold ends**
**Bold starts
codeBold ends**
JSON
code_block_crlf #
```ts
code
```code
JSON
code_block_empty #
```
```
JSON
code_block_empty_between_paragraphs #
before
```
```
after
before
after
JSON
code_block_empty_with_lang #
```ts
```
JSON
code_block_fence_trailing_text #
```
code
```x
more
```
code
```x
moreJSON
code_block_five_backticks #
`````
code with five backticks
`````
code with five backticksJSON
code_block_four_backticks #
````
code with four backticks
````
code with four backticksJSON
code_block_indented_closer #
```
indented closer stays content - fence consumes to EOF
```
indented closer stays content - fence consumes to EOF
```JSON
code_block_invalid_indented_before #
```
not a code block (indented before)
```
``` not a code block (indented before)
JSON
code_block_lang_special_chars #
```c++
int main() {}
```
int main() {}JSON
code_block_lang_unicode #
```🎉typescript
const foo = 'bar';
```
const foo = 'bar';JSON
code_block_longer_closer #
```
code
````
codeJSON
code_block_multiple #
```
first block
```
```js
second block
```
```
third block
```
first blocksecond blockthird blockJSON
code_block_nested_four_in_five #
`````
Use ```` for nested blocks
`````
Use ```` for nested blocksJSON
code_block_nested_three_in_four #
````
Use ``` to create code blocks
````
Use ``` to create code blocksJSON
code_block_only_newlines #
```
```
JSON
code_block_shorter_closer_content #
````
code
```
code
```JSON
code_block_simple #
```
function hello() {
console.log("world");
}
```
function hello() {
console.log("world");
}JSON
code_block_single_newline_after #
```
code
```
text
codetext
JSON
code_block_single_newline_before #
text
```
code
```
text
codeJSON
code_block_unclosed #
```ts
function foo() {
// missing closing fence - consumes to EOF as a code block
function foo() {
// missing closing fence - consumes to EOF as a code blockJSON
code_block_whitespace #
```
tabs and spaces
indentation
preserved
```
tabs and spaces
indentation
preservedJSON
code_block_with_lang #
```ts
const x: number = 42;
```
const x: number = 42;JSON
code_block_with_tabs #
```js
function foo() {
return "tab indented";
}
```
function foo() {
return "tab indented";
}JSON
code_consecutive #
`foo``bar`foobar
JSON
code_duplicate_identifier_positions #
Some text with `DocsLink` `DocsLink` references.Some text with DocsLink DocsLink references.
JSON
code_invalid_across_paragraph_break #
`unclosed code
unopened code`
`unclosed code
unopened code`
JSON
code_invalid_empty #
text `` more texttext `` more text
JSON
code_invalid_newline_after_opening #
`
content`
` content`
JSON
code_invalid_newline_before_closing #
`invalid code with newline
`
`invalid code with newline `
JSON
code_invalid_with_newline #
`invalid with no closing backtick
`invalid with no closing backtick
JSON
code_multiline #
text with `code that
spans lines` more text
text with `code that spans lines` more text
JSON
code_multiline_with_angle_brackets #
Plumbing: `create_zzz_app` gained an
`extra_rpc_actions_factory?: (deps, backend) =>
ReadonlyArray<RpcAction>` hook so the core plumbs the reset action.
Plumbing: create_zzz_app gained an
`extra_rpc_actions_factory?: (deps, backend) =>
ReadonlyArray<RpcAction>` hook so the core plumbs the reset action.
JSON
code_simple #
use `FooBar` hereuse FooBar here
JSON
code_special_chars #
use `**bold**` syntax or `~~tilde~~` for strikethroughuse **bold** syntax or ~~tilde~~ for strikethrough
JSON
code_unicode #
use `🎉` emoji or `中文` charactersuse 🎉 emoji or 中文 characters
JSON
code_with_link_nearby #
`code` then https://fuz.devcode then https://fuz.dev
JSON
component_adjacent_bold #
**bold**<Alert>text</Alert>bold<Alert>text</Alert>
JSON
component_at_end #
Text before.
<Alert>Component at document end.</Alert>Text before.
<Alert>Component at document end.</Alert>JSON
component_at_start #
<Alert>Component at document start.</Alert>
Text after.<Alert>Component at document start.</Alert>Text after.
JSON
component_between_paragraphs #
First paragraph.
<Alert>Component between paragraphs.</Alert>
Second paragraph.First paragraph.
<Alert>Component between paragraphs.</Alert>Second paragraph.
JSON
component_breaks_inline #
Text with **bold <Alert>component breaks inline</Alert> more bold**.Text with bold <Alert>component breaks inline</Alert> more bold.
JSON
component_empty #
<Alert></Alert><Alert />JSON
component_inline #
Text before <Alert>warning</Alert> text after.Text before <Alert>warning</Alert> text after.
JSON
component_mismatched #
<Alert>Mismatched closing tag.</Card><Alert>Mismatched closing tag.</Card>
JSON
component_multiline #
<Alert>First line.
Second line.
Third line.</Alert><Alert>First line.
Second line.
Third line.</Alert>JSON
component_multiple #
<Alert>First alert.</Alert>
<Card>Second card.</Card><Alert>First alert.</Alert><Card>Second card.</Card>JSON
component_nested #
<Card><Alert>Nested content.</Alert></Card><Card><Alert>Nested content.</Alert></Card>JSON
component_paragraph_break #
<Alert>First paragraph.
Second paragraph.</Alert>
<Alert>First paragraph.
Second paragraph.</Alert>
JSON
component_self_closing #
<Alert /><Alert />JSON
component_simple #
<Alert>This is an alert.</Alert><Alert>This is an alert.</Alert>JSON
component_space_before_closing #
<Alert >Content with space before closing bracket.</Alert><Alert>Content with space before closing bracket.</Alert>JSON
component_unclosed #
<Alert>This is unclosed text.<Alert>This is unclosed text.
JSON
component_with_formatting #
<Alert>This has **bold** and _italic_ text.</Alert><Alert>This has bold and italic text.</Alert>JSON
consecutive_bolds_with_space #
**bold** ** more**bold more
JSON
delimiter_at_end #
text_text_
JSON
delimiter_at_start #
_text_text
JSON
delimiter_with_punctuation #
(_text_)(text)
JSON
element_bold_crossing_closer #
<b>**a</b>x**
<b>**a</b>x**
JSON
element_code_crossing_closer #
<b>`a</b>x`
<b>`a</b>x`
JSON
element_div #
<div>This is a div element.</div><div>This is a div element.</div>JSON
element_empty #
<div></div><div />JSON
element_interleaved_overlap #
<b><i>a</b>b</i>
<b><i>a</b>b</i>
JSON
element_multiline #
<div>First line.
Second line.
Third line.</div><div>First line.
Second line.
Third line.</div>JSON
element_nested_same_name #
<b>x<b>y</b></b>
<b>x<b>y</b></b>JSON
element_nested_same_name_unclosed #
<b>x<b>y</b>
<b>x<b>y</b>
JSON
element_span #
Text with <span>inline span</span> element.Text with <span>inline span</span> element.
JSON
element_void #
line<br />break
<br>dropped</br>
line<br />break
<br>dropped</br>JSON
empty_bold #
text **** more texttext **** more text
JSON
empty_formats_adjacent #
**** __ ~~~~**** __ ~~~~
JSON
formatting_adjacent #
**bold**_italic_bolditalic
JSON
formatting_all_combined #
**~~_`text`_~~**text
JSON
formatting_alternating_adjacent #
_a_**b**_c_abc
JSON
formatting_at_paragraph_end #
paragraph ending with **bold**
paragraph 2paragraph ending with bold
paragraph 2
JSON
formatting_at_paragraph_start #
paragraph 1
**bold starts paragraph 2**paragraph 1
bold starts paragraph 2
JSON
formatting_deeply_nested #
**bold _italic ~~strike `code` text~~_**bold italic strike code text
JSON
formatting_multiple_unclosed #
**bold _italic ~~strike text**bold _italic ~~strike text
JSON
formatting_single_char #
`a` _b_ **c** ~~d~~a b c d
JSON
formatting_stray_closers #
text** _before_ **bold**text before bold**
JSON
formatting_triple_adjacent #
**bold**_italic_~~strike~~bolditalicstrike
JSON
heading_after_text_at_eof #
some text
# Headingsome text
Heading
JSON
heading_at_end #
First paragraph.
# Heading at document end
First paragraph.
Heading at document end
JSON
heading_at_start #
# Heading at document start
First paragraph after heading.
Heading at document start
First paragraph after heading.
JSON
heading_breaks_inline #
**Bold starts here
# Heading interrupts
Bold ends here**
**Bold starts here
Heading interrupts
Bold ends here**
JSON
heading_consecutive_no_blank #
# First heading
## Second heading
First heading
Second heading
JSON
heading_h1 #
# Level 1 Heading
Level 1 Heading
JSON
heading_h2 #
## Level 2 Heading
Level 2 Heading
JSON
heading_h3 #
### Level 3 Heading
Level 3 Heading
JSON
heading_h4 #
#### Level 4 Heading
Level 4 Heading
JSON
heading_h5 #
##### Level 5 Heading
Level 5 Heading
JSON
heading_h6 #
###### Level 6 Heading
Level 6 Heading
JSON
heading_interrupts_unclosed_bold #
**bold text
# Heading here
**bold text
Heading here
JSON
heading_invalid_indented #
# Leading space
# Leading space
JSON
heading_invalid_no_content #
#
#
JSON
heading_invalid_no_space #
#No space after hash
#No space after hash
JSON
heading_invalid_seven_hashes #
####### Seven hashes
####### Seven hashes
JSON
heading_invalid_whitespace_content #
#
x# x
JSON
heading_multiline #
# Heading
This is a new paragraph, not part of heading.
Heading
This is a new paragraph, not part of heading.
JSON
heading_multiple #
# Level 1
## Level 2
### Level 3
Level 1
Level 2
Level 3
JSON
heading_single_newline_after #
# Heading without blank line after
More text continues here.
Heading without blank line after
More text continues here.
JSON
heading_single_newline_before #
Some text
# Heading without blank line before
More text.
Some text
Heading without blank line before
More text.
JSON
heading_trailing_hashes #
# Heading with trailing hashes ###
Heading with trailing hashes ###
JSON
heading_with_element_tag #
## Generics like Array<string> in headings
Generics like Array<string> in headings
JSON
heading_with_inline #
## Heading with **bold** and _italic_ and `code`
Heading with bold and italic and code
JSON
heading_with_tag #
## Heading with <Alert>tag</Alert> inside
Heading with <Alert>tag</Alert> inside
JSON
heading_with_unclosed_tag #
### Why object literals beat Pick<GodType>
Some paragraph after the heading.
Why object literals beat Pick<GodType>
Some paragraph after the heading.
JSON
hr_after_bold_no_blank #
**bold**
---
more text
bold
more text
JSON
hr_after_paragraph_break #
First paragraph.
---First paragraph.
JSON
hr_at_end #
Some text before.
---Some text before.
JSON
hr_at_start #
---
Some text after.Some text after.
JSON
hr_between_paragraphs #
First paragraph.
---
Second paragraph.First paragraph.
Second paragraph.
JSON
hr_between_text_no_blank #
Some text.
---
More text.
Some text.
More text.
JSON
hr_breaks_inline #
**Bold starts
---
Bold ends**
**Bold starts
Bold ends**
JSON
hr_invalid_four_hyphens #
--------
JSON
hr_invalid_not_alone #
text---texttext---text
JSON
hr_invalid_two_hyphens #
----
JSON
hr_invalid_with_leading_whitespace #
------
JSON
hr_invalid_with_spaces #
- - -- - -
JSON
hr_multiple #
---
---
---JSON
hr_simple #
---JSON
hr_single_newline_after #
---
Some text.Some text.
JSON
hr_single_newline_before #
Some text.
---Some text.
JSON
hr_trailing_tab #
--- JSON
hr_with_trailing_whitespace #
--- JSON
interleaved_formatting_overlap #
**bold _italic both** separate_bold _italic both separate_
JSON
intraword_asterisk_bold #
foo**bar**baz
foobarbaz
JSON
intraword_backtick_code #
foo`bar`baz
foobarbaz
JSON
intraword_bold_both_ends #
**foo**bar**
foobar**
JSON
intraword_bold_leading #
**foo**bar
foobar
JSON
intraword_bold_trailing #
foo**bar**
foobar
JSON
intraword_tilde_leading #
~foo~bar
~foo~bar
JSON
intraword_tilde_strikethrough #
foo~bar~baz
foo~bar~baz
JSON
intraword_tilde_trailing #
foo~bar~
foo~bar~
JSON
intraword_underscore_adjacent_valid #
_valid_ snake_case_name _another_
valid snake_case_name another
JSON
intraword_underscore_both_ends #
_foo_bar_
_foo_bar_
JSON
intraword_underscore_constant_case #
CONSTANT_CASE_NAME
CONSTANT_CASE_NAME
JSON
intraword_underscore_function_name #
function_name_with_underscores
function_name_with_underscores
JSON
intraword_underscore_leading #
_foo_bar
_foo_bar
JSON
intraword_underscore_mixed #
word _emphasis_ and snake_case_name
word emphasis and snake_case_name
JSON
intraword_underscore_multiple #
foo_bar_baz
foo_bar_baz
JSON
intraword_underscore_single #
foo_bar
foo_bar
JSON
intraword_underscore_snake_case #
snake_case_identifier
snake_case_identifier
JSON
intraword_underscore_trailing #
foo_bar_
foo_bar_
JSON
italic_adjacent_bold #
_italic_**bold**italicbold
JSON
italic_adjacent_strikethrough #
_italic_~~strike~~italicstrike
JSON
italic_dunder_literal #
__init__ and __repr__ are dunders
__init__ and __repr__ are dunders
JSON
italic_empty #
____
JSON
italic_failed_closer_greedy #
the _user_id field and _name fields_
the _user_id field and name fields
JSON
italic_interrupted_by_bold #
text** _before **bold**_text _before bold**_
JSON
italic_interrupts_bold #
_italic **bold_ after**italic **bold after**
JSON
italic_invalid_across_paragraph_break #
_unclosed italic
unopened italic_
_unclosed italic
unopened italic_
JSON
italic_multiline #
_italic text
continues here_
italic text continues here
JSON
italic_nested_bold_underscore #
_italic with **bold** inside_italic with bold inside
JSON
italic_nested_code_underscore #
_italic `code` text_italic code text
JSON
italic_nested_link #
_see [Example](https://fuz.dev) here_see Example here
JSON
italic_reopen_after_failed_closer #
_a -_b- c_
_a -b- c
JSON
italic_simple_underscore #
hello _italic_ worldhello italic world
JSON
italic_unclosed_in_prose #
see _word here
see _word here
JSON
italic_unclosed_with_bold #
_italic **bold**_italic bold
JSON
italic_with_space_before_closing #
_text _text
JSON
italic_with_space_before_closing_after_bold #
**bold**_unclosed _boldunclosed
JSON
italic_with_unclosed_bold #
_italic **bold_**italic **bold**
JSON
italic_with_unclosed_strikethrough #
_italic ~~strike_ after~~italic ~~strike after~~
JSON
link_external_consecutive #
Check https://fuz.dev and https://fuz.dev/docs today.Check https://fuz.dev and https://fuz.dev/docs today.
JSON
link_external_http #
See http://fuz.dev for more info.See http://fuz.dev for more info.
JSON
link_external_http_titlecase #
Visit Http://fuz.dev for details.Visit Http://fuz.dev for details.
JSON
link_external_http_uppercase #
Visit HTTP://fuz.dev for details.Visit HTTP://fuz.dev for details.
JSON
link_external_https #
Visit https://fuz.dev for details.Visit https://fuz.dev for details.
JSON
link_external_https_mixedcase #
Visit HtTpS://fuz.dev for details.Visit HtTpS://fuz.dev for details.
JSON
link_external_https_titlecase #
Visit Https://fuz.dev for details.Visit Https://fuz.dev for details.
JSON
link_external_https_uppercase #
Visit HTTPS://fuz.dev for details.Visit HTTPS://fuz.dev for details.
JSON
link_external_https_uppercase_bare #
HTTPS://fuz.devJSON
link_external_https_uppercase_trailing_punct #
See HTTPS://fuz.dev.See HTTPS://fuz.dev.
JSON
link_external_https_uppercase_with_path_query #
See HTTPS://fuz.dev/docs?x=1.JSON
link_external_in_parens #
Check the documentation (https://fuz.dev) for details.Check the documentation (https://fuz.dev) for details.
JSON
link_external_mid_comma #
See https://fuz.dev/a,b for details.See https://fuz.dev/a,b for details.
JSON
link_external_multiple_in_paragraph #
Visit https://fuz.dev for docs, https://fuz.dev/tutorials for tutorials, and https://fuz.dev/support for support.Visit https://fuz.dev for docs, https://fuz.dev/tutorials for tutorials, and https://fuz.dev/support for support.
JSON
link_external_parens_balanced #
See https://fuz.dev/wiki/Foo_(bar) for context.See https://fuz.dev/wiki/Foo_(bar) for context.
JSON
link_external_parens_unmatched #
See https://fuz.dev/path) for info.See https://fuz.dev/path) for info.
JSON
link_external_stops_at_backslash #
See https://fuz.dev/path\foo for info.
See https://fuz.dev/path\foo for info.
JSON
link_external_stops_at_backtick #
See https://fuz.dev/path`foo for info.
See https://fuz.dev/path`foo for info.
JSON
link_external_stops_at_brace #
See https://fuz.dev/path{foo} for info.See https://fuz.dev/path{foo} for info.
JSON
link_external_stops_at_bracket #
See https://fuz.dev/path[foo] for info.See https://fuz.dev/path[foo] for info.
JSON
link_external_stops_at_caret #
See https://fuz.dev/path^foo for info.
See https://fuz.dev/path^foo for info.
JSON
link_external_stops_at_pipe #
See https://fuz.dev/path|foo for info.
See https://fuz.dev/path|foo for info.
JSON
link_external_trailing_comma #
Visit https://fuz.dev, then read on.Visit https://fuz.dev, then read on.
JSON
link_external_trailing_punctuation #
Visit https://fuz.dev. Also check https://fuz.dev/docs!Visit https://fuz.dev. Also check https://fuz.dev/docs!
JSON
link_external_with_fragment #
See https://fuz.dev#section for details.See https://fuz.dev#section for details.
JSON
link_external_with_query #
Search at https://fuz.dev?q=test for results.Search at https://fuz.dev?q=test for results.
JSON
link_internal_consecutive #
Visit /docs/api and /docs/introduction for information.Visit /docs/api and /docs/introduction for information.
JSON
link_internal_nested #
Check /docs/introduction for getting started.Check /docs/introduction for getting started.
JSON
link_internal_simple #
See /docs/api for the API documentation.See /docs/api for the API documentation.
JSON
link_internal_with_fragment #
Jump to /docs/api#api for details.Jump to /docs/api#api for details.
JSON
link_internal_with_query #
Search at /docs/api?q=test for results.Search at /docs/api?q=test for results.
JSON
link_invalid_double_slash #
Use // for comments in code.Use // for comments in code.
JSON
link_invalid_path_slash_only #
Just / alone should not link.Just / alone should not link.
JSON
link_invalid_url_no_protocol #
Plain ryanatkn.com should not auto-link.Plain ryanatkn.com should not auto-link.
JSON
link_invalid_url_protocol_only #
Just https:// alone should not link.Just https:// alone should not link.
JSON
link_javascript_protocol #
[click](javascript:alert(1))[click](javascript:alert(1))
JSON
link_markdown_complex #
See [docs](https://fuz.dev/path?q=test#section) for details.
See docs for details.
JSON
link_markdown_consecutive #
Visit [Example](https://fuz.dev) and [Docs](/docs/api) today.JSON
link_markdown_empty_text #
Check [](https://fuz.dev) for info.JSON
link_markdown_empty_url #
See [broken link]() here.See [broken link]() here.
JSON
link_markdown_external #
Visit [Example Site](https://fuz.dev) for details.Visit Example Site for details.
JSON
link_markdown_external_http #
Visit [example](http://fuz.dev) site.
Visit example site.
JSON
link_markdown_external_trailing_slash #
Visit [site](https://fuz.dev/) homepage.
Visit site homepage.
JSON
link_markdown_external_uppercase_scheme #
Visit [example](HTTPS://fuz.dev) site.Visit example site.
JSON
link_markdown_fragment_only #
Jump to [section](#section) on this page.
Jump to section on this page.
JSON
link_markdown_internal #
See [API Documentation](/docs/api) for reference.See API Documentation for reference.
JSON
link_markdown_internal_root #
Go to [home](/) page.
Go to home page.
JSON
link_markdown_invalid_whitespace_in_syntax #
Check [ text ]( https://fuz.dev ) with spaces.Check [ text ]( https://fuz.dev ) with spaces.
JSON
link_markdown_invalid_whitespace_in_url #
Link with [text](https://fuz.dev /docs) has space in URL.Link with [text](https://fuz.dev /docs) has space in URL.
JSON
link_markdown_nested_in_bold #
This is **[bold link](https://fuz.dev)** text.This is bold link text.
JSON
link_markdown_paren_code_span #
[a `)` b](/u) and [a `(x)` b](/u2)JSON
link_markdown_paren_in_reference #
[a](/u(1)) and [b](x(y)z)JSON
link_markdown_paren_in_text #
[a ) b](/u) and [a)b](/u2)JSON
link_markdown_parens_balanced_in_text #
[see (note)](/u) then [a (b (c) d) e](/u2)see (note) then a (b (c) d) e
JSON
link_markdown_query_only #
Try [search](?q=test) query.
Try search query.
JSON
link_markdown_text_all_formatting #
[**bold** _italic_ ~~strike~~ `code`](https://fuz.dev)JSON
link_markdown_unclosed #
This [text](https://fuz.dev is malformed.This [text](https://fuz.dev is malformed.
JSON
link_markdown_with_fragment #
Jump to [Section](https://fuz.dev#section) for info.Jump to Section for info.
JSON
link_markdown_with_pipe #
Link with [text|more](https://fuz.dev) pipe in display.Link with text|more pipe in display.
JSON
link_markdown_with_query #
Try [Search](https://fuz.dev?q=test) for results.Try Search for results.
JSON
link_mixed_types #
See /docs/usage and https://external.com and [markdown](https://fuz.dev) links.
See /docs/usage and https://external.com and markdown links.
JSON
link_path_relative #
See ./grammar and ../usage for details.
JSON
link_path_relative_no_match #
No match: x./foo or ./ alone or .. alone or ..No match: x./foo or ./ alone or .. alone or ..
JSON
list_blank_between_siblings #
- a
- b
- a
- b
JSON
list_blank_then_nested #
- a
- b
- a
- b
JSON
list_containment_loose #
1. **Setup**
Install the thing.
```sh
npm install
```
2. **Run**
- Setup
Install the thing.
npm install - Run
JSON
list_continuation #
- item two
continues
more
- item two continues more
JSON
list_continuation_bold #
- **a
b** c
- a b c
JSON
list_crlf #
- a
- b
- a
- b
JSON
list_dedent_snap #
- a
- b
- c
- d
- a
- b
- c
- d
- b
JSON
list_empty_item_midlist #
- a
-
- b
- a
- b
JSON
list_empty_item_nested_child #
- a
-
- b
- a
- b
JSON
list_empty_item_paragraph_child #
- a
-
text
- a
text
JSON
list_empty_item_trailing_space #
- a
-
- b
- a
- b
JSON
list_empty_item_type_mismatch #
1. a
-
2. b
- a
- 2. b
JSON
list_end_blank_paragraph #
- a
plain
- a
plain
JSON
list_end_heading #
- a
# h
- a
h
JSON
list_end_hr #
- a
---
- a
JSON
list_end_no_blank #
- a
- b
plain text after
- a
- b
plain text after
JSON
list_interrupt_paragraph #
The parameters are:
- name
- age
The parameters are:
- name
- age
JSON
list_item_codeblock #
1. Install:
```sh
npm install
```
2. Run it
- Install:
npm install - Run it
JSON
list_item_codeblock_closer_dedent #
- a
```
code
```
- b
- a
code - b
JSON
list_item_codeblock_dedent_content #
- a
```
col0 line
```
- b
- a
col0 line - b
JSON
list_item_codeblock_empty #
- a
```
```
- a
JSON
list_item_codeblock_inner_fence_line #
- a
```
```x
```
- b
- a
```x - b
JSON
list_item_codeblock_unclosed #
- a
```
not closed
- a
not closed
JSON
list_item_continuation_sequential #
1. a
2. b
- a 2. b
JSON
list_item_continuation_year #
- The year
2024. was wild
- The year 2024. was wild
JSON
list_item_inline_scope #
- **a
- b** c
- **a
- b** c
JSON
list_item_multi_paragraph #
- a
b
c
- a
b
c
JSON
list_item_nested_one #
- The year
1. was wild
- The year
- was wild
JSON
list_marker_line_fence #
- ```ts
- ```ts
JSON
list_marker_line_nested #
- - a
- - a
JSON
list_mixed_types #
- a
1. b
- a
- b
JSON
list_mixed_types_any_number #
- foo
2024. bar
- foo
- bar
JSON
list_nested #
- a
- b
- c
- d
- a
- b
- c
- d
JSON
list_nested_mixed #
1. a
- b
- c
2. d
- a
- b
- c
- d
JSON
list_nested_one_space #
- a
- b
- a
- b
JSON
list_no_empty_start #
-
not a list
- not a list
JSON
list_no_lazy_continuation #
- item one
continues
- item one
continues
JSON
list_ordered #
1. first
2. second
3. third
- first
- second
- third
JSON
list_ordered_interrupt_guard #
The year
2024. was wild
The year 2024. was wild
JSON
list_ordered_interrupt_one #
Steps:
1. go
2. stop
Steps:
- go
- stop
JSON
list_ordered_leading_zeros #
007. bond
- bond
JSON
list_ordered_ten_digits #
1234567890. not a list
1234567890. not a list
JSON
list_ordered_zero #
0. zero
1. one
- zero
- one
JSON
list_paragraph_child_continuation #
- a
p
q
- a
p q
JSON
list_post_block_paragraph #
- a
- b
back
- a
- b
back
JSON
list_simple #
- a
- b
- c
- a
- b
- c
JSON
list_tab_indent #
- a
- b
- a
- b
JSON
max_search_index_boundary #
**_exactly at boundary_**exactly at boundary
JSON
mixed_formatting_basic #
Use **bold** and _italic_ with `code` and /about.Use bold and italic with code and /about.
JSON
mixed_formatting_with_strikethrough #
Use **bold** and _italic_ and ~~strikethrough~~ with `code`.Use bold and italic and strikethrough with code.
JSON
nested_same_type #
**bold **again** text**bold again text
JSON
paragraph_break #
paragraph 1
paragraph 2paragraph 1
paragraph 2
JSON
paragraph_break_crlf #
a
ba
b
JSON
paragraph_break_quad_newline #
paragraph 1
paragraph 2
paragraph 1
paragraph 2
JSON
paragraph_break_tab_line #
a
ba
b
JSON
paragraph_break_triple_newline #
paragraph 1
paragraph 2
paragraph 1
paragraph 2
JSON
paragraph_break_whitespace_line #
a
ba
b
JSON
paragraph_empty_between #
para 1
para 2para 1
para 2
JSON
paragraph_multiple #
p1
p2
p3p1
p2
p3
JSON
paragraph_only_formatting #
`code` **bold** _italic_
next paragraphcode bold italic
next paragraph
JSON
paragraph_single #
single paragraphsingle paragraph
JSON
paragraph_unicode_whitespace #
a
b c
a
b c
JSON
strikethrough_adjacent_italic #
~~strike~~_italic_strikeitalic
JSON
strikethrough_empty #
~~~~~~~~
JSON
strikethrough_home_paths_literal #
see ~/dev/a/x.md and ~/dev/b/y.md here
see ~/dev/a/x.md and ~/dev/b/y.md here
JSON
strikethrough_intraword #
a~~b~~c
abc
JSON
strikethrough_invalid_across_paragraph_break #
~~unclosed strikethrough
unopened strikethrough~~
~~unclosed strikethrough
unopened strikethrough~~
JSON
strikethrough_multiline #
~~strikethrough text
continues here~~
strikethrough text
continues here
JSON
strikethrough_nested_bold #
~~deleted **bold** text~~deleted bold text
JSON
strikethrough_nested_code #
~~deleted `code` text~~deleted code text
JSON
strikethrough_nested_italic #
~~deleted _italic_ text~~deleted italic text
JSON
strikethrough_nested_link #
~~deleted [Example](https://fuz.dev) reference~~deleted Example reference
JSON
strikethrough_simple #
hello ~~strikethrough~~ worldhello strikethrough world
JSON
strikethrough_single_tilde_literal #
single ~tildes~ are literal
single ~tildes~ are literal
JSON
strikethrough_tilde_run #
~~~x~~~
~x~
JSON
strikethrough_whitespace_content #
~~ x ~~
x
JSON
strikethrough_with_failed_italic #
_italic ~~strike_text~~_italic strike_text
JSON
strikethrough_with_unclosed_bold #
~~strike **bold~~ after**strike **bold after**
JSON
text_empty #
JSON
text_multiline #
plain text
continues here
plain text continues here
JSON
text_plain #
hello worldhello world
JSON
text_single_newline #
line 1
line 2line 1 line 2
JSON
text_special_chars #
chars: @#$%^&()[]{}|\;:'",.<>?/chars: @#$%^&()[]{}|\;:'",.<>?/
JSON
text_unicode #
This 🎉 has emoji and 中文 charactersThis 🎉 has emoji and 中文 characters
JSON
unclosed_bold #
hello **unclosedhello **unclosed
JSON
unclosed_code #
hello `unclosedhello `unclosed
JSON
unclosed_italic #
hello _unclosedhello _unclosed
JSON
unclosed_link #
see {@link unclosedsee {@link unclosed
JSON
unclosed_nested_in_closed #
**bold with _unclosed italic**bold with _unclosed italic
JSON
unclosed_strikethrough #
hello ~~unclosedhello ~~unclosed
JSON
whitespace_blank_line_leading #
aa
JSON
whitespace_blank_line_trailing #
a
a
JSON
whitespace_internal #
hello world with tabshello world with tabs
JSON
whitespace_leading #
leading spaceleading space
JSON
whitespace_only #
JSON
whitespace_trailing #
trailing spacetrailing space