-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(splitAdjacentBlockquotes): add option to split adjacent blockquo…
…te blocks With this option enabled, this: ```md > some text > some other text ``` witll result in: ```html <blockquote> <p>some text</p> </blockquote> <blockquote> <p>some other text</p> </blockquote> ``` This is the default behavior of GFM. Closes #477
- Loading branch information
Showing
13 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<blockquote> | ||
<h1 id="blockquote1">Block quote 1</h1> | ||
<p>This is my first block quote.</p> | ||
</blockquote> | ||
<blockquote> | ||
<h1 id="blockquote2">Block quote 2</h1> | ||
<p>This is my second block quote.</p> | ||
</blockquote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
> # Block quote 1 | ||
> | ||
> This is my first block quote. | ||
> # Block quote 2 | ||
> | ||
> This is my second block quote. |
6 changes: 6 additions & 0 deletions
6
test/features/splitAdjacentBlockquotes/multiline-paragraph.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<blockquote> | ||
<p>This is my second block quote | ||
yeah | ||
everythong is ok.</p> | ||
</blockquote> | ||
<p>This is not a blockquote</p> |
5 changes: 5 additions & 0 deletions
5
test/features/splitAdjacentBlockquotes/multiline-paragraph.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
> This is my second block quote | ||
yeah | ||
everythong is ok. | ||
|
||
This is not a blockquote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters