Skip to content

Commit

Permalink
Add fancy list to example documents for LaTeX and ConTeXt
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Aug 18, 2022
1 parent 8e93c97 commit 05f8388
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
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
10 changes: 10 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 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

0 comments on commit 05f8388

Please sign in to comment.