Skip to content

Commit

Permalink
keep the unordered list that starts on #3 on the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bass-03 committed Oct 22, 2023
1 parent f85d20f commit ef40183
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test_package/functional/result.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,16 @@ Markdown produces from the above list is:</p>
<li>McHale</li>
<li>Parish</li>
</ol>
<p>or even:</p>
<ol start="3">
<li>Bird</li>
<li>McHale</li>
<li>Parish</li>
</ol>
<p>you'd get the exact same HTML output. The point is, if you want to,
you can use ordinal numbers in your ordered Markdown lists, so that
the numbers in your source match the numbers in your published HTML.
But if you want to be lazy, you don't have to.</p>
<p>To make lists look nice, you can wrap items with hanging indents:</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Expand Down
11 changes: 11 additions & 0 deletions test_package/functional/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@ If you instead wrote the list in Markdown like this:
1. McHale
1. Parish

or even:

3. Bird
1. McHale
8. Parish

you'd get the exact same HTML output. The point is, if you want to,
you can use ordinal numbers in your ordered Markdown lists, so that
the numbers in your source match the numbers in your published HTML.
But if you want to be lazy, you don't have to.

To make lists look nice, you can wrap items with hanging indents:

* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Expand Down

0 comments on commit ef40183

Please sign in to comment.