Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/biome_markdown_formatter/src/markdown/any/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ impl FormatRule<AnyMdInline> for FormatAnyMdInline {
AnyMdInline::MdEntityReference(node) => node.format().fmt(f),
AnyMdInline::MdHardLine(node) => node.format().fmt(f),
AnyMdInline::MdHtmlBlock(node) => node.format().fmt(f),
AnyMdInline::MdIndentToken(node) => node.format().fmt(f),
AnyMdInline::MdInlineCode(node) => node.format().fmt(f),
AnyMdInline::MdInlineEmphasis(node) => node.format().fmt(f),
AnyMdInline::MdInlineHtml(node) => node.format().fmt(f),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
source: crates/biome_formatter_test/src/snapshot_builder.rs
assertion_line: 212
info: markdown/blockquote/code.md
---

# Input

```md
Expand Down Expand Up @@ -67,31 +69,6 @@ info: markdown/blockquote/code.md
>```
```

# Errors
```
code.md:2:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

1 │ > NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
> 2 │ >```json
│ ^^^
3 │ >{
4 │ > "extends": [

i code block started here

1 │ > NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
> 2 │ >```json
│ ^^^
3 │ >{
4 │ > "extends": [

i Add closing triple backticks (```) at the start of a new line.


```

# Lines exceeding max width of 80 characters
```
1: > NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
source: crates/biome_formatter_test/src/snapshot_builder.rs
assertion_line: 212
info: markdown/blockquote/ignore-code.md
---

# Input

```md
Expand Down Expand Up @@ -142,112 +144,3 @@ info: markdown/blockquote/ignore-code.md
> b = 2
> ````
```

# Errors
```
ignore-code.md:1:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

> 1 │ > ````md
│ ^^^^
2 │ > <!-- biome-ignore format: prettier ignore -->
3 │ > ```js

i code block started here

> 1 │ > ````md
│ ^^^^
2 │ > <!-- biome-ignore format: prettier ignore -->
3 │ > ```js

i Add closing triple backticks (```) at the start of a new line.

ignore-code.md:8:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

6 │ > ````
7 │
> 8 │ > ```md
│ ^^^
9 │ > <!-- biome-ignore format: prettier ignore -->
10 │ > - This is a long long

i code block started here

6 │ > ````
7 │
> 8 │ > ```md
│ ^^^
9 │ > <!-- biome-ignore format: prettier ignore -->
10 │ > - This is a long long

i Add closing triple backticks (```) at the start of a new line.

ignore-code.md:16:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

15 │ > - test
> 16 │ > ```md
│ ^^^
17 │ > <!-- biome-ignore format: prettier ignore -->
18 │ > - This is a long long

i code block started here

15 │ > - test
> 16 │ > ```md
│ ^^^
17 │ > <!-- biome-ignore format: prettier ignore -->
18 │ > - This is a long long

i Add closing triple backticks (```) at the start of a new line.

ignore-code.md:32:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

30 │ ````
31 │
> 32 │ > ````md
│ ^^^^
33 │ > > ```md
34 │ > > <!-- biome-ignore format: prettier ignore -->

i code block started here

30 │ ````
31 │
> 32 │ > ````md
│ ^^^^
33 │ > > ```md
34 │ > > <!-- biome-ignore format: prettier ignore -->

i Add closing triple backticks (```) at the start of a new line.

ignore-code.md:48:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Unterminated fenced code block, expected closing triple backticks (```).

46 │ >·
47 │
> 48 │ > ````js
│ ^^^^
49 │ > // biome-ignore format: prettier ignore
50 │ > const x = 1,

i code block started here

46 │ >·
47 │
> 48 │ > ````js
│ ^^^^
49 │ > // biome-ignore format: prettier ignore
50 │ > const x = 1,

i Add closing triple backticks (```) at the start of a new line.


```
Loading
Loading