Skip to content

Commit

Permalink
Added examples that showcase the use of inline notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Dec 8, 2016
1 parent 8f94b22 commit 56bb242
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AUXFILES=*.tmp *.tui *.tuo *.mp *.tuc *.markdown.in *.markdown.out \
*.markdown.lua *.log *.aux context-mkii.tex context-mkiv.tex \
latex-pdftex.tex latex-xetex.tex latex-luatex.tex
AUXDIRS=_markdown-*/
AUXDIRS=_markdown_*/
OUTPUT=context-mkii.pdf context-mkiv.pdf latex-pdftex.pdf \
latex-luatex.pdf latex-xetex.pdf

Expand Down
1 change: 1 addition & 0 deletions examples/context.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
\def\markdownOptionDefinitionLists{true}
\def\markdownOptionSmartEllipses{true}
\def\markdownOptionFootnotes{true}
\def\markdownOptionInlineFootnotes{true}
\def\markdownOptionFencedCode{true}
\definetyping [latex]
\setuptyping [latex] [option=TEX]
Expand Down
5 changes: 4 additions & 1 deletion examples/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ This is a block quote:
>
> Back to the first level.
Here is a footnote reference[^1] and another[^longnote].
Here is a footnote reference[^1] and another.[^longnote]
Here is an inline note.^[Inlines notes are easier to
write, since you don't have to pick an identifier and
move down to type the note.]

[^1]: Here is the footnote.

Expand Down
1 change: 1 addition & 0 deletions examples/latex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
hashEnumerators,
definitionLists,
footnotes,
inlineFootnotes,
smartEllipses,
fencedCode,
]{markdown}
Expand Down

0 comments on commit 56bb242

Please sign in to comment.