Skip to content

Commit

Permalink
Merge pull request #168 from Witiko/feature/fancy-lists
Browse files Browse the repository at this point in the history
Add `fancy_lists` syntax extension
  • Loading branch information
github-actions[bot] authored Aug 19, 2022
2 parents 629c12d + a427366 commit 64da75d
Show file tree
Hide file tree
Showing 10 changed files with 936 additions and 69 deletions.
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LUACLI_OPTIONS=cacheDir=_markdown_example hashEnumerators=true \
definitionLists=true footnotes=true inlineFootnotes=true \
smartEllipses=true fencedCode=true contentBlocks=true pipeTables=true \
tableCaptions=true taskLists=true strikeThrough=true superscripts=true \
subscripts=true
subscripts=true fancyLists=true
OUTPUT=context-mkii.pdf context-mkiv.pdf latex-pdftex.pdf \
latex-luatex.pdf latex-xetex.pdf latex-tex4ht.html latex-tex4ht.css

Expand Down
1 change: 1 addition & 0 deletions examples/context-mkii.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
\def\markdownOptionStrikeThrough{true}
\def\markdownOptionSuperscripts{true}
\def\markdownOptionSubscripts{true}
\def\markdownOptionFancyLists{true}

% Set renderers of the Markdown module.
\definetyping
Expand Down
1 change: 1 addition & 0 deletions examples/context-mkiv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
\def\markdownOptionStrikeThrough{true}
\def\markdownOptionSuperscripts{true}
\def\markdownOptionSubscripts{true}
\def\markdownOptionFancyLists{true}

% Set renderers of the Markdown module.
\definehighlight
Expand Down
16 changes: 16 additions & 0 deletions examples/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ This is an ordered list:

7. the third item of an ordered list.

This is a fancy ordered list:

e) The first item of an ordered list

that spans several paragraphs,

f) the second item of an ordered list,

g) the third item of an ordered list.

This is an ordered list using hash enumerators:

#. The first item of an ordered list
Expand All @@ -87,6 +97,12 @@ This is a compact ordered list using hash enumerators:
#. the second item of an ordered list,
#. the third item of an ordered list.

This is a compact fancy ordered list using hash enumerators:

#) The first item of an ordered list,
#) the second item of an ordered list,
#) the third item of an ordered list.

This is a task list:

* [ ] Some unfinished task
Expand Down
1 change: 1 addition & 0 deletions examples/latex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
strikeThrough,
superscripts,
subscripts,
fancyLists,
]{markdown}
\begin{markdown*}{hybrid}
---
Expand Down
Loading

0 comments on commit 64da75d

Please sign in to comment.