-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Graceful handling of broken lists when cuddled-lists extra is enabled
- Loading branch information
edufresne
committed
May 25, 2024
1 parent
e0baec2
commit 4684839
Showing
4 changed files
with
55 additions
and
2 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
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,26 @@ | ||
<p>So:</p> | ||
|
||
<ul> | ||
<li>This</li> | ||
<li>is</li> | ||
<li>a list.</li> | ||
</ul> | ||
|
||
<p>And:</p> | ||
|
||
<ul> | ||
<li><em>This</em> is</li> | ||
<li>a list</li> | ||
<li>too.</li> | ||
</ul> | ||
|
||
<p>However, because ASCII art can have long dash/asterisk lines let ensure that:</p> | ||
|
||
<p>- - - - - - - This isn't a list.</p> | ||
|
||
<p>* * Nor is this a list. | ||
- - - Or this.</p> | ||
|
||
<p>- - - - - - - - - - + | ||
hi there ascii art | ||
- - - - - - - - - - +</p> |
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 @@ | ||
{"extras": ["cuddled-lists"]} |
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,21 @@ | ||
So: | ||
- This | ||
- is | ||
- a list. | ||
|
||
And: | ||
* *This* is | ||
* a list | ||
* too. | ||
|
||
However, because ASCII art can have long dash/asterisk lines let ensure that: | ||
|
||
- - - - - - - This isn't a list. | ||
|
||
* * Nor is this a list. | ||
- - - Or this. | ||
|
||
|
||
- - - - - - - - - - + | ||
hi there ascii art | ||
- - - - - - - - - - + |