mdz fixtures debug
This page renders all of the test fixtures. See also the mdz docs page.
252 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://example.comJSON
autolink_inside_bold #
**bold https://example.com text**bold https://example.com text
JSON
backtick_inside_bold_with_newline #
**bold `code
still** bold`bold `code still bold`
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_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_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
code_block_adjacent_inline #
```
block
```
`inline`blockinline
JSON
code_block_at_end #
Some text before.
```
code at end
```
Some text before.
code at end
JSON
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_breaks_inline #
**Bold starts
```
code
```
Bold ends**
**Bold starts
codeBold ends**
JSON
code_block_five_backticks #
`````
code with five backticks
`````
code with five backticks
JSON
code_block_four_backticks #
````
code with four backticks
````
code with four backticks
JSON
code_block_invalid_empty #
```
```
``` ```
JSON
code_block_invalid_indented_after #
```
not a code block (indented after)
```
``` not a code block (indented after) ```
JSON
code_block_invalid_indented_before #
```
not a code block (indented before)
```
``` not a code block (indented before) ```
JSON
code_block_invalid_longer_fence_after #
```
code
````
``` code ````
JSON
code_block_invalid_longer_fence_before #
````
code
```
```` code ```
JSON
code_block_invalid_single_newline_after #
```
code
```
text
``` code ``` text
JSON
code_block_invalid_single_newline_before #
text
```
code
```
text ``` code ```
JSON
code_block_invalid_unclosed #
```ts
function foo() {
// Missing closing fence - entire thing is plain text with literal backticks
```ts function foo() { // Missing closing fence - entire thing is plain text with literal backticks
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_multiple #
```
first block
```
```js
second block
```
```
third block
```
first blocksecond blockthird block
JSON
code_block_nested_four_in_five #
`````
Use ```` for nested blocks
`````
Use ```` for nested blocks
JSON
code_block_nested_three_in_four #
````
Use ``` to create code blocks
````
Use ``` to create code blocks
JSON
code_block_only_newlines #
```
```
JSON
code_block_simple #
```
function hello() {
console.log("world");
}
```
function hello() {
console.log("world");
}
JSON
code_block_whitespace #
```
tabs and spaces
indentation
preserved
```
tabs and spaces
indentation
preserved
JSON
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.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_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_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_div #
<div>This is a div element.</div><div>This is a div element.</div>JSON
element_empty #
<div></div><div />JSON
element_multiline #
<div>First line.
Second line.
Third line.</div><div>First line.
Second line.
Third line.</div>JSON
element_span #
Text with <span>inline span</span> element.Text with <span>inline span</span> element.
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_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_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_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_single_newline_after #
# Not a heading because no blank line after
More text continues here.
# Not a heading because no blank line after More text continues here.
JSON
heading_invalid_single_newline_before #
Some text
# Not a heading because no blank line before
More text.
Some text # Not a heading because no blank line before
More text.
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_trailing_hashes #
# Heading with trailing hashes ###
Heading with trailing hashes ###
JSON
heading_with_inline #
## Heading with **bold** and _italic_ and `code`
Heading with bold and italic and code
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_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_single_newline_after #
---
Some text.--- Some text.
JSON
hr_invalid_single_newline_before #
Some text.
---Some 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_with_trailing_whitespace #
--- 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_empty #
____
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_simple_underscore #
hello _italic_ worldhello italic world
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_https #
Visit https://fuz.dev for details.Visit https://fuz.dev for details.
JSON
link_external_in_parens #
Check the documentation (https://fuz.dev) for details.Check the documentation (https://fuz.dev) 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_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_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_fragment_only #
Jump to [section](#mdz-fixtures-debug) 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_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/mdz and https://external.com and [markdown](https://fuz.dev) links.See /docs/mdz and https://external.com and markdown links.
JSON
link_path_invalid_relative #
Relative paths like ./a/b and ../a/b should not auto-link.Relative paths like ./a/b and ../a/b should not auto-link.
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_quad_newline #
paragraph 1
paragraph 2
paragraph 1
paragraph 2
JSON
paragraph_break_triple_newline #
paragraph 1
paragraph 2
paragraph 1
paragraph 2
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
strikethrough_adjacent_italic #
~strike~_italic_strikeitalic
JSON
strikethrough_empty #
~~~~
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_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_internal #
hello world with tabshello world with tabs
JSON
whitespace_leading #
leading spaceleading space
JSON
whitespace_only #
JSON
whitespace_trailing #
trailing spacetrailing space