Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fancy_lists syntax extension #168

Merged
merged 7 commits into from
Aug 19, 2022
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
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