summaryrefslogtreecommitdiff
path: root/macros/generic
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-23 03:02:41 +0000
committerNorbert Preining <norbert@preining.info>2020-03-23 03:02:41 +0000
commit404e90e73ebdb6ecca01ae0b18e684a5f8fe83b3 (patch)
tree0299674ee5045793cc18684fce643597555a7f88 /macros/generic
parent75d8dfa80524727ddb7d8ae217ed6463efba84cf (diff)
CTAN sync 202003230302
Diffstat (limited to 'macros/generic')
-rw-r--r--macros/generic/markdown/LICENSE42
-rw-r--r--macros/generic/markdown/Makefile130
-rw-r--r--macros/generic/markdown/README.md70
-rw-r--r--macros/generic/markdown/docstrip.cfg4
-rw-r--r--macros/generic/markdown/examples/README.md7
-rw-r--r--macros/generic/markdown/examples/context-mkii.pdfbin237090 -> 0 bytes
-rw-r--r--macros/generic/markdown/examples/context-mkiv.pdfbin67910 -> 0 bytes
-rw-r--r--macros/generic/markdown/examples/example.md2
-rw-r--r--macros/generic/markdown/examples/latex-luatex.pdfbin63088 -> 0 bytes
-rw-r--r--macros/generic/markdown/examples/latex-pdftex.pdfbin265094 -> 0 bytes
-rw-r--r--macros/generic/markdown/examples/latex-xetex.pdfbin60564 -> 0 bytes
-rw-r--r--macros/generic/markdown/latexmkrc4
-rw-r--r--macros/generic/markdown/markdown.dtx47
-rw-r--r--macros/generic/markdown/markdown.html2292
-rw-r--r--macros/generic/markdown/markdown.md5
-rw-r--r--macros/generic/markdown/markdown.pdfbin429871 -> 431227 bytes
-rw-r--r--macros/generic/markdown/tests/README.md17
-rw-r--r--macros/generic/markdown/tests/support/README.md4
-rw-r--r--macros/generic/markdown/tests/support/latex-setup.tex162
-rw-r--r--macros/generic/markdown/tests/support/plain-setup.tex142
-rw-r--r--macros/generic/markdown/tests/support/setup.tex79
-rw-r--r--macros/generic/markdown/tests/templates/README.md20
-rw-r--r--macros/generic/markdown/tests/templates/context/COMMANDS.m42
-rw-r--r--macros/generic/markdown/tests/templates/context/README.md2
-rw-r--r--macros/generic/markdown/tests/templates/context/input.tex.m411
-rw-r--r--macros/generic/markdown/tests/templates/context/verbatim.tex.m413
-rw-r--r--macros/generic/markdown/tests/templates/latex/COMMANDS.m43
-rw-r--r--macros/generic/markdown/tests/templates/latex/README.md1
-rw-r--r--macros/generic/markdown/tests/templates/latex/input.tex.m414
-rw-r--r--macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m417
-rw-r--r--macros/generic/markdown/tests/templates/latex/verbatim.tex.m417
-rw-r--r--macros/generic/markdown/tests/templates/plain/COMMANDS.m43
-rw-r--r--macros/generic/markdown/tests/templates/plain/README.md1
-rw-r--r--macros/generic/markdown/tests/templates/plain/input.tex.m410
-rw-r--r--macros/generic/markdown/tests/templates/plain/verbatim.tex.m412
-rwxr-xr-xmacros/generic/markdown/tests/test.sh58
-rw-r--r--macros/generic/markdown/tests/testfiles/CommonMark_0.26/README.md2
-rw-r--r--macros/generic/markdown/tests/testfiles/CommonMark_0.26/fenced-code.test315
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/README.md2
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test36
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/auto-links.test52
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test192
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/blockquotes-with-code-blocks.test21
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-blocks.test18
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-spans.test4
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/hard-wrapped-paragraphs-with-list-like-lines.test12
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/horizontal-rules.test132
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-inline-style.test50
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-reference-style.test176
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-shortcut-references.test42
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/literal-quotes-in-titles.test21
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-basics.test436
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-syntax.test1518
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/nested-blockquotes.test14
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/ordered-and-unordered-lists.test323
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/strong-and-em-together.test17
-rw-r--r--macros/generic/markdown/tests/testfiles/Markdown_1.0.3/tabs.test39
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/README.md2
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/auto-links.test16
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/backslash-escapes.test19
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-in-a-list-item.test31
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-on-second-line.test6
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/email-auto-links.test16
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test272
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/empty-list-item.test97
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/headers.test18
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/horizontal-rules.test51
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/links-inline-style.test9
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/md5-hashes.test22
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/mixed-ols-and-uls.test47
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test30
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/parens-in-url.test52
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/php-specific-bugs.test39
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/quotes-in-attributes.test29
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test327
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/tight-blocks.test30
-rw-r--r--macros/generic/markdown/tests/testfiles/README.md21
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/README.md2
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/blank-before-code-fence.test57
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/breakable-blockquotes.test19
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test12
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-escapes.test73
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-nbsps.test85
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-no-nbsps.test85
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-trailing-punctuation.test115
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test16
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks.test64
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/empty-code-spans.test24
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/fenced-code.test27
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/header-attributes.test37
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test53
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test43
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test17
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-blank-before-code-fence.test57
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-breakable-blockquotes.test15
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-citations.test31
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-code-spans.test9
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-content-blocks.test32
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test22
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-header-attributes.test35
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-html.test53
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-hybrid.test65
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-inline-footnotes.test16
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-pipe-tables.test41
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-shift-headings.test35
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-slice.test251
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-start-number.test41
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-strip-percent-signs.test10
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-table-captions.test79
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test19
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test15
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-backwards.test37
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-forward.test37
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-conclusion.test155
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-existing-section.test182
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-nonexisting-section.test141
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-preface.test148
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-two-sections.test278
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/start-number.test39
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/table-captions.test76
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/tight-lists.test18
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/README.md2
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/backticks-in-links.test8
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/case-insensitive-references.test10
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/consecutive-lists.test19
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/definition-lists.test200
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/hash-enumerators.test11
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/indented-code-in-list-item.test16
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/list-spacing.test42
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/lists-and-hrules.test18
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/notes.test27
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/reference-defined-in-blockquote.test12
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-blockquote.test5
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-header.test6
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/smart.test7
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/unicode.test10
136 files changed, 1224 insertions, 9582 deletions
diff --git a/macros/generic/markdown/LICENSE b/macros/generic/markdown/LICENSE
deleted file mode 100644
index 72d52c06d9..0000000000
--- a/macros/generic/markdown/LICENSE
+++ /dev/null
@@ -1,42 +0,0 @@
-Copyright (C) 2009-2016 John MacFarlane, Hans Hagen
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Copyright (C) 2016-2018 Vít Novotný
-
-This work may be distributed and/or modified under the
-conditions of the LaTeX Project Public License, either version 1.3
-of this license or (at your option) any later version.
-The latest version of this license is in
-
- http://www.latex-project.org/lppl.txt
-
-and version 1.3 or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
-
-This work has the LPPL maintenance status `maintained'.
-The Current Maintainer of this work is Vít Novotný.
-
-Send bug reports, requests for additions and questions
-either to the GitHub issue tracker at
-
- https://github.com/witiko/markdown/issues
-
-or to the e-mail address <witiko@mail.muni.cz>.
diff --git a/macros/generic/markdown/Makefile b/macros/generic/markdown/Makefile
deleted file mode 100644
index 5c210f83e4..0000000000
--- a/macros/generic/markdown/Makefile
+++ /dev/null
@@ -1,130 +0,0 @@
-.PHONY: all clean implode dist test examples
-AUXFILES=markdown.bbl markdown.cb markdown.cb2 markdown.glo markdown.bbl \
- markdown.run.xml markdown.bib markdown.markdown.in markdown.markdown.lua \
- markdown.markdown.out
-AUXDIRS=_minted-markdown _markdown_markdown
-TDSARCHIVE=markdown.tds.zip
-CTANARCHIVE=markdown.ctan.zip
-DISTARCHIVE=markdown.zip
-ARCHIVES=$(TDSARCHIVE) $(CTANARCHIVE) $(DISTARCHIVE)
-EXAMPLES_RESOURCES=examples/example.md examples/scientists.csv
-EXAMPLES_SOURCES=examples/context.tex examples/latex.tex
-EXAMPLES=examples/context-mkii.pdf examples/context-mkiv.pdf \
- examples/latex-pdftex.pdf examples/latex-luatex.pdf examples/latex-xetex.pdf
-TESTS=tests/test.sh tests/support/*.tex tests/templates/*/*.tex.m4 \
- tests/templates/*/COMMANDS.m4 tests/testfiles/*/*.test
-MAKES=Makefile $(addsuffix /Makefile, $(SUBDIRECTORIES)) latexmkrc
-READMES=README.md LICENSE examples/README.md tests/README.md \
- tests/support/README.md tests/templates/README.md tests/testfiles/README.md \
- tests/templates/*/README.md tests/testfiles/*/README.md
-DTXARCHIVE=markdown.dtx
-VERSION=$(shell sed -rn '/^\\def\\markdownVersion\{/s/[^{]*\{(.*)\}.*/\1/p' <$(DTXARCHIVE))
-LASTMODIFIED=$(shell sed -rn '/^\\def\\markdownLastModified\{/s/[^{]*\{(.*)\}.*/\1/p' <$(DTXARCHIVE))
-INSTALLER=markdown.ins docstrip.cfg
-TECHNICAL_DOCUMENTATION=markdown.pdf
-MARKDOWN_USER_MANUAL=markdown.md markdown.css
-HTML_USER_MANUAL=markdown.html markdown.css
-USER_MANUAL=$(MARKDOWN_USER_MANUAL) $(HTML_USER_MANUAL)
-DOCUMENTATION=$(TECHNICAL_DOCUMENTATION) $(USER_MANUAL)
-INSTALLABLES=markdown.lua markdown-cli.lua markdown.tex markdown.sty t-markdown.tex
-MAKEABLES=$(TECHNICAL_DOCUMENTATION) $(USER_MANUAL) $(INSTALLABLES) $(EXAMPLES)
-RESOURCES=$(DOCUMENTATION) $(EXAMPLES_RESOURCES) $(EXAMPLES_SOURCES) $(EXAMPLES) \
- $(MAKES) $(READMES) $(INSTALLER) $(DTXARCHIVE) $(TESTS)
-EVERYTHING=$(RESOURCES) $(INSTALLABLES)
-
-# This is the default pseudo-target. It typesets the manual,
-# the examples, and extracts the package files.
-all: $(MAKEABLES)
- $(MAKE) clean
-
-# This target extracts the source files out of the DTX archive.
-$(INSTALLABLES) $(MARKDOWN_USER_MANUAL): $(INSTALLER) $(DTXARCHIVE)
- xetex $<
-
-# This target typesets the manual.
-$(TECHNICAL_DOCUMENTATION): $(DTXARCHIVE) $(INSTALLABLES)
- latexmk -interaction=nonstopmode $<
-
-# These targets typeset the examples.
-$(EXAMPLES): $(EXAMPLE_SOURCES) examples/example.tex $(INSTALLABLES)
- $(MAKE) -C examples $(notdir $@)
-
-examples/example.tex: $(INSTALLABLES)
- $(MAKE) -C examples $(notdir $@)
-
-# This target converts the markdown user manual to an HTML page.
-%.html: %.md %.css
- awk '{ \
- filename = gensub(/^\/(.*\.md)$$/, "\\1", "g"); \
- if(filename != $$0) \
- system("cat " filename); \
- else \
- print($$0); \
- }' <$< | \
- sed -e 's#\\markdownVersion{}#$(VERSION)#g' \
- -e 's#\\markdownLastModified{}#$(LASTMODIFIED)#g' \
- -e 's#\\TeX{}#<span class="tex">T<sub>e</sub>X</span>#g' \
- -e 's#\\LaTeX{}#<span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>#g' \
- -e 's#\\Hologo{ConTeXt}#Con<span class="tex">T<sub>e</sub>X</span>t#g' \
- -e 's#\\Opt{\([^}]*\)}#**`\1`**#g' -e 's#\\,# #g' \
- -e 's#\\meta{\([^}]*\)}#\&LeftAngleBracket;*\1*\&RightAngleBracket;#g' \
- -e 's#\\acro{\([^}]*\)}#<abbr>\1</abbr>#g' \
- -e 's#;-)#<i class="em em-wink"></i>#g' \
- -e 's#\\envm{\([^}]*\)}#`\1`#g' -e 's#\\envmdef{\([^}]*\)}#`\1`#g' \
- -e 's#\\m{\([^}]*\)}#`\\\1`#g' -e 's#\\mdef{\([^}]*\)}#`\\\1`#g' | \
- pandoc -f markdown -t html -N -s --toc --toc-depth=3 --css=$(word 2, $^) >$@
-
-# This pseudo-target runs all the tests in the `tests/` directory.
-test:
- $(MAKE) -C tests
-
-# This pseudo-target produces the distribution archives.
-dist: implode
- $(MAKE) $(ARCHIVES)
- $(MAKE) clean
-
-# This target produces the TeX directory structure archive.
-$(TDSARCHIVE): $(DTXARCHIVE) $(INSTALLABLES) $(DOCUMENTATION)
- @# Installing the macro package.
- mkdir -p tex/generic/markdown tex/luatex/markdown tex/latex/markdown \
- tex/context/third/markdown scripts/markdown
- cp markdown.lua tex/luatex/markdown/
- cp markdown-cli.lua scripts/markdown/
- cp markdown.sty tex/latex/markdown/
- cp markdown.tex tex/generic/markdown/
- cp t-markdown.tex tex/context/third/markdown/
- @# Installing the documentation.
- mkdir -p doc/generic/markdown doc/latex/markdown/examples \
- doc/context/third/markdown/examples
- cp $(DOCUMENTATION) doc/generic/markdown/
- cp examples/context.tex $(EXAMPLES_RESOURCES) doc/context/third/markdown/examples/
- cp examples/latex.tex $(EXAMPLES_RESOURCES) doc/latex/markdown/examples/
- @# Installing the sources.
- mkdir -p source/generic/markdown
- cp $(DTXARCHIVE) $(INSTALLER) source/generic/markdown
- zip -r -v -nw $@ doc scripts source tex
- rm -rf doc scripts source tex
-
-# This target produces the distribution archive.
-$(DISTARCHIVE): $(EVERYTHING) $(TDSARCHIVE)
- -ln -s . markdown
- zip -MM -r -v -nw $@ $(addprefix markdown/,$(EVERYTHING)) $(TDSARCHIVE)
- rm -f markdown
-
-# This target produces the CTAN archive.
-$(CTANARCHIVE): $(RESOURCES) $(TDSARCHIVE)
- -ln -s . markdown
- zip -MM -r -v -nw $@ $(addprefix markdown/,$(RESOURCES)) $(TDSARCHIVE)
- rm -f markdown
-
-# This pseudo-target removes any existing auxiliary files and directories.
-clean:
- latexmk -c $(DTXARCHIVE)
- rm -f $(AUXFILES)
- rm -rf ${AUXDIRS}
- $(MAKE) -C examples clean
-
-# This pseudo-target removes any makeable files.
-implode: clean
- rm -f $(MAKEABLES) $(ARCHIVES)
- $(MAKE) -C examples implode
diff --git a/macros/generic/markdown/README.md b/macros/generic/markdown/README.md
index 44c963a2da..d29e20c875 100644
--- a/macros/generic/markdown/README.md
+++ b/macros/generic/markdown/README.md
@@ -10,8 +10,9 @@ The Markdown package converts [markdown][] markup to TeX commands. The
functionality is provided both as a Lua module, and as plain TeX, LaTeX, and
ConTeXt macro packages that can be used to directly typeset TeX documents
containing markdown markup. Unlike other convertors, the Markdown package
-makes it easy to redefine how each and every markdown element is rendered.
-Creative abuse of the markdown syntax is encouraged. 😉
+does not require any external programs, and makes it easy to redefine how each
+and every markdown element is rendered. Creative abuse of the markdown syntax
+is encouraged. 😉
[markdown]: https://daringfireball.net/projects/markdown/basics/ "Daring Fireball: Markdown Basics"
@@ -38,6 +39,8 @@ For further information, consult one of the following:
4. My journal articles published by [TUGboat][]:
- [Using Markdown inside TeX documents][tb119], and
- [Markdown 2.7.0: Towards lightweight markup in TeX][tb124].
+5. My journal articles published by [CSTUG][] (in Czech):
+ - [Rendering Markdown inside TeX Documents][10.5300/2016-1-4/78].
[overleaf-1]: https://www.overleaf.com/learn/latex/Articles/How_to_write_in_Markdown_on_Overleaf "How to write in Markdown on Overleaf"
[overleaf-2]: https://www.overleaf.com/learn/latex/Articles/Markdown_into_LaTeX_with_Style "Markdown into LaTeX with Style"
@@ -47,7 +50,9 @@ For further information, consult one of the following:
[overleaf-6]: https://www.overleaf.com/latex/examples/using-markdown-in-latex-documents/whdrnpcpnwrm "Using Markdown in LaTeX documents"
[tb119]: https://www.tug.org/members/TUGboat/tb38-2/tb119novotny.pdf "Using Markdown inside TeX documents"
- [tb124]: https://www.tug.org/TUGboat/production/40-1/tb124novotny-markdown.pdf "Markdown 2.7.0: Towards lightweight markup in TeX"
+ [tb124]: https://www.tug.org/members/TUGboat/tb40-1/tb124novotny-markdown.pdf "Markdown 2.7.0: Towards lightweight markup in TeX"
+
+ [10.5300/2016-1-4/78]: https://doi.org/10.5300/2016-1-4/78 "Rendering Markdown inside TeX Documents"
[install]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#installation "Markdown Package User Manual"
[liantze]: http://liantze.penguinattack.org/ "Rants from the Lab"
@@ -55,18 +60,40 @@ For further information, consult one of the following:
[overleaf]: https://www.overleaf.com/ "Overleaf: Real-time Collaborative Writing and Publishing Tools with Integrated PDF Preview"
[techdoc]: http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf "A Markdown Interpreter for TeX"
[tugboat]: https://www.tug.org/tugboat/ "TUGboat - Communications of the TeX Users Group"
+ [cstug]: https://www.cstug.cz/ "Československé sdružení uživatelů TeXu"
+
+Acknowledgements
+----------------
+
+| Logo | Acknowledgement |
+| ------------- | ------------- |
+| [<img width="150" src="https://www.fi.muni.cz/images/fi-logo.png">][fimu] | I gratefully acknowledge the funding from the [Faculty of Informatics][fimu] at the [Masaryk University][mu] in Brno, Czech Republic, for the development of the Markdown package. |
+| [<img width="150" src="https://cdn.overleaf.com/img/ol-brand/overleaf_og_logo.png">][overleaf] | Extensive user documentation for the Markdown package was kindly written by [Lian Tze Lim][liantze] and published by [Overleaf][]. |
+| [<img width="150" src="https://pbs.twimg.com/profile_images/1004769879319334912/6Bh1UthD.jpg">][omedym] | Support for content slicing (Lua options [`shiftHeadings`][option-shift-headings] and [`slice`][option-slice]) and pipe tables (Lua options [`pipeTables`][option-pipe-tables] and [`tableCaptions`][option-table-captions]) was graciously sponsored by [David Vins][dvins] and [Omedym][]. |
+
+ [dvins]: https://github.com/dvins "David Vins"
+ [fimu]: https://www.fi.muni.cz/index.html.en "Faculty of Informatics, Masaryk University"
+ [mu]: https://www.muni.cz/en "Masaryk University"
+ [Omedym]: https://www.omedym.com/ "Omedym"
+
+ [option-pipe-tables]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#pipe-tables "Markdown Package User Manual"
+ [option-shift-headings]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#option-shiftheadings "Markdown Package User Manual"
+ [option-slice]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#slice "Markdown Package User Manual"
+ [option-table-captions]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#option-tablecaptions "Markdown Package User Manual"
Contributing
------------
-Apart from the example markdown documents and tests, which are placed in the
-`examples/` and `tests/` directories, the complete source code and
-documentation of the package are placed in the `markdown.dtx` document
-following the literate programming paradigm.
+Apart from the example markdown documents, tests, and continuous integration,
+which are placed in the `examples/`, `tests/`, and `.circleci/` directories,
+the complete source code and documentation of the package are placed in the
+`markdown.dtx` document following the [literate programming][] paradigm.
+Some useful commands, such as building the release archives and typesetting
+the documentation, are placed in the `Makefile` file for ease of maintenance.
When the file `markdown.ins` is interpreted using a Unicode-aware TeX engine,
such as XeTeX (`xetex markdown.ins`) or LuaTeX (`luatex markdown.ins`), several
files are produced from the `markdown.dtx` document. In `markdown.dtx`, the
-boundaries between the produced files are marked up using a XML-like syntax
+boundaries between the produced files are marked up using an XML-like syntax
provided by the [DocStrip][] plain TeX package.
Running the [LaTeXMK][] tool on the `markdown.dtx` file
@@ -76,25 +103,8 @@ documentation is placed inside TeX comments and marked up using the
[ltxdockit][] LaTeX document class. Support for typesetting the documentation
is provided by the [doc][] LaTeX package.
- [doc]: https://ctan.org/pkg/doc "doc – Format LaTeX documentation"
- [DocStrip]: https://ctan.org/pkg/docstrip "docstrip – Remove comments from file"
- [LaTeXMK]: https://ctan.org/pkg/latexmk "latexmk – Fully automated LaTeX document generation"
- [ltxdockit]: https://ctan.org/pkg/ltxdockit "ltxdockit – Documentation support"
-
-Acknowledgements
-----------------
-I gratefully acknowledge the funding from the [Faculty of Informatics][fimu]
-at the [Masaryk University][mu] in Brno, Czech Republic, for the development of
-the Markdown package.
-
-Support for content slicing (Lua options `shiftHeadings` and `slice`) and pipe
-tables (Lua options `pipeTables` and `tableCaptions`) was graciously sponsored
-by [David Vins][dvins] and [Omedym][].
-
-Extensive user documentation of the Markdown package was kindly written by
-[Lian Tze Lim][liantze] and published by [Overleaf][].
-
- [dvins]: https://github.com/dvins "David Vins"
- [fimu]: https://www.fi.muni.cz/index.html.en "Faculty of Informatics, Masaryk University"
- [mu]: https://www.muni.cz/en "Masaryk University"
- [Omedym]: https://www.omedym.com/ "Omedym"
+ [doc]: https://ctan.org/pkg/doc "doc – Format LaTeX documentation"
+ [DocStrip]: https://ctan.org/pkg/docstrip "docstrip – Remove comments from file"
+ [LaTeXMK]: https://ctan.org/pkg/latexmk "latexmk – Fully automated LaTeX document generation"
+ [literate programming]: https://en.wikipedia.org/wiki/Literate_programming "Literate programming"
+ [ltxdockit]: https://ctan.org/pkg/ltxdockit "ltxdockit – Documentation support"
diff --git a/macros/generic/markdown/docstrip.cfg b/macros/generic/markdown/docstrip.cfg
index a03b51c87b..60f15d3935 100644
--- a/macros/generic/markdown/docstrip.cfg
+++ b/macros/generic/markdown/docstrip.cfg
@@ -22,7 +22,7 @@
-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE^^J%
-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.^^J%
-- ^^J%
--- Copyright (C) 2016-2019 Vít Novotný^^J%
+-- Copyright (C) 2016-2020 Vít Novotný^^J%
-- ^^J%
-- This work may be distributed and/or modified under the^^J%
-- conditions of the LaTeX Project Public License, either version 1.3^^J%
@@ -62,7 +62,7 @@
\let\luapostamble\empty
\declarepreamble\texpreamble
-Copyright (C) 2016-2019 Vít Novotný
+Copyright (C) 2016-2020 Vít Novotný
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/macros/generic/markdown/examples/README.md b/macros/generic/markdown/examples/README.md
deleted file mode 100644
index 0d32d16ec4..0000000000
--- a/macros/generic/markdown/examples/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-This directory contains example LaTeX and ConTeXt documents. These documents
-can be typeset by running the GNU `make` program in this directory. It is
-expected that your TeX installation contains the `pdflatex`, `xelatex`,
-`lualatex`, `texexec`, and `context` executables.
-
-The `markdown.dtx` file in the root directory contains documentation in the
-markdown language and can also serve as an example LaTeX document.
diff --git a/macros/generic/markdown/examples/context-mkii.pdf b/macros/generic/markdown/examples/context-mkii.pdf
deleted file mode 100644
index a17e5fc469..0000000000
--- a/macros/generic/markdown/examples/context-mkii.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/generic/markdown/examples/context-mkiv.pdf b/macros/generic/markdown/examples/context-mkiv.pdf
deleted file mode 100644
index ad965f37fe..0000000000
--- a/macros/generic/markdown/examples/context-mkiv.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/generic/markdown/examples/example.md b/macros/generic/markdown/examples/example.md
index 8aeb423a20..f0be0cddfa 100644
--- a/macros/generic/markdown/examples/example.md
+++ b/macros/generic/markdown/examples/example.md
@@ -15,7 +15,7 @@ This is a text paragraph containing an ellipsis ... and followed by a horizontal
This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
+ ![example image](example-image.png "An example image from Martin Scharrer's mwe package")
/scientists.csv (The great minds of the 19th century rendered via a content block)
diff --git a/macros/generic/markdown/examples/latex-luatex.pdf b/macros/generic/markdown/examples/latex-luatex.pdf
deleted file mode 100644
index 1ce6e43d49..0000000000
--- a/macros/generic/markdown/examples/latex-luatex.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/generic/markdown/examples/latex-pdftex.pdf b/macros/generic/markdown/examples/latex-pdftex.pdf
deleted file mode 100644
index f5eca2597a..0000000000
--- a/macros/generic/markdown/examples/latex-pdftex.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/generic/markdown/examples/latex-xetex.pdf b/macros/generic/markdown/examples/latex-xetex.pdf
deleted file mode 100644
index 3c9f0ff75d..0000000000
--- a/macros/generic/markdown/examples/latex-xetex.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/generic/markdown/latexmkrc b/macros/generic/markdown/latexmkrc
deleted file mode 100644
index 34d796211e..0000000000
--- a/macros/generic/markdown/latexmkrc
+++ /dev/null
@@ -1,4 +0,0 @@
-$pdflatex = 'lualatex --shell-escape %O %S';
-$pdf_mode = 1;
-$postscript_mode = 0;
-$dvi_mode = 0;
diff --git a/macros/generic/markdown/markdown.dtx b/macros/generic/markdown/markdown.dtx
index 71c06b8154..0cf9f4f9ac 100644
--- a/macros/generic/markdown/markdown.dtx
+++ b/macros/generic/markdown/markdown.dtx
@@ -535,8 +535,9 @@ The [Markdown package][pkg] converts [markdown][] markup to \TeX{} commands. The
functionality is provided both as a Lua module and as plain \TeX{}, \LaTeX{}, and
\Hologo{ConTeXt} macro packages that can be used to directly typeset \TeX documents
containing markdown markup. Unlike other convertors, the Markdown package
-makes it easy to redefine how each and every markdown element is rendered.
-Creative abuse of the markdown syntax is encouraged. ;-)
+does not require any external programs, and makes it easy to redefine how each
+and every markdown element is rendered. Creative abuse of the markdown
+syntax is encouraged. ;-)
[markdown]: https://daringfireball.net/projects/markdown/basics/
(Daring Fireball: Markdown Basics)
@@ -569,11 +570,11 @@ documentation][techdoc].
% \fi
% \begin{macrocode}
local metadata = {
- version = "2.8.1",
+ version = "2.8.2",
comment = "A module for the conversion from markdown to plain TeX",
author = "John MacFarlane, Hans Hagen, Vít Novotný",
copyright = {"2009-2016 John MacFarlane, Hans Hagen",
- "2016-2019 Vít Novotný"},
+ "2016-2020 Vít Novotný"},
license = "LPPL 1.3"
}
@@ -5659,8 +5660,8 @@ pdftex --shell-escape document.tex
%
% \end{markdown}
% \begin{macrocode}
-\def\markdownLastModified{2019/04/30}%
-\def\markdownVersion{2.8.1}%
+\def\markdownLastModified{2020/03/20}%
+\def\markdownVersion{2.8.2}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -5796,7 +5797,7 @@ interfaces.
% of the document being typeset.
%
% The expansion of this macro must not contain quotation marks (`"`) or
-% backslash symbols (`extbackslash`). Mind that \TeX{} engines tend to
+% backslash symbols (`\`). Mind that \TeX{} engines tend to
% put quotation marks around \m{jobname}, when it contains spaces.
%
% \end{markdown}
@@ -6939,6 +6940,8 @@ following content:
\catcode`\^^A=14
\global\def\markdownRendererImage#1#2#3#4{^^A
\immediate\write18{^^A
+```
+``` sh
if printf '%s' "#3" | grep -q ^http; then
OUTPUT="$(printf '%s' "#3" | md5sum | cut -d' ' -f1).^^A
$(printf '%s' "#3" | sed 's/.*[.]//')";
@@ -6950,6 +6953,8 @@ following content:
else
printf '%s%%' "#3" > \jobname.fetched;
fi^^A
+```
+``` tex
}^^A
{^^A
\everyeof={\noexpand}^^A
@@ -13701,6 +13706,7 @@ function M.writer.new(options)
% \begin{macrocode}
function self.verbatim(s)
if not self.is_writing then return "" end
+ s = string.gsub(s, '[\r\n%s]*$', '')
local name = util.cache(options.cacheDir, s, nil, nil, ".verbatim")
return {"\\markdownRendererInputVerbatim{",name,"}"}
end
@@ -13716,6 +13722,7 @@ function M.writer.new(options)
% \begin{macrocode}
function self.fencedCode(i, s)
if not self.is_writing then return "" end
+ s = string.gsub(s, '[\r\n%s]*$', '')
local name = util.cache(options.cacheDir, s, nil, nil, ".verbatim")
return {"\\markdownRendererInputFencedCode{",name,"}{",i,"}"}
end
@@ -14978,7 +14985,8 @@ larsers.PipeTable = Ct(larsers.table_row * parsers.newline
%
% \end{markdown}
% \begin{macrocode}
- larsers.Str = parsers.normalchar^1 / writer.string
+ larsers.Str = (parsers.normalchar * (parsers.normalchar + parsers.at)^0)
+ / writer.string
larsers.Symbol = (parsers.specialchar - parsers.tightblocksep)
/ writer.string
@@ -15650,7 +15658,14 @@ if metadata.version ~= md.metadata.version then
"markdown.lua " .. md.metadata.version .. ".")
end
local convert = md.new(options)
-local output = convert(input:gsub("\r\n?", "\n"))
+% \end{macrocode}
+% \begin{markdown}
+% Since the Lua converter expects \acro{unix} line endings, normalize the
+% input. Also add a line ending at the end of the file in case the input file
+% has none.
+% \end{markdown}
+% \begin{macrocode}
+local output = convert(input:gsub("\r\n?", "\n") .. "\n")
if output_filename then
local output_file = io.open(output_filename, "w")
@@ -16016,7 +16031,10 @@ local convert = md.new(\markdownLuaOptions)
|markdownInfo{The ending token sequence was found}@
|immediate|closeout|markdownOutputFileStream@
|endgroup@
- |markdownInput|markdownOptionInputTempFileName@
+ |markdownInput{@
+ |markdownOptionOutputDir@
+ /|markdownOptionInputTempFileName@
+ }@
#2}@
|fi@
% \end{macrocode}
@@ -16285,16 +16303,15 @@ local convert = md.new(\markdownLuaOptions)
|closein|markdownInputFileStream
|markdownLuaExecute{%
|markdownPrepare
- local input = assert(io.open("%
- |markdownOptionOutputDir
- /#1", "r"):read("*a"))
+ local input = assert(io.open("#1", "r"):read("*a"))
% \end{macrocode}
% \begin{markdown}
% Since the Lua converter expects \acro{unix} line endings, normalize the
-% input.
+% input. Also add a line ending at the end of the file in case the input file
+% has none.
% \end{markdown}
% \begin{macrocode}
- print(convert(input:gsub("\r\n?", "\n")))}}%
+ print(convert(input:gsub("\r\n?", "\n") .. "\n"))}}%
|endgroup
% \end{macrocode}
% \iffalse
diff --git a/macros/generic/markdown/markdown.html b/macros/generic/markdown/markdown.html
index e6ed568bff..cc1c9fe59f 100644
--- a/macros/generic/markdown/markdown.html
+++ b/macros/generic/markdown/markdown.html
@@ -86,7 +86,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
<header>
<h1 class="title">Markdown Package User Manual</h1>
<p class="author">Vít Novotný</p>
-<p class="date">v2.8.1 (2019/04/30)</p>
+<p class="date">v2.8.2 (2020/03/20)</p>
</header>
<nav id="TOC">
<ul>
@@ -123,7 +123,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni
</nav>
<p><link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet" /></p>
<h1 id="introduction"><span class="header-section-number">1</span> Introduction</h1>
-<p>The <a href="https://ctan.org/pkg/markdown" title="CTAN: Package markdown">Markdown package</a> converts <a href="https://daringfireball.net/projects/markdown/basics/" title="Daring Fireball: Markdown Basics">markdown</a> markup to <span class="tex">T<sub>e</sub>X</span> commands. The functionality is provided both as a Lua module and as plain <span class="tex">T<sub>e</sub>X</span>, <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, and Con<span class="tex">T<sub>e</sub>X</span>t macro packages that can be used to directly typeset documents containing markdown markup. Unlike other convertors, the Markdown package makes it easy to redefine how each and every markdown element is rendered. Creative abuse of the markdown syntax is encouraged. <i class="em em-wink"></i></p>
+<p>The <a href="https://ctan.org/pkg/markdown" title="CTAN: Package markdown">Markdown package</a> converts <a href="https://daringfireball.net/projects/markdown/basics/" title="Daring Fireball: Markdown Basics">markdown</a> markup to <span class="tex">T<sub>e</sub>X</span> commands. The functionality is provided both as a Lua module and as plain <span class="tex">T<sub>e</sub>X</span>, <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, and Con<span class="tex">T<sub>e</sub>X</span>t macro packages that can be used to directly typeset documents containing markdown markup. Unlike other convertors, the Markdown package does not require any external programs, and makes it easy to redefine how each and every markdown element is rendered. Creative abuse of the markdown syntax is encouraged. <i class="em em-wink"></i></p>
<p>This document is a user manual for the <a href="https://ctan.org/pkg/markdown" title="CTAN: Package markdown">Markdown package</a>. It provides tutorials and code examples. For an in-depth description of the package requirements, interfaces, and implementation, please refer to the <a href="http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf" title="A Markdown Interpreter for &lt;span class=&quot;tex&quot;&gt;T&lt;sub&gt;e&lt;/sub&gt;X&lt;/span&gt;">technical documentation</a>.</p>
<h2 id="requirements"><span class="header-section-number">1.1</span> Requirements</h2>
<p>The package requires a working <span class="tex">T<sub>e</sub>X</span> distribution. <a href="https://www.tug.org/texlive/" title="TeX Live - TeX Users Group"><span class="tex">T<sub>e</sub>X</span> Live</a> ≥ 2013 is known to work and so are recent installation of <a href="https://miktex.org/" title="Home - MiKTeXorg">Mik<span class="tex">T<sub>e</sub>X</span></a>. If you are using a minimal installation of a <span class="tex">T<sub>e</sub>X</span> distribution, please consult the <a href="http://mirrors.ctan.org/macros/generic/markdown/markdown.pdf" title="A Markdown Interpreter for &lt;span class=&quot;tex&quot;&gt;T&lt;sub&gt;e&lt;/sub&gt;X&lt;/span&gt;">technical documentation</a> for a detailed list of required packages.</p>
@@ -3766,33 +3766,33 @@ multiple paragraphs</li>
<a class="sourceLine" id="cb301-5" data-line-number="5"><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</a>
<a class="sourceLine" id="cb301-6" data-line-number="6"><span class="fu">\catcode</span>`<span class="fu">\^</span>^A=14</a>
<a class="sourceLine" id="cb301-7" data-line-number="7"><span class="fu">\global\def</span>\markdownRendererImage#1#2#3#4{^^A</a>
-<a class="sourceLine" id="cb301-8" data-line-number="8"> \immediate\write18{^^A</a>
-<a class="sourceLine" id="cb301-9" data-line-number="9"> if printf &#39;<span class="co">%s&#39; &quot;#3&quot; | grep -q ^http; then</span></a>
-<a class="sourceLine" id="cb301-10" data-line-number="10"> OUTPUT=&quot;$(printf &#39;<span class="co">%s&#39; &quot;#3&quot; | md5sum | cut -d&#39; &#39; -f1).^^A</span></a>
-<a class="sourceLine" id="cb301-11" data-line-number="11"> $(printf &#39;<span class="co">%s&#39; &quot;#3&quot; | sed &#39;s/.*[.]//&#39;)&quot;;</span></a>
-<a class="sourceLine" id="cb301-12" data-line-number="12"> if ! [ -e &quot;$OUTPUT&quot; ]; then</a>
-<a class="sourceLine" id="cb301-13" data-line-number="13"> wget -O &quot;$OUTPUT&quot; &#39;#3&#39; || rm &quot;$OUTPUT&quot;;</a>
-<a class="sourceLine" id="cb301-14" data-line-number="14"> convert &quot;$OUTPUT&quot; png:&quot;$OUTPUT&quot;;</a>
-<a class="sourceLine" id="cb301-15" data-line-number="15"> fi;</a>
-<a class="sourceLine" id="cb301-16" data-line-number="16"> printf &#39;<span class="co">%s%%&#39; &quot;$OUTPUT&quot; &gt; \jobname.fetched;</span></a>
-<a class="sourceLine" id="cb301-17" data-line-number="17"> else</a>
-<a class="sourceLine" id="cb301-18" data-line-number="18"> printf &#39;<span class="co">%s%%&#39; &quot;#3&quot; &gt; \jobname.fetched;</span></a>
-<a class="sourceLine" id="cb301-19" data-line-number="19"> fi^^A</a>
-<a class="sourceLine" id="cb301-20" data-line-number="20"> }^^A</a>
-<a class="sourceLine" id="cb301-21" data-line-number="21"> {^^A</a>
-<a class="sourceLine" id="cb301-22" data-line-number="22"> \everyeof={\noexpand}^^A</a>
-<a class="sourceLine" id="cb301-23" data-line-number="23"> \edef\filename{\@@input&quot;\jobname.fetched&quot; }^^A</a>
-<a class="sourceLine" id="cb301-24" data-line-number="24"> \includegraphics[width=\textwidth]{\filename}^^A</a>
-<a class="sourceLine" id="cb301-25" data-line-number="25"> }^^A</a>
-<a class="sourceLine" id="cb301-26" data-line-number="26">}</a>
-<a class="sourceLine" id="cb301-27" data-line-number="27"><span class="fu">\endgroup</span></a>
-<a class="sourceLine" id="cb301-28" data-line-number="28"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb301-29" data-line-number="29"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb301-30" data-line-number="30">![TUGboat](https://tug.org/tugboat/noword.jpg)</a>
-<a class="sourceLine" id="cb301-31" data-line-number="31"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb301-32" data-line-number="32"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb302"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb302-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
+<a class="sourceLine" id="cb301-8" data-line-number="8"> \immediate\write18{^^A</a></code></pre></div>
+<div class="sourceCode" id="cb302"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb302-1" data-line-number="1"> <span class="kw">if</span> <span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">grep</span> -q ^http<span class="kw">;</span> <span class="kw">then</span></a>
+<a class="sourceLine" id="cb302-2" data-line-number="2"> <span class="va">OUTPUT=</span><span class="st">&quot;</span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="ex">md5sum</span> <span class="kw">|</span> <span class="fu">cut</span> -d<span class="st">&#39; &#39;</span> -f1<span class="va">)</span><span class="st">.^^A</span></a>
+<a class="sourceLine" id="cb302-3" data-line-number="3"><span class="st"> </span><span class="va">$(</span><span class="bu">printf</span> <span class="st">&#39;%s&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="kw">|</span> <span class="fu">sed</span> <span class="st">&#39;s/.*[.]//&#39;</span><span class="va">)</span><span class="st">&quot;</span>;</a>
+<a class="sourceLine" id="cb302-4" data-line-number="4"> <span class="kw">if</span> !<span class="bu"> [</span> <span class="ot">-e</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="bu"> ]</span>; <span class="kw">then</span></a>
+<a class="sourceLine" id="cb302-5" data-line-number="5"> <span class="fu">wget</span> -O <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="st">&#39;#3&#39;</span> <span class="kw">||</span> <span class="fu">rm</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></a>
+<a class="sourceLine" id="cb302-6" data-line-number="6"> <span class="ex">convert</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> png:<span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span><span class="kw">;</span></a>
+<a class="sourceLine" id="cb302-7" data-line-number="7"> <span class="kw">fi</span>;</a>
+<a class="sourceLine" id="cb302-8" data-line-number="8"> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;</span><span class="va">$OUTPUT</span><span class="st">&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></a>
+<a class="sourceLine" id="cb302-9" data-line-number="9"> <span class="kw">else</span></a>
+<a class="sourceLine" id="cb302-10" data-line-number="10"> <span class="bu">printf</span> <span class="st">&#39;%s%%&#39;</span> <span class="st">&quot;#3&quot;</span> <span class="op">&gt;</span> \jobname.fetched<span class="kw">;</span></a>
+<a class="sourceLine" id="cb302-11" data-line-number="11"> <span class="kw">fi</span>^^<span class="ex">A</span></a></code></pre></div>
+<div class="sourceCode" id="cb303"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb303-1" data-line-number="1"> }^^A</a>
+<a class="sourceLine" id="cb303-2" data-line-number="2"> {^^A</a>
+<a class="sourceLine" id="cb303-3" data-line-number="3"> <span class="fu">\everyeof</span>={<span class="fu">\noexpand</span>}^^A</a>
+<a class="sourceLine" id="cb303-4" data-line-number="4"> <span class="fu">\edef</span>\filename{\@@input&quot;\jobname.fetched&quot; }^^A</a>
+<a class="sourceLine" id="cb303-5" data-line-number="5"> <span class="bu">\includegraphics</span>[width=<span class="fu">\textwidth</span>]{<span class="fu">\filename</span>}^^A</a>
+<a class="sourceLine" id="cb303-6" data-line-number="6"> }^^A</a>
+<a class="sourceLine" id="cb303-7" data-line-number="7">}</a>
+<a class="sourceLine" id="cb303-8" data-line-number="8"><span class="fu">\endgroup</span></a>
+<a class="sourceLine" id="cb303-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb303-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb303-11" data-line-number="11">![TUGboat](https://tug.org/tugboat/noword.jpg)</a>
+<a class="sourceLine" id="cb303-12" data-line-number="12"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb303-13" data-line-number="13"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb304"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb304-1" data-line-number="1"><span class="ex">lualatex</span> --shell-escape document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following content. This assumes that you use a Unix-like operating system with Bourne or Bourne again shell as the default shell of the current user. It also assumes that the <code>md5sum</code>, <code>wget</code>, and <code>convert</code> binaries are installed and that the <span class="tex">T<sub>e</sub>X</span> engine has shell access.</p>
<blockquote>
<p><img src="https://tug.org/tugboat/noword.jpg" title="The Communications of the TeX Users Group" /></p>
@@ -3804,30 +3804,30 @@ multiple paragraphs</li>
<p>Note that you will need to place place a <code>markdown-languages.json</code> file inside your working directory or inside your local <span class="tex">T<sub>e</sub>X</span> directory structure. In this file, you will define a mapping between filename extensions and the language names recognized by your favorite syntax highlighter; there may exist other creative uses beside syntax highlighting. <a href="https://github.com/iainc/Markdown-Content-Blocks" title="File transclusion syntax for Markdown">The <code>Languages.json</code> file provided by Anton Sotkov</a> is a good starting point.</p>
<h5 id="plain-tex-example-18" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb303"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb303-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb303-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb303-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb303-4" data-line-number="4"> This is {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb303-5" data-line-number="5">}</a>
-<a class="sourceLine" id="cb303-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb303-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb303-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb303-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
-<a class="sourceLine" id="cb303-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
-<a class="sourceLine" id="cb303-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb303-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb303-13" data-line-number="13">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb303-14" data-line-number="14">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb303-15" data-line-number="15"> and programming language names)</a>
-<a class="sourceLine" id="cb303-16" data-line-number="16">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb303-17" data-line-number="17"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb303-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
+<div class="sourceCode" id="cb305"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb305-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb305-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
+<a class="sourceLine" id="cb305-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
+<a class="sourceLine" id="cb305-4" data-line-number="4"> This is {\tt #2}, #4.</a>
+<a class="sourceLine" id="cb305-5" data-line-number="5">}</a>
+<a class="sourceLine" id="cb305-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
+<a class="sourceLine" id="cb305-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
+<a class="sourceLine" id="cb305-8" data-line-number="8">}</a>
+<a class="sourceLine" id="cb305-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
+<a class="sourceLine" id="cb305-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
+<a class="sourceLine" id="cb305-11" data-line-number="11">}</a>
+<a class="sourceLine" id="cb305-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb305-13" data-line-number="13">/document.tex (the document that we are currently typesetting)</a>
+<a class="sourceLine" id="cb305-14" data-line-number="14">/markdown-languages.json (the mapping between filename extensions</a>
+<a class="sourceLine" id="cb305-15" data-line-number="15"> and programming language names)</a>
+<a class="sourceLine" id="cb305-16" data-line-number="16">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
+<a class="sourceLine" id="cb305-17" data-line-number="17"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb305-18" data-line-number="18"><span class="fu">\bye</span></a></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb304"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb304-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb304-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
-<a class="sourceLine" id="cb304-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb306"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb306-1" data-line-number="1"><span class="op">{</span></a>
+<a class="sourceLine" id="cb306-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
+<a class="sourceLine" id="cb306-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb305"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb305-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb307"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb307-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
@@ -3836,33 +3836,33 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-33" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb306"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb306-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb306-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">filecontents</span>}</a>
-<a class="sourceLine" id="cb306-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">filecontents*</span>}{markdown-languages.json}</a>
-<a class="sourceLine" id="cb306-4" data-line-number="4">{</a>
-<a class="sourceLine" id="cb306-5" data-line-number="5"> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</a>
-<a class="sourceLine" id="cb306-6" data-line-number="6">}</a>
-<a class="sourceLine" id="cb306-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">filecontents*</span>}</a>
-<a class="sourceLine" id="cb306-8" data-line-number="8"><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb306-9" data-line-number="9"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb306-10" data-line-number="10"> renderers = {</a>
-<a class="sourceLine" id="cb306-11" data-line-number="11"> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</a>
-<a class="sourceLine" id="cb306-12" data-line-number="12"> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</a>
-<a class="sourceLine" id="cb306-13" data-line-number="13"> contentBlockCode = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb306-14" data-line-number="14"> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</a>
-<a class="sourceLine" id="cb306-15" data-line-number="15"> },</a>
-<a class="sourceLine" id="cb306-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb306-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb306-18" data-line-number="18"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb306-19" data-line-number="19"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb306-20" data-line-number="20">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb306-21" data-line-number="21">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb306-22" data-line-number="22"> and programming language names)</a>
-<a class="sourceLine" id="cb306-23" data-line-number="23">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb306-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb306-25" data-line-number="25"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb307"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb307-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb308"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb308-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb308-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">filecontents</span>}</a>
+<a class="sourceLine" id="cb308-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">filecontents*</span>}{markdown-languages.json}</a>
+<a class="sourceLine" id="cb308-4" data-line-number="4">{</a>
+<a class="sourceLine" id="cb308-5" data-line-number="5"> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</a>
+<a class="sourceLine" id="cb308-6" data-line-number="6">}</a>
+<a class="sourceLine" id="cb308-7" data-line-number="7"><span class="kw">\end</span>{<span class="ex">filecontents*</span>}</a>
+<a class="sourceLine" id="cb308-8" data-line-number="8"><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb308-9" data-line-number="9"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb308-10" data-line-number="10"> renderers = {</a>
+<a class="sourceLine" id="cb308-11" data-line-number="11"> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</a>
+<a class="sourceLine" id="cb308-12" data-line-number="12"> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</a>
+<a class="sourceLine" id="cb308-13" data-line-number="13"> contentBlockCode = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb308-14" data-line-number="14"> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</a>
+<a class="sourceLine" id="cb308-15" data-line-number="15"> },</a>
+<a class="sourceLine" id="cb308-16" data-line-number="16"> },</a>
+<a class="sourceLine" id="cb308-17" data-line-number="17">}</a>
+<a class="sourceLine" id="cb308-18" data-line-number="18"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb308-19" data-line-number="19"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb308-20" data-line-number="20">/document.tex (the document that we are currently typesetting)</a>
+<a class="sourceLine" id="cb308-21" data-line-number="21">/markdown-languages.json (the mapping between filename extensions</a>
+<a class="sourceLine" id="cb308-22" data-line-number="22"> and programming language names)</a>
+<a class="sourceLine" id="cb308-23" data-line-number="23">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
+<a class="sourceLine" id="cb308-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb308-25" data-line-number="25"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb309"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb309-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
@@ -3871,31 +3871,31 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-28" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb308"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb308-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb308-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
-<a class="sourceLine" id="cb308-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb308-4" data-line-number="4"> This is {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb308-5" data-line-number="5">}</a>
-<a class="sourceLine" id="cb308-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb308-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
-<a class="sourceLine" id="cb308-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb308-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
-<a class="sourceLine" id="cb308-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
-<a class="sourceLine" id="cb308-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb308-12" data-line-number="12"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb308-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb308-14" data-line-number="14">/document.tex (the document that we are currently typesetting)</a>
-<a class="sourceLine" id="cb308-15" data-line-number="15">/markdown-languages.json (the mapping between filename extensions</a>
-<a class="sourceLine" id="cb308-16" data-line-number="16"> and programming language names)</a>
-<a class="sourceLine" id="cb308-17" data-line-number="17">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
-<a class="sourceLine" id="cb308-18" data-line-number="18"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb308-19" data-line-number="19"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb310"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb310-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb310-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionContentBlocks{true}</a>
+<a class="sourceLine" id="cb310-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererContentBlock#1#2#3#4{<span class="co">%</span></a>
+<a class="sourceLine" id="cb310-4" data-line-number="4"> This is {\tt #2}, #4.</a>
+<a class="sourceLine" id="cb310-5" data-line-number="5">}</a>
+<a class="sourceLine" id="cb310-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererContentBlockOnlineImage#1#2#3#4{<span class="co">%</span></a>
+<a class="sourceLine" id="cb310-7" data-line-number="7"> This is the image {\tt #2}, #4.</a>
+<a class="sourceLine" id="cb310-8" data-line-number="8">}</a>
+<a class="sourceLine" id="cb310-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererContentBlockCode#1#2#3#4#5{<span class="co">%</span></a>
+<a class="sourceLine" id="cb310-10" data-line-number="10"> This is the #2 (\uppercase{#1}) document {\tt #3}, #5.</a>
+<a class="sourceLine" id="cb310-11" data-line-number="11">}</a>
+<a class="sourceLine" id="cb310-12" data-line-number="12"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb310-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb310-14" data-line-number="14">/document.tex (the document that we are currently typesetting)</a>
+<a class="sourceLine" id="cb310-15" data-line-number="15">/markdown-languages.json (the mapping between filename extensions</a>
+<a class="sourceLine" id="cb310-16" data-line-number="16"> and programming language names)</a>
+<a class="sourceLine" id="cb310-17" data-line-number="17">https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</a>
+<a class="sourceLine" id="cb310-18" data-line-number="18"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb310-19" data-line-number="19"><span class="fu">\stoptext</span></a></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb309"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb309-1" data-line-number="1"><span class="op">{</span></a>
-<a class="sourceLine" id="cb309-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
-<a class="sourceLine" id="cb309-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
+<div class="sourceCode" id="cb311"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb311-1" data-line-number="1"><span class="op">{</span></a>
+<a class="sourceLine" id="cb311-2" data-line-number="2"> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></a>
+<a class="sourceLine" id="cb311-3" data-line-number="3"><span class="op">}</span></a></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb310"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb310-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb312"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb312-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <code>document.tex</code>, the document that we are currently typesetting.</p>
@@ -3911,50 +3911,50 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererUlEndTight</code> macro represents the end of a bulleted list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<h5 id="plain-tex-example-19" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb311"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb311-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb311-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb311-3" data-line-number="3"></a>
-<a class="sourceLine" id="cb311-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb311-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
-<a class="sourceLine" id="cb311-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-7" data-line-number="7"> \def\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-8" data-line-number="8"> ,</a>
-<a class="sourceLine" id="cb311-9" data-line-number="9"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-10" data-line-number="10"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb311-12" data-line-number="12"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
-<a class="sourceLine" id="cb311-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
-<a class="sourceLine" id="cb311-14" data-line-number="14"></a>
-<a class="sourceLine" id="cb311-15" data-line-number="15"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb311-16" data-line-number="16">This is a tight list</a>
-<a class="sourceLine" id="cb311-17" data-line-number="17"></a>
-<a class="sourceLine" id="cb311-18" data-line-number="18">- the first item</a>
-<a class="sourceLine" id="cb311-19" data-line-number="19">- the second item</a>
-<a class="sourceLine" id="cb311-20" data-line-number="20">- the third item</a>
-<a class="sourceLine" id="cb311-21" data-line-number="21"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb311-22" data-line-number="22"></a>
-<a class="sourceLine" id="cb311-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-24" data-line-number="24"> :\par</a>
-<a class="sourceLine" id="cb311-25" data-line-number="25"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb311-26" data-line-number="26">}</a>
-<a class="sourceLine" id="cb311-27" data-line-number="27"><span class="fu">\def</span>\markdownRendererUlBegin{}</a>
-<a class="sourceLine" id="cb311-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlItem{--\kern 0.5em}</a>
-<a class="sourceLine" id="cb311-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb311-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlEnd{}</a>
-<a class="sourceLine" id="cb311-31" data-line-number="31"></a>
-<a class="sourceLine" id="cb311-32" data-line-number="32"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb311-33" data-line-number="33">This is a loose list</a>
-<a class="sourceLine" id="cb311-34" data-line-number="34"></a>
-<a class="sourceLine" id="cb311-35" data-line-number="35">- This is the first item</a>
-<a class="sourceLine" id="cb311-36" data-line-number="36"></a>
-<a class="sourceLine" id="cb311-37" data-line-number="37">- This is the second item</a>
-<a class="sourceLine" id="cb311-38" data-line-number="38"></a>
-<a class="sourceLine" id="cb311-39" data-line-number="39">- This is the third item</a>
-<a class="sourceLine" id="cb311-40" data-line-number="40"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb311-41" data-line-number="41"></a>
-<a class="sourceLine" id="cb311-42" data-line-number="42"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb312"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb312-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb313"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb313-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb313-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
+<a class="sourceLine" id="cb313-3" data-line-number="3"></a>
+<a class="sourceLine" id="cb313-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb313-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
+<a class="sourceLine" id="cb313-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-7" data-line-number="7"> \def\markdownRendererUlItem{<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-8" data-line-number="8"> ,</a>
+<a class="sourceLine" id="cb313-9" data-line-number="9"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-10" data-line-number="10"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-11" data-line-number="11">}</a>
+<a class="sourceLine" id="cb313-12" data-line-number="12"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
+<a class="sourceLine" id="cb313-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
+<a class="sourceLine" id="cb313-14" data-line-number="14"></a>
+<a class="sourceLine" id="cb313-15" data-line-number="15"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb313-16" data-line-number="16">This is a tight list</a>
+<a class="sourceLine" id="cb313-17" data-line-number="17"></a>
+<a class="sourceLine" id="cb313-18" data-line-number="18">- the first item</a>
+<a class="sourceLine" id="cb313-19" data-line-number="19">- the second item</a>
+<a class="sourceLine" id="cb313-20" data-line-number="20">- the third item</a>
+<a class="sourceLine" id="cb313-21" data-line-number="21"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb313-22" data-line-number="22"></a>
+<a class="sourceLine" id="cb313-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-24" data-line-number="24"> :\par</a>
+<a class="sourceLine" id="cb313-25" data-line-number="25"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb313-26" data-line-number="26">}</a>
+<a class="sourceLine" id="cb313-27" data-line-number="27"><span class="fu">\def</span>\markdownRendererUlBegin{}</a>
+<a class="sourceLine" id="cb313-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlItem{--\kern 0.5em}</a>
+<a class="sourceLine" id="cb313-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItemEnd{.\par}</a>
+<a class="sourceLine" id="cb313-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlEnd{}</a>
+<a class="sourceLine" id="cb313-31" data-line-number="31"></a>
+<a class="sourceLine" id="cb313-32" data-line-number="32"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb313-33" data-line-number="33">This is a loose list</a>
+<a class="sourceLine" id="cb313-34" data-line-number="34"></a>
+<a class="sourceLine" id="cb313-35" data-line-number="35">- This is the first item</a>
+<a class="sourceLine" id="cb313-36" data-line-number="36"></a>
+<a class="sourceLine" id="cb313-37" data-line-number="37">- This is the second item</a>
+<a class="sourceLine" id="cb313-38" data-line-number="38"></a>
+<a class="sourceLine" id="cb313-39" data-line-number="39">- This is the third item</a>
+<a class="sourceLine" id="cb313-40" data-line-number="40"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb313-41" data-line-number="41"></a>
+<a class="sourceLine" id="cb313-42" data-line-number="42"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb314"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb314-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -3967,55 +3967,55 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-34" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb313"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb313-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb313-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb313-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb313-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb313-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb313-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb313-7" data-line-number="7"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb313-8" data-line-number="8"> ulBeginTight = { (},</a>
-<a class="sourceLine" id="cb313-9" data-line-number="9"> ulItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-10" data-line-number="10"> <span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-11" data-line-number="11"> ,</a>
-<a class="sourceLine" id="cb313-12" data-line-number="12"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-13" data-line-number="13"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-14" data-line-number="14"> },</a>
-<a class="sourceLine" id="cb313-15" data-line-number="15"> ulItemEnd = {},</a>
-<a class="sourceLine" id="cb313-16" data-line-number="16"> ulEndTight = {).},</a>
-<a class="sourceLine" id="cb313-17" data-line-number="17"> },</a>
-<a class="sourceLine" id="cb313-18" data-line-number="18">}</a>
-<a class="sourceLine" id="cb313-19" data-line-number="19">This is a tight list</a>
-<a class="sourceLine" id="cb313-20" data-line-number="20"></a>
-<a class="sourceLine" id="cb313-21" data-line-number="21">- the first item</a>
-<a class="sourceLine" id="cb313-22" data-line-number="22">- the second item</a>
-<a class="sourceLine" id="cb313-23" data-line-number="23">- the third item</a>
-<a class="sourceLine" id="cb313-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb313-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb313-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb313-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb313-28" data-line-number="28"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-29" data-line-number="29"> :<span class="fu">\par</span></a>
-<a class="sourceLine" id="cb313-30" data-line-number="30"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb313-31" data-line-number="31"> },</a>
-<a class="sourceLine" id="cb313-32" data-line-number="32"> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb313-33" data-line-number="33"> ulItem = {<span class="fu">\item</span>},</a>
-<a class="sourceLine" id="cb313-34" data-line-number="34"> ulItemEnd = {.},</a>
-<a class="sourceLine" id="cb313-35" data-line-number="35"> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb313-36" data-line-number="36"> },</a>
-<a class="sourceLine" id="cb313-37" data-line-number="37">}</a>
-<a class="sourceLine" id="cb313-38" data-line-number="38">This is a loose list</a>
-<a class="sourceLine" id="cb313-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb313-40" data-line-number="40">- This is the first item</a>
-<a class="sourceLine" id="cb313-41" data-line-number="41"></a>
-<a class="sourceLine" id="cb313-42" data-line-number="42">- This is the second item</a>
-<a class="sourceLine" id="cb313-43" data-line-number="43"></a>
-<a class="sourceLine" id="cb313-44" data-line-number="44">- This is the third item</a>
-<a class="sourceLine" id="cb313-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb313-46" data-line-number="46"></a>
-<a class="sourceLine" id="cb313-47" data-line-number="47"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb314"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb314-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb315"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb315-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb315-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb315-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb315-4" data-line-number="4"></a>
+<a class="sourceLine" id="cb315-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb315-6" data-line-number="6"> renderers = {</a>
+<a class="sourceLine" id="cb315-7" data-line-number="7"> interblockSeparator = {},</a>
+<a class="sourceLine" id="cb315-8" data-line-number="8"> ulBeginTight = { (},</a>
+<a class="sourceLine" id="cb315-9" data-line-number="9"> ulItem = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-10" data-line-number="10"> <span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-11" data-line-number="11"> ,</a>
+<a class="sourceLine" id="cb315-12" data-line-number="12"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-13" data-line-number="13"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-14" data-line-number="14"> },</a>
+<a class="sourceLine" id="cb315-15" data-line-number="15"> ulItemEnd = {},</a>
+<a class="sourceLine" id="cb315-16" data-line-number="16"> ulEndTight = {).},</a>
+<a class="sourceLine" id="cb315-17" data-line-number="17"> },</a>
+<a class="sourceLine" id="cb315-18" data-line-number="18">}</a>
+<a class="sourceLine" id="cb315-19" data-line-number="19">This is a tight list</a>
+<a class="sourceLine" id="cb315-20" data-line-number="20"></a>
+<a class="sourceLine" id="cb315-21" data-line-number="21">- the first item</a>
+<a class="sourceLine" id="cb315-22" data-line-number="22">- the second item</a>
+<a class="sourceLine" id="cb315-23" data-line-number="23">- the third item</a>
+<a class="sourceLine" id="cb315-24" data-line-number="24"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb315-25" data-line-number="25"></a>
+<a class="sourceLine" id="cb315-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb315-27" data-line-number="27"> renderers = {</a>
+<a class="sourceLine" id="cb315-28" data-line-number="28"> interblockSeparator = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-29" data-line-number="29"> :<span class="fu">\par</span></a>
+<a class="sourceLine" id="cb315-30" data-line-number="30"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb315-31" data-line-number="31"> },</a>
+<a class="sourceLine" id="cb315-32" data-line-number="32"> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</a>
+<a class="sourceLine" id="cb315-33" data-line-number="33"> ulItem = {<span class="fu">\item</span>},</a>
+<a class="sourceLine" id="cb315-34" data-line-number="34"> ulItemEnd = {.},</a>
+<a class="sourceLine" id="cb315-35" data-line-number="35"> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
+<a class="sourceLine" id="cb315-36" data-line-number="36"> },</a>
+<a class="sourceLine" id="cb315-37" data-line-number="37">}</a>
+<a class="sourceLine" id="cb315-38" data-line-number="38">This is a loose list</a>
+<a class="sourceLine" id="cb315-39" data-line-number="39"></a>
+<a class="sourceLine" id="cb315-40" data-line-number="40">- This is the first item</a>
+<a class="sourceLine" id="cb315-41" data-line-number="41"></a>
+<a class="sourceLine" id="cb315-42" data-line-number="42">- This is the second item</a>
+<a class="sourceLine" id="cb315-43" data-line-number="43"></a>
+<a class="sourceLine" id="cb315-44" data-line-number="44">- This is the third item</a>
+<a class="sourceLine" id="cb315-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb315-46" data-line-number="46"></a>
+<a class="sourceLine" id="cb315-47" data-line-number="47"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb316"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb316-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4028,51 +4028,51 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-29" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb315"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb315-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb315-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb315-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb315-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb315-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb315-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
-<a class="sourceLine" id="cb315-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-8" data-line-number="8"> \def\markdownRendererUlItem{<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-9" data-line-number="9"> ,</a>
-<a class="sourceLine" id="cb315-10" data-line-number="10"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-11" data-line-number="11"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb315-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
-<a class="sourceLine" id="cb315-14" data-line-number="14"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
-<a class="sourceLine" id="cb315-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb315-16" data-line-number="16"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb315-17" data-line-number="17">This is a tight list</a>
-<a class="sourceLine" id="cb315-18" data-line-number="18"></a>
-<a class="sourceLine" id="cb315-19" data-line-number="19">- the first item</a>
-<a class="sourceLine" id="cb315-20" data-line-number="20">- the second item</a>
-<a class="sourceLine" id="cb315-21" data-line-number="21">- the third item</a>
-<a class="sourceLine" id="cb315-22" data-line-number="22"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb315-23" data-line-number="23"></a>
-<a class="sourceLine" id="cb315-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-25" data-line-number="25"> :\par</a>
-<a class="sourceLine" id="cb315-26" data-line-number="26"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb315-27" data-line-number="27">}</a>
-<a class="sourceLine" id="cb315-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlBegin{\startitemize}</a>
-<a class="sourceLine" id="cb315-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItem{\item}</a>
-<a class="sourceLine" id="cb315-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlItemEnd{.}</a>
-<a class="sourceLine" id="cb315-31" data-line-number="31"><span class="fu">\def</span>\markdownRendererUlEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb315-32" data-line-number="32"></a>
-<a class="sourceLine" id="cb315-33" data-line-number="33"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb315-34" data-line-number="34">This is a loose list</a>
-<a class="sourceLine" id="cb315-35" data-line-number="35"></a>
-<a class="sourceLine" id="cb315-36" data-line-number="36">- This is the first item</a>
-<a class="sourceLine" id="cb315-37" data-line-number="37"></a>
-<a class="sourceLine" id="cb315-38" data-line-number="38">- This is the second item</a>
-<a class="sourceLine" id="cb315-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb315-40" data-line-number="40">- This is the third item</a>
-<a class="sourceLine" id="cb315-41" data-line-number="41"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb315-42" data-line-number="42"></a>
-<a class="sourceLine" id="cb315-43" data-line-number="43"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb316"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb316-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb317"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb317-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb317-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
+<a class="sourceLine" id="cb317-3" data-line-number="3"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb317-4" data-line-number="4"></a>
+<a class="sourceLine" id="cb317-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb317-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererUlBeginTight{ (}</a>
+<a class="sourceLine" id="cb317-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererUlItem{<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-8" data-line-number="8"> \def\markdownRendererUlItem{<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-9" data-line-number="9"> ,</a>
+<a class="sourceLine" id="cb317-10" data-line-number="10"> \def\markdownRendererUlItem{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-11" data-line-number="11"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-12" data-line-number="12">}</a>
+<a class="sourceLine" id="cb317-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererUlItemEnd{}</a>
+<a class="sourceLine" id="cb317-14" data-line-number="14"><span class="fu">\def</span>\markdownRendererUlEndTight{).}</a>
+<a class="sourceLine" id="cb317-15" data-line-number="15"></a>
+<a class="sourceLine" id="cb317-16" data-line-number="16"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb317-17" data-line-number="17">This is a tight list</a>
+<a class="sourceLine" id="cb317-18" data-line-number="18"></a>
+<a class="sourceLine" id="cb317-19" data-line-number="19">- the first item</a>
+<a class="sourceLine" id="cb317-20" data-line-number="20">- the second item</a>
+<a class="sourceLine" id="cb317-21" data-line-number="21">- the third item</a>
+<a class="sourceLine" id="cb317-22" data-line-number="22"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb317-23" data-line-number="23"></a>
+<a class="sourceLine" id="cb317-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-25" data-line-number="25"> :\par</a>
+<a class="sourceLine" id="cb317-26" data-line-number="26"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb317-27" data-line-number="27">}</a>
+<a class="sourceLine" id="cb317-28" data-line-number="28"><span class="fu">\def</span>\markdownRendererUlBegin{\startitemize}</a>
+<a class="sourceLine" id="cb317-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererUlItem{\item}</a>
+<a class="sourceLine" id="cb317-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererUlItemEnd{.}</a>
+<a class="sourceLine" id="cb317-31" data-line-number="31"><span class="fu">\def</span>\markdownRendererUlEnd{\stopitemize}</a>
+<a class="sourceLine" id="cb317-32" data-line-number="32"></a>
+<a class="sourceLine" id="cb317-33" data-line-number="33"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb317-34" data-line-number="34">This is a loose list</a>
+<a class="sourceLine" id="cb317-35" data-line-number="35"></a>
+<a class="sourceLine" id="cb317-36" data-line-number="36">- This is the first item</a>
+<a class="sourceLine" id="cb317-37" data-line-number="37"></a>
+<a class="sourceLine" id="cb317-38" data-line-number="38">- This is the second item</a>
+<a class="sourceLine" id="cb317-39" data-line-number="39"></a>
+<a class="sourceLine" id="cb317-40" data-line-number="40">- This is the third item</a>
+<a class="sourceLine" id="cb317-41" data-line-number="41"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb317-42" data-line-number="42"></a>
+<a class="sourceLine" id="cb317-43" data-line-number="43"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb318"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb318-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4093,68 +4093,68 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererOlEndTight</code> macro represents the end of an ordered list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<h5 id="plain-tex-example-20" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb317"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb317-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb317-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb317-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
-<a class="sourceLine" id="cb317-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb317-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb317-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
-<a class="sourceLine" id="cb317-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb317-8" data-line-number="8"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb317-9" data-line-number="9"> the first</a>
-<a class="sourceLine" id="cb317-10" data-line-number="10"> \else</a>
-<a class="sourceLine" id="cb317-11" data-line-number="11"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb317-12" data-line-number="12"> , the second</a>
-<a class="sourceLine" id="cb317-13" data-line-number="13"> \else</a>
-<a class="sourceLine" id="cb317-14" data-line-number="14"> , and the third</a>
-<a class="sourceLine" id="cb317-15" data-line-number="15"> \fi</a>
-<a class="sourceLine" id="cb317-16" data-line-number="16"> \fi</a>
-<a class="sourceLine" id="cb317-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb317-18" data-line-number="18"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
-<a class="sourceLine" id="cb317-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
-<a class="sourceLine" id="cb317-20" data-line-number="20"></a>
-<a class="sourceLine" id="cb317-21" data-line-number="21"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb317-22" data-line-number="22">This is a tight list</a>
-<a class="sourceLine" id="cb317-23" data-line-number="23"></a>
-<a class="sourceLine" id="cb317-24" data-line-number="24">1. item</a>
-<a class="sourceLine" id="cb317-25" data-line-number="25">2. item</a>
-<a class="sourceLine" id="cb317-26" data-line-number="26">3. item</a>
-<a class="sourceLine" id="cb317-27" data-line-number="27"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb317-28" data-line-number="28"></a>
-<a class="sourceLine" id="cb317-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb317-30" data-line-number="30"> :\par</a>
-<a class="sourceLine" id="cb317-31" data-line-number="31"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb317-32" data-line-number="32">}</a>
-<a class="sourceLine" id="cb317-33" data-line-number="33"><span class="fu">\def</span>\markdownRendererOlBegin{}</a>
-<a class="sourceLine" id="cb317-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb317-35" data-line-number="35"> #1.\kern 0.5em<span class="co">%</span></a>
-<a class="sourceLine" id="cb317-36" data-line-number="36"> This is the</a>
-<a class="sourceLine" id="cb317-37" data-line-number="37"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb317-38" data-line-number="38"> first</a>
-<a class="sourceLine" id="cb317-39" data-line-number="39"> \else</a>
-<a class="sourceLine" id="cb317-40" data-line-number="40"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb317-41" data-line-number="41"> second</a>
-<a class="sourceLine" id="cb317-42" data-line-number="42"> \else</a>
-<a class="sourceLine" id="cb317-43" data-line-number="43"> third</a>
-<a class="sourceLine" id="cb317-44" data-line-number="44"> \fi</a>
-<a class="sourceLine" id="cb317-45" data-line-number="45"> \fi</a>
-<a class="sourceLine" id="cb317-46" data-line-number="46">}</a>
-<a class="sourceLine" id="cb317-47" data-line-number="47"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb317-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlEnd{}</a>
-<a class="sourceLine" id="cb317-49" data-line-number="49"></a>
-<a class="sourceLine" id="cb317-50" data-line-number="50"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb317-51" data-line-number="51">This is a loose list</a>
-<a class="sourceLine" id="cb317-52" data-line-number="52"></a>
-<a class="sourceLine" id="cb317-53" data-line-number="53">1. item</a>
-<a class="sourceLine" id="cb317-54" data-line-number="54"></a>
-<a class="sourceLine" id="cb317-55" data-line-number="55">2. item</a>
-<a class="sourceLine" id="cb317-56" data-line-number="56"></a>
-<a class="sourceLine" id="cb317-57" data-line-number="57">3. item</a>
-<a class="sourceLine" id="cb317-58" data-line-number="58"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb317-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb317-60" data-line-number="60"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb318"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb318-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb319"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb319-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb319-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
+<a class="sourceLine" id="cb319-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
+<a class="sourceLine" id="cb319-4" data-line-number="4"></a>
+<a class="sourceLine" id="cb319-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb319-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
+<a class="sourceLine" id="cb319-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb319-8" data-line-number="8"> \ifnum #1=1\relax</a>
+<a class="sourceLine" id="cb319-9" data-line-number="9"> the first</a>
+<a class="sourceLine" id="cb319-10" data-line-number="10"> \else</a>
+<a class="sourceLine" id="cb319-11" data-line-number="11"> \ifnum #1=2\relax</a>
+<a class="sourceLine" id="cb319-12" data-line-number="12"> , the second</a>
+<a class="sourceLine" id="cb319-13" data-line-number="13"> \else</a>
+<a class="sourceLine" id="cb319-14" data-line-number="14"> , and the third</a>
+<a class="sourceLine" id="cb319-15" data-line-number="15"> \fi</a>
+<a class="sourceLine" id="cb319-16" data-line-number="16"> \fi</a>
+<a class="sourceLine" id="cb319-17" data-line-number="17">}</a>
+<a class="sourceLine" id="cb319-18" data-line-number="18"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
+<a class="sourceLine" id="cb319-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
+<a class="sourceLine" id="cb319-20" data-line-number="20"></a>
+<a class="sourceLine" id="cb319-21" data-line-number="21"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb319-22" data-line-number="22">This is a tight list</a>
+<a class="sourceLine" id="cb319-23" data-line-number="23"></a>
+<a class="sourceLine" id="cb319-24" data-line-number="24">1. item</a>
+<a class="sourceLine" id="cb319-25" data-line-number="25">2. item</a>
+<a class="sourceLine" id="cb319-26" data-line-number="26">3. item</a>
+<a class="sourceLine" id="cb319-27" data-line-number="27"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb319-28" data-line-number="28"></a>
+<a class="sourceLine" id="cb319-29" data-line-number="29"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb319-30" data-line-number="30"> :\par</a>
+<a class="sourceLine" id="cb319-31" data-line-number="31"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb319-32" data-line-number="32">}</a>
+<a class="sourceLine" id="cb319-33" data-line-number="33"><span class="fu">\def</span>\markdownRendererOlBegin{}</a>
+<a class="sourceLine" id="cb319-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb319-35" data-line-number="35"> #1.\kern 0.5em<span class="co">%</span></a>
+<a class="sourceLine" id="cb319-36" data-line-number="36"> This is the</a>
+<a class="sourceLine" id="cb319-37" data-line-number="37"> \ifnum #1=1\relax</a>
+<a class="sourceLine" id="cb319-38" data-line-number="38"> first</a>
+<a class="sourceLine" id="cb319-39" data-line-number="39"> \else</a>
+<a class="sourceLine" id="cb319-40" data-line-number="40"> \ifnum #1=2\relax</a>
+<a class="sourceLine" id="cb319-41" data-line-number="41"> second</a>
+<a class="sourceLine" id="cb319-42" data-line-number="42"> \else</a>
+<a class="sourceLine" id="cb319-43" data-line-number="43"> third</a>
+<a class="sourceLine" id="cb319-44" data-line-number="44"> \fi</a>
+<a class="sourceLine" id="cb319-45" data-line-number="45"> \fi</a>
+<a class="sourceLine" id="cb319-46" data-line-number="46">}</a>
+<a class="sourceLine" id="cb319-47" data-line-number="47"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
+<a class="sourceLine" id="cb319-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlEnd{}</a>
+<a class="sourceLine" id="cb319-49" data-line-number="49"></a>
+<a class="sourceLine" id="cb319-50" data-line-number="50"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb319-51" data-line-number="51">This is a loose list</a>
+<a class="sourceLine" id="cb319-52" data-line-number="52"></a>
+<a class="sourceLine" id="cb319-53" data-line-number="53">1. item</a>
+<a class="sourceLine" id="cb319-54" data-line-number="54"></a>
+<a class="sourceLine" id="cb319-55" data-line-number="55">2. item</a>
+<a class="sourceLine" id="cb319-56" data-line-number="56"></a>
+<a class="sourceLine" id="cb319-57" data-line-number="57">3. item</a>
+<a class="sourceLine" id="cb319-58" data-line-number="58"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb319-59" data-line-number="59"></a>
+<a class="sourceLine" id="cb319-60" data-line-number="60"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb320"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb320-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4167,71 +4167,71 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-35" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb319"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb319-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb319-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb319-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb319-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb319-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb319-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb319-7" data-line-number="7"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb319-8" data-line-number="8"> olBeginTight = { (},</a>
-<a class="sourceLine" id="cb319-9" data-line-number="9"> olItemWithNumber = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb319-10" data-line-number="10"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb319-11" data-line-number="11"> the first</a>
-<a class="sourceLine" id="cb319-12" data-line-number="12"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb319-13" data-line-number="13"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb319-14" data-line-number="14"> , the second</a>
-<a class="sourceLine" id="cb319-15" data-line-number="15"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb319-16" data-line-number="16"> , and the third</a>
-<a class="sourceLine" id="cb319-17" data-line-number="17"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb319-18" data-line-number="18"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb319-19" data-line-number="19"> },</a>
-<a class="sourceLine" id="cb319-20" data-line-number="20"> olItemEnd = {},</a>
-<a class="sourceLine" id="cb319-21" data-line-number="21"> olEndTight = {).},</a>
-<a class="sourceLine" id="cb319-22" data-line-number="22"> },</a>
-<a class="sourceLine" id="cb319-23" data-line-number="23">}</a>
-<a class="sourceLine" id="cb319-24" data-line-number="24">This is a tight list</a>
-<a class="sourceLine" id="cb319-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb319-26" data-line-number="26">1. item</a>
-<a class="sourceLine" id="cb319-27" data-line-number="27">2. item</a>
-<a class="sourceLine" id="cb319-28" data-line-number="28">3. item</a>
-<a class="sourceLine" id="cb319-29" data-line-number="29"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb319-30" data-line-number="30"></a>
-<a class="sourceLine" id="cb319-31" data-line-number="31"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb319-32" data-line-number="32"> renderers = {</a>
-<a class="sourceLine" id="cb319-33" data-line-number="33"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb319-34" data-line-number="34"> :<span class="fu">\par</span></a>
-<a class="sourceLine" id="cb319-35" data-line-number="35"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb319-36" data-line-number="36"> },</a>
-<a class="sourceLine" id="cb319-37" data-line-number="37"> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</a>
-<a class="sourceLine" id="cb319-38" data-line-number="38"> olItemWithNumber = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb319-39" data-line-number="39"> <span class="fu">\item</span> This is the</a>
-<a class="sourceLine" id="cb319-40" data-line-number="40"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb319-41" data-line-number="41"> first</a>
-<a class="sourceLine" id="cb319-42" data-line-number="42"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb319-43" data-line-number="43"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
-<a class="sourceLine" id="cb319-44" data-line-number="44"> second</a>
-<a class="sourceLine" id="cb319-45" data-line-number="45"> <span class="fu">\else</span></a>
-<a class="sourceLine" id="cb319-46" data-line-number="46"> third</a>
-<a class="sourceLine" id="cb319-47" data-line-number="47"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb319-48" data-line-number="48"> <span class="fu">\fi</span></a>
-<a class="sourceLine" id="cb319-49" data-line-number="49"> },</a>
-<a class="sourceLine" id="cb319-50" data-line-number="50"> olItemEnd = {.},</a>
-<a class="sourceLine" id="cb319-51" data-line-number="51"> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</a>
-<a class="sourceLine" id="cb319-52" data-line-number="52"> },</a>
-<a class="sourceLine" id="cb319-53" data-line-number="53">}</a>
-<a class="sourceLine" id="cb319-54" data-line-number="54">This is a loose list</a>
-<a class="sourceLine" id="cb319-55" data-line-number="55"></a>
-<a class="sourceLine" id="cb319-56" data-line-number="56">1. item</a>
-<a class="sourceLine" id="cb319-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb319-58" data-line-number="58">2. item</a>
-<a class="sourceLine" id="cb319-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb319-60" data-line-number="60">3. item</a>
-<a class="sourceLine" id="cb319-61" data-line-number="61"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb319-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb319-63" data-line-number="63"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb320"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb320-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb321"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb321-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb321-2" data-line-number="2"><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb321-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb321-4" data-line-number="4"></a>
+<a class="sourceLine" id="cb321-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb321-6" data-line-number="6"> renderers = {</a>
+<a class="sourceLine" id="cb321-7" data-line-number="7"> interblockSeparator = {},</a>
+<a class="sourceLine" id="cb321-8" data-line-number="8"> olBeginTight = { (},</a>
+<a class="sourceLine" id="cb321-9" data-line-number="9"> olItemWithNumber = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb321-10" data-line-number="10"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
+<a class="sourceLine" id="cb321-11" data-line-number="11"> the first</a>
+<a class="sourceLine" id="cb321-12" data-line-number="12"> <span class="fu">\else</span></a>
+<a class="sourceLine" id="cb321-13" data-line-number="13"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
+<a class="sourceLine" id="cb321-14" data-line-number="14"> , the second</a>
+<a class="sourceLine" id="cb321-15" data-line-number="15"> <span class="fu">\else</span></a>
+<a class="sourceLine" id="cb321-16" data-line-number="16"> , and the third</a>
+<a class="sourceLine" id="cb321-17" data-line-number="17"> <span class="fu">\fi</span></a>
+<a class="sourceLine" id="cb321-18" data-line-number="18"> <span class="fu">\fi</span></a>
+<a class="sourceLine" id="cb321-19" data-line-number="19"> },</a>
+<a class="sourceLine" id="cb321-20" data-line-number="20"> olItemEnd = {},</a>
+<a class="sourceLine" id="cb321-21" data-line-number="21"> olEndTight = {).},</a>
+<a class="sourceLine" id="cb321-22" data-line-number="22"> },</a>
+<a class="sourceLine" id="cb321-23" data-line-number="23">}</a>
+<a class="sourceLine" id="cb321-24" data-line-number="24">This is a tight list</a>
+<a class="sourceLine" id="cb321-25" data-line-number="25"></a>
+<a class="sourceLine" id="cb321-26" data-line-number="26">1. item</a>
+<a class="sourceLine" id="cb321-27" data-line-number="27">2. item</a>
+<a class="sourceLine" id="cb321-28" data-line-number="28">3. item</a>
+<a class="sourceLine" id="cb321-29" data-line-number="29"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb321-30" data-line-number="30"></a>
+<a class="sourceLine" id="cb321-31" data-line-number="31"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb321-32" data-line-number="32"> renderers = {</a>
+<a class="sourceLine" id="cb321-33" data-line-number="33"> interblockSeparator = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb321-34" data-line-number="34"> :<span class="fu">\par</span></a>
+<a class="sourceLine" id="cb321-35" data-line-number="35"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb321-36" data-line-number="36"> },</a>
+<a class="sourceLine" id="cb321-37" data-line-number="37"> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</a>
+<a class="sourceLine" id="cb321-38" data-line-number="38"> olItemWithNumber = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb321-39" data-line-number="39"> <span class="fu">\item</span> This is the</a>
+<a class="sourceLine" id="cb321-40" data-line-number="40"> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></a>
+<a class="sourceLine" id="cb321-41" data-line-number="41"> first</a>
+<a class="sourceLine" id="cb321-42" data-line-number="42"> <span class="fu">\else</span></a>
+<a class="sourceLine" id="cb321-43" data-line-number="43"> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></a>
+<a class="sourceLine" id="cb321-44" data-line-number="44"> second</a>
+<a class="sourceLine" id="cb321-45" data-line-number="45"> <span class="fu">\else</span></a>
+<a class="sourceLine" id="cb321-46" data-line-number="46"> third</a>
+<a class="sourceLine" id="cb321-47" data-line-number="47"> <span class="fu">\fi</span></a>
+<a class="sourceLine" id="cb321-48" data-line-number="48"> <span class="fu">\fi</span></a>
+<a class="sourceLine" id="cb321-49" data-line-number="49"> },</a>
+<a class="sourceLine" id="cb321-50" data-line-number="50"> olItemEnd = {.},</a>
+<a class="sourceLine" id="cb321-51" data-line-number="51"> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</a>
+<a class="sourceLine" id="cb321-52" data-line-number="52"> },</a>
+<a class="sourceLine" id="cb321-53" data-line-number="53">}</a>
+<a class="sourceLine" id="cb321-54" data-line-number="54">This is a loose list</a>
+<a class="sourceLine" id="cb321-55" data-line-number="55"></a>
+<a class="sourceLine" id="cb321-56" data-line-number="56">1. item</a>
+<a class="sourceLine" id="cb321-57" data-line-number="57"></a>
+<a class="sourceLine" id="cb321-58" data-line-number="58">2. item</a>
+<a class="sourceLine" id="cb321-59" data-line-number="59"></a>
+<a class="sourceLine" id="cb321-60" data-line-number="60">3. item</a>
+<a class="sourceLine" id="cb321-61" data-line-number="61"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb321-62" data-line-number="62"></a>
+<a class="sourceLine" id="cb321-63" data-line-number="63"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb322"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb322-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4244,69 +4244,69 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-30" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb321"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb321-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb321-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb321-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
-<a class="sourceLine" id="cb321-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb321-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb321-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb321-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
-<a class="sourceLine" id="cb321-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb321-9" data-line-number="9"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb321-10" data-line-number="10"> the first</a>
-<a class="sourceLine" id="cb321-11" data-line-number="11"> \else</a>
-<a class="sourceLine" id="cb321-12" data-line-number="12"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb321-13" data-line-number="13"> , the second</a>
-<a class="sourceLine" id="cb321-14" data-line-number="14"> \else</a>
-<a class="sourceLine" id="cb321-15" data-line-number="15"> , and the third</a>
-<a class="sourceLine" id="cb321-16" data-line-number="16"> \fi</a>
-<a class="sourceLine" id="cb321-17" data-line-number="17"> \fi</a>
-<a class="sourceLine" id="cb321-18" data-line-number="18">}</a>
-<a class="sourceLine" id="cb321-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
-<a class="sourceLine" id="cb321-20" data-line-number="20"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
-<a class="sourceLine" id="cb321-21" data-line-number="21"></a>
-<a class="sourceLine" id="cb321-22" data-line-number="22"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb321-23" data-line-number="23">This is a tight list</a>
-<a class="sourceLine" id="cb321-24" data-line-number="24"></a>
-<a class="sourceLine" id="cb321-25" data-line-number="25">1. item</a>
-<a class="sourceLine" id="cb321-26" data-line-number="26">2. item</a>
-<a class="sourceLine" id="cb321-27" data-line-number="27">3. item</a>
-<a class="sourceLine" id="cb321-28" data-line-number="28"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb321-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb321-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb321-31" data-line-number="31"> :\par</a>
-<a class="sourceLine" id="cb321-32" data-line-number="32"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb321-33" data-line-number="33">}</a>
-<a class="sourceLine" id="cb321-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlBegin{\startitemize}</a>
-<a class="sourceLine" id="cb321-35" data-line-number="35"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb321-36" data-line-number="36"> \sym{#1.}</a>
-<a class="sourceLine" id="cb321-37" data-line-number="37"> This is the</a>
-<a class="sourceLine" id="cb321-38" data-line-number="38"> \ifnum #1=1\relax</a>
-<a class="sourceLine" id="cb321-39" data-line-number="39"> first</a>
-<a class="sourceLine" id="cb321-40" data-line-number="40"> \else</a>
-<a class="sourceLine" id="cb321-41" data-line-number="41"> \ifnum #1=2\relax</a>
-<a class="sourceLine" id="cb321-42" data-line-number="42"> second</a>
-<a class="sourceLine" id="cb321-43" data-line-number="43"> \else</a>
-<a class="sourceLine" id="cb321-44" data-line-number="44"> third</a>
-<a class="sourceLine" id="cb321-45" data-line-number="45"> \fi</a>
-<a class="sourceLine" id="cb321-46" data-line-number="46"> \fi</a>
-<a class="sourceLine" id="cb321-47" data-line-number="47">}</a>
-<a class="sourceLine" id="cb321-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
-<a class="sourceLine" id="cb321-49" data-line-number="49"><span class="fu">\def</span>\markdownRendererOlEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb321-50" data-line-number="50"></a>
-<a class="sourceLine" id="cb321-51" data-line-number="51"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb321-52" data-line-number="52">This is a loose list</a>
-<a class="sourceLine" id="cb321-53" data-line-number="53"></a>
-<a class="sourceLine" id="cb321-54" data-line-number="54">1. item</a>
-<a class="sourceLine" id="cb321-55" data-line-number="55"></a>
-<a class="sourceLine" id="cb321-56" data-line-number="56">2. item</a>
-<a class="sourceLine" id="cb321-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb321-58" data-line-number="58">3. item</a>
-<a class="sourceLine" id="cb321-59" data-line-number="59"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb321-60" data-line-number="60"></a>
-<a class="sourceLine" id="cb321-61" data-line-number="61"><span class="fu">\stoptext</span></a></code></pre></div>
+<div class="sourceCode" id="cb323"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb323-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb323-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
+<a class="sourceLine" id="cb323-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionStartNumber{true}</a>
+<a class="sourceLine" id="cb323-4" data-line-number="4"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb323-5" data-line-number="5"></a>
+<a class="sourceLine" id="cb323-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb323-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererOlBeginTight{ (}</a>
+<a class="sourceLine" id="cb323-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb323-9" data-line-number="9"> \ifnum #1=1\relax</a>
+<a class="sourceLine" id="cb323-10" data-line-number="10"> the first</a>
+<a class="sourceLine" id="cb323-11" data-line-number="11"> \else</a>
+<a class="sourceLine" id="cb323-12" data-line-number="12"> \ifnum #1=2\relax</a>
+<a class="sourceLine" id="cb323-13" data-line-number="13"> , the second</a>
+<a class="sourceLine" id="cb323-14" data-line-number="14"> \else</a>
+<a class="sourceLine" id="cb323-15" data-line-number="15"> , and the third</a>
+<a class="sourceLine" id="cb323-16" data-line-number="16"> \fi</a>
+<a class="sourceLine" id="cb323-17" data-line-number="17"> \fi</a>
+<a class="sourceLine" id="cb323-18" data-line-number="18">}</a>
+<a class="sourceLine" id="cb323-19" data-line-number="19"><span class="fu">\def</span>\markdownRendererOlItemEnd{}</a>
+<a class="sourceLine" id="cb323-20" data-line-number="20"><span class="fu">\def</span>\markdownRendererOlEndTight{).}</a>
+<a class="sourceLine" id="cb323-21" data-line-number="21"></a>
+<a class="sourceLine" id="cb323-22" data-line-number="22"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb323-23" data-line-number="23">This is a tight list</a>
+<a class="sourceLine" id="cb323-24" data-line-number="24"></a>
+<a class="sourceLine" id="cb323-25" data-line-number="25">1. item</a>
+<a class="sourceLine" id="cb323-26" data-line-number="26">2. item</a>
+<a class="sourceLine" id="cb323-27" data-line-number="27">3. item</a>
+<a class="sourceLine" id="cb323-28" data-line-number="28"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb323-29" data-line-number="29"></a>
+<a class="sourceLine" id="cb323-30" data-line-number="30"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb323-31" data-line-number="31"> :\par</a>
+<a class="sourceLine" id="cb323-32" data-line-number="32"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb323-33" data-line-number="33">}</a>
+<a class="sourceLine" id="cb323-34" data-line-number="34"><span class="fu">\def</span>\markdownRendererOlBegin{\startitemize}</a>
+<a class="sourceLine" id="cb323-35" data-line-number="35"><span class="fu">\def</span>\markdownRendererOlItemWithNumber#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb323-36" data-line-number="36"> \sym{#1.}</a>
+<a class="sourceLine" id="cb323-37" data-line-number="37"> This is the</a>
+<a class="sourceLine" id="cb323-38" data-line-number="38"> \ifnum #1=1\relax</a>
+<a class="sourceLine" id="cb323-39" data-line-number="39"> first</a>
+<a class="sourceLine" id="cb323-40" data-line-number="40"> \else</a>
+<a class="sourceLine" id="cb323-41" data-line-number="41"> \ifnum #1=2\relax</a>
+<a class="sourceLine" id="cb323-42" data-line-number="42"> second</a>
+<a class="sourceLine" id="cb323-43" data-line-number="43"> \else</a>
+<a class="sourceLine" id="cb323-44" data-line-number="44"> third</a>
+<a class="sourceLine" id="cb323-45" data-line-number="45"> \fi</a>
+<a class="sourceLine" id="cb323-46" data-line-number="46"> \fi</a>
+<a class="sourceLine" id="cb323-47" data-line-number="47">}</a>
+<a class="sourceLine" id="cb323-48" data-line-number="48"><span class="fu">\def</span>\markdownRendererOlItemEnd{.\par}</a>
+<a class="sourceLine" id="cb323-49" data-line-number="49"><span class="fu">\def</span>\markdownRendererOlEnd{\stopitemize}</a>
+<a class="sourceLine" id="cb323-50" data-line-number="50"></a>
+<a class="sourceLine" id="cb323-51" data-line-number="51"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb323-52" data-line-number="52">This is a loose list</a>
+<a class="sourceLine" id="cb323-53" data-line-number="53"></a>
+<a class="sourceLine" id="cb323-54" data-line-number="54">1. item</a>
+<a class="sourceLine" id="cb323-55" data-line-number="55"></a>
+<a class="sourceLine" id="cb323-56" data-line-number="56">2. item</a>
+<a class="sourceLine" id="cb323-57" data-line-number="57"></a>
+<a class="sourceLine" id="cb323-58" data-line-number="58">3. item</a>
+<a class="sourceLine" id="cb323-59" data-line-number="59"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb323-60" data-line-number="60"></a>
+<a class="sourceLine" id="cb323-61" data-line-number="61"><span class="fu">\stoptext</span></a></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb322"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb322-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb324"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb324-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight list (the first item, the second item, and the third item).</p>
@@ -4329,132 +4329,33 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererDlEndTight</code> macro represents the end of a definition list that contains no item with several paragraphs of text (the list is tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
<h5 id="plain-tex-example-21" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb323"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb323-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb323-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
-<a class="sourceLine" id="cb323-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb323-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb323-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-6" data-line-number="6"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-7" data-line-number="7"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb323-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererDlBeginTight{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-10" data-line-number="10"> \begingroup</a>
-<a class="sourceLine" id="cb323-11" data-line-number="11"> \parindent=0pt</a>
-<a class="sourceLine" id="cb323-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb323-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-14" data-line-number="14"> \par{\bf#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-15" data-line-number="15"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-16" data-line-number="16"> ,</a>
-<a class="sourceLine" id="cb323-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-18" data-line-number="18"> , and</a>
-<a class="sourceLine" id="cb323-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-21" data-line-number="21"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-22" data-line-number="22">}</a>
-<a class="sourceLine" id="cb323-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb323-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\par--\kern 0.5em}</a>
-<a class="sourceLine" id="cb323-25" data-line-number="25"><span class="fu">\def</span>\markdownRendererDlEndTight{\endgroup}</a>
-<a class="sourceLine" id="cb323-26" data-line-number="26"></a>
-<a class="sourceLine" id="cb323-27" data-line-number="27"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb323-28" data-line-number="28">This is a tight definition list</a>
-<a class="sourceLine" id="cb323-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb323-30" data-line-number="30">Coffee</a>
-<a class="sourceLine" id="cb323-31" data-line-number="31">: black hot drink</a>
-<a class="sourceLine" id="cb323-32" data-line-number="32">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb323-33" data-line-number="33">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb323-34" data-line-number="34"></a>
-<a class="sourceLine" id="cb323-35" data-line-number="35">Milk</a>
-<a class="sourceLine" id="cb323-36" data-line-number="36">: white cold drink</a>
-<a class="sourceLine" id="cb323-37" data-line-number="37">: nutrient-rich</a>
-<a class="sourceLine" id="cb323-38" data-line-number="38">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb323-39" data-line-number="39"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb323-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb323-41" data-line-number="41"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-42" data-line-number="42"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-43" data-line-number="43">}</a>
-<a class="sourceLine" id="cb323-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
-<a class="sourceLine" id="cb323-45" data-line-number="45"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-46" data-line-number="46"> . #1 is a</a>
-<a class="sourceLine" id="cb323-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-48" data-line-number="48"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-49" data-line-number="49"> ,</a>
-<a class="sourceLine" id="cb323-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-51" data-line-number="51"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-52" data-line-number="52"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb323-53" data-line-number="53">}</a>
-<a class="sourceLine" id="cb323-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb323-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
-<a class="sourceLine" id="cb323-56" data-line-number="56"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
-<a class="sourceLine" id="cb323-57" data-line-number="57"></a>
-<a class="sourceLine" id="cb323-58" data-line-number="58"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb323-59" data-line-number="59">This is a loose definition list</a>
-<a class="sourceLine" id="cb323-60" data-line-number="60"></a>
-<a class="sourceLine" id="cb323-61" data-line-number="61">Coffee</a>
-<a class="sourceLine" id="cb323-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb323-63" data-line-number="63">: black hot drink</a>
-<a class="sourceLine" id="cb323-64" data-line-number="64"></a>
-<a class="sourceLine" id="cb323-65" data-line-number="65">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb323-66" data-line-number="66"></a>
-<a class="sourceLine" id="cb323-67" data-line-number="67">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb323-68" data-line-number="68"></a>
-<a class="sourceLine" id="cb323-69" data-line-number="69">Milk</a>
-<a class="sourceLine" id="cb323-70" data-line-number="70"></a>
-<a class="sourceLine" id="cb323-71" data-line-number="71">: white cold drink</a>
-<a class="sourceLine" id="cb323-72" data-line-number="72"></a>
-<a class="sourceLine" id="cb323-73" data-line-number="73">: nutrient-rich</a>
-<a class="sourceLine" id="cb323-74" data-line-number="74"></a>
-<a class="sourceLine" id="cb323-75" data-line-number="75">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb323-76" data-line-number="76"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb323-77" data-line-number="77"></a>
-<a class="sourceLine" id="cb323-78" data-line-number="78"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb324"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb324-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
-<blockquote>
-<p>This is a tight definition list:</p>
-<p><strong>Coffee</strong></p>
-<ul>
-<li>black hot drink,</li>
-<li>prepared from roasted coffee beans, and</li>
-<li>one of the most traded agricultural commodities in the world.</li>
-</ul>
-<p><strong>Milk</strong></p>
-<ul>
-<li>white cold drink,</li>
-<li>nutrient-rich, and</li>
-<li>produced on an industrial scale.</li>
-</ul>
-<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
-</blockquote>
-<h5 id="latex-example-36" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb325"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb325-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb325-2" data-line-number="2"><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb325-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<div class="sourceCode" id="cb325"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb325-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb325-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
+<a class="sourceLine" id="cb325-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
<a class="sourceLine" id="cb325-4" data-line-number="4"></a>
-<a class="sourceLine" id="cb325-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb325-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb325-7" data-line-number="7"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-8" data-line-number="8"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-9" data-line-number="9"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-10" data-line-number="10"> },</a>
-<a class="sourceLine" id="cb325-11" data-line-number="11"> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</a>
-<a class="sourceLine" id="cb325-12" data-line-number="12"> dlItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-13" data-line-number="13"> <span class="fu">\item</span>[#1]</a>
-<a class="sourceLine" id="cb325-14" data-line-number="14"> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</a>
-<a class="sourceLine" id="cb325-15" data-line-number="15"> <span class="fu">\def</span>\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-16" data-line-number="16"> ,</a>
-<a class="sourceLine" id="cb325-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-18" data-line-number="18"> , and</a>
-<a class="sourceLine" id="cb325-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-21" data-line-number="21"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-22" data-line-number="22"> },</a>
-<a class="sourceLine" id="cb325-23" data-line-number="23"> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
-<a class="sourceLine" id="cb325-24" data-line-number="24"> dlDefinitionBegin = <span class="fu">\item</span>,</a>
-<a class="sourceLine" id="cb325-25" data-line-number="25"> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</a>
-<a class="sourceLine" id="cb325-26" data-line-number="26"> },</a>
-<a class="sourceLine" id="cb325-27" data-line-number="27">}</a>
+<a class="sourceLine" id="cb325-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-6" data-line-number="6"> :<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-7" data-line-number="7"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-8" data-line-number="8">}</a>
+<a class="sourceLine" id="cb325-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererDlBeginTight{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-10" data-line-number="10"> \begingroup</a>
+<a class="sourceLine" id="cb325-11" data-line-number="11"> \parindent=0pt</a>
+<a class="sourceLine" id="cb325-12" data-line-number="12">}</a>
+<a class="sourceLine" id="cb325-13" data-line-number="13"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-14" data-line-number="14"> \par{\bf#1}<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-15" data-line-number="15"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-16" data-line-number="16"> ,</a>
+<a class="sourceLine" id="cb325-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-18" data-line-number="18"> , and</a>
+<a class="sourceLine" id="cb325-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-20" data-line-number="20"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-21" data-line-number="21"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-22" data-line-number="22">}</a>
+<a class="sourceLine" id="cb325-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
+<a class="sourceLine" id="cb325-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\par--\kern 0.5em}</a>
+<a class="sourceLine" id="cb325-25" data-line-number="25"><span class="fu">\def</span>\markdownRendererDlEndTight{\endgroup}</a>
+<a class="sourceLine" id="cb325-26" data-line-number="26"></a>
+<a class="sourceLine" id="cb325-27" data-line-number="27"><span class="fu">\markdownBegin</span></a>
<a class="sourceLine" id="cb325-28" data-line-number="28">This is a tight definition list</a>
<a class="sourceLine" id="cb325-29" data-line-number="29"></a>
<a class="sourceLine" id="cb325-30" data-line-number="30">Coffee</a>
@@ -4466,50 +4367,48 @@ multiple paragraphs</li>
<a class="sourceLine" id="cb325-36" data-line-number="36">: white cold drink</a>
<a class="sourceLine" id="cb325-37" data-line-number="37">: nutrient-rich</a>
<a class="sourceLine" id="cb325-38" data-line-number="38">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb325-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb325-39" data-line-number="39"><span class="fu">\markdownEnd</span></a>
<a class="sourceLine" id="cb325-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb325-41" data-line-number="41"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb325-42" data-line-number="42"> renderers = {</a>
-<a class="sourceLine" id="cb325-43" data-line-number="43"> interblockSeparator = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-44" data-line-number="44"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-45" data-line-number="45"> },</a>
-<a class="sourceLine" id="cb325-46" data-line-number="46"> dlBegin = {},</a>
-<a class="sourceLine" id="cb325-47" data-line-number="47"> dlItem = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-48" data-line-number="48"> . #1 is a</a>
-<a class="sourceLine" id="cb325-49" data-line-number="49"> <span class="fu">\def</span>\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-51" data-line-number="51"> ,</a>
-<a class="sourceLine" id="cb325-52" data-line-number="52"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-53" data-line-number="53"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-54" data-line-number="54"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb325-55" data-line-number="55"> },</a>
-<a class="sourceLine" id="cb325-56" data-line-number="56"> dlItemEnd = {},</a>
-<a class="sourceLine" id="cb325-57" data-line-number="57"> dlDefinitionEnd = {},</a>
-<a class="sourceLine" id="cb325-58" data-line-number="58"> dlEnd = {.},</a>
-<a class="sourceLine" id="cb325-59" data-line-number="59"> },</a>
-<a class="sourceLine" id="cb325-60" data-line-number="60">}</a>
-<a class="sourceLine" id="cb325-61" data-line-number="61">This is a loose definition list</a>
+<a class="sourceLine" id="cb325-41" data-line-number="41"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-42" data-line-number="42"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-43" data-line-number="43">}</a>
+<a class="sourceLine" id="cb325-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
+<a class="sourceLine" id="cb325-45" data-line-number="45"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-46" data-line-number="46"> . #1 is a</a>
+<a class="sourceLine" id="cb325-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-48" data-line-number="48"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-49" data-line-number="49"> ,</a>
+<a class="sourceLine" id="cb325-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-51" data-line-number="51"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-52" data-line-number="52"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb325-53" data-line-number="53">}</a>
+<a class="sourceLine" id="cb325-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
+<a class="sourceLine" id="cb325-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
+<a class="sourceLine" id="cb325-56" data-line-number="56"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
+<a class="sourceLine" id="cb325-57" data-line-number="57"></a>
+<a class="sourceLine" id="cb325-58" data-line-number="58"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb325-59" data-line-number="59">This is a loose definition list</a>
+<a class="sourceLine" id="cb325-60" data-line-number="60"></a>
+<a class="sourceLine" id="cb325-61" data-line-number="61">Coffee</a>
<a class="sourceLine" id="cb325-62" data-line-number="62"></a>
-<a class="sourceLine" id="cb325-63" data-line-number="63">Coffee</a>
+<a class="sourceLine" id="cb325-63" data-line-number="63">: black hot drink</a>
<a class="sourceLine" id="cb325-64" data-line-number="64"></a>
-<a class="sourceLine" id="cb325-65" data-line-number="65">: black hot drink</a>
+<a class="sourceLine" id="cb325-65" data-line-number="65">: prepared from roasted coffee beans</a>
<a class="sourceLine" id="cb325-66" data-line-number="66"></a>
-<a class="sourceLine" id="cb325-67" data-line-number="67">: prepared from roasted coffee beans</a>
+<a class="sourceLine" id="cb325-67" data-line-number="67">: one of the most traded agricultural commodities in the world</a>
<a class="sourceLine" id="cb325-68" data-line-number="68"></a>
-<a class="sourceLine" id="cb325-69" data-line-number="69">: one of the most traded agricultural commodities in the world</a>
+<a class="sourceLine" id="cb325-69" data-line-number="69">Milk</a>
<a class="sourceLine" id="cb325-70" data-line-number="70"></a>
-<a class="sourceLine" id="cb325-71" data-line-number="71">Milk</a>
+<a class="sourceLine" id="cb325-71" data-line-number="71">: white cold drink</a>
<a class="sourceLine" id="cb325-72" data-line-number="72"></a>
-<a class="sourceLine" id="cb325-73" data-line-number="73">: white cold drink</a>
+<a class="sourceLine" id="cb325-73" data-line-number="73">: nutrient-rich</a>
<a class="sourceLine" id="cb325-74" data-line-number="74"></a>
-<a class="sourceLine" id="cb325-75" data-line-number="75">: nutrient-rich</a>
-<a class="sourceLine" id="cb325-76" data-line-number="76"></a>
-<a class="sourceLine" id="cb325-77" data-line-number="77">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb325-78" data-line-number="78"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb325-79" data-line-number="79"></a>
-<a class="sourceLine" id="cb325-80" data-line-number="80"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb326"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb326-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<a class="sourceLine" id="cb325-75" data-line-number="75">: produced on an industrial scale</a>
+<a class="sourceLine" id="cb325-76" data-line-number="76"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb325-77" data-line-number="77"></a>
+<a class="sourceLine" id="cb325-78" data-line-number="78"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb326"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb326-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight definition list:</p>
@@ -4527,87 +4426,188 @@ multiple paragraphs</li>
</ul>
<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
</blockquote>
-<h5 id="context-example-31" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 id="latex-example-36" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb327"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb327-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb327-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
-<a class="sourceLine" id="cb327-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
-<a class="sourceLine" id="cb327-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb327-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb327-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-7" data-line-number="7"> :<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-8" data-line-number="8"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-9" data-line-number="9">}</a>
-<a class="sourceLine" id="cb327-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererDlBeginTight{}</a>
-<a class="sourceLine" id="cb327-11" data-line-number="11"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-12" data-line-number="12"> \par{\bf#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-13" data-line-number="13"> \startitemize</a>
-<a class="sourceLine" id="cb327-14" data-line-number="14"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-15" data-line-number="15"> ,</a>
-<a class="sourceLine" id="cb327-16" data-line-number="16"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-17" data-line-number="17"> , and</a>
-<a class="sourceLine" id="cb327-18" data-line-number="18"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-19" data-line-number="19"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-20" data-line-number="20"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-21" data-line-number="21">}</a>
-<a class="sourceLine" id="cb327-22" data-line-number="22"><span class="fu">\def</span>\markdownRendererDlItemEnd{\stopitemize}</a>
-<a class="sourceLine" id="cb327-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\item}</a>
-<a class="sourceLine" id="cb327-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlEndTight{}</a>
-<a class="sourceLine" id="cb327-25" data-line-number="25"></a>
-<a class="sourceLine" id="cb327-26" data-line-number="26"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb327-27" data-line-number="27">This is a tight definition list</a>
-<a class="sourceLine" id="cb327-28" data-line-number="28"></a>
-<a class="sourceLine" id="cb327-29" data-line-number="29">Coffee</a>
-<a class="sourceLine" id="cb327-30" data-line-number="30">: black hot drink</a>
-<a class="sourceLine" id="cb327-31" data-line-number="31">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb327-32" data-line-number="32">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb327-33" data-line-number="33"></a>
-<a class="sourceLine" id="cb327-34" data-line-number="34">Milk</a>
-<a class="sourceLine" id="cb327-35" data-line-number="35">: white cold drink</a>
-<a class="sourceLine" id="cb327-36" data-line-number="36">: nutrient-rich</a>
-<a class="sourceLine" id="cb327-37" data-line-number="37">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb327-38" data-line-number="38"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb327-39" data-line-number="39"></a>
-<a class="sourceLine" id="cb327-40" data-line-number="40"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-41" data-line-number="41"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-42" data-line-number="42">}</a>
-<a class="sourceLine" id="cb327-43" data-line-number="43"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
-<a class="sourceLine" id="cb327-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-45" data-line-number="45"> . #1 is a</a>
-<a class="sourceLine" id="cb327-46" data-line-number="46"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-48" data-line-number="48"> ,</a>
-<a class="sourceLine" id="cb327-49" data-line-number="49"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-50" data-line-number="50"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-51" data-line-number="51"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb327-52" data-line-number="52">}</a>
-<a class="sourceLine" id="cb327-53" data-line-number="53"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
-<a class="sourceLine" id="cb327-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
-<a class="sourceLine" id="cb327-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
-<a class="sourceLine" id="cb327-56" data-line-number="56"></a>
-<a class="sourceLine" id="cb327-57" data-line-number="57"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb327-58" data-line-number="58">This is a loose definition list</a>
-<a class="sourceLine" id="cb327-59" data-line-number="59"></a>
-<a class="sourceLine" id="cb327-60" data-line-number="60">Coffee</a>
-<a class="sourceLine" id="cb327-61" data-line-number="61"></a>
-<a class="sourceLine" id="cb327-62" data-line-number="62">: black hot drink</a>
-<a class="sourceLine" id="cb327-63" data-line-number="63"></a>
-<a class="sourceLine" id="cb327-64" data-line-number="64">: prepared from roasted coffee beans</a>
-<a class="sourceLine" id="cb327-65" data-line-number="65"></a>
-<a class="sourceLine" id="cb327-66" data-line-number="66">: one of the most traded agricultural commodities in the world</a>
-<a class="sourceLine" id="cb327-67" data-line-number="67"></a>
-<a class="sourceLine" id="cb327-68" data-line-number="68">Milk</a>
-<a class="sourceLine" id="cb327-69" data-line-number="69"></a>
-<a class="sourceLine" id="cb327-70" data-line-number="70">: white cold drink</a>
-<a class="sourceLine" id="cb327-71" data-line-number="71"></a>
-<a class="sourceLine" id="cb327-72" data-line-number="72">: nutrient-rich</a>
-<a class="sourceLine" id="cb327-73" data-line-number="73"></a>
-<a class="sourceLine" id="cb327-74" data-line-number="74">: produced on an industrial scale</a>
-<a class="sourceLine" id="cb327-75" data-line-number="75"><span class="fu">\stopmarkdown</span></a>
+<div class="sourceCode" id="cb327"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb327-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb327-2" data-line-number="2"><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb327-3" data-line-number="3"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb327-4" data-line-number="4"></a>
+<a class="sourceLine" id="cb327-5" data-line-number="5"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb327-6" data-line-number="6"> renderers = {</a>
+<a class="sourceLine" id="cb327-7" data-line-number="7"> interblockSeparator = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-8" data-line-number="8"> :<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-9" data-line-number="9"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-10" data-line-number="10"> },</a>
+<a class="sourceLine" id="cb327-11" data-line-number="11"> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</a>
+<a class="sourceLine" id="cb327-12" data-line-number="12"> dlItem = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-13" data-line-number="13"> <span class="fu">\item</span>[#1]</a>
+<a class="sourceLine" id="cb327-14" data-line-number="14"> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</a>
+<a class="sourceLine" id="cb327-15" data-line-number="15"> <span class="fu">\def</span>\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-16" data-line-number="16"> ,</a>
+<a class="sourceLine" id="cb327-17" data-line-number="17"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-18" data-line-number="18"> , and</a>
+<a class="sourceLine" id="cb327-19" data-line-number="19"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-20" data-line-number="20"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-21" data-line-number="21"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-22" data-line-number="22"> },</a>
+<a class="sourceLine" id="cb327-23" data-line-number="23"> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</a>
+<a class="sourceLine" id="cb327-24" data-line-number="24"> dlDefinitionBegin = <span class="fu">\item</span>,</a>
+<a class="sourceLine" id="cb327-25" data-line-number="25"> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</a>
+<a class="sourceLine" id="cb327-26" data-line-number="26"> },</a>
+<a class="sourceLine" id="cb327-27" data-line-number="27">}</a>
+<a class="sourceLine" id="cb327-28" data-line-number="28">This is a tight definition list</a>
+<a class="sourceLine" id="cb327-29" data-line-number="29"></a>
+<a class="sourceLine" id="cb327-30" data-line-number="30">Coffee</a>
+<a class="sourceLine" id="cb327-31" data-line-number="31">: black hot drink</a>
+<a class="sourceLine" id="cb327-32" data-line-number="32">: prepared from roasted coffee beans</a>
+<a class="sourceLine" id="cb327-33" data-line-number="33">: one of the most traded agricultural commodities in the world</a>
+<a class="sourceLine" id="cb327-34" data-line-number="34"></a>
+<a class="sourceLine" id="cb327-35" data-line-number="35">Milk</a>
+<a class="sourceLine" id="cb327-36" data-line-number="36">: white cold drink</a>
+<a class="sourceLine" id="cb327-37" data-line-number="37">: nutrient-rich</a>
+<a class="sourceLine" id="cb327-38" data-line-number="38">: produced on an industrial scale</a>
+<a class="sourceLine" id="cb327-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb327-40" data-line-number="40"></a>
+<a class="sourceLine" id="cb327-41" data-line-number="41"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb327-42" data-line-number="42"> renderers = {</a>
+<a class="sourceLine" id="cb327-43" data-line-number="43"> interblockSeparator = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-44" data-line-number="44"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-45" data-line-number="45"> },</a>
+<a class="sourceLine" id="cb327-46" data-line-number="46"> dlBegin = {},</a>
+<a class="sourceLine" id="cb327-47" data-line-number="47"> dlItem = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-48" data-line-number="48"> . #1 is a</a>
+<a class="sourceLine" id="cb327-49" data-line-number="49"> <span class="fu">\def</span>\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-50" data-line-number="50"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-51" data-line-number="51"> ,</a>
+<a class="sourceLine" id="cb327-52" data-line-number="52"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-53" data-line-number="53"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-54" data-line-number="54"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb327-55" data-line-number="55"> },</a>
+<a class="sourceLine" id="cb327-56" data-line-number="56"> dlItemEnd = {},</a>
+<a class="sourceLine" id="cb327-57" data-line-number="57"> dlDefinitionEnd = {},</a>
+<a class="sourceLine" id="cb327-58" data-line-number="58"> dlEnd = {.},</a>
+<a class="sourceLine" id="cb327-59" data-line-number="59"> },</a>
+<a class="sourceLine" id="cb327-60" data-line-number="60">}</a>
+<a class="sourceLine" id="cb327-61" data-line-number="61">This is a loose definition list</a>
+<a class="sourceLine" id="cb327-62" data-line-number="62"></a>
+<a class="sourceLine" id="cb327-63" data-line-number="63">Coffee</a>
+<a class="sourceLine" id="cb327-64" data-line-number="64"></a>
+<a class="sourceLine" id="cb327-65" data-line-number="65">: black hot drink</a>
+<a class="sourceLine" id="cb327-66" data-line-number="66"></a>
+<a class="sourceLine" id="cb327-67" data-line-number="67">: prepared from roasted coffee beans</a>
+<a class="sourceLine" id="cb327-68" data-line-number="68"></a>
+<a class="sourceLine" id="cb327-69" data-line-number="69">: one of the most traded agricultural commodities in the world</a>
+<a class="sourceLine" id="cb327-70" data-line-number="70"></a>
+<a class="sourceLine" id="cb327-71" data-line-number="71">Milk</a>
+<a class="sourceLine" id="cb327-72" data-line-number="72"></a>
+<a class="sourceLine" id="cb327-73" data-line-number="73">: white cold drink</a>
+<a class="sourceLine" id="cb327-74" data-line-number="74"></a>
+<a class="sourceLine" id="cb327-75" data-line-number="75">: nutrient-rich</a>
<a class="sourceLine" id="cb327-76" data-line-number="76"></a>
-<a class="sourceLine" id="cb327-77" data-line-number="77"><span class="fu">\stoptext</span></a></code></pre></div>
+<a class="sourceLine" id="cb327-77" data-line-number="77">: produced on an industrial scale</a>
+<a class="sourceLine" id="cb327-78" data-line-number="78"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb327-79" data-line-number="79"></a>
+<a class="sourceLine" id="cb327-80" data-line-number="80"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb328"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb328-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb328"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb328-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>This is a tight definition list:</p>
+<p><strong>Coffee</strong></p>
+<ul>
+<li>black hot drink,</li>
+<li>prepared from roasted coffee beans, and</li>
+<li>one of the most traded agricultural commodities in the world.</li>
+</ul>
+<p><strong>Milk</strong></p>
+<ul>
+<li>white cold drink,</li>
+<li>nutrient-rich, and</li>
+<li>produced on an industrial scale.</li>
+</ul>
+<p>This is a loose definition list. Coffee is a black hot drink, prepared from roasted coffee beans, and one of the most traded agricultural commodities in the world. Milk is a white cold drink, nutrient-rich, and produced on an industrial scale.</p>
+</blockquote>
+<h5 id="context-example-31" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb329"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb329-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb329-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionDefinitionLists{true}</a>
+<a class="sourceLine" id="cb329-3" data-line-number="3"><span class="fu">\def</span>\markdownOptionTightLists{true}</a>
+<a class="sourceLine" id="cb329-4" data-line-number="4"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb329-5" data-line-number="5"></a>
+<a class="sourceLine" id="cb329-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-7" data-line-number="7"> :<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-8" data-line-number="8"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-9" data-line-number="9">}</a>
+<a class="sourceLine" id="cb329-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererDlBeginTight{}</a>
+<a class="sourceLine" id="cb329-11" data-line-number="11"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-12" data-line-number="12"> \par{\bf#1}<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-13" data-line-number="13"> \startitemize</a>
+<a class="sourceLine" id="cb329-14" data-line-number="14"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-15" data-line-number="15"> ,</a>
+<a class="sourceLine" id="cb329-16" data-line-number="16"> \def\markdownRendererDlDefinitionEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-17" data-line-number="17"> , and</a>
+<a class="sourceLine" id="cb329-18" data-line-number="18"> \def\markdownRendererDlDefinitionEnd{.}<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-19" data-line-number="19"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-20" data-line-number="20"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-21" data-line-number="21">}</a>
+<a class="sourceLine" id="cb329-22" data-line-number="22"><span class="fu">\def</span>\markdownRendererDlItemEnd{\stopitemize}</a>
+<a class="sourceLine" id="cb329-23" data-line-number="23"><span class="fu">\def</span>\markdownRendererDlDefinitionBegin{\item}</a>
+<a class="sourceLine" id="cb329-24" data-line-number="24"><span class="fu">\def</span>\markdownRendererDlEndTight{}</a>
+<a class="sourceLine" id="cb329-25" data-line-number="25"></a>
+<a class="sourceLine" id="cb329-26" data-line-number="26"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb329-27" data-line-number="27">This is a tight definition list</a>
+<a class="sourceLine" id="cb329-28" data-line-number="28"></a>
+<a class="sourceLine" id="cb329-29" data-line-number="29">Coffee</a>
+<a class="sourceLine" id="cb329-30" data-line-number="30">: black hot drink</a>
+<a class="sourceLine" id="cb329-31" data-line-number="31">: prepared from roasted coffee beans</a>
+<a class="sourceLine" id="cb329-32" data-line-number="32">: one of the most traded agricultural commodities in the world</a>
+<a class="sourceLine" id="cb329-33" data-line-number="33"></a>
+<a class="sourceLine" id="cb329-34" data-line-number="34">Milk</a>
+<a class="sourceLine" id="cb329-35" data-line-number="35">: white cold drink</a>
+<a class="sourceLine" id="cb329-36" data-line-number="36">: nutrient-rich</a>
+<a class="sourceLine" id="cb329-37" data-line-number="37">: produced on an industrial scale</a>
+<a class="sourceLine" id="cb329-38" data-line-number="38"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb329-39" data-line-number="39"></a>
+<a class="sourceLine" id="cb329-40" data-line-number="40"><span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-41" data-line-number="41"> \def\markdownRendererInterblockSeparator{\par}<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-42" data-line-number="42">}</a>
+<a class="sourceLine" id="cb329-43" data-line-number="43"><span class="fu">\def</span>\markdownRendererDlBegin{}</a>
+<a class="sourceLine" id="cb329-44" data-line-number="44"><span class="fu">\def</span>\markdownRendererDlItem#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-45" data-line-number="45"> . #1 is a</a>
+<a class="sourceLine" id="cb329-46" data-line-number="46"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-47" data-line-number="47"> \def\markdownRendererDlDefinitionBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-48" data-line-number="48"> ,</a>
+<a class="sourceLine" id="cb329-49" data-line-number="49"> \def\markdownRendererDlDefinitionBegin{, and }<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-50" data-line-number="50"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-51" data-line-number="51"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb329-52" data-line-number="52">}</a>
+<a class="sourceLine" id="cb329-53" data-line-number="53"><span class="fu">\def</span>\markdownRendererDlItemEnd{}</a>
+<a class="sourceLine" id="cb329-54" data-line-number="54"><span class="fu">\def</span>\markdownRendererDlDefinitionEnd{}</a>
+<a class="sourceLine" id="cb329-55" data-line-number="55"><span class="fu">\def</span>\markdownRendererDlEnd{.}</a>
+<a class="sourceLine" id="cb329-56" data-line-number="56"></a>
+<a class="sourceLine" id="cb329-57" data-line-number="57"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb329-58" data-line-number="58">This is a loose definition list</a>
+<a class="sourceLine" id="cb329-59" data-line-number="59"></a>
+<a class="sourceLine" id="cb329-60" data-line-number="60">Coffee</a>
+<a class="sourceLine" id="cb329-61" data-line-number="61"></a>
+<a class="sourceLine" id="cb329-62" data-line-number="62">: black hot drink</a>
+<a class="sourceLine" id="cb329-63" data-line-number="63"></a>
+<a class="sourceLine" id="cb329-64" data-line-number="64">: prepared from roasted coffee beans</a>
+<a class="sourceLine" id="cb329-65" data-line-number="65"></a>
+<a class="sourceLine" id="cb329-66" data-line-number="66">: one of the most traded agricultural commodities in the world</a>
+<a class="sourceLine" id="cb329-67" data-line-number="67"></a>
+<a class="sourceLine" id="cb329-68" data-line-number="68">Milk</a>
+<a class="sourceLine" id="cb329-69" data-line-number="69"></a>
+<a class="sourceLine" id="cb329-70" data-line-number="70">: white cold drink</a>
+<a class="sourceLine" id="cb329-71" data-line-number="71"></a>
+<a class="sourceLine" id="cb329-72" data-line-number="72">: nutrient-rich</a>
+<a class="sourceLine" id="cb329-73" data-line-number="73"></a>
+<a class="sourceLine" id="cb329-74" data-line-number="74">: produced on an industrial scale</a>
+<a class="sourceLine" id="cb329-75" data-line-number="75"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb329-76" data-line-number="76"></a>
+<a class="sourceLine" id="cb329-77" data-line-number="77"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb330"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb330-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a tight definition list:</p>
@@ -4629,17 +4629,17 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererEmphasis</code> macro represents an emphasized span of text. The macro receives a single argument that corresponds to the emphasized span of text.</p>
<h5 id="plain-tex-example-22" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb329"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb329-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb329-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{{\it#1}}</a>
-<a class="sourceLine" id="cb329-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{{\bf#1}}</a>
-<a class="sourceLine" id="cb329-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb329-5" data-line-number="5">This is *emphasis*.</a>
-<a class="sourceLine" id="cb329-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb329-7" data-line-number="7">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb329-8" data-line-number="8"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb329-9" data-line-number="9"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb330"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb330-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb331"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb331-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb331-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{{\it#1}}</a>
+<a class="sourceLine" id="cb331-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{{\bf#1}}</a>
+<a class="sourceLine" id="cb331-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb331-5" data-line-number="5">This is *emphasis*.</a>
+<a class="sourceLine" id="cb331-6" data-line-number="6"></a>
+<a class="sourceLine" id="cb331-7" data-line-number="7">This is **strong emphasis**.</a>
+<a class="sourceLine" id="cb331-8" data-line-number="8"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb331-9" data-line-number="9"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb332"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb332-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
@@ -4647,23 +4647,23 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-37" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb331"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb331-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb331-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb331-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb331-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb331-5" data-line-number="5"> emphasis = {<span class="fu">\emph</span>{#1}},</a>
-<a class="sourceLine" id="cb331-6" data-line-number="6"> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</a>
-<a class="sourceLine" id="cb331-7" data-line-number="7"> },</a>
-<a class="sourceLine" id="cb331-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb331-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb331-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb331-11" data-line-number="11">This is *emphasis*.</a>
-<a class="sourceLine" id="cb331-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb331-13" data-line-number="13">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb331-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb331-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb332"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb332-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb333"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb333-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb333-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb333-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb333-4" data-line-number="4"> renderers = {</a>
+<a class="sourceLine" id="cb333-5" data-line-number="5"> emphasis = {<span class="fu">\emph</span>{#1}},</a>
+<a class="sourceLine" id="cb333-6" data-line-number="6"> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</a>
+<a class="sourceLine" id="cb333-7" data-line-number="7"> },</a>
+<a class="sourceLine" id="cb333-8" data-line-number="8">}</a>
+<a class="sourceLine" id="cb333-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb333-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb333-11" data-line-number="11">This is *emphasis*.</a>
+<a class="sourceLine" id="cb333-12" data-line-number="12"></a>
+<a class="sourceLine" id="cb333-13" data-line-number="13">This is **strong emphasis**.</a>
+<a class="sourceLine" id="cb333-14" data-line-number="14"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb333-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb334"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb334-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
@@ -4671,18 +4671,18 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-32" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb333"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb333-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb333-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{\emph{#1}}</a>
-<a class="sourceLine" id="cb333-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{\bold{#1}}</a>
-<a class="sourceLine" id="cb333-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb333-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb333-6" data-line-number="6">This is *emphasis*.</a>
-<a class="sourceLine" id="cb333-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb333-8" data-line-number="8">This is **strong emphasis**.</a>
-<a class="sourceLine" id="cb333-9" data-line-number="9"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb333-10" data-line-number="10"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb334"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb334-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb335"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb335-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb335-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererEmphasis#1{\emph{#1}}</a>
+<a class="sourceLine" id="cb335-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererStrongEmphasis#1{\bold{#1}}</a>
+<a class="sourceLine" id="cb335-4" data-line-number="4"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb335-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb335-6" data-line-number="6">This is *emphasis*.</a>
+<a class="sourceLine" id="cb335-7" data-line-number="7"></a>
+<a class="sourceLine" id="cb335-8" data-line-number="8">This is **strong emphasis**.</a>
+<a class="sourceLine" id="cb335-9" data-line-number="9"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb335-10" data-line-number="10"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb336"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb336-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is <em>emphasis</em>.</p>
@@ -4693,29 +4693,29 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererBlockQuoteBegin</code> macro represents the beginning of a block quote. The macro receives no arguments.</p>
<h5 id="plain-tex-example-23" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb335"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb335-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb335-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{<span class="co">%</span></a>
-<a class="sourceLine" id="cb335-3" data-line-number="3"> \begingroup</a>
-<a class="sourceLine" id="cb335-4" data-line-number="4"> \vskip\parindent</a>
-<a class="sourceLine" id="cb335-5" data-line-number="5"> \leftskip=2\parindent</a>
-<a class="sourceLine" id="cb335-6" data-line-number="6"> \parindent=0pt</a>
-<a class="sourceLine" id="cb335-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb335-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{<span class="co">%</span></a>
-<a class="sourceLine" id="cb335-9" data-line-number="9"> \par</a>
-<a class="sourceLine" id="cb335-10" data-line-number="10"> \vskip\parindent</a>
-<a class="sourceLine" id="cb335-11" data-line-number="11"> \endgroup</a>
-<a class="sourceLine" id="cb335-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb335-13" data-line-number="13"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb335-14" data-line-number="14">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb335-15" data-line-number="15"></a>
-<a class="sourceLine" id="cb335-16" data-line-number="16">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb335-17" data-line-number="17">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb335-18" data-line-number="18">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb335-19" data-line-number="19">&gt; stars [...]</a>
-<a class="sourceLine" id="cb335-20" data-line-number="20"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb335-21" data-line-number="21"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb336"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb336-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb337"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb337-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb337-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{<span class="co">%</span></a>
+<a class="sourceLine" id="cb337-3" data-line-number="3"> \begingroup</a>
+<a class="sourceLine" id="cb337-4" data-line-number="4"> \vskip\parindent</a>
+<a class="sourceLine" id="cb337-5" data-line-number="5"> \leftskip=2\parindent</a>
+<a class="sourceLine" id="cb337-6" data-line-number="6"> \parindent=0pt</a>
+<a class="sourceLine" id="cb337-7" data-line-number="7">}</a>
+<a class="sourceLine" id="cb337-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{<span class="co">%</span></a>
+<a class="sourceLine" id="cb337-9" data-line-number="9"> \par</a>
+<a class="sourceLine" id="cb337-10" data-line-number="10"> \vskip\parindent</a>
+<a class="sourceLine" id="cb337-11" data-line-number="11"> \endgroup</a>
+<a class="sourceLine" id="cb337-12" data-line-number="12">}</a>
+<a class="sourceLine" id="cb337-13" data-line-number="13"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb337-14" data-line-number="14">A quote from William Shakespeare&#39;s King Lear:</a>
+<a class="sourceLine" id="cb337-15" data-line-number="15"></a>
+<a class="sourceLine" id="cb337-16" data-line-number="16">&gt; This is the excellent foppery of the world that when we are</a>
+<a class="sourceLine" id="cb337-17" data-line-number="17">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
+<a class="sourceLine" id="cb337-18" data-line-number="18">&gt; make guilty of our disasters the sun, the moon, and the</a>
+<a class="sourceLine" id="cb337-19" data-line-number="19">&gt; stars [...]</a>
+<a class="sourceLine" id="cb337-20" data-line-number="20"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb337-21" data-line-number="21"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb338"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb338-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4725,26 +4725,26 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-38" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb337"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb337-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb337-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb337-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb337-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb337-5" data-line-number="5"> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</a>
-<a class="sourceLine" id="cb337-6" data-line-number="6"> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</a>
-<a class="sourceLine" id="cb337-7" data-line-number="7"> },</a>
-<a class="sourceLine" id="cb337-8" data-line-number="8">}</a>
-<a class="sourceLine" id="cb337-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb337-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb337-11" data-line-number="11">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb337-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb337-13" data-line-number="13">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb337-14" data-line-number="14">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb337-15" data-line-number="15">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb337-16" data-line-number="16">&gt; stars [...]</a>
-<a class="sourceLine" id="cb337-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb337-18" data-line-number="18"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb338"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb338-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb339"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb339-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb339-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb339-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb339-4" data-line-number="4"> renderers = {</a>
+<a class="sourceLine" id="cb339-5" data-line-number="5"> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</a>
+<a class="sourceLine" id="cb339-6" data-line-number="6"> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</a>
+<a class="sourceLine" id="cb339-7" data-line-number="7"> },</a>
+<a class="sourceLine" id="cb339-8" data-line-number="8">}</a>
+<a class="sourceLine" id="cb339-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb339-10" data-line-number="10"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb339-11" data-line-number="11">A quote from William Shakespeare&#39;s King Lear:</a>
+<a class="sourceLine" id="cb339-12" data-line-number="12"></a>
+<a class="sourceLine" id="cb339-13" data-line-number="13">&gt; This is the excellent foppery of the world that when we are</a>
+<a class="sourceLine" id="cb339-14" data-line-number="14">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
+<a class="sourceLine" id="cb339-15" data-line-number="15">&gt; make guilty of our disasters the sun, the moon, and the</a>
+<a class="sourceLine" id="cb339-16" data-line-number="16">&gt; stars [...]</a>
+<a class="sourceLine" id="cb339-17" data-line-number="17"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb339-18" data-line-number="18"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb340"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb340-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4754,21 +4754,21 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-33" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb339"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb339-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb339-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{\startquotation}</a>
-<a class="sourceLine" id="cb339-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{\stopquotation}</a>
-<a class="sourceLine" id="cb339-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb339-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb339-6" data-line-number="6">A quote from William Shakespeare&#39;s King Lear:</a>
-<a class="sourceLine" id="cb339-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb339-8" data-line-number="8">&gt; This is the excellent foppery of the world that when we are</a>
-<a class="sourceLine" id="cb339-9" data-line-number="9">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
-<a class="sourceLine" id="cb339-10" data-line-number="10">&gt; make guilty of our disasters the sun, the moon, and the</a>
-<a class="sourceLine" id="cb339-11" data-line-number="11">&gt; stars [...]</a>
-<a class="sourceLine" id="cb339-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb339-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb340"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb340-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb341"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb341-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb341-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererBlockQuoteBegin{\startquotation}</a>
+<a class="sourceLine" id="cb341-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererBlockQuoteEnd{\stopquotation}</a>
+<a class="sourceLine" id="cb341-4" data-line-number="4"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb341-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb341-6" data-line-number="6">A quote from William Shakespeare&#39;s King Lear:</a>
+<a class="sourceLine" id="cb341-7" data-line-number="7"></a>
+<a class="sourceLine" id="cb341-8" data-line-number="8">&gt; This is the excellent foppery of the world that when we are</a>
+<a class="sourceLine" id="cb341-9" data-line-number="9">&gt; sick in fortune---often the surfeit of our own behavior---we</a>
+<a class="sourceLine" id="cb341-10" data-line-number="10">&gt; make guilty of our disasters the sun, the moon, and the</a>
+<a class="sourceLine" id="cb341-11" data-line-number="11">&gt; stars [...]</a>
+<a class="sourceLine" id="cb341-12" data-line-number="12"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb341-13" data-line-number="13"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb342"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb342-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>A quote from William Shakespeare’s King Lear:</p>
@@ -4782,71 +4782,71 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererInputFencedCode</code> macro represents a fenced code block. This macro will only be produced, when the <strong><code>fencedCode</code></strong> option is <code>true</code>. The macro receives two arguments that correspond to the filename of a file contaning the code block contents and to the code fence infostring.</p>
<h5 id="latex-example-39" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb341"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb341-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb341-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</a>
-<a class="sourceLine" id="cb341-3" data-line-number="3"><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</a>
-<a class="sourceLine" id="cb341-4" data-line-number="4"><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb341-5" data-line-number="5"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb341-6" data-line-number="6"> renderers = {</a>
-<a class="sourceLine" id="cb341-7" data-line-number="7"> interblockSeparator = {</a>
-<a class="sourceLine" id="cb341-8" data-line-number="8"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-9" data-line-number="9"> \par</a>
-<a class="sourceLine" id="cb341-10" data-line-number="10"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-11" data-line-number="11"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-12" data-line-number="12"> \par</a>
-<a class="sourceLine" id="cb341-13" data-line-number="13"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-14" data-line-number="14"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-15" data-line-number="15"> }<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb341-17" data-line-number="17"> inputVerbatim = {</a>
-<a class="sourceLine" id="cb341-18" data-line-number="18"> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-19" data-line-number="19"> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-20" data-line-number="20"> },</a>
-<a class="sourceLine" id="cb341-21" data-line-number="21"> inputFencedCode = {</a>
-<a class="sourceLine" id="cb341-22" data-line-number="22"> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb341-23" data-line-number="23"> },</a>
-<a class="sourceLine" id="cb341-24" data-line-number="24"> },</a>
-<a class="sourceLine" id="cb341-25" data-line-number="25">}</a>
-<a class="sourceLine" id="cb341-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb341-27" data-line-number="27"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb341-28" data-line-number="28">The following code</a>
-<a class="sourceLine" id="cb341-29" data-line-number="29"></a>
-<a class="sourceLine" id="cb341-30" data-line-number="30"> def foo(bar):</a>
-<a class="sourceLine" id="cb341-31" data-line-number="31"> if len(bar) &lt;= 1:</a>
-<a class="sourceLine" id="cb341-32" data-line-number="32"> return bar[0]</a>
-<a class="sourceLine" id="cb341-33" data-line-number="33"> elif len(bar) == 2:</a>
-<a class="sourceLine" id="cb341-34" data-line-number="34"> return sorted(bar)</a>
-<a class="sourceLine" id="cb341-35" data-line-number="35"> else:</a>
-<a class="sourceLine" id="cb341-36" data-line-number="36"> baz = len(bar) // 2</a>
-<a class="sourceLine" id="cb341-37" data-line-number="37"> return foo(bar[baz:], bar[:baz])</a>
-<a class="sourceLine" id="cb341-38" data-line-number="38"></a>
-<a class="sourceLine" id="cb341-39" data-line-number="39">The following code</a>
-<a class="sourceLine" id="cb341-40" data-line-number="40"></a>
-<a class="sourceLine" id="cb341-41" data-line-number="41">~~~ Python</a>
-<a class="sourceLine" id="cb341-42" data-line-number="42">&gt;&gt;&gt; foo([4, 2, 1, 3])</a>
-<a class="sourceLine" id="cb341-43" data-line-number="43">[1, 2, 3, 4]</a>
-<a class="sourceLine" id="cb341-44" data-line-number="44">~~~~~~~~~~</a>
-<a class="sourceLine" id="cb341-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb341-46" data-line-number="46"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb342"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb342-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb343"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb343-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb343-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</a>
+<a class="sourceLine" id="cb343-3" data-line-number="3"><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</a>
+<a class="sourceLine" id="cb343-4" data-line-number="4"><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb343-5" data-line-number="5"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb343-6" data-line-number="6"> renderers = {</a>
+<a class="sourceLine" id="cb343-7" data-line-number="7"> interblockSeparator = {</a>
+<a class="sourceLine" id="cb343-8" data-line-number="8"> <span class="fu">\def</span>\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-9" data-line-number="9"> \par</a>
+<a class="sourceLine" id="cb343-10" data-line-number="10"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-11" data-line-number="11"> \def\markdownRendererInterblockSeparator{<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-12" data-line-number="12"> \par</a>
+<a class="sourceLine" id="cb343-13" data-line-number="13"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-14" data-line-number="14"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-15" data-line-number="15"> }<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-16" data-line-number="16"> },</a>
+<a class="sourceLine" id="cb343-17" data-line-number="17"> inputVerbatim = {</a>
+<a class="sourceLine" id="cb343-18" data-line-number="18"> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-19" data-line-number="19"> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-20" data-line-number="20"> },</a>
+<a class="sourceLine" id="cb343-21" data-line-number="21"> inputFencedCode = {</a>
+<a class="sourceLine" id="cb343-22" data-line-number="22"> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></a>
+<a class="sourceLine" id="cb343-23" data-line-number="23"> },</a>
+<a class="sourceLine" id="cb343-24" data-line-number="24"> },</a>
+<a class="sourceLine" id="cb343-25" data-line-number="25">}</a>
+<a class="sourceLine" id="cb343-26" data-line-number="26"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb343-27" data-line-number="27"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb343-28" data-line-number="28">The following code</a>
+<a class="sourceLine" id="cb343-29" data-line-number="29"></a>
+<a class="sourceLine" id="cb343-30" data-line-number="30"> def foo(bar):</a>
+<a class="sourceLine" id="cb343-31" data-line-number="31"> if len(bar) &lt;= 1:</a>
+<a class="sourceLine" id="cb343-32" data-line-number="32"> return bar[0]</a>
+<a class="sourceLine" id="cb343-33" data-line-number="33"> elif len(bar) == 2:</a>
+<a class="sourceLine" id="cb343-34" data-line-number="34"> return sorted(bar)</a>
+<a class="sourceLine" id="cb343-35" data-line-number="35"> else:</a>
+<a class="sourceLine" id="cb343-36" data-line-number="36"> baz = len(bar) // 2</a>
+<a class="sourceLine" id="cb343-37" data-line-number="37"> return foo(bar[baz:], bar[:baz])</a>
+<a class="sourceLine" id="cb343-38" data-line-number="38"></a>
+<a class="sourceLine" id="cb343-39" data-line-number="39">The following code</a>
+<a class="sourceLine" id="cb343-40" data-line-number="40"></a>
+<a class="sourceLine" id="cb343-41" data-line-number="41">~~~ Python</a>
+<a class="sourceLine" id="cb343-42" data-line-number="42">&gt;&gt;&gt; foo([4, 2, 1, 3])</a>
+<a class="sourceLine" id="cb343-43" data-line-number="43">[1, 2, 3, 4]</a>
+<a class="sourceLine" id="cb343-44" data-line-number="44">~~~~~~~~~~</a>
+<a class="sourceLine" id="cb343-45" data-line-number="45"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb343-46" data-line-number="46"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb344"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb344-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text except for the filename, which may differ:</p>
<blockquote>
<p>The following code is contained in file <code>./_markdown_document/882453149edcf288976647f6fe147ada.verbatim</code>:</p>
-<div class="sourceCode" id="cb343"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb343-1" data-line-number="1"><span class="kw">def</span> foo(bar):</a>
-<a class="sourceLine" id="cb343-2" data-line-number="2"> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</a>
-<a class="sourceLine" id="cb343-3" data-line-number="3"> <span class="cf">return</span> bar[:<span class="dv">1</span>]</a>
-<a class="sourceLine" id="cb343-4" data-line-number="4"> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</a>
-<a class="sourceLine" id="cb343-5" data-line-number="5"> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</a>
-<a class="sourceLine" id="cb343-6" data-line-number="6"> <span class="cf">else</span>:</a>
-<a class="sourceLine" id="cb343-7" data-line-number="7"> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</a>
-<a class="sourceLine" id="cb343-8" data-line-number="8"> <span class="cf">return</span> (</a>
-<a class="sourceLine" id="cb343-9" data-line-number="9"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&lt;</span> baz]) <span class="op">+</span> [baz] <span class="op">+</span></a>
-<a class="sourceLine" id="cb343-10" data-line-number="10"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&gt;</span> baz])</a>
-<a class="sourceLine" id="cb343-11" data-line-number="11"> )</a></code></pre></div>
+<div class="sourceCode" id="cb345"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb345-1" data-line-number="1"><span class="kw">def</span> foo(bar):</a>
+<a class="sourceLine" id="cb345-2" data-line-number="2"> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</a>
+<a class="sourceLine" id="cb345-3" data-line-number="3"> <span class="cf">return</span> bar[:<span class="dv">1</span>]</a>
+<a class="sourceLine" id="cb345-4" data-line-number="4"> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</a>
+<a class="sourceLine" id="cb345-5" data-line-number="5"> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</a>
+<a class="sourceLine" id="cb345-6" data-line-number="6"> <span class="cf">else</span>:</a>
+<a class="sourceLine" id="cb345-7" data-line-number="7"> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</a>
+<a class="sourceLine" id="cb345-8" data-line-number="8"> <span class="cf">return</span> (</a>
+<a class="sourceLine" id="cb345-9" data-line-number="9"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&lt;</span> baz]) <span class="op">+</span> [baz] <span class="op">+</span></a>
+<a class="sourceLine" id="cb345-10" data-line-number="10"> foo([qux <span class="cf">for</span> qux <span class="kw">in</span> bar <span class="cf">if</span> qux <span class="op">&gt;</span> baz])</a>
+<a class="sourceLine" id="cb345-11" data-line-number="11"> )</a></code></pre></div>
<p>The following code in Python contained in file <code>./_markdown_document/cf2a96e2120cef5b1fae5fea36fcc27b.verbatim</code>:</p>
-<div class="sourceCode" id="cb344"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb344-1" data-line-number="1"><span class="op">&gt;&gt;&gt;</span> foo([<span class="dv">4</span>, <span class="dv">2</span>, <span class="dv">1</span>, <span class="dv">3</span>])</a>
-<a class="sourceLine" id="cb344-2" data-line-number="2">[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</a></code></pre></div>
+<div class="sourceCode" id="cb346"><pre class="sourceCode py"><code class="sourceCode python"><a class="sourceLine" id="cb346-1" data-line-number="1"><span class="op">&gt;&gt;&gt;</span> foo([<span class="dv">4</span>, <span class="dv">2</span>, <span class="dv">1</span>, <span class="dv">3</span>])</a>
+<a class="sourceLine" id="cb346-2" data-line-number="2">[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</a></code></pre></div>
</blockquote>
<h4 id="heading-renderers"><span class="header-section-number">2.3.1.16</span> Heading Renderers</h4>
<p>The <code>\markdownRendererHeadingOne</code> macro represents a first level heading. The macro receives a single argument that corresponds to the heading text.</p>
@@ -4857,79 +4857,79 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererHeadingSix</code> macro represents a sixth level heading. The macro receives a single argument that corresponds to the heading text.</p>
<h5 id="plain-tex-example-24" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb345"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb345-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb345-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb345-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
-<a class="sourceLine" id="cb345-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
-<a class="sourceLine" id="cb345-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
-<a class="sourceLine" id="cb345-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
-<a class="sourceLine" id="cb345-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
-<a class="sourceLine" id="cb345-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
-<a class="sourceLine" id="cb345-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb345-10" data-line-number="10">######</a>
-<a class="sourceLine" id="cb345-11" data-line-number="11">#####</a>
-<a class="sourceLine" id="cb345-12" data-line-number="12">#####</a>
-<a class="sourceLine" id="cb345-13" data-line-number="13">###</a>
-<a class="sourceLine" id="cb345-14" data-line-number="14">######</a>
-<a class="sourceLine" id="cb345-15" data-line-number="15"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb345-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb346"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb346-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb347"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb347-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb347-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb347-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
+<a class="sourceLine" id="cb347-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
+<a class="sourceLine" id="cb347-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
+<a class="sourceLine" id="cb347-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
+<a class="sourceLine" id="cb347-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
+<a class="sourceLine" id="cb347-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
+<a class="sourceLine" id="cb347-9" data-line-number="9"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb347-10" data-line-number="10">######</a>
+<a class="sourceLine" id="cb347-11" data-line-number="11">#####</a>
+<a class="sourceLine" id="cb347-12" data-line-number="12">#####</a>
+<a class="sourceLine" id="cb347-13" data-line-number="13">###</a>
+<a class="sourceLine" id="cb347-14" data-line-number="14">######</a>
+<a class="sourceLine" id="cb347-15" data-line-number="15"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb347-16" data-line-number="16"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb348"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb348-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
</blockquote>
<h5 id="latex-example-40" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb347"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb347-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb347-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb347-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb347-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb347-5" data-line-number="5"> interblockSeparator = {},</a>
-<a class="sourceLine" id="cb347-6" data-line-number="6"> headingOne = 1,</a>
-<a class="sourceLine" id="cb347-7" data-line-number="7"> headingTwo = 2,</a>
-<a class="sourceLine" id="cb347-8" data-line-number="8"> headingThree = 3,</a>
-<a class="sourceLine" id="cb347-9" data-line-number="9"> headingFour = 4,</a>
-<a class="sourceLine" id="cb347-10" data-line-number="10"> headingFive = 5,</a>
-<a class="sourceLine" id="cb347-11" data-line-number="11"> headingSix = 6,</a>
-<a class="sourceLine" id="cb347-12" data-line-number="12"> },</a>
-<a class="sourceLine" id="cb347-13" data-line-number="13">}</a>
-<a class="sourceLine" id="cb347-14" data-line-number="14"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb347-15" data-line-number="15"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb347-16" data-line-number="16">######</a>
-<a class="sourceLine" id="cb347-17" data-line-number="17">#####</a>
-<a class="sourceLine" id="cb347-18" data-line-number="18">#####</a>
-<a class="sourceLine" id="cb347-19" data-line-number="19">###</a>
-<a class="sourceLine" id="cb347-20" data-line-number="20">######</a>
-<a class="sourceLine" id="cb347-21" data-line-number="21"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb347-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb348"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb348-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb349"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb349-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb349-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb349-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb349-4" data-line-number="4"> renderers = {</a>
+<a class="sourceLine" id="cb349-5" data-line-number="5"> interblockSeparator = {},</a>
+<a class="sourceLine" id="cb349-6" data-line-number="6"> headingOne = 1,</a>
+<a class="sourceLine" id="cb349-7" data-line-number="7"> headingTwo = 2,</a>
+<a class="sourceLine" id="cb349-8" data-line-number="8"> headingThree = 3,</a>
+<a class="sourceLine" id="cb349-9" data-line-number="9"> headingFour = 4,</a>
+<a class="sourceLine" id="cb349-10" data-line-number="10"> headingFive = 5,</a>
+<a class="sourceLine" id="cb349-11" data-line-number="11"> headingSix = 6,</a>
+<a class="sourceLine" id="cb349-12" data-line-number="12"> },</a>
+<a class="sourceLine" id="cb349-13" data-line-number="13">}</a>
+<a class="sourceLine" id="cb349-14" data-line-number="14"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb349-15" data-line-number="15"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb349-16" data-line-number="16">######</a>
+<a class="sourceLine" id="cb349-17" data-line-number="17">#####</a>
+<a class="sourceLine" id="cb349-18" data-line-number="18">#####</a>
+<a class="sourceLine" id="cb349-19" data-line-number="19">###</a>
+<a class="sourceLine" id="cb349-20" data-line-number="20">######</a>
+<a class="sourceLine" id="cb349-21" data-line-number="21"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb349-22" data-line-number="22"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb350"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb350-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
</blockquote>
<h5 id="context-example-34" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb349"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb349-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb349-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
-<a class="sourceLine" id="cb349-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
-<a class="sourceLine" id="cb349-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
-<a class="sourceLine" id="cb349-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
-<a class="sourceLine" id="cb349-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
-<a class="sourceLine" id="cb349-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
-<a class="sourceLine" id="cb349-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
-<a class="sourceLine" id="cb349-9" data-line-number="9"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb349-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb349-11" data-line-number="11">######</a>
-<a class="sourceLine" id="cb349-12" data-line-number="12">#####</a>
-<a class="sourceLine" id="cb349-13" data-line-number="13">#####</a>
-<a class="sourceLine" id="cb349-14" data-line-number="14">###</a>
-<a class="sourceLine" id="cb349-15" data-line-number="15">######</a>
-<a class="sourceLine" id="cb349-16" data-line-number="16"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb349-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb350"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb350-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb351"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb351-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb351-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererInterblockSeparator{}</a>
+<a class="sourceLine" id="cb351-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererHeadingOne{1}</a>
+<a class="sourceLine" id="cb351-4" data-line-number="4"><span class="fu">\def</span>\markdownRendererHeadingTwo{2}</a>
+<a class="sourceLine" id="cb351-5" data-line-number="5"><span class="fu">\def</span>\markdownRendererHeadingThree{3}</a>
+<a class="sourceLine" id="cb351-6" data-line-number="6"><span class="fu">\def</span>\markdownRendererHeadingFour{4}</a>
+<a class="sourceLine" id="cb351-7" data-line-number="7"><span class="fu">\def</span>\markdownRendererHeadingFive{5}</a>
+<a class="sourceLine" id="cb351-8" data-line-number="8"><span class="fu">\def</span>\markdownRendererHeadingSix{6}</a>
+<a class="sourceLine" id="cb351-9" data-line-number="9"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb351-10" data-line-number="10"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb351-11" data-line-number="11">######</a>
+<a class="sourceLine" id="cb351-12" data-line-number="12">#####</a>
+<a class="sourceLine" id="cb351-13" data-line-number="13">#####</a>
+<a class="sourceLine" id="cb351-14" data-line-number="14">###</a>
+<a class="sourceLine" id="cb351-15" data-line-number="15">######</a>
+<a class="sourceLine" id="cb351-16" data-line-number="16"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb351-17" data-line-number="17"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb352"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb352-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>65536</p>
@@ -4938,18 +4938,18 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererHorizontalRule</code> macro represents a horizontal rule. The macro receives no arguments.</p>
<h5 id="plain-tex-example-25" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb351"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb351-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb351-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\vfil\break}</a>
-<a class="sourceLine" id="cb351-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb351-4" data-line-number="4">This is the first page.</a>
-<a class="sourceLine" id="cb351-5" data-line-number="5"></a>
-<a class="sourceLine" id="cb351-6" data-line-number="6">***</a>
-<a class="sourceLine" id="cb351-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb351-8" data-line-number="8">This is the second page.</a>
-<a class="sourceLine" id="cb351-9" data-line-number="9"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb351-10" data-line-number="10"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb352"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb352-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb353"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb353-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb353-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\vfil\break}</a>
+<a class="sourceLine" id="cb353-3" data-line-number="3"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb353-4" data-line-number="4">This is the first page.</a>
+<a class="sourceLine" id="cb353-5" data-line-number="5"></a>
+<a class="sourceLine" id="cb353-6" data-line-number="6">***</a>
+<a class="sourceLine" id="cb353-7" data-line-number="7"></a>
+<a class="sourceLine" id="cb353-8" data-line-number="8">This is the second page.</a>
+<a class="sourceLine" id="cb353-9" data-line-number="9"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb353-10" data-line-number="10"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb354"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb354-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
@@ -4958,24 +4958,24 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-41" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb353"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb353-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb353-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb353-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb353-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb353-5" data-line-number="5"> horizontalRule = <span class="fu">\newpage</span>,</a>
-<a class="sourceLine" id="cb353-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb353-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb353-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb353-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb353-10" data-line-number="10">This is the first page.</a>
-<a class="sourceLine" id="cb353-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb353-12" data-line-number="12">***</a>
-<a class="sourceLine" id="cb353-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb353-14" data-line-number="14">This is the second page.</a>
-<a class="sourceLine" id="cb353-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb353-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb354"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb354-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb355"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb355-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb355-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb355-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb355-4" data-line-number="4"> renderers = {</a>
+<a class="sourceLine" id="cb355-5" data-line-number="5"> horizontalRule = <span class="fu">\newpage</span>,</a>
+<a class="sourceLine" id="cb355-6" data-line-number="6"> },</a>
+<a class="sourceLine" id="cb355-7" data-line-number="7">}</a>
+<a class="sourceLine" id="cb355-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb355-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb355-10" data-line-number="10">This is the first page.</a>
+<a class="sourceLine" id="cb355-11" data-line-number="11"></a>
+<a class="sourceLine" id="cb355-12" data-line-number="12">***</a>
+<a class="sourceLine" id="cb355-13" data-line-number="13"></a>
+<a class="sourceLine" id="cb355-14" data-line-number="14">This is the second page.</a>
+<a class="sourceLine" id="cb355-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb355-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb356"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb356-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
@@ -4984,19 +4984,19 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-35" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb355"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb355-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb355-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\page[yes]}</a>
-<a class="sourceLine" id="cb355-3" data-line-number="3"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb355-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb355-5" data-line-number="5">This is the first page.</a>
-<a class="sourceLine" id="cb355-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb355-7" data-line-number="7">***</a>
-<a class="sourceLine" id="cb355-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb355-9" data-line-number="9">This is the second page.</a>
-<a class="sourceLine" id="cb355-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb355-11" data-line-number="11"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb356"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb356-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb357"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb357-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb357-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererHorizontalRule{\page[yes]}</a>
+<a class="sourceLine" id="cb357-3" data-line-number="3"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb357-4" data-line-number="4"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb357-5" data-line-number="5">This is the first page.</a>
+<a class="sourceLine" id="cb357-6" data-line-number="6"></a>
+<a class="sourceLine" id="cb357-7" data-line-number="7">***</a>
+<a class="sourceLine" id="cb357-8" data-line-number="8"></a>
+<a class="sourceLine" id="cb357-9" data-line-number="9">This is the second page.</a>
+<a class="sourceLine" id="cb357-10" data-line-number="10"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb357-11" data-line-number="11"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb358"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb358-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is the first page.</p>
@@ -5007,63 +5007,63 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererFootnote</code> macro represents a footnote. This macro will only be produced, when the <strong><code>footnotes</code></strong> option is <code>true</code>. The macro receives a single argument that corresponds to the footnote text.</p>
<h5 id="plain-tex-example-26" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb357"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb357-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb357-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb357-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
-<a class="sourceLine" id="cb357-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb357-5" data-line-number="5">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb357-6" data-line-number="6"></a>
-<a class="sourceLine" id="cb357-7" data-line-number="7"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb357-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb357-9" data-line-number="9"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb357-10" data-line-number="10"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb357-11" data-line-number="11"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb358"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb358-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb359"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb359-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb359-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
+<a class="sourceLine" id="cb359-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
+<a class="sourceLine" id="cb359-4" data-line-number="4"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb359-5" data-line-number="5">This is some text[^1] and this is some other text[^2].</a>
+<a class="sourceLine" id="cb359-6" data-line-number="6"></a>
+<a class="sourceLine" id="cb359-7" data-line-number="7"> [^1]: this is a footnote</a>
+<a class="sourceLine" id="cb359-8" data-line-number="8"></a>
+<a class="sourceLine" id="cb359-9" data-line-number="9"> [^2]: this is some other footnote</a>
+<a class="sourceLine" id="cb359-10" data-line-number="10"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb359-11" data-line-number="11"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb360"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb360-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
</blockquote>
<h5 id="latex-example-42" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb359"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb359-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb359-2" data-line-number="2"><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb359-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb359-4" data-line-number="4"> renderers = {</a>
-<a class="sourceLine" id="cb359-5" data-line-number="5"> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</a>
-<a class="sourceLine" id="cb359-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb359-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb359-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb359-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb359-10" data-line-number="10">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb359-11" data-line-number="11"></a>
-<a class="sourceLine" id="cb359-12" data-line-number="12"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb359-13" data-line-number="13"></a>
-<a class="sourceLine" id="cb359-14" data-line-number="14"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb359-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb359-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb360"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb360-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb361"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb361-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb361-2" data-line-number="2"><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb361-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb361-4" data-line-number="4"> renderers = {</a>
+<a class="sourceLine" id="cb361-5" data-line-number="5"> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</a>
+<a class="sourceLine" id="cb361-6" data-line-number="6"> },</a>
+<a class="sourceLine" id="cb361-7" data-line-number="7">}</a>
+<a class="sourceLine" id="cb361-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb361-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb361-10" data-line-number="10">This is some text[^1] and this is some other text[^2].</a>
+<a class="sourceLine" id="cb361-11" data-line-number="11"></a>
+<a class="sourceLine" id="cb361-12" data-line-number="12"> [^1]: this is a footnote</a>
+<a class="sourceLine" id="cb361-13" data-line-number="13"></a>
+<a class="sourceLine" id="cb361-14" data-line-number="14"> [^2]: this is some other footnote</a>
+<a class="sourceLine" id="cb361-15" data-line-number="15"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb361-16" data-line-number="16"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb362"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb362-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
</blockquote>
<h5 id="context-example-36" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb361"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb361-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb361-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
-<a class="sourceLine" id="cb361-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
-<a class="sourceLine" id="cb361-4" data-line-number="4"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb361-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb361-6" data-line-number="6">This is some text[^1] and this is some other text[^2].</a>
-<a class="sourceLine" id="cb361-7" data-line-number="7"></a>
-<a class="sourceLine" id="cb361-8" data-line-number="8"> [^1]: this is a footnote</a>
-<a class="sourceLine" id="cb361-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb361-10" data-line-number="10"> [^2]: this is some other footnote</a>
-<a class="sourceLine" id="cb361-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb361-12" data-line-number="12"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb362"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb362-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb363"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb363-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb363-2" data-line-number="2"><span class="fu">\def</span>\markdownOptionFootnotes{true}</a>
+<a class="sourceLine" id="cb363-3" data-line-number="3"><span class="fu">\def</span>\markdownRendererFootnote#1{ (and \lowercase{#1})}</a>
+<a class="sourceLine" id="cb363-4" data-line-number="4"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb363-5" data-line-number="5"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb363-6" data-line-number="6">This is some text[^1] and this is some other text[^2].</a>
+<a class="sourceLine" id="cb363-7" data-line-number="7"></a>
+<a class="sourceLine" id="cb363-8" data-line-number="8"> [^1]: this is a footnote</a>
+<a class="sourceLine" id="cb363-9" data-line-number="9"></a>
+<a class="sourceLine" id="cb363-10" data-line-number="10"> [^2]: this is some other footnote</a>
+<a class="sourceLine" id="cb363-11" data-line-number="11"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb363-12" data-line-number="12"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb364"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb364-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is some text (and this is a footnote) and this is some other text (and this is some other footnote).</p>
@@ -5072,63 +5072,13 @@ multiple paragraphs</li>
<p>The <code>\markdownRendererCite</code> macro represents a string of one or more parenthetical citations. This macro will only be produced, when the <strong><code>citations</code></strong> option is <code>true</code>. The macro receives the parameter <code>{</code>⟨<em>number of citations</em>⟩<code>}</code> followed by <code>{</code>⟨<em>prenote</em>⟩<code>}{</code>⟨<em>postnote</em>⟩<code>}{</code>⟨<em>name</em>⟩<code>}</code> repeated ⟨<em>number of citations</em>⟩ times. The ⟨<em>suppress author</em>⟩ parameter is either the token <code>-</code>, when the author’s name is to be suppressed, or <code>+</code> otherwise.</p>
<h5 id="latex-example-43" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb363"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb363-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb363-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb363-3" data-line-number="3"><span class="fu">\newcount\citationsCounter</span></a>
-<a class="sourceLine" id="cb363-4" data-line-number="4"><span class="fu">\newcount\citationsTotal</span></a>
-<a class="sourceLine" id="cb363-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
-<a class="sourceLine" id="cb363-6" data-line-number="6"><span class="fu">\def</span>\citations#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-7" data-line-number="7"> a parenthesized citation \emph{#4}</a>
-<a class="sourceLine" id="cb363-8" data-line-number="8"> \advance\citationsCounter by 1\relax</a>
-<a class="sourceLine" id="cb363-9" data-line-number="9"> \ifx\relax#2\relax</a>
-<a class="sourceLine" id="cb363-10" data-line-number="10"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb363-11" data-line-number="11"> with a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-12" data-line-number="12"> \fi</a>
-<a class="sourceLine" id="cb363-13" data-line-number="13"> \else</a>
-<a class="sourceLine" id="cb363-14" data-line-number="14"> with a prefix \emph{#2}<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-15" data-line-number="15"> \ifx\relax#3\relax\else</a>
-<a class="sourceLine" id="cb363-16" data-line-number="16"> \ and a postfix \emph{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-17" data-line-number="17"> \fi</a>
-<a class="sourceLine" id="cb363-18" data-line-number="18"> \fi</a>
-<a class="sourceLine" id="cb363-19" data-line-number="19"> \ifnum\citationsCounter&gt;\citationsTotal\relax</a>
-<a class="sourceLine" id="cb363-20" data-line-number="20"> .<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-21" data-line-number="21"> \expandafter\@gobble</a>
-<a class="sourceLine" id="cb363-22" data-line-number="22"> \else</a>
-<a class="sourceLine" id="cb363-23" data-line-number="23"> , and</a>
-<a class="sourceLine" id="cb363-24" data-line-number="24"> \fi\citations}</a>
-<a class="sourceLine" id="cb363-25" data-line-number="25"><span class="fu">\makeatother</span></a>
-<a class="sourceLine" id="cb363-26" data-line-number="26"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb363-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb363-28" data-line-number="28"> cite = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-29" data-line-number="29"> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-30" data-line-number="30"> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></a>
-<a class="sourceLine" id="cb363-31" data-line-number="31"> This is</a>
-<a class="sourceLine" id="cb363-32" data-line-number="32"> <span class="fu">\expandafter\citations</span></a>
-<a class="sourceLine" id="cb363-33" data-line-number="33"> },</a>
-<a class="sourceLine" id="cb363-34" data-line-number="34"> },</a>
-<a class="sourceLine" id="cb363-35" data-line-number="35">}</a>
-<a class="sourceLine" id="cb363-36" data-line-number="36"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb363-37" data-line-number="37"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb363-38" data-line-number="38">[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</a>
-<a class="sourceLine" id="cb363-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb363-40" data-line-number="40"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb364"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb364-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
-<blockquote>
-<p>This is a parenthesized citation <em>abrahams90</em> with a prefix see and a postfix <em>pp. &gt; 12</em>, and a citation <em>eijkhout91</em> with a postfix <em>pp. 34</em>.</p>
-</blockquote>
-<h4 id="text-citations-renderer"><span class="header-section-number">2.3.1.20</span> Text Citations Renderer</h4>
-<p>The <code>\markdownRendererTextCite</code> macro represents a string of one or more text citations. This macro will only be produced, when the <strong><code>citations</code></strong> option is <code>true</code>. The macro receives parameters in the same format as the <code>\markdownRendererCite</code> macro.</p>
-<h5 id="latex-example-44" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb365"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb365-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
<a class="sourceLine" id="cb365-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
<a class="sourceLine" id="cb365-3" data-line-number="3"><span class="fu">\newcount\citationsCounter</span></a>
<a class="sourceLine" id="cb365-4" data-line-number="4"><span class="fu">\newcount\citationsTotal</span></a>
<a class="sourceLine" id="cb365-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
<a class="sourceLine" id="cb365-6" data-line-number="6"><span class="fu">\def</span>\citations#1#2#3#4{<span class="co">%</span></a>
-<a class="sourceLine" id="cb365-7" data-line-number="7"> a text citation \emph{#4}</a>
+<a class="sourceLine" id="cb365-7" data-line-number="7"> a parenthesized citation \emph{#4}</a>
<a class="sourceLine" id="cb365-8" data-line-number="8"> \advance\citationsCounter by 1\relax</a>
<a class="sourceLine" id="cb365-9" data-line-number="9"> \ifx\relax#2\relax</a>
<a class="sourceLine" id="cb365-10" data-line-number="10"> \ifx\relax#3\relax\else</a>
@@ -5149,7 +5099,7 @@ multiple paragraphs</li>
<a class="sourceLine" id="cb365-25" data-line-number="25"><span class="fu">\makeatother</span></a>
<a class="sourceLine" id="cb365-26" data-line-number="26"><span class="fu">\markdownSetup</span>{</a>
<a class="sourceLine" id="cb365-27" data-line-number="27"> renderers = {</a>
-<a class="sourceLine" id="cb365-28" data-line-number="28"> textCite = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb365-28" data-line-number="28"> cite = {<span class="co">%</span></a>
<a class="sourceLine" id="cb365-29" data-line-number="29"> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></a>
<a class="sourceLine" id="cb365-30" data-line-number="30"> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></a>
<a class="sourceLine" id="cb365-31" data-line-number="31"> This is</a>
@@ -5159,13 +5109,63 @@ multiple paragraphs</li>
<a class="sourceLine" id="cb365-35" data-line-number="35">}</a>
<a class="sourceLine" id="cb365-36" data-line-number="36"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
<a class="sourceLine" id="cb365-37" data-line-number="37"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb365-38" data-line-number="38">@abrahams90 [pp. 12; also @eijkhout91]</a>
+<a class="sourceLine" id="cb365-38" data-line-number="38">[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</a>
<a class="sourceLine" id="cb365-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
<a class="sourceLine" id="cb365-40" data-line-number="40"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
<div class="sourceCode" id="cb366"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb366-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
+<p>This is a parenthesized citation <em>abrahams90</em> with a prefix see and a postfix <em>pp. &gt; 12</em>, and a citation <em>eijkhout91</em> with a postfix <em>pp. 34</em>.</p>
+</blockquote>
+<h4 id="text-citations-renderer"><span class="header-section-number">2.3.1.20</span> Text Citations Renderer</h4>
+<p>The <code>\markdownRendererTextCite</code> macro represents a string of one or more text citations. This macro will only be produced, when the <strong><code>citations</code></strong> option is <code>true</code>. The macro receives parameters in the same format as the <code>\markdownRendererCite</code> macro.</p>
+<h5 id="latex-example-44" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb367"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb367-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb367-2" data-line-number="2"><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb367-3" data-line-number="3"><span class="fu">\newcount\citationsCounter</span></a>
+<a class="sourceLine" id="cb367-4" data-line-number="4"><span class="fu">\newcount\citationsTotal</span></a>
+<a class="sourceLine" id="cb367-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
+<a class="sourceLine" id="cb367-6" data-line-number="6"><span class="fu">\def</span>\citations#1#2#3#4{<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-7" data-line-number="7"> a text citation \emph{#4}</a>
+<a class="sourceLine" id="cb367-8" data-line-number="8"> \advance\citationsCounter by 1\relax</a>
+<a class="sourceLine" id="cb367-9" data-line-number="9"> \ifx\relax#2\relax</a>
+<a class="sourceLine" id="cb367-10" data-line-number="10"> \ifx\relax#3\relax\else</a>
+<a class="sourceLine" id="cb367-11" data-line-number="11"> with a postfix \emph{#3}<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-12" data-line-number="12"> \fi</a>
+<a class="sourceLine" id="cb367-13" data-line-number="13"> \else</a>
+<a class="sourceLine" id="cb367-14" data-line-number="14"> with a prefix \emph{#2}<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-15" data-line-number="15"> \ifx\relax#3\relax\else</a>
+<a class="sourceLine" id="cb367-16" data-line-number="16"> \ and a postfix \emph{#3}<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-17" data-line-number="17"> \fi</a>
+<a class="sourceLine" id="cb367-18" data-line-number="18"> \fi</a>
+<a class="sourceLine" id="cb367-19" data-line-number="19"> \ifnum\citationsCounter&gt;\citationsTotal\relax</a>
+<a class="sourceLine" id="cb367-20" data-line-number="20"> .<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-21" data-line-number="21"> \expandafter\@gobble</a>
+<a class="sourceLine" id="cb367-22" data-line-number="22"> \else</a>
+<a class="sourceLine" id="cb367-23" data-line-number="23"> , and</a>
+<a class="sourceLine" id="cb367-24" data-line-number="24"> \fi\citations}</a>
+<a class="sourceLine" id="cb367-25" data-line-number="25"><span class="fu">\makeatother</span></a>
+<a class="sourceLine" id="cb367-26" data-line-number="26"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb367-27" data-line-number="27"> renderers = {</a>
+<a class="sourceLine" id="cb367-28" data-line-number="28"> textCite = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-29" data-line-number="29"> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-30" data-line-number="30"> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></a>
+<a class="sourceLine" id="cb367-31" data-line-number="31"> This is</a>
+<a class="sourceLine" id="cb367-32" data-line-number="32"> <span class="fu">\expandafter\citations</span></a>
+<a class="sourceLine" id="cb367-33" data-line-number="33"> },</a>
+<a class="sourceLine" id="cb367-34" data-line-number="34"> },</a>
+<a class="sourceLine" id="cb367-35" data-line-number="35">}</a>
+<a class="sourceLine" id="cb367-36" data-line-number="36"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb367-37" data-line-number="37"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb367-38" data-line-number="38">@abrahams90 [pp. 12; also @eijkhout91]</a>
+<a class="sourceLine" id="cb367-39" data-line-number="39"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb367-40" data-line-number="40"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb368"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb368-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
<p>This is a text citation <em>abrahams90</em> with a postfix <em>pp. 12</em>, and a citation <em>eijkhout91</em> with a prefix <em>also</em>.</p>
</blockquote>
<h4 id="table-renderer"><span class="header-section-number">2.3.1.21</span> Table Renderer</h4>
@@ -5178,67 +5178,67 @@ multiple paragraphs</li>
</ul>
<h5 id="latex-example-45" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb367"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb367-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb367-2" data-line-number="2"><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb367-3" data-line-number="3"><span class="fu">\newcount\rowCounter</span></a>
-<a class="sourceLine" id="cb367-4" data-line-number="4"><span class="fu">\newcount\columnCounter</span></a>
-<a class="sourceLine" id="cb367-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
-<a class="sourceLine" id="cb367-6" data-line-number="6"><span class="fu">\def</span>\processRow#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-7" data-line-number="7"> \columnCounter=1<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-8" data-line-number="8"> \ifnum\rowCounter=0\relax</a>
-<a class="sourceLine" id="cb367-9" data-line-number="9"> As for the alignment,</a>
-<a class="sourceLine" id="cb367-10" data-line-number="10"> \else</a>
-<a class="sourceLine" id="cb367-11" data-line-number="11"> In row \the\rowCounter,</a>
-<a class="sourceLine" id="cb367-12" data-line-number="12"> \fi</a>
-<a class="sourceLine" id="cb367-13" data-line-number="13"> \processColumn#1</a>
-<a class="sourceLine" id="cb367-14" data-line-number="14"> \advance\rowCounter by 1\relax</a>
-<a class="sourceLine" id="cb367-15" data-line-number="15"> \ifnum\rowCounter&gt;\rowTotal\relax</a>
-<a class="sourceLine" id="cb367-16" data-line-number="16"> \expandafter\@gobble</a>
-<a class="sourceLine" id="cb367-17" data-line-number="17"> \fi\processRow}<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-18" data-line-number="18"><span class="fu">\def</span>\processColumn#1{<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-19" data-line-number="19"> column number \the\columnCounter{}</a>
-<a class="sourceLine" id="cb367-20" data-line-number="20"> \ifnum\rowCounter=0\relax</a>
-<a class="sourceLine" id="cb367-21" data-line-number="21"> \if#1d{}has default alignment\fi</a>
-<a class="sourceLine" id="cb367-22" data-line-number="22"> \if#1l{}is left-aligned\fi</a>
-<a class="sourceLine" id="cb367-23" data-line-number="23"> \if#1c{}is centered\fi</a>
-<a class="sourceLine" id="cb367-24" data-line-number="24"> \if#1r{}is right-aligned\fi</a>
-<a class="sourceLine" id="cb367-25" data-line-number="25"> \else</a>
-<a class="sourceLine" id="cb367-26" data-line-number="26"> says \emph{#1}<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-27" data-line-number="27"> \fi</a>
-<a class="sourceLine" id="cb367-28" data-line-number="28"> \advance\columnCounter by 1\relax</a>
-<a class="sourceLine" id="cb367-29" data-line-number="29"> \ifnum\columnCounter&lt;\columnTotal\relax, \fi</a>
-<a class="sourceLine" id="cb367-30" data-line-number="30"> \ifnum\columnCounter=\columnTotal\relax, and \fi</a>
-<a class="sourceLine" id="cb367-31" data-line-number="31"> \ifnum\columnCounter&gt;\columnTotal\relax</a>
-<a class="sourceLine" id="cb367-32" data-line-number="32"> .\expandafter\@gobble</a>
-<a class="sourceLine" id="cb367-33" data-line-number="33"> \fi\processColumn}<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-34" data-line-number="34"><span class="fu">\makeatother</span></a>
-<a class="sourceLine" id="cb367-35" data-line-number="35"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb367-36" data-line-number="36"> renderers = {</a>
-<a class="sourceLine" id="cb367-37" data-line-number="37"> table = {<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-38" data-line-number="38"> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</a>
-<a class="sourceLine" id="cb367-39" data-line-number="39"> and #2 rows long.</a>
-<a class="sourceLine" id="cb367-40" data-line-number="40"> <span class="fu">\rowCounter</span>=0<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-41" data-line-number="41"> <span class="fu">\def</span>\rowTotal{#2}<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-42" data-line-number="42"> <span class="fu">\def</span>\columnTotal{#3}<span class="co">%</span></a>
-<a class="sourceLine" id="cb367-43" data-line-number="43"> <span class="fu">\processRow</span></a>
-<a class="sourceLine" id="cb367-44" data-line-number="44"> },</a>
-<a class="sourceLine" id="cb367-45" data-line-number="45"> },</a>
-<a class="sourceLine" id="cb367-46" data-line-number="46">}</a>
-<a class="sourceLine" id="cb367-47" data-line-number="47"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb367-48" data-line-number="48"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb367-49" data-line-number="49">| Right | Left | Default | Center |</a>
-<a class="sourceLine" id="cb367-50" data-line-number="50">|------:|:-----|---------|:------:|</a>
-<a class="sourceLine" id="cb367-51" data-line-number="51">| 12 | 12 | 12 | 12 |</a>
-<a class="sourceLine" id="cb367-52" data-line-number="52">| 123 | 123 | 123 | 123 |</a>
-<a class="sourceLine" id="cb367-53" data-line-number="53">| 1 | 1 | 1 | 1 |</a>
-<a class="sourceLine" id="cb367-54" data-line-number="54"></a>
-<a class="sourceLine" id="cb367-55" data-line-number="55"> : Demonstration of pipe table syntax</a>
-<a class="sourceLine" id="cb367-56" data-line-number="56"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb367-57" data-line-number="57"><span class="kw">\end</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb367-58" data-line-number="58"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb367-59" data-line-number="59"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb368"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb368-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb369"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb369-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb369-2" data-line-number="2"><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb369-3" data-line-number="3"><span class="fu">\newcount\rowCounter</span></a>
+<a class="sourceLine" id="cb369-4" data-line-number="4"><span class="fu">\newcount\columnCounter</span></a>
+<a class="sourceLine" id="cb369-5" data-line-number="5"><span class="fu">\makeatletter</span></a>
+<a class="sourceLine" id="cb369-6" data-line-number="6"><span class="fu">\def</span>\processRow#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-7" data-line-number="7"> \columnCounter=1<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-8" data-line-number="8"> \ifnum\rowCounter=0\relax</a>
+<a class="sourceLine" id="cb369-9" data-line-number="9"> As for the alignment,</a>
+<a class="sourceLine" id="cb369-10" data-line-number="10"> \else</a>
+<a class="sourceLine" id="cb369-11" data-line-number="11"> In row \the\rowCounter,</a>
+<a class="sourceLine" id="cb369-12" data-line-number="12"> \fi</a>
+<a class="sourceLine" id="cb369-13" data-line-number="13"> \processColumn#1</a>
+<a class="sourceLine" id="cb369-14" data-line-number="14"> \advance\rowCounter by 1\relax</a>
+<a class="sourceLine" id="cb369-15" data-line-number="15"> \ifnum\rowCounter&gt;\rowTotal\relax</a>
+<a class="sourceLine" id="cb369-16" data-line-number="16"> \expandafter\@gobble</a>
+<a class="sourceLine" id="cb369-17" data-line-number="17"> \fi\processRow}<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-18" data-line-number="18"><span class="fu">\def</span>\processColumn#1{<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-19" data-line-number="19"> column number \the\columnCounter{}</a>
+<a class="sourceLine" id="cb369-20" data-line-number="20"> \ifnum\rowCounter=0\relax</a>
+<a class="sourceLine" id="cb369-21" data-line-number="21"> \if#1d{}has default alignment\fi</a>
+<a class="sourceLine" id="cb369-22" data-line-number="22"> \if#1l{}is left-aligned\fi</a>
+<a class="sourceLine" id="cb369-23" data-line-number="23"> \if#1c{}is centered\fi</a>
+<a class="sourceLine" id="cb369-24" data-line-number="24"> \if#1r{}is right-aligned\fi</a>
+<a class="sourceLine" id="cb369-25" data-line-number="25"> \else</a>
+<a class="sourceLine" id="cb369-26" data-line-number="26"> says \emph{#1}<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-27" data-line-number="27"> \fi</a>
+<a class="sourceLine" id="cb369-28" data-line-number="28"> \advance\columnCounter by 1\relax</a>
+<a class="sourceLine" id="cb369-29" data-line-number="29"> \ifnum\columnCounter&lt;\columnTotal\relax, \fi</a>
+<a class="sourceLine" id="cb369-30" data-line-number="30"> \ifnum\columnCounter=\columnTotal\relax, and \fi</a>
+<a class="sourceLine" id="cb369-31" data-line-number="31"> \ifnum\columnCounter&gt;\columnTotal\relax</a>
+<a class="sourceLine" id="cb369-32" data-line-number="32"> .\expandafter\@gobble</a>
+<a class="sourceLine" id="cb369-33" data-line-number="33"> \fi\processColumn}<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-34" data-line-number="34"><span class="fu">\makeatother</span></a>
+<a class="sourceLine" id="cb369-35" data-line-number="35"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb369-36" data-line-number="36"> renderers = {</a>
+<a class="sourceLine" id="cb369-37" data-line-number="37"> table = {<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-38" data-line-number="38"> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</a>
+<a class="sourceLine" id="cb369-39" data-line-number="39"> and #2 rows long.</a>
+<a class="sourceLine" id="cb369-40" data-line-number="40"> <span class="fu">\rowCounter</span>=0<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-41" data-line-number="41"> <span class="fu">\def</span>\rowTotal{#2}<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-42" data-line-number="42"> <span class="fu">\def</span>\columnTotal{#3}<span class="co">%</span></a>
+<a class="sourceLine" id="cb369-43" data-line-number="43"> <span class="fu">\processRow</span></a>
+<a class="sourceLine" id="cb369-44" data-line-number="44"> },</a>
+<a class="sourceLine" id="cb369-45" data-line-number="45"> },</a>
+<a class="sourceLine" id="cb369-46" data-line-number="46">}</a>
+<a class="sourceLine" id="cb369-47" data-line-number="47"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb369-48" data-line-number="48"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb369-49" data-line-number="49">| Right | Left | Default | Center |</a>
+<a class="sourceLine" id="cb369-50" data-line-number="50">|------:|:-----|---------|:------:|</a>
+<a class="sourceLine" id="cb369-51" data-line-number="51">| 12 | 12 | 12 | 12 |</a>
+<a class="sourceLine" id="cb369-52" data-line-number="52">| 123 | 123 | 123 | 123 |</a>
+<a class="sourceLine" id="cb369-53" data-line-number="53">| 1 | 1 | 1 | 1 |</a>
+<a class="sourceLine" id="cb369-54" data-line-number="54"></a>
+<a class="sourceLine" id="cb369-55" data-line-number="55"> : Demonstration of pipe table syntax</a>
+<a class="sourceLine" id="cb369-56" data-line-number="56"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb369-57" data-line-number="57"><span class="kw">\end</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb369-58" data-line-number="58"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb369-59" data-line-number="59"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb370"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb370-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>This is a table with caption <em>Demonstration of pipe table syntax</em> that is 4 colums wide and 4 rows long. As for the alignment, column number 1 is right-aligned, column number 2 is left-aligned, column number 3 has default alignment, and column number 4 is centered. In row 1, column number 1 says <em>Right</em>, column number 2 says <em>Left</em>, column number 3 says <em>Default</em>, and column number 4 says <em>Center</em>. In row 2, column number 1 says <em>12</em>, column number 2 says <em>12</em>, column number 3 says <em>12</em>, and column number 4 says <em>12</em>. In row 3, column number 1 says <em>123</em>, column number 2 says <em>123</em>, column number 3 says <em>123</em>, and column number 4 says <em>123</em>. In row 4, column number 1 says <em>1</em>, column number 2 says <em>1</em>, column number 3 says <em>1</em>, and column number 4 says <em>1</em>.</p>
@@ -5247,23 +5247,23 @@ multiple paragraphs</li>
<p>By default, token renderers point to package-defined <span class="tex">T<sub>e</sub>X</span> macros, further referred to as <em>prototypes</em>, which provide useful default definitions.</p>
<h5 id="plain-tex-example-27" class="unnumbered">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb369"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb369-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
-<a class="sourceLine" id="cb369-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
-<a class="sourceLine" id="cb369-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
-<a class="sourceLine" id="cb369-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb369-5" data-line-number="5"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb369-6" data-line-number="6">~</a>
-<a class="sourceLine" id="cb369-7" data-line-number="7"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb369-8" data-line-number="8"></a>
-<a class="sourceLine" id="cb369-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
-<a class="sourceLine" id="cb369-10" data-line-number="10"> User-defined token renderers take precedence.<span class="co">%</span></a>
-<a class="sourceLine" id="cb369-11" data-line-number="11">}</a>
-<a class="sourceLine" id="cb369-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
-<a class="sourceLine" id="cb369-13" data-line-number="13">~</a>
-<a class="sourceLine" id="cb369-14" data-line-number="14"><span class="fu">\markdownEnd</span></a>
-<a class="sourceLine" id="cb369-15" data-line-number="15"><span class="fu">\bye</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb370"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb370-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb371"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb371-1" data-line-number="1"><span class="fu">\input</span> markdown</a>
+<a class="sourceLine" id="cb371-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
+<a class="sourceLine" id="cb371-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
+<a class="sourceLine" id="cb371-4" data-line-number="4">}</a>
+<a class="sourceLine" id="cb371-5" data-line-number="5"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb371-6" data-line-number="6">~</a>
+<a class="sourceLine" id="cb371-7" data-line-number="7"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb371-8" data-line-number="8"></a>
+<a class="sourceLine" id="cb371-9" data-line-number="9"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
+<a class="sourceLine" id="cb371-10" data-line-number="10"> User-defined token renderers take precedence.<span class="co">%</span></a>
+<a class="sourceLine" id="cb371-11" data-line-number="11">}</a>
+<a class="sourceLine" id="cb371-12" data-line-number="12"><span class="fu">\markdownBegin</span></a>
+<a class="sourceLine" id="cb371-13" data-line-number="13">~</a>
+<a class="sourceLine" id="cb371-14" data-line-number="14"><span class="fu">\markdownEnd</span></a>
+<a class="sourceLine" id="cb371-15" data-line-number="15"><span class="fu">\bye</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb372"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb372-1" data-line-number="1"><span class="ex">luatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
@@ -5271,28 +5271,28 @@ multiple paragraphs</li>
</blockquote>
<h5 id="latex-example-46" class="unnumbered"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb371"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb371-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
-<a class="sourceLine" id="cb371-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb371-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
-<a class="sourceLine" id="cb371-4" data-line-number="4"> rendererPrototypes = {</a>
-<a class="sourceLine" id="cb371-5" data-line-number="5"> tilde = {Packages can specify token renderer prototypes.},</a>
-<a class="sourceLine" id="cb371-6" data-line-number="6"> },</a>
-<a class="sourceLine" id="cb371-7" data-line-number="7">}</a>
-<a class="sourceLine" id="cb371-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
-<a class="sourceLine" id="cb371-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb371-10" data-line-number="10">~</a>
-<a class="sourceLine" id="cb371-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
-<a class="sourceLine" id="cb371-12" data-line-number="12"></a>
-<a class="sourceLine" id="cb371-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
-<a class="sourceLine" id="cb371-14" data-line-number="14"> renderers = {</a>
-<a class="sourceLine" id="cb371-15" data-line-number="15"> tilde = {User-defined token renderers take precedence.},</a>
-<a class="sourceLine" id="cb371-16" data-line-number="16"> },</a>
-<a class="sourceLine" id="cb371-17" data-line-number="17">}</a>
-<a class="sourceLine" id="cb371-18" data-line-number="18">~</a>
-<a class="sourceLine" id="cb371-19" data-line-number="19"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
-<a class="sourceLine" id="cb371-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb372"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb372-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb373"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb373-1" data-line-number="1"><span class="bu">\documentclass</span>{<span class="ex">article</span>}</a>
+<a class="sourceLine" id="cb373-2" data-line-number="2"><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb373-3" data-line-number="3"><span class="fu">\markdownSetup</span>{</a>
+<a class="sourceLine" id="cb373-4" data-line-number="4"> rendererPrototypes = {</a>
+<a class="sourceLine" id="cb373-5" data-line-number="5"> tilde = {Packages can specify token renderer prototypes.},</a>
+<a class="sourceLine" id="cb373-6" data-line-number="6"> },</a>
+<a class="sourceLine" id="cb373-7" data-line-number="7">}</a>
+<a class="sourceLine" id="cb373-8" data-line-number="8"><span class="kw">\begin</span>{<span class="ex">document</span>}</a>
+<a class="sourceLine" id="cb373-9" data-line-number="9"><span class="kw">\begin</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb373-10" data-line-number="10">~</a>
+<a class="sourceLine" id="cb373-11" data-line-number="11"><span class="kw">\end</span>{<span class="ex">markdown</span>}</a>
+<a class="sourceLine" id="cb373-12" data-line-number="12"></a>
+<a class="sourceLine" id="cb373-13" data-line-number="13"><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</a>
+<a class="sourceLine" id="cb373-14" data-line-number="14"> renderers = {</a>
+<a class="sourceLine" id="cb373-15" data-line-number="15"> tilde = {User-defined token renderers take precedence.},</a>
+<a class="sourceLine" id="cb373-16" data-line-number="16"> },</a>
+<a class="sourceLine" id="cb373-17" data-line-number="17">}</a>
+<a class="sourceLine" id="cb373-18" data-line-number="18">~</a>
+<a class="sourceLine" id="cb373-19" data-line-number="19"><span class="kw">\end</span>{<span class="ex">markdown*</span>}</a>
+<a class="sourceLine" id="cb373-20" data-line-number="20"><span class="kw">\end</span>{<span class="ex">document</span>}</a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb374"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb374-1" data-line-number="1"><span class="ex">lualatex</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
@@ -5300,24 +5300,24 @@ multiple paragraphs</li>
</blockquote>
<h5 id="context-example-37" class="unnumbered">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb373"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb373-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
-<a class="sourceLine" id="cb373-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
-<a class="sourceLine" id="cb373-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
-<a class="sourceLine" id="cb373-4" data-line-number="4">}</a>
-<a class="sourceLine" id="cb373-5" data-line-number="5"><span class="fu">\starttext</span></a>
-<a class="sourceLine" id="cb373-6" data-line-number="6"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb373-7" data-line-number="7">~</a>
-<a class="sourceLine" id="cb373-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb373-9" data-line-number="9"></a>
-<a class="sourceLine" id="cb373-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
-<a class="sourceLine" id="cb373-11" data-line-number="11"> User-defined token renderers take precedence.<span class="co">%</span></a>
-<a class="sourceLine" id="cb373-12" data-line-number="12">}</a>
-<a class="sourceLine" id="cb373-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
-<a class="sourceLine" id="cb373-14" data-line-number="14">~</a>
-<a class="sourceLine" id="cb373-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
-<a class="sourceLine" id="cb373-16" data-line-number="16"><span class="fu">\stoptext</span></a></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb374"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb374-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
+<div class="sourceCode" id="cb375"><pre class="sourceCode tex"><code class="sourceCode latex"><a class="sourceLine" id="cb375-1" data-line-number="1"><span class="fu">\usemodule</span>[t][markdown]</a>
+<a class="sourceLine" id="cb375-2" data-line-number="2"><span class="fu">\def</span>\markdownRendererTildePrototype{<span class="co">%</span></a>
+<a class="sourceLine" id="cb375-3" data-line-number="3"> Packages can specify token renderer prototypes.<span class="co">%</span></a>
+<a class="sourceLine" id="cb375-4" data-line-number="4">}</a>
+<a class="sourceLine" id="cb375-5" data-line-number="5"><span class="fu">\starttext</span></a>
+<a class="sourceLine" id="cb375-6" data-line-number="6"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb375-7" data-line-number="7">~</a>
+<a class="sourceLine" id="cb375-8" data-line-number="8"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb375-9" data-line-number="9"></a>
+<a class="sourceLine" id="cb375-10" data-line-number="10"><span class="fu">\def</span>\markdownRendererTilde{<span class="co">%</span></a>
+<a class="sourceLine" id="cb375-11" data-line-number="11"> User-defined token renderers take precedence.<span class="co">%</span></a>
+<a class="sourceLine" id="cb375-12" data-line-number="12">}</a>
+<a class="sourceLine" id="cb375-13" data-line-number="13"><span class="fu">\startmarkdown</span></a>
+<a class="sourceLine" id="cb375-14" data-line-number="14">~</a>
+<a class="sourceLine" id="cb375-15" data-line-number="15"><span class="fu">\stopmarkdown</span></a>
+<a class="sourceLine" id="cb375-16" data-line-number="16"><span class="fu">\stoptext</span></a></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb376"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb376-1" data-line-number="1"><span class="ex">context</span> document.tex</a></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Packages can specify token renderer prototypes.</p>
diff --git a/macros/generic/markdown/markdown.md b/macros/generic/markdown/markdown.md
index ddd8c67dcd..2a184c3f25 100644
--- a/macros/generic/markdown/markdown.md
+++ b/macros/generic/markdown/markdown.md
@@ -14,8 +14,9 @@ The [Markdown package][pkg] converts [markdown][] markup to \TeX{} commands. The
functionality is provided both as a Lua module and as plain \TeX{}, \LaTeX{}, and
\Hologo{ConTeXt} macro packages that can be used to directly typeset \TeX documents
containing markdown markup. Unlike other convertors, the Markdown package
-makes it easy to redefine how each and every markdown element is rendered.
-Creative abuse of the markdown syntax is encouraged. ;-)
+does not require any external programs, and makes it easy to redefine how each
+and every markdown element is rendered. Creative abuse of the markdown
+syntax is encouraged. ;-)
[markdown]: https://daringfireball.net/projects/markdown/basics/
(Daring Fireball: Markdown Basics)
diff --git a/macros/generic/markdown/markdown.pdf b/macros/generic/markdown/markdown.pdf
index d166468833..4d8394cebd 100644
--- a/macros/generic/markdown/markdown.pdf
+++ b/macros/generic/markdown/markdown.pdf
Binary files differ
diff --git a/macros/generic/markdown/tests/README.md b/macros/generic/markdown/tests/README.md
deleted file mode 100644
index 53db58776b..0000000000
--- a/macros/generic/markdown/tests/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-This directory contains the testing framework of the Markdown package. Tests
-act as an ensurance that changes to the package did not introduce new bugs.
-
-The `test.sh` shell script is used to run the individual tests. To run one or
-more tests, execute the `test.sh` script with the pathnames of one or more test
-files as the arguments. Test files can be recognized by the `.test` suffix and
-reside inside the `testfiles/` directory. The Markdown package needs to be
-[installed][install] before running the tests.
-
- [install]: http://mirrors.ctan.org/macros/generic/markdown/markdown.html#installation "Markdown Package User Manual"
-
-Each time a commit is made to the Git repository of the project, this test
-suite is ran by a continuous integration service.
-The current status is:
-[![CircleCI](https://circleci.com/gh/Witiko/markdown/tree/master.svg)][CircleCI]
-
- [CircleCI]: https://circleci.com/gh/Witiko/markdown/tree/master (CircleCI)
diff --git a/macros/generic/markdown/tests/support/README.md b/macros/generic/markdown/tests/support/README.md
deleted file mode 100644
index d06e40a921..0000000000
--- a/macros/generic/markdown/tests/support/README.md
+++ /dev/null
@@ -1,4 +0,0 @@
-This directory contains support files. Support files should be available to the
-TeX source code that is being typeset during a test. These are mainly files
-containing TeX source code that is common for all the TeX source code
-templates.
diff --git a/macros/generic/markdown/tests/support/latex-setup.tex b/macros/generic/markdown/tests/support/latex-setup.tex
deleted file mode 100644
index be002d6ec8..0000000000
--- a/macros/generic/markdown/tests/support/latex-setup.tex
+++ /dev/null
@@ -1,162 +0,0 @@
-renderers = {%
- interblockSeparator = {%
- \TYPE{interblockSeparator}%
- \GOBBLE},
- lineBreak = {%
- \TYPE{lineBreak}%
- \GOBBLE},
- ellipsis = {%
- \TYPE{ellipsis}%
- \GOBBLE},
- nbsp = {%
- \TYPE{nbsp}%
- \GOBBLE},
- leftBrace = {%
- \TYPE{leftBrace}%
- \GOBBLE},
- rightBrace = {%
- \TYPE{rightBrace}%
- \GOBBLE},
- dollarSign = {%
- \TYPE{dollarSign}%
- \GOBBLE},
- percentSign = {%
- \TYPE{percentSign}%
- \GOBBLE},
- ampersand = {%
- \TYPE{ampersand}%
- \GOBBLE},
- underscore = {%
- \TYPE{underscore}%
- \GOBBLE},
- hash = {%
- \TYPE{hash}%
- \GOBBLE},
- circumflex = {%
- \TYPE{circumflex}%
- \GOBBLE},
- backslash = {%
- \TYPE{backslash}%
- \GOBBLE},
- tilde = {%
- \TYPE{tilde}%
- \GOBBLE},
- pipe = {%
- \TYPE{pipe}%
- \GOBBLE},
- codeSpan = {%
- \TYPE{codeSpan: #1}},
- link = {%
- \TYPE{BEGIN link}%
- \TYPE{- label: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END link}},
- image = {%
- \TYPE{BEGIN image}%
- \TYPE{- label: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END image}},
- contentBlock = {%
- \TYPE{BEGIN contentBlock}%
- \TYPE{- suffix: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END contentBlock}%
- },
- contentBlockOnlineImage = {%
- \TYPE{BEGIN contentBlockOnlineImage}%
- \TYPE{- suffix: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END contentBlockOnlineImage}%
- },
- contentBlockCode = {%
- \TYPE{BEGIN contentBlockCode}%
- \TYPE{- suffix: #1}%
- \TYPE{- language: #2}%
- \TYPE{- URI: #3}%
- \TYPE{- title: #5}%
- \TYPE{END contentBlockCode}%
- },
- ulBegin = {%
- \TYPE{ulBegin}},
- ulBeginTight = {%
- \TYPE{ulBeginTight}},
- ulItem = {%
- \TYPE{ulItem}},
- ulItemEnd = {%
- \TYPE{ulItemEnd}},
- ulEnd = {%
- \TYPE{ulEnd}},
- ulEndTight = {%
- \TYPE{ulEndTight}},
- olBegin = {%
- \TYPE{olBegin}},
- olBeginTight = {%
- \TYPE{olBeginTight}},
- olItem = {%
- \TYPE{olItem}},
- olItemEnd = {%
- \TYPE{olItemEnd}},
- olItemWithNumber = {%
- \TYPE{olItemWithNumber: #1}},
- olEnd = {%
- \TYPE{olEnd}},
- olEndTight = {%
- \TYPE{olEndTight}},
- dlBegin = {%
- \TYPE{dlBegin}},
- dlBeginTight = {%
- \TYPE{dlBeginTight}},
- dlItem = {%
- \TYPE{dlItem: #1}},
- dlItemEnd = {%
- \TYPE{dlItemEnd}},
- dlDefinitionBegin = {%
- \TYPE{dlDefinitionBegin}},
- dlDefinitionEnd = {%
- \TYPE{dlDefinitionEnd}},
- dlEnd = {%
- \TYPE{dlEnd}},
- dlEndTight = {%
- \TYPE{dlEndTight}},
- emphasis = {%
- \TYPE{emphasis: #1}},
- strongEmphasis = {%
- \TYPE{strongEmphasis: #1}},
- blockQuoteBegin = {%
- \TYPE{blockQuoteBegin}},
- blockQuoteEnd = {%
- \TYPE{blockQuoteEnd}},
- inputVerbatim = {%
- \TYPE{inputVerbatim: #1}},
- inputFencedCode = {%
- \TYPE{BEGIN fencedCode}%
- \TYPE{- src: #1}%
- \TYPE{- infostring: #2}%
- \TYPE{END fencedCode}},
- headingOne = {%
- \TYPE{headingOne: #1}},
- headingTwo = {%
- \TYPE{headingTwo: #1}},
- headingThree = {%
- \TYPE{headingThree: #1}},
- headingFour = {%
- \TYPE{headingFour: #1}},
- headingFive = {%
- \TYPE{headingFive: #1}},
- headingSix = {%
- \TYPE{headingSix: #1}},
- horizontalRule = {%
- \TYPE{horizontalRule}},
- footnote = {%
- \TYPE{footnote: #1}},
- cite = {%
- \CITATIONS{#1}},
- textCite = {%
- \TEXTCITATIONS{#1}},
- table = {%
- \TABLE{#1}{#2}{#3}}
-}
diff --git a/macros/generic/markdown/tests/support/plain-setup.tex b/macros/generic/markdown/tests/support/plain-setup.tex
deleted file mode 100644
index 1c163781e7..0000000000
--- a/macros/generic/markdown/tests/support/plain-setup.tex
+++ /dev/null
@@ -1,142 +0,0 @@
-\def\markdownRendererInterblockSeparator#1{%
- \TYPE{interblockSeparator}}%
-\def\markdownRendererLineBreak#1{%
- \TYPE{lineBreak}}%
-\def\markdownRendererEllipsis#1{%
- \TYPE{ellipsis}}%
-\def\markdownRendererNbsp#1{%
- \TYPE{nbsp}}%
-\def\markdownRendererLeftBrace#1{%
- \TYPE{leftBrace}}%
-\def\markdownRendererRightBrace#1{%
- \TYPE{rightBrace}}%
-\def\markdownRendererDollarSign#1{%
- \TYPE{dollarSign}}%
-\def\markdownRendererPercentSign#1{%
- \TYPE{percentSign}}%
-\def\markdownRendererAmpersand#1{%
- \TYPE{ampersand}}%
-\def\markdownRendererUnderscore#1{%
- \TYPE{underscore}}%
-\def\markdownRendererHash#1{%
- \TYPE{hash}}%
-\def\markdownRendererCircumflex#1{%
- \TYPE{circumflex}}%
-\def\markdownRendererBackslash#1{%
- \TYPE{backslash}}%
-\def\markdownRendererTilde#1{%
- \TYPE{tilde}}%
-\def\markdownRendererPipe#1{%
- \TYPE{pipe}}%
-\def\markdownRendererCodeSpan#1{%
- \TYPE{codeSpan: #1}}%
-\def\markdownRendererLink#1#2#3#4{%
- \TYPE{BEGIN link}%
- \TYPE{- label: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END link}}%
-\def\markdownRendererImage#1#2#3#4{%
- \TYPE{BEGIN image}%
- \TYPE{- label: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END image}}%
-\def\markdownRendererContentBlock#1#2#3#4{%
- \TYPE{BEGIN contentBlock}%
- \TYPE{- suffix: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END contentBlock}}%
-\def\markdownRendererContentBlockOnlineImage#1#2#3#4{%
- \TYPE{BEGIN contentBlockOnlineImage}%
- \TYPE{- suffix: #1}%
- \TYPE{- URI: #2}%
- \TYPE{- title: #4}%
- \TYPE{END contentBlockOnlineImage}}%
-\def\markdownRendererContentBlockCode#1#2#3#4#5{%
- \TYPE{BEGIN contentBlockCode}%
- \TYPE{- suffix: #1}%
- \TYPE{- language: #2}%
- \TYPE{- URI: #3}%
- \TYPE{- title: #5}%
- \TYPE{END contentBlockCode}}%
-\def\markdownRendererUlBegin{%
- \TYPE{ulBegin}}%
-\def\markdownRendererUlBeginTight{%
- \TYPE{ulBeginTight}}%
-\def\markdownRendererUlItem{%
- \TYPE{ulItem}}%
-\def\markdownRendererUlItemEnd{%
- \TYPE{ulItemEnd}}%
-\def\markdownRendererUlEnd{%
- \TYPE{ulEnd}}%
-\def\markdownRendererUlEndTight{%
- \TYPE{ulEndTight}}%
-\def\markdownRendererOlBegin{%
- \TYPE{olBegin}}%
-\def\markdownRendererOlBeginTight{%
- \TYPE{olBeginTight}}%
-\def\markdownRendererOlItem{%
- \TYPE{olItem}}%
-\def\markdownRendererOlItemEnd{%
- \TYPE{olItemEnd}}%
-\def\markdownRendererOlItemWithNumber#1{%
- \TYPE{olItemWithNumber: #1}}%
-\def\markdownRendererOlEnd{%
- \TYPE{olEnd}}%
-\def\markdownRendererOlEndTight{%
- \TYPE{olEndTight}}%
-\def\markdownRendererDlBegin{%
- \TYPE{dlBegin}}%
-\def\markdownRendererDlBeginTight{%
- \TYPE{dlBeginTight}}%
-\def\markdownRendererDlItem#1{%
- \TYPE{dlItem: #1}}%
-\def\markdownRendererDlItemEnd{%
- \TYPE{dlItemEnd}}%
-\def\markdownRendererDlDefinitionBegin{%
- \TYPE{dlDefinitionBegin}}%
-\def\markdownRendererDlDefinitionEnd{%
- \TYPE{dlDefinitionEnd}}%
-\def\markdownRendererDlEnd{%
- \TYPE{dlEnd}}%
-\def\markdownRendererDlEndTight{%
- \TYPE{dlEndTight}}%
-\def\markdownRendererEmphasis#1{%
- \TYPE{emphasis: #1}}%
-\def\markdownRendererStrongEmphasis#1{%
- \TYPE{strongEmphasis: #1}}%
-\def\markdownRendererBlockQuoteBegin{%
- \TYPE{blockQuoteBegin}}%
-\def\markdownRendererBlockQuoteEnd{%
- \TYPE{blockQuoteEnd}}%
-\def\markdownRendererInputVerbatim#1{%
- \TYPE{inputVerbatim: #1}}%
-\def\markdownRendererInputFencedCode#1#2{%
- \TYPE{BEGIN fencedCode}%
- \TYPE{- src: #1}%
- \TYPE{- infostring: #2}%
- \TYPE{END fencedCode}}%
-\def\markdownRendererHeadingOne#1{%
- \TYPE{headingOne: #1}}%
-\def\markdownRendererHeadingTwo#1{%
- \TYPE{headingTwo: #1}}%
-\def\markdownRendererHeadingThree#1{%
- \TYPE{headingThree: #1}}%
-\def\markdownRendererHeadingFour#1{%
- \TYPE{headingFour: #1}}%
-\def\markdownRendererHeadingFive#1{%
- \TYPE{headingFive: #1}}%
-\def\markdownRendererHeadingSix#1{%
- \TYPE{headingSix: #1}}%
-\def\markdownRendererHorizontalRule{%
- \TYPE{horizontalRule}}%
-\def\markdownRendererFootnote#1{%
- \TYPE{footnote: #1}}%
-\def\markdownRendererCite#1{%
- \CITATIONS{#1}}%
-\def\markdownRendererTextCite#1{%
- \TEXTCITATIONS{#1}}%
-\def\markdownRendererTable#1#2#3{%
- \TABLE{#1}{#2}{#3}}%
diff --git a/macros/generic/markdown/tests/support/setup.tex b/macros/generic/markdown/tests/support/setup.tex
deleted file mode 100644
index 60a943d2ac..0000000000
--- a/macros/generic/markdown/tests/support/setup.tex
+++ /dev/null
@@ -1,79 +0,0 @@
-\long\def\TYPE#1{%
- \begingroup
- \long\def\TYPE##1{(##1)}%
- \immediate\write128{TEST INPUT BEGIN}%
- \immediate\write128{#1}%
- \immediate\write128{TEST INPUT END}%
- \endgroup}%
-\def\GOBBLE#1{}%
-
-% Table parsing
-\newcount\ROWCOUNTER
-\newcount\COLCOUNTER
-
-\def\DOROW#1{%
- \COLCOUNTER=1%
- \DOCOL#1
- \advance\ROWCOUNTER by 1\relax
- \ifnum\ROWCOUNTER>\ROWTOTAL\relax
- \TYPE{END table}%
- \expandafter\GOBBLE
- \fi\DOROW}%
-\def\DOCOL#1{%
- \ifnum\ROWCOUNTER=0
- \TYPE{- alignment of column \the\COLCOUNTER: #1}%
- \else
- \TYPE{- row \the\ROWCOUNTER, column \the\COLCOUNTER: #1}%
- \fi
- \advance\COLCOUNTER by 1\relax
- \ifnum\COLCOUNTER>\COLTOTAL\relax
- \expandafter\GOBBLE
- \fi\DOCOL}%
-\def\TABLE#1#2#3{%
- \ROWCOUNTER=0%
- \def\ROWTOTAL{#2}%
- \def\COLTOTAL{#3}%
- \TYPE{BEGIN table (#2 rows, #3 columns)}%
- \TYPE{- caption: #1}%
- \DOROW}%
-
-% Citations parsing
-\newcount\CITATIONSCOUNTER
-
-%% Regular citations
-\def\DOCITATIONS#1#2#3#4{%
- \advance\CITATIONSCOUNTER by 1\relax
- \CITE{#1}{#2}{#3}{#4}%
- \ifnum\CITATIONSCOUNTER>\CITATIONSTOTAL\relax
- \expandafter\GOBBLE
- \fi\DOCITATIONS}%
-\def\CITE#1#2#3#4{%
- \TYPE{BEGIN cite}%
- \TYPE{- suppressAuthor: \if#1+false\else true\fi}%
- \TYPE{- prenote: #2}%
- \TYPE{- postnote: #3}%
- \TYPE{- name: #4}%
- \TYPE{END cite}}%
-\def\CITATIONS#1{%
- \CITATIONSCOUNTER=1%
- \def\CITATIONSTOTAL{#1}%
- \DOCITATIONS}%
-
-%% Text citations
-\def\DOTEXTCITATIONS#1#2#3#4{%
- \advance\CITATIONSCOUNTER by 1\relax
- \TEXTCITE{#1}{#2}{#3}{#4}%
- \ifnum\CITATIONSCOUNTER>\CITATIONSTOTAL\relax
- \expandafter\GOBBLE
- \fi\DOTEXTCITATIONS}%
-\def\TEXTCITE#1#2#3#4{%
- \TYPE{BEGIN textCite}%
- \TYPE{- suppressAuthor: \if#1+false\else true\fi}%
- \TYPE{- prenote: #2}%
- \TYPE{- postnote: #3}%
- \TYPE{- name: #4}%
- \TYPE{END textCite}}%
-\def\TEXTCITATIONS#1{%
- \CITATIONSCOUNTER=1%
- \def\CITATIONSTOTAL{#1}%
- \DOTEXTCITATIONS}%
diff --git a/macros/generic/markdown/tests/templates/README.md b/macros/generic/markdown/tests/templates/README.md
deleted file mode 100644
index f56802cf7b..0000000000
--- a/macros/generic/markdown/tests/templates/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-This directory contains subdirectories, which correspond to individual TeX
-formats. These subdirectories contain TeX source code templates, which
-can be recognized by the `.tex.m4` suffix, and a file named `COMMANDS.m4`.
-
-The TeX source code templates are documents that will be typeset as a part of
-every test. Before being typeset, the TeX source code templates will be
-pre-processed using the m4 macro preprocessor with the following macro
-definitions:
-
- 1. `TEST_SETUP_FILENAME` corresponds to the name of the file containing the
- test setup TeX source code.
- 2. `TEST_INPUT_FILENAME` corresponds to the name of the file containing the
- test markdown source code.
-
-The `COMMANDS.m4` file contains a newline-separated list of commands that will
-be used to typeset the pre-processed TeX source code templates. Before use,
-the commands will preprocessed with the following macro definitions:
-
- 1. `TEST_FILENAME` corresponds to the name of the pre-processed TeX source
- code template that is being typeset.
diff --git a/macros/generic/markdown/tests/templates/context/COMMANDS.m4 b/macros/generic/markdown/tests/templates/context/COMMANDS.m4
deleted file mode 100644
index d427cd3513..0000000000
--- a/macros/generic/markdown/tests/templates/context/COMMANDS.m4
+++ /dev/null
@@ -1,2 +0,0 @@
-texexec --passon="--shell-escape --8bit --interaction=nonstopmode" TEST_FILENAME
-context --nonstopmode TEST_FILENAME
diff --git a/macros/generic/markdown/tests/templates/context/README.md b/macros/generic/markdown/tests/templates/context/README.md
deleted file mode 100644
index 5acb21c88f..0000000000
--- a/macros/generic/markdown/tests/templates/context/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains TeX source code templates for the ConTeXt Mark II and
-ConteXt Mark IV formats.
diff --git a/macros/generic/markdown/tests/templates/context/input.tex.m4 b/macros/generic/markdown/tests/templates/context/input.tex.m4
deleted file mode 100644
index 527b73cf9f..0000000000
--- a/macros/generic/markdown/tests/templates/context/input.tex.m4
+++ /dev/null
@@ -1,11 +0,0 @@
-% Load the package.
-\usemodule[t][markdown]
-% Load the support files.
-\input setup\relax
-\input plain-setup\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-% Perform the test.
-\starttext
- \markdownInput{TEST_INPUT_FILENAME}%
-\stoptext
diff --git a/macros/generic/markdown/tests/templates/context/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/context/verbatim.tex.m4
deleted file mode 100644
index 6d19154972..0000000000
--- a/macros/generic/markdown/tests/templates/context/verbatim.tex.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-% Load the package.
-\usemodule[t][markdown]
-% Load the support files.
-\input setup\relax
-\input plain-setup\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-% Perform the test.
-\starttext
- \startmarkdown
-undivert(TEST_INPUT_FILENAME)dnl
- \stopmarkdown
-\stoptext
diff --git a/macros/generic/markdown/tests/templates/latex/COMMANDS.m4 b/macros/generic/markdown/tests/templates/latex/COMMANDS.m4
deleted file mode 100644
index 767145adc5..0000000000
--- a/macros/generic/markdown/tests/templates/latex/COMMANDS.m4
+++ /dev/null
@@ -1,3 +0,0 @@
-pdflatex --shell-escape --interaction=nonstopmode TEST_FILENAME
-xelatex --shell-escape --8bit --interaction=nonstopmode TEST_FILENAME
-lualatex --interaction=nonstopmode TEST_FILENAME
diff --git a/macros/generic/markdown/tests/templates/latex/README.md b/macros/generic/markdown/tests/templates/latex/README.md
deleted file mode 100644
index e62b4a40fa..0000000000
--- a/macros/generic/markdown/tests/templates/latex/README.md
+++ /dev/null
@@ -1 +0,0 @@
-This directory contains TeX source code templates for the LaTeX format.
diff --git a/macros/generic/markdown/tests/templates/latex/input.tex.m4 b/macros/generic/markdown/tests/templates/latex/input.tex.m4
deleted file mode 100644
index 324f4e7bf1..0000000000
--- a/macros/generic/markdown/tests/templates/latex/input.tex.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-\documentclass{minimal}
-\csname UseRawInputEncoding\endcsname
-% Load the package.
-\usepackage{markdown}
-% Load the support files.
-\input setup\relax
-\usepackage{catchfile}
-\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-\begin{document}
-% Perform the test.
-\expandafter\markdownInput\expandafter[\LATEXOPTIONS]{TEST_INPUT_FILENAME}%
-\end{document}
diff --git a/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4 b/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4
deleted file mode 100644
index 5f1434869f..0000000000
--- a/macros/generic/markdown/tests/templates/latex/verbatim-starred.tex.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-\documentclass{minimal}
-\csname UseRawInputEncoding\endcsname
-% Load the package.
-\usepackage{markdown}
-% Load the support files.
-\input setup\relax
-\usepackage{catchfile}
-\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-\begin{document}
-% Perform the test.
-\let\ea\expandafter
-\ea\begin\ea{\ea m\ea a\ea r\ea k\ea d\ea o\ea w\ea n\ea *\ea}\ea{\LATEXOPTIONS}
-undivert(TEST_INPUT_FILENAME)dnl
-\end{markdown*}
-\end{document}
diff --git a/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4
deleted file mode 100644
index 737d49def7..0000000000
--- a/macros/generic/markdown/tests/templates/latex/verbatim.tex.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-\documentclass{minimal}
-\csname UseRawInputEncoding\endcsname
-% Load the package.
-\usepackage{markdown}
-% Load the support files.
-\input setup\relax
-\usepackage{catchfile}
-\CatchFileDef{\LATEXOPTIONS}{latex-setup}\relax
-\expandafter\markdownSetup\expandafter{\LATEXOPTIONS}
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-\begin{document}
-% Perform the test.
-\begin{markdown}
-undivert(TEST_INPUT_FILENAME)dnl
-\end{markdown}
-\end{document}
diff --git a/macros/generic/markdown/tests/templates/plain/COMMANDS.m4 b/macros/generic/markdown/tests/templates/plain/COMMANDS.m4
deleted file mode 100644
index 50745b8a63..0000000000
--- a/macros/generic/markdown/tests/templates/plain/COMMANDS.m4
+++ /dev/null
@@ -1,3 +0,0 @@
-pdftex --shell-escape --interaction=nonstopmode TEST_FILENAME
-xetex --shell-escape --8bit --interaction=nonstopmode TEST_FILENAME
-luatex --interaction=nonstopmode TEST_FILENAME
diff --git a/macros/generic/markdown/tests/templates/plain/README.md b/macros/generic/markdown/tests/templates/plain/README.md
deleted file mode 100644
index 779102ed26..0000000000
--- a/macros/generic/markdown/tests/templates/plain/README.md
+++ /dev/null
@@ -1 +0,0 @@
-This directory contains TeX source code templates for the plain TeX format.
diff --git a/macros/generic/markdown/tests/templates/plain/input.tex.m4 b/macros/generic/markdown/tests/templates/plain/input.tex.m4
deleted file mode 100644
index b2ef1b560d..0000000000
--- a/macros/generic/markdown/tests/templates/plain/input.tex.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-% Load the package.
-\input markdown\relax
-% Load the support files.
-\input setup\relax
-\input plain-setup\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-% Perform the test.
-\markdownInput{TEST_INPUT_FILENAME}%
-\bye
diff --git a/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4 b/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4
deleted file mode 100644
index fd87725c06..0000000000
--- a/macros/generic/markdown/tests/templates/plain/verbatim.tex.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-% Load the package.
-\input markdown\relax
-% Load the support files.
-\input setup\relax
-\input plain-setup\relax
-% Load the test-specific setup.
-\input TEST_SETUP_FILENAME\relax
-% Perform the test.
-\markdownBegin
-undivert(TEST_INPUT_FILENAME)dnl
-\markdownEnd
-\bye
diff --git a/macros/generic/markdown/tests/test.sh b/macros/generic/markdown/tests/test.sh
deleted file mode 100755
index c32b8274a2..0000000000
--- a/macros/generic/markdown/tests/test.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-# Run a test for each testfile passed as an argument. If a testfile does not
-# contain the expected test result, generate one.
-set -e
-BUILDDIR=`mktemp -d`
-trap 'rm -rf $BUILDDIR' INT TERM
-for TESTFILE; do
- printf 'Testfile %s\n' $TESTFILE
- for FORMAT in templates/*/; do
- printf ' Format %s\n' $FORMAT
- for TEMPLATE in ${FORMAT}*.tex.m4; do
- printf ' Template %s\n' $TEMPLATE
- m4 -DTEST_FILENAME=test.tex <$FORMAT/COMMANDS.m4 |
- (while read COMMAND; do
- printf ' Command %s\n' "$COMMAND"
-
- # Set up the testing directory.
- cp support/* $TESTFILE $BUILDDIR
- cd $BUILDDIR
- sed -r '/^\s*<<<\s*$/{x;q}' \
- <${TESTFILE##*/} >test-setup.tex
- sed -rn '/^\s*<<<\s*$/,/^\s*>>>\s*$/{/^\s*(<<<|>>>)\s*$/!p}' \
- <${TESTFILE##*/} >test-input.md
- sed -n '/^\s*>>>\s*$/,${/^\s*>>>\s*$/!p}' \
- <${TESTFILE##*/} >test-expected.log
- m4 -DTEST_SETUP_FILENAME=test-setup.tex \
- -DTEST_INPUT_FILENAME=test-input.md <"$OLDPWD"/$TEMPLATE >test.tex
-
- # Run the test, filter the output and concatenate adjacent lines.
- eval $COMMAND >/dev/null 2>&1 ||
- { cat test.markdown.err 1>&2 2>/dev/null; exit 1; }
- sed -nr '/^\s*TEST INPUT BEGIN\s*$/,/^\s*TEST INPUT END\s*$/{
- /^\s*TEST INPUT (BEGIN|END)\s*$/!H
- /^\s*TEST INPUT END\s*$/{s/.*//;x;s/\n//g;p}
- }' <test.log >test-actual.log
-
- # If the testfile does not contain an expected outcome, use the current
- # outcome and update the testfile.
- if ! grep -q '^\s*>>>\s*$' <${TESTFILE##*/}; then
- cp test-actual.log test-expected.log
- (cat ${TESTFILE##*/} && printf '>>>\n'
- cat test-expected.log) >"$OLDPWD"/$TESTFILE
- printf ' Added the expected test outcome to the testfile.\n'
- fi
-
- # Compare the expected outcome against the actual outcome.
- diff -c $BUILDDIR/test-expected.log $BUILDDIR/test-actual.log # ||
-# (sed -n '1,/^\s*>>>\s*$/p' <${TESTFILE##*/} &&
-# cat test-actual.log) >"$OLDPWD"/$TESTFILE
-
- # Clean up the testing directory.
- cd "$OLDPWD"
- find $BUILDDIR -mindepth 1 -exec rm -rf {} + # && break
- done) # && break
- done # && break
- done
-done
-rm -rf $BUILDDIR
diff --git a/macros/generic/markdown/tests/testfiles/CommonMark_0.26/README.md b/macros/generic/markdown/tests/testfiles/CommonMark_0.26/README.md
deleted file mode 100644
index 7ae2191762..0000000000
--- a/macros/generic/markdown/tests/testfiles/CommonMark_0.26/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains test files that were taken from the
-CommonMark project specification.
diff --git a/macros/generic/markdown/tests/testfiles/CommonMark_0.26/fenced-code.test b/macros/generic/markdown/tests/testfiles/CommonMark_0.26/fenced-code.test
deleted file mode 100644
index 98cb973956..0000000000
--- a/macros/generic/markdown/tests/testfiles/CommonMark_0.26/fenced-code.test
+++ /dev/null
@@ -1,315 +0,0 @@
-\def\markdownOptionFencedCode{true}
-<<<
-Here is a simple example with backticks:
-
-```
-<
- >
-```
-
-With tildes:
-
-~~~
-<
- >
-~~~
-
-The closing code fence must use the same character as the opening fence:
-
-```
-aaa
-~~~
-```
-
-~~~
-aaa
-```
-~~~
-
-The closing code fence must be at least as long as the opening fence:
-
-````
-aaa
-```
-``````
-
-~~~~
-aaa
-~~~
-~~~~
-
-Unclosed code blocks are closed by the end of the document (or the enclosing block quote or list item):
-
-> ```
-> aaa
-
-bbb
-
-A code block can have all empty lines as its content
-
-```
-
-
-```
-
-A code block can be empty:
-```
-```
-
-Fences can be indented. If the opening fence is indented, content lines will have equivalent opening indentation removed, if present:
- ```
- aaa
-aaa
-```
-
- ```
-aaa
- aaa
-aaa
- ```
-
- ```
- aaa
- aaa
- aaa
- ```
-
-Four spaces indentation produces an indented code block:
-
- ```
- aaa
- ```
-
-Closing fences may be indented by 0-3 spaces, and their indentation need not match that of the opening fence:
-
-```
-aaa
- ```
-
- ```
-aaa
- ```
-
-This is not a closing fence, because it is indented 4 spaces:
-
-```
-aaa
- ```
-```
-
-Code fences (opening and closing) cannot contain internal spaces:
-
-``` ```
-aaa
-
-```
-aaa
-``` ```
-```
-
-~~~~~~
-aaa
-~~~ ~~
-~~~~~~
-
-foo
-```
-bar
-```
-baz
-
-Other blocks can also occur before and after fenced code blocks without an intervening blank line:
-
-foo
----
-~~~
-bar
-~~~
-# baz
-
-An info string can be provided after the opening code fence. Opening and closing spaces will be stripped, and the first word, prefixed with language-, is used as the value for the class attribute of the code element within the enclosing pre element.
-
-```ruby
-def foo(x)
- return 3
-end
-```
-
-~~~~ ruby startline=3 $%@#$
-def foo(x)
- return 3
-end
-~~~~~~~
-
-````;
-````
-
-Info strings for backtick code blocks cannot contain backticks:
-
-``` aa ```
-foo
-
-Closing code fences cannot have info strings:
-
-```
-``` aaa
-```
-
-Unclosed code blocks are closed by the end of the document (or the enclosing block quote or list item):
-
-`````
-
-```
-aaa
->>>
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/40aeb3c06faa194425865c43b0818cf3.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/40aeb3c06faa194425865c43b0818cf3.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/162c3a1e89dc98bb7c0e223462144172.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/a109a04c348f12d1fc1e55dc6cd3153d.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/a109a04c348f12d1fc1e55dc6cd3153d.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/162c3a1e89dc98bb7c0e223462144172.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-blockQuoteBegin
-BEGIN fencedCode
-- src: ./_markdown_test/5c9597f3c8245907ea71a89d9d39d08e.verbatim
-- infostring:
-END fencedCode
-blockQuoteEnd
-interblockSeparator
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/e1c06d85ae7b8b032bef47e42e4c08f9.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/d41d8cd98f00b204e9800998ecf8427e.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/4b44563cc9886576b6589dd730cbc397.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/f084b3953e4a48b5425a11074ae99e3c.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/8a70ce8c35179c24412d9271f69da1fd.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/04338967b57abaf5489d4de2ca3d5d75.verbatim
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/5c9597f3c8245907ea71a89d9d39d08e.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/5c9597f3c8245907ea71a89d9d39d08e.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/5fcf96d052f67d3d8a648cb90cc39193.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-codeSpan:
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/baeea0ffee491579d17a52cb85675edf.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/42935760431e4eb4ddd8a8bcc5e54a23.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-interblockSeparator
-headingTwo: foo
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-headingOne: baz
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/22bc2a65d877cb1e2a14deece6005742.verbatim
-- infostring: ruby
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/22bc2a65d877cb1e2a14deece6005742.verbatim
-- infostring: ruby startline=3 (dollarSign)(percentSign)@(hash)(dollarSign)
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/d41d8cd98f00b204e9800998ecf8427e.verbatim
-- infostring: ;
-END fencedCode
-interblockSeparator
-interblockSeparator
-codeSpan: aa
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/e1ff8c7886d18f6b5499b096584e13bf.verbatim
-- infostring:
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/ab4c9bee663124ac417409b22e2af252.verbatim
-- infostring:
-END fencedCode
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/README.md b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/README.md
deleted file mode 100644
index 1a8fd15a48..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains test files that were inherited from the
-`tests/Markdown_1.0.3/` directory in the lunamark project.
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test
deleted file mode 100644
index da079fc68f..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/amps-encoding.test
+++ /dev/null
@@ -1,36 +0,0 @@
-<<<
-Here's a [link] [1] with an ampersand in the URL.
-
-Here's a link with an amersand in the link text: [AT&T] [2].
-
-Here's an inline [link](/script?foo=1&bar=2).
-
-Here's an inline [link](</script?foo=1&bar=2>).
-
-
-[1]: http://example.com/?foo=1&bar=2
-[2]: http://att.com/ "AT&T"
->>>
-BEGIN link
-- label: link
-- URI: http://example.com/?foo=1(ampersand)bar=2
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: AT(ampersand)T
-- URI: http://att.com/
-- title: AT(ampersand)T
-END link
-interblockSeparator
-BEGIN link
-- label: link
-- URI: /script?foo=1(ampersand)bar=2
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: link
-- URI: /script?foo=1(ampersand)bar=2
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/auto-links.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/auto-links.test
deleted file mode 100644
index 765a85d3e2..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/auto-links.test
+++ /dev/null
@@ -1,52 +0,0 @@
-<<<
-Link: <http://example.com/>.
-
-With an ampersand: <http://example.com/?foo=1&bar=2>
-
-* In a list?
-* <http://example.com/>
-* It should.
-
-> Blockquoted: <http://example.com/>
-
-Auto-links should not occur here: `<http://example.com/>`
-
- or here: <http://example.com/>
->>>
-BEGIN link
-- label: http://example.com/
-- URI: http://example.com/
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: http://example.com/?foo=1(ampersand)bar=2
-- URI: http://example.com/?foo=1(ampersand)bar=2
-- title:
-END link
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-BEGIN link
-- label: http://example.com/
-- URI: http://example.com/
-- title:
-END link
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-blockQuoteBegin
-BEGIN link
-- label: http://example.com/
-- URI: http://example.com/
-- title:
-END link
-blockQuoteEnd
-interblockSeparator
-codeSpan: <http://example.com/>
-interblockSeparator
-inputVerbatim: ./_markdown_test/d65b41d110c17fbc771809f553258ff5.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test
deleted file mode 100644
index 182a63747c..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test
+++ /dev/null
@@ -1,192 +0,0 @@
-<<<
-These should all get escaped:
-
-Backslash: \\
-
-Backtick: \`
-
-Asterisk: \*
-
-Underscore: \_
-
-Left brace: \{
-
-Right brace: \}
-
-Left bracket: \[
-
-Right bracket: \]
-
-Left paren: \(
-
-Right paren: \)
-
-Greater-than: \>
-
-Hash: \#
-
-Period: \.
-
-Bang: \!
-
-Plus: \+
-
-Minus: \-
-
-
-
-These should not, because they occur within a code block:
-
- Backslash: \\
-
- Backtick: \`
-
- Asterisk: \*
-
- Underscore: \_
-
- Left brace: \{
-
- Right brace: \}
-
- Left bracket: \[
-
- Right bracket: \]
-
- Left paren: \(
-
- Right paren: \)
-
- Greater-than: \>
-
- Hash: \#
-
- Period: \.
-
- Bang: \!
-
- Plus: \+
-
- Minus: \-
-
-
-Nor should these, which occur in code spans:
-
-Backslash: `\\`
-
-Backtick: `` \` ``
-
-Asterisk: `\*`
-
-Underscore: `\_`
-
-Left brace: `\{`
-
-Right brace: `\}`
-
-Left bracket: `\[`
-
-Right bracket: `\]`
-
-Left paren: `\(`
-
-Right paren: `\)`
-
-Greater-than: `\>`
-
-Hash: `\#`
-
-Period: `\.`
-
-Bang: `\!`
-
-Plus: `\+`
-
-Minus: `\-`
-
-
-These should get escaped, even though they're matching pairs for
-other Markdown constructs:
-
-\*asterisks\*
-
-\_underscores\_
-
-\`backticks\`
-
-This is a code span with a literal backslash-backtick sequence: `` \` ``
-
-This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>.
-
-This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>.
->>>
-interblockSeparator
-backslash
-interblockSeparator
-interblockSeparator
-interblockSeparator
-underscore
-interblockSeparator
-leftBrace
-interblockSeparator
-rightBrace
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-hash
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/127bce8785d826a9ba07a20f6ca866c9.verbatim
-interblockSeparator
-interblockSeparator
-codeSpan: (backslash)(backslash)
-interblockSeparator
-codeSpan: (backslash)`
-interblockSeparator
-codeSpan: (backslash)*
-interblockSeparator
-codeSpan: (backslash)(underscore)
-interblockSeparator
-codeSpan: (backslash)(leftBrace)
-interblockSeparator
-codeSpan: (backslash)(rightBrace)
-interblockSeparator
-codeSpan: (backslash)[
-interblockSeparator
-codeSpan: (backslash)]
-interblockSeparator
-codeSpan: (backslash)(
-interblockSeparator
-codeSpan: (backslash))
-interblockSeparator
-codeSpan: (backslash)>
-interblockSeparator
-codeSpan: (backslash)(hash)
-interblockSeparator
-codeSpan: (backslash).
-interblockSeparator
-codeSpan: (backslash)!
-interblockSeparator
-codeSpan: (backslash)+
-interblockSeparator
-codeSpan: (backslash)-
-interblockSeparator
-interblockSeparator
-interblockSeparator
-underscore
-underscore
-interblockSeparator
-interblockSeparator
-codeSpan: (backslash)`
-interblockSeparator
-codeSpan: ticks
-interblockSeparator
-backslash
-backslash
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/blockquotes-with-code-blocks.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/blockquotes-with-code-blocks.test
deleted file mode 100644
index 1fa09a34de..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/blockquotes-with-code-blocks.test
+++ /dev/null
@@ -1,21 +0,0 @@
-<<<
-> Example:
->
-> sub status {
-> print "working";
-> }
->
-> Or:
->
-> sub status {
-> return "working";
-> }
-
->>>
-blockQuoteBegin
-interblockSeparator
-inputVerbatim: ./_markdown_test/702e5d3a17f709c02cee3a2b5e106619.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/9d7d6b4bdbb0a57a705dc70e6c7f5612.verbatim
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-blocks.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-blocks.test
deleted file mode 100644
index 5f4a0bb137..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-blocks.test
+++ /dev/null
@@ -1,18 +0,0 @@
-<<<
- code block on the first line
-
-Regular text.
-
- code block indented by spaces
-
-Regular Text.
-
- code block on the last line
->>>
-inputVerbatim: ./_markdown_test/757353c94a464c718394adbe349d6771.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/84469dcb7c065e457fc00040f5c96d8f.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/e0bb27efcfecc25309f165e0092a7434.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-spans.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-spans.test
deleted file mode 100644
index 94aab36b56..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/code-spans.test
+++ /dev/null
@@ -1,4 +0,0 @@
-<<<
-Here's how you put `` `backticks` `` in a code span.
->>>
-codeSpan: `backticks`
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/hard-wrapped-paragraphs-with-list-like-lines.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/hard-wrapped-paragraphs-with-list-like-lines.test
deleted file mode 100644
index 6c6690877d..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/hard-wrapped-paragraphs-with-list-like-lines.test
+++ /dev/null
@@ -1,12 +0,0 @@
-<<<
-In Markdown 1.0.0 and earlier. Version
-8. This line turns into a list item.
-Because a hard-wrapped line in the
-middle of a paragraph looked like a
-list item.
-
-Here's one with a bullet.
-* criminey.
-
->>>
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/horizontal-rules.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/horizontal-rules.test
deleted file mode 100644
index e5d45d9dde..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/horizontal-rules.test
+++ /dev/null
@@ -1,132 +0,0 @@
-<<<
-Dashes:
-
----
-
- ---
-
- ---
-
- ---
-
- ---
-
-- - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-
-Asterisks:
-
-***
-
- ***
-
- ***
-
- ***
-
- ***
-
-* * *
-
- * * *
-
- * * *
-
- * * *
-
- * * *
-
-
-Underscores:
-
-___
-
- ___
-
- ___
-
- ___
-
- ___
-
-_ _ _
-
- _ _ _
-
- _ _ _
-
- _ _ _
-
- _ _ _
-
->>>
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/6105347ebb9825ac754615ca55ff3b0c.verbatim
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/162bbc959948880b7b81a0fe05afbe29.verbatim
-interblockSeparator
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/2bb6aed5111ef9726bcf6eef982ff32b.verbatim
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/11de6126af81e6dc22594955105d9180.verbatim
-interblockSeparator
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/926225b865393c08438ddbfd89ff3d40.verbatim
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-inputVerbatim: ./_markdown_test/c4775559353a17841cc9cde2eae040b2.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-inline-style.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-inline-style.test
deleted file mode 100644
index d956be1ede..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-inline-style.test
+++ /dev/null
@@ -1,50 +0,0 @@
-<<<
-Just a [URL](/url/).
-
-[URL and title](/url/ "title").
-
-[URL and title](/url/ "title preceded by two spaces").
-
-[URL and title](/url/ "title preceded by a tab").
-
-[URL and title](/url/ "title has spaces afterward" ).
-
-
-[Empty]().
-
->>>
-BEGIN link
-- label: URL
-- URI: /url/
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: URL and title
-- URI: /url/
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: URL and title
-- URI: /url/
-- title: title preceded by two spaces
-END link
-interblockSeparator
-BEGIN link
-- label: URL and title
-- URI: /url/
-- title: title preceded by a tab
-END link
-interblockSeparator
-BEGIN link
-- label: URL and title
-- URI: /url/
-- title: title has spaces afterward
-END link
-interblockSeparator
-BEGIN link
-- label: Empty
-- URI:
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-reference-style.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-reference-style.test
deleted file mode 100644
index 793ea37dca..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-reference-style.test
+++ /dev/null
@@ -1,176 +0,0 @@
-<<<
-Foo [bar] [1].
-
-Foo [bar][1].
-
-Foo [bar]
-[1].
-
-[1]: /url/ "Title"
-
-
-With [embedded [brackets]] [b].
-
-
-Indented [once][].
-
-Indented [twice][].
-
-Indented [thrice][].
-
-Indented [four][] times.
-
- [once]: /url
-
- [twice]: /url
-
- [thrice]: /url
-
- [four]: /url
-
-
-[b]: /url/
-
-* * *
-
-[this] [this] should work
-
-So should [this][this].
-
-And [this] [].
-
-And [this][].
-
-And [this].
-
-But not [that] [].
-
-Nor [that][].
-
-Nor [that].
-
-[Something in brackets like [this][] should work]
-
-[Same with [this].]
-
-In this case, [this](/somethingelse/) points to something else.
-
-Backslashing should suppress \[this] and [this\].
-
-[this]: foo
-
-
-* * *
-
-Here's one where the [link
-breaks] across lines.
-
-[link breaks]: /url/
-
->>>
-BEGIN link
-- label: bar
-- URI: /url/
-- title: Title
-END link
-interblockSeparator
-BEGIN link
-- label: bar
-- URI: /url/
-- title: Title
-END link
-interblockSeparator
-BEGIN link
-- label: bar
-- URI: /url/
-- title: Title
-END link
-interblockSeparator
-BEGIN link
-- label: embedded [brackets]
-- URI: /url/
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: once
-- URI: /url
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: twice
-- URI: /url
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: thrice
-- URI: /url
-- title:
-END link
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/b0cba64633d2a9eac28ca9e3fa500018.verbatim
-interblockSeparator
-horizontalRule
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: /somethingelse/
-- title:
-END link
-interblockSeparator
-interblockSeparator
-horizontalRule
-interblockSeparator
-BEGIN link
-- label: link breaks
-- URI: /url/
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-shortcut-references.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-shortcut-references.test
deleted file mode 100644
index 24b189d7c9..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/links-shortcut-references.test
+++ /dev/null
@@ -1,42 +0,0 @@
-<<<
-This is the [simple case].
-
-[simple case]: /simple
-
-
-
-This one has a [line
-break].
-
-[line break]: /foo
-
-
-[this] [that] and the [other]
-
-[this]: /this
-[that]: /that
-[other]: /other
-
->>>
-BEGIN link
-- label: simple case
-- URI: /simple
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: line break
-- URI: /foo
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: this
-- URI: /that
-- title:
-END link
-BEGIN link
-- label: other
-- URI: /other
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/literal-quotes-in-titles.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/literal-quotes-in-titles.test
deleted file mode 100644
index cd44028f8f..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/literal-quotes-in-titles.test
+++ /dev/null
@@ -1,21 +0,0 @@
-<<<
-Foo [bar][].
-
-Foo [bar](/url/ "Title with "quotes" inside").
-
-
- [bar]: /url/ "Title with "quotes" inside"
-
-
->>>
-BEGIN link
-- label: bar
-- URI: /url/
-- title: Title with "quotes" inside
-END link
-interblockSeparator
-BEGIN link
-- label: bar
-- URI: /url/
-- title: Title with "quotes" inside
-END link
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-basics.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-basics.test
deleted file mode 100644
index 4ce4b68028..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-basics.test
+++ /dev/null
@@ -1,436 +0,0 @@
-<<<
-Markdown: Basics
-================
-
-Getting the Gist of Markdown's Formatting Syntax
-------------------------------------------------
-
-This page offers a brief overview of what it's like to use Markdown.
-The [syntax page] [s] provides complete, detailed documentation for
-every feature, but Markdown should be very easy to pick up simply by
-looking at a few examples of it in action. The examples on this page
-are written in a before/after style, showing example syntax and the
-HTML output produced by Markdown.
-
-It's also helpful to simply try Markdown out; the [Dingus] [d] is a
-web application that allows you type your own Markdown-formatted text
-and translate it to XHTML.
-
-**Note:** This document is itself written using Markdown; you
-can [see the source for it by adding '.text' to the URL] [src].
-
- [s]: /projects/markdown/syntax "Markdown Syntax"
- [d]: /projects/markdown/dingus "Markdown Dingus"
- [src]: /projects/markdown/basics.text
-
-
-## Paragraphs, Headers, Blockquotes ##
-
-A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.
-
-Markdown offers two styles of headers: *Setext* and *atx*.
-Setext-style headers for `<h1>` and `<h2>` are created by
-"underlining" with equal signs (`=`) and hyphens (`-`), respectively.
-To create an atx-style header, you put 1-6 hash marks (`#`) at the
-beginning of the line -- the number of hashes equals the resulting
-HTML header level.
-
-Blockquotes are indicated using email-style '`>`' angle brackets.
-
-Markdown:
-
- A First Level Header
- ====================
-
- A Second Level Header
- ---------------------
-
- Now is the time for all good men to come to
- the aid of their country. This is just a
- regular paragraph.
-
- The quick brown fox jumped over the lazy
- dog's back.
-
- ### Header 3
-
- > This is a blockquote.
- >
- > This is the second paragraph in the blockquote.
- >
- > ## This is an H2 in a blockquote
-
-
-Output:
-
- <h1>A First Level Header</h1>
-
- <h2>A Second Level Header</h2>
-
- <p>Now is the time for all good men to come to
- the aid of their country. This is just a
- regular paragraph.</p>
-
- <p>The quick brown fox jumped over the lazy
- dog's back.</p>
-
- <h3>Header 3</h3>
-
- <blockquote>
- <p>This is a blockquote.</p>
-
- <p>This is the second paragraph in the blockquote.</p>
-
- <h2>This is an H2 in a blockquote</h2>
- </blockquote>
-
-
-
-### Phrase Emphasis ###
-
-Markdown uses asterisks and underscores to indicate spans of emphasis.
-
-Markdown:
-
- Some of these words *are emphasized*.
- Some of these words _are emphasized also_.
-
- Use two asterisks for **strong emphasis**.
- Or, if you prefer, __use two underscores instead__.
-
-Output:
-
- <p>Some of these words <em>are emphasized</em>.
- Some of these words <em>are emphasized also</em>.</p>
-
- <p>Use two asterisks for <strong>strong emphasis</strong>.
- Or, if you prefer, <strong>use two underscores instead</strong>.</p>
-
-
-
-## Lists ##
-
-Unordered (bulleted) lists use asterisks, pluses, and hyphens (`*`,
-`+`, and `-`) as list markers. These three markers are
-interchangable; this:
-
- * Candy.
- * Gum.
- * Booze.
-
-this:
-
- + Candy.
- + Gum.
- + Booze.
-
-and this:
-
- - Candy.
- - Gum.
- - Booze.
-
-all produce the same output:
-
- <ul>
- <li>Candy.</li>
- <li>Gum.</li>
- <li>Booze.</li>
- </ul>
-
-Ordered (numbered) lists use regular numbers, followed by periods, as
-list markers:
-
- 1. Red
- 2. Green
- 3. Blue
-
-Output:
-
- <ol>
- <li>Red</li>
- <li>Green</li>
- <li>Blue</li>
- </ol>
-
-If you put blank lines between items, you'll get `<p>` tags for the
-list item text. You can create multi-paragraph list items by indenting
-the paragraphs by 4 spaces or 1 tab:
-
- * A list item.
-
- With multiple paragraphs.
-
- * Another item in the list.
-
-Output:
-
- <ul>
- <li><p>A list item.</p>
- <p>With multiple paragraphs.</p></li>
- <li><p>Another item in the list.</p></li>
- </ul>
-
-
-
-### Links ###
-
-Markdown supports two styles for creating links: *inline* and
-*reference*. With both styles, you use square brackets to delimit the
-text you want to turn into a link.
-
-Inline-style links use parentheses immediately after the link text.
-For example:
-
- This is an [example link](http://example.com/).
-
-Output:
-
- <p>This is an <a href="http://example.com/">
- example link</a>.</p>
-
-Optionally, you may include a title attribute in the parentheses:
-
- This is an [example link](http://example.com/ "With a Title").
-
-Output:
-
- <p>This is an <a href="http://example.com/" title="With a Title">
- example link</a>.</p>
-
-Reference-style links allow you to refer to your links by names, which
-you define elsewhere in your document:
-
- I get 10 times more traffic from [Google][1] than from
- [Yahoo][2] or [MSN][3].
-
- [1]: http://google.com/ "Google"
- [2]: http://search.yahoo.com/ "Yahoo Search"
- [3]: http://search.msn.com/ "MSN Search"
-
-Output:
-
- <p>I get 10 times more traffic from <a href="http://google.com/"
- title="Google">Google</a> than from <a href="http://search.yahoo.com/"
- title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/"
- title="MSN Search">MSN</a>.</p>
-
-The title attribute is optional. Link names may contain letters,
-numbers and spaces, but are *not* case sensitive:
-
- I start my morning with a cup of coffee and
- [The New York Times][NY Times].
-
- [ny times]: http://www.nytimes.com/
-
-Output:
-
- <p>I start my morning with a cup of coffee and
- <a href="http://www.nytimes.com/">The New York Times</a>.</p>
-
-
-### Images ###
-
-Image syntax is very much like link syntax.
-
-Inline (titles are optional):
-
- ![alt text](/path/to/img.jpg "Title")
-
-Reference-style:
-
- ![alt text][id]
-
- [id]: /path/to/img.jpg "Title"
-
-Both of the above examples produce the same output:
-
- <img src="/path/to/img.jpg" alt="alt text" title="Title" />
-
-
-
-### Code ###
-
-In a regular paragraph, you can create code span by wrapping text in
-backtick quotes. Any ampersands (`&`) and angle brackets (`<` or
-`>`) will automatically be translated into HTML entities. This makes
-it easy to use Markdown to write about HTML example code:
-
- I strongly recommend against using any `<blink>` tags.
-
-Output:
-
- <p>I strongly recommend against using any
- <code>&lt;blink&gt;</code> tags.</p>
-
-
-To specify an entire block of pre-formatted code, indent every line of
-the block by 4 spaces or 1 tab. Just like with code spans, `&`, `<`,
-and `>` characters will be escaped automatically.
-
-Markdown:
-
- If you want your page to validate under XHTML 1.0 Strict,
- you've got to put paragraph tags in your blockquotes:
-
- <blockquote>
- <p>For example.</p>
- </blockquote>
-
-Output:
-
- <p>If you want your page to validate under XHTML 1.0 Strict,
- you've got to put paragraph tags in your blockquotes:</p>
-
- <pre><code>&lt;blockquote&gt;
- &lt;p&gt;For example.&lt;/p&gt;
- &lt;/blockquote&gt;
- </code></pre>
-
->>>
-headingOne: Markdown: Basics
-interblockSeparator
-headingTwo: Getting the Gist of Markdown's Formatting Syntax
-interblockSeparator
-BEGIN link
-- label: syntax page
-- URI: /projects/markdown/syntax
-- title: Markdown Syntax
-END link
-interblockSeparator
-BEGIN link
-- label: Dingus
-- URI: /projects/markdown/dingus
-- title: Markdown Dingus
-END link
-interblockSeparator
-strongEmphasis: Note:
-BEGIN link
-- label: see the source for it by adding '.text' to the URL
-- URI: /projects/markdown/basics.text
-- title:
-END link
-interblockSeparator
-headingTwo: Paragraphs, Headers, Blockquotes
-interblockSeparator
-interblockSeparator
-emphasis: Setext
-emphasis: atx
-codeSpan: <h1>
-codeSpan: <h2>
-codeSpan: =
-codeSpan: -
-codeSpan: (hash)
-interblockSeparator
-codeSpan: >
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/5ebdf3631f626dba5ee92ee773e97a8f.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/9347d3cfacf328e3d73c4fe1b4f76524.verbatim
-interblockSeparator
-headingThree: Phrase Emphasis
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/495d205391f56da33d355c43c81daa64.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/60195f0a7c825159eb9156947e6fb71b.verbatim
-interblockSeparator
-headingTwo: Lists
-interblockSeparator
-codeSpan: *
-codeSpan: +
-codeSpan: -
-interblockSeparator
-inputVerbatim: ./_markdown_test/30a921ea3110056dc221ed257b3c883b.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/674e077aa8994de8bf541093168d2e29.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/7ae61eceff910c380dbe3ee9af7b6c4a.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/b84dd49773de7abaeec71bfa32680045.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/2a1d33d66339f281e4a171d1eb084b07.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/430a75a1628ba89cc2b1005bb1e5d932.verbatim
-interblockSeparator
-codeSpan: <p>
-interblockSeparator
-inputVerbatim: ./_markdown_test/e6108616b0422dd64f485971e61ac69c.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/0bd4d7d78b1cd0e46e78a522f613a6a3.verbatim
-interblockSeparator
-headingThree: Links
-interblockSeparator
-emphasis: inline
-emphasis: reference
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/20cfebed5272ba2f01c1aee798509f18.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/46124210265b51c9d470c0c70a598037.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/d56162c63107aadd63a5b6ca05f491e9.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/c62653fbfcf155bfe2912f066f242885.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/b996f30ba094126a05b4797a048ff2d2.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/0b1519420e84d1c754b52b25170d7213.verbatim
-interblockSeparator
-emphasis: not
-interblockSeparator
-inputVerbatim: ./_markdown_test/15e1c1abc08ec60d9181f9578c6cf172.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/440c1e901154984bf647fc152cb0971b.verbatim
-interblockSeparator
-headingThree: Images
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/602bb0e325271b2b4dce9175eaed15b1.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/e5b369214c819b9d9b476b7bb1f5aa53.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/885cbee5cc0e1fac9ce25c3a9d30034e.verbatim
-interblockSeparator
-headingThree: Code
-interblockSeparator
-codeSpan: (ampersand)
-codeSpan: <
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/fbcaafb68ad6405619da77e413788d6e.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/cfc57312a789ed7b4e14f3f56c88381a.verbatim
-interblockSeparator
-codeSpan: (ampersand)
-codeSpan: <
-codeSpan: >
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/fe59314852dc8de3165464ab451f44a0.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/3f58f44c2de7257eb42c24e7aee621c5.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-syntax.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-syntax.test
deleted file mode 100644
index 2942add07e..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/markdown-documentation-syntax.test
+++ /dev/null
@@ -1,1518 +0,0 @@
-<<<
-Markdown: Syntax
-================
-
-* [Overview](#overview)
- * [Philosophy](#philosophy)
- * [Inline HTML](#html)
- * [Automatic Escaping for Special Characters](#autoescape)
-* [Block Elements](#block)
- * [Paragraphs and Line Breaks](#p)
- * [Headers](#header)
- * [Blockquotes](#blockquote)
- * [Lists](#list)
- * [Code Blocks](#precode)
- * [Horizontal Rules](#hr)
-* [Span Elements](#span)
- * [Links](#link)
- * [Emphasis](#em)
- * [Code](#code)
- * [Images](#img)
-* [Miscellaneous](#misc)
- * [Backslash Escapes](#backslash)
- * [Automatic Links](#autolink)
-
-
-**Note:** This document is itself written using Markdown; you
-can [see the source for it by adding '.text' to the URL][src].
-
- [src]: /projects/markdown/syntax.text
-
-* * *
-
-## Overview
-
-### Philosophy
-
-Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
-
-Readability, however, is emphasized above all else. A Markdown-formatted
-document should be publishable as-is, as plain text, without looking
-like it's been marked up with tags or formatting instructions. While
-Markdown's syntax has been influenced by several existing text-to-HTML
-filters -- including [Setext] [1], [atx] [2], [Textile] [3], [reStructuredText] [4],
-[Grutatext] [5], and [EtText] [6] -- the single biggest source of
-inspiration for Markdown's syntax is the format of plain text email.
-
- [1]: http://docutils.sourceforge.net/mirror/setext.html
- [2]: http://www.aaronsw.com/2002/atx/
- [3]: http://textism.com/tools/textile/
- [4]: http://docutils.sourceforge.net/rst.html
- [5]: http://www.triptico.com/software/grutatxt.html
- [6]: http://ettext.taint.org/doc/
-
-To this end, Markdown's syntax is comprised entirely of punctuation
-characters, which punctuation characters have been carefully chosen so
-as to look like what they mean. E.g., asterisks around a word actually
-look like \*emphasis\*. Markdown lists look like, well, lists. Even
-blockquotes look like quoted passages of text, assuming you've ever
-used email.
-
-
-
-### Inline HTML
-
-Markdown's syntax is intended for one purpose: to be used as a
-format for *writing* for the web.
-
-Markdown is not a replacement for HTML, or even close to it. Its
-syntax is very small, corresponding only to a very small subset of
-HTML tags. The idea is *not* to create a syntax that makes it easier
-to insert HTML tags. In my opinion, HTML tags are already easy to
-insert. The idea for Markdown is to make it easy to read, write, and
-edit prose. HTML is a *publishing* format; Markdown is a *writing*
-format. Thus, Markdown's formatting syntax only addresses issues that
-can be conveyed in plain text.
-
-For any markup that is not covered by Markdown's syntax, you simply
-use HTML itself. There's no need to preface it or delimit it to
-indicate that you're switching from Markdown to HTML; you just use
-the tags.
-
-The only restrictions are that block-level HTML elements -- e.g. `<div>`,
-`<table>`, `<pre>`, `<p>`, etc. -- must be separated from surrounding
-content by blank lines, and the start and end tags of the block should
-not be indented with tabs or spaces. Markdown is smart enough not
-to add extra (unwanted) `<p>` tags around HTML block-level tags.
-
-For example, to add an HTML table to a Markdown article:
-
- This is a regular paragraph.
-
- <table>
- <tr>
- <td>Foo</td>
- </tr>
- </table>
-
- This is another regular paragraph.
-
-Note that Markdown formatting syntax is not processed within block-level
-HTML tags. E.g., you can't use Markdown-style `*emphasis*` inside an
-HTML block.
-
-Span-level HTML tags -- e.g. `<span>`, `<cite>`, or `<del>` -- can be
-used anywhere in a Markdown paragraph, list item, or header. If you
-want, you can even use HTML tags instead of Markdown formatting; e.g. if
-you'd prefer to use HTML `<a>` or `<img>` tags instead of Markdown's
-link or image syntax, go right ahead.
-
-Unlike block-level HTML tags, Markdown syntax *is* processed within
-span-level tags.
-
-
-### Automatic Escaping for Special Characters
-
-In HTML, there are two characters that demand special treatment: `<`
-and `&`. Left angle brackets are used to start tags; ampersands are
-used to denote HTML entities. If you want to use them as literal
-characters, you must escape them as entities, e.g. `&lt;`, and
-`&amp;`.
-
-Ampersands in particular are bedeviling for web writers. If you want to
-write about 'AT&T', you need to write '`AT&amp;T`'. You even need to
-escape ampersands within URLs. Thus, if you want to link to:
-
- http://images.google.com/images?num=30&q=larry+bird
-
-you need to encode the URL as:
-
- http://images.google.com/images?num=30&amp;q=larry+bird
-
-in your anchor tag `href` attribute. Needless to say, this is easy to
-forget, and is probably the single most common source of HTML validation
-errors in otherwise well-marked-up web sites.
-
-Markdown allows you to use these characters naturally, taking care of
-all the necessary escaping for you. If you use an ampersand as part of
-an HTML entity, it remains unchanged; otherwise it will be translated
-into `&amp;`.
-
-So, if you want to include a copyright symbol in your article, you can write:
-
- &copy;
-
-and Markdown will leave it alone. But if you write:
-
- AT&T
-
-Markdown will translate it to:
-
- AT&amp;T
-
-Similarly, because Markdown supports [inline HTML](#html), if you use
-angle brackets as delimiters for HTML tags, Markdown will treat them as
-such. But if you write:
-
- 4 < 5
-
-Markdown will translate it to:
-
- 4 &lt; 5
-
-However, inside Markdown code spans and blocks, angle brackets and
-ampersands are *always* encoded automatically. This makes it easy to use
-Markdown to write about HTML code. (As opposed to raw HTML, which is a
-terrible format for writing about HTML syntax, because every single `<`
-and `&` in your example code needs to be escaped.)
-
-
-* * *
-
-
-## Block Elements
-
-
-### Paragraphs and Line Breaks
-
-A paragraph is simply one or more consecutive lines of text, separated
-by one or more blank lines. (A blank line is any line that looks like a
-blank line -- a line containing nothing but spaces or tabs is considered
-blank.) Normal paragraphs should not be intended with spaces or tabs.
-
-The implication of the "one or more consecutive lines of text" rule is
-that Markdown supports "hard-wrapped" text paragraphs. This differs
-significantly from most other text-to-HTML formatters (including Movable
-Type's "Convert Line Breaks" option) which translate every line break
-character in a paragraph into a `<br />` tag.
-
-When you *do* want to insert a `<br />` break tag using Markdown, you
-end a line with two or more spaces, then type return.
-
-Yes, this takes a tad more effort to create a `<br />`, but a simplistic
-"every line break is a `<br />`" rule wouldn't work for Markdown.
-Markdown's email-style [blockquoting][bq] and multi-paragraph [list items][l]
-work best -- and look better -- when you format them with hard breaks.
-
- [bq]: #blockquote
- [l]: #list
-
-
-
-### Headers
-
-Markdown supports two styles of headers, [Setext] [1] and [atx] [2].
-
-Setext-style headers are "underlined" using equal signs (for first-level
-headers) and dashes (for second-level headers). For example:
-
- This is an H1
- =============
-
- This is an H2
- -------------
-
-Any number of underlining `=`'s or `-`'s will work.
-
-Atx-style headers use 1-6 hash characters at the start of the line,
-corresponding to header levels 1-6. For example:
-
- # This is an H1
-
- ## This is an H2
-
- ###### This is an H6
-
-Optionally, you may "close" atx-style headers. This is purely
-cosmetic -- you can use this if you think it looks better. The
-closing hashes don't even need to match the number of hashes
-used to open the header. (The number of opening hashes
-determines the header level.) :
-
- # This is an H1 #
-
- ## This is an H2 ##
-
- ### This is an H3 ######
-
-
-### Blockquotes
-
-Markdown uses email-style `>` characters for blockquoting. If you're
-familiar with quoting passages of text in an email message, then you
-know how to create a blockquote in Markdown. It looks best if you hard
-wrap the text and put a `>` before every line:
-
- > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
- > consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
- > Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
- >
- > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
- > id sem consectetuer libero luctus adipiscing.
-
-Markdown allows you to be lazy and only put the `>` before the first
-line of a hard-wrapped paragraph:
-
- > This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
- consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
- Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
-
- > Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
- id sem consectetuer libero luctus adipiscing.
-
-Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by
-adding additional levels of `>`:
-
- > This is the first level of quoting.
- >
- > > This is nested blockquote.
- >
- > Back to the first level.
-
-Blockquotes can contain other Markdown elements, including headers, lists,
-and code blocks:
-
- > ## This is a header.
- >
- > 1. This is the first list item.
- > 2. This is the second list item.
- >
- > Here's some example code:
- >
- > return shell_exec("echo $input | $markdown_script");
-
-Any decent text editor should make email-style quoting easy. For
-example, with BBEdit, you can make a selection and choose Increase
-Quote Level from the Text menu.
-
-
-### Lists
-
-Markdown supports ordered (numbered) and unordered (bulleted) lists.
-
-Unordered lists use asterisks, pluses, and hyphens -- interchangably
--- as list markers:
-
- * Red
- * Green
- * Blue
-
-is equivalent to:
-
- + Red
- + Green
- + Blue
-
-and:
-
- - Red
- - Green
- - Blue
-
-Ordered lists use numbers followed by periods:
-
- 1. Bird
- 2. McHale
- 3. Parish
-
-It's important to note that the actual numbers you use to mark the
-list have no effect on the HTML output Markdown produces. The HTML
-Markdown produces from the above list is:
-
- <ol>
- <li>Bird</li>
- <li>McHale</li>
- <li>Parish</li>
- </ol>
-
-If you instead wrote the list in Markdown like this:
-
- 1. Bird
- 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.
-
-If you do use lazy list numbering, however, you should still start the
-list with the number 1. At some point in the future, Markdown may support
-starting ordered lists at an arbitrary number.
-
-List markers typically start at the left margin, but may be indented by
-up to three spaces. List markers must be followed by one or more spaces
-or a tab.
-
-To make lists look nice, you can wrap items with hanging indents:
-
- * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
- viverra nec, fringilla in, laoreet vitae, risus.
- * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- Suspendisse id sem consectetuer libero luctus adipiscing.
-
-But if you want to be lazy, you don't have to:
-
- * Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
- viverra nec, fringilla in, laoreet vitae, risus.
- * Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- Suspendisse id sem consectetuer libero luctus adipiscing.
-
-If list items are separated by blank lines, Markdown will wrap the
-items in `<p>` tags in the HTML output. For example, this input:
-
- * Bird
- * Magic
-
-will turn into:
-
- <ul>
- <li>Bird</li>
- <li>Magic</li>
- </ul>
-
-But this:
-
- * Bird
-
- * Magic
-
-will turn into:
-
- <ul>
- <li><p>Bird</p></li>
- <li><p>Magic</p></li>
- </ul>
-
-List items may consist of multiple paragraphs. Each subsequent
-paragraph in a list item must be intended by either 4 spaces
-or one tab:
-
- 1. This is a list item with two paragraphs. Lorem ipsum dolor
- sit amet, consectetuer adipiscing elit. Aliquam hendrerit
- mi posuere lectus.
-
- Vestibulum enim wisi, viverra nec, fringilla in, laoreet
- vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
- sit amet velit.
-
- 2. Suspendisse id sem consectetuer libero luctus adipiscing.
-
-It looks nice if you indent every line of the subsequent
-paragraphs, but here again, Markdown will allow you to be
-lazy:
-
- * This is a list item with two paragraphs.
-
- This is the second paragraph in the list item. You're
- only required to indent the first line. Lorem ipsum dolor
- sit amet, consectetuer adipiscing elit.
-
- * Another item in the same list.
-
-To put a blockquote within a list item, the blockquote's `>`
-delimiters need to be indented:
-
- * A list item with a blockquote:
-
- > This is a blockquote
- > inside a list item.
-
-To put a code block within a list item, the code block needs
-to be indented *twice* -- 8 spaces or two tabs:
-
- * A list item with a code block:
-
- <code goes here>
-
-
-It's worth noting that it's possible to trigger an ordered list by
-accident, by writing something like this:
-
- 1986. What a great season.
-
-In other words, a *number-period-space* sequence at the beginning of a
-line. To avoid this, you can backslash-escape the period:
-
- 1986\. What a great season.
-
-
-
-### Code Blocks
-
-Pre-formatted code blocks are used for writing about programming or
-markup source code. Rather than forming normal paragraphs, the lines
-of a code block are interpreted literally. Markdown wraps a code block
-in both `<pre>` and `<code>` tags.
-
-To produce a code block in Markdown, simply indent every line of the
-block by at least 4 spaces or 1 tab. For example, given this input:
-
- This is a normal paragraph:
-
- This is a code block.
-
-Markdown will generate:
-
- <p>This is a normal paragraph:</p>
-
- <pre><code>This is a code block.
- </code></pre>
-
-One level of indentation -- 4 spaces or 1 tab -- is removed from each
-line of the code block. For example, this:
-
- Here is an example of AppleScript:
-
- tell application "Foo"
- beep
- end tell
-
-will turn into:
-
- <p>Here is an example of AppleScript:</p>
-
- <pre><code>tell application "Foo"
- beep
- end tell
- </code></pre>
-
-A code block continues until it reaches a line that is not indented
-(or the end of the article).
-
-Within a code block, ampersands (`&`) and angle brackets (`<` and `>`)
-are automatically converted into HTML entities. This makes it very
-easy to include example HTML source code using Markdown -- just paste
-it and indent it, and Markdown will handle the hassle of encoding the
-ampersands and angle brackets. For example, this:
-
- <div class="footer">
- &copy; 2004 Foo Corporation
- </div>
-
-will turn into:
-
- <pre><code>&lt;div class="footer"&gt;
- &amp;copy; 2004 Foo Corporation
- &lt;/div&gt;
- </code></pre>
-
-Regular Markdown syntax is not processed within code blocks. E.g.,
-asterisks are just literal asterisks within a code block. This means
-it's also easy to use Markdown to write about Markdown's own syntax.
-
-
-
-### Horizontal Rules
-
-You can produce a horizontal rule tag (`<hr />`) by placing three or
-more hyphens, asterisks, or underscores on a line by themselves. If you
-wish, you may use spaces between the hyphens or asterisks. Each of the
-following lines will produce a horizontal rule:
-
- * * *
-
- ***
-
- *****
-
- - - -
-
- ---------------------------------------
-
- _ _ _
-
-
-* * *
-
-## Span Elements
-
-### Links
-
-Markdown supports two style of links: *inline* and *reference*.
-
-In both styles, the link text is delimited by [square brackets].
-
-To create an inline link, use a set of regular parentheses immediately
-after the link text's closing square bracket. Inside the parentheses,
-put the URL where you want the link to point, along with an *optional*
-title for the link, surrounded in quotes. For example:
-
- This is [an example](http://example.com/ "Title") inline link.
-
- [This link](http://example.net/) has no title attribute.
-
-Will produce:
-
- <p>This is <a href="http://example.com/" title="Title">
- an example</a> inline link.</p>
-
- <p><a href="http://example.net/">This link</a> has no
- title attribute.</p>
-
-If you're referring to a local resource on the same server, you can
-use relative paths:
-
- See my [About](/about/) page for details.
-
-Reference-style links use a second set of square brackets, inside
-which you place a label of your choosing to identify the link:
-
- This is [an example][id] reference-style link.
-
-You can optionally use a space to separate the sets of brackets:
-
- This is [an example] [id] reference-style link.
-
-Then, anywhere in the document, you define your link label like this,
-on a line by itself:
-
- [id]: http://example.com/ "Optional Title Here"
-
-That is:
-
-* Square brackets containing the link identifier (optionally
- indented from the left margin using up to three spaces);
-* followed by a colon;
-* followed by one or more spaces (or tabs);
-* followed by the URL for the link;
-* optionally followed by a title attribute for the link, enclosed
- in double or single quotes.
-
-The link URL may, optionally, be surrounded by angle brackets:
-
- [id]: <http://example.com/> "Optional Title Here"
-
-You can put the title attribute on the next line and use extra spaces
-or tabs for padding, which tends to look better with longer URLs:
-
- [id]: http://example.com/longish/path/to/resource/here
- "Optional Title Here"
-
-Link definitions are only used for creating links during Markdown
-processing, and are stripped from your document in the HTML output.
-
-Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links:
-
- [link text][a]
- [link text][A]
-
-are equivalent.
-
-The *implicit link name* shortcut allows you to omit the name of the
-link, in which case the link text itself is used as the name.
-Just use an empty set of square brackets -- e.g., to link the word
-"Google" to the google.com web site, you could simply write:
-
- [Google][]
-
-And then define the link:
-
- [Google]: http://google.com/
-
-Because link names may contain spaces, this shortcut even works for
-multiple words in the link text:
-
- Visit [Daring Fireball][] for more information.
-
-And then define the link:
-
- [Daring Fireball]: http://daringfireball.net/
-
-Link definitions can be placed anywhere in your Markdown document. I
-tend to put them immediately after each paragraph in which they're
-used, but if you want, you can put them all at the end of your
-document, sort of like footnotes.
-
-Here's an example of reference links in action:
-
- I get 10 times more traffic from [Google] [1] than from
- [Yahoo] [2] or [MSN] [3].
-
- [1]: http://google.com/ "Google"
- [2]: http://search.yahoo.com/ "Yahoo Search"
- [3]: http://search.msn.com/ "MSN Search"
-
-Using the implicit link name shortcut, you could instead write:
-
- I get 10 times more traffic from [Google][] than from
- [Yahoo][] or [MSN][].
-
- [google]: http://google.com/ "Google"
- [yahoo]: http://search.yahoo.com/ "Yahoo Search"
- [msn]: http://search.msn.com/ "MSN Search"
-
-Both of the above examples will produce the following HTML output:
-
- <p>I get 10 times more traffic from <a href="http://google.com/"
- title="Google">Google</a> than from
- <a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a>
- or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
-
-For comparison, here is the same paragraph written using
-Markdown's inline link style:
-
- I get 10 times more traffic from [Google](http://google.com/ "Google")
- than from [Yahoo](http://search.yahoo.com/ "Yahoo Search") or
- [MSN](http://search.msn.com/ "MSN Search").
-
-The point of reference-style links is not that they're easier to
-write. The point is that with reference-style links, your document
-source is vastly more readable. Compare the above examples: using
-reference-style links, the paragraph itself is only 81 characters
-long; with inline-style links, it's 176 characters; and as raw HTML,
-it's 234 characters. In the raw HTML, there's more markup than there
-is text.
-
-With Markdown's reference-style links, a source document much more
-closely resembles the final output, as rendered in a browser. By
-allowing you to move the markup-related metadata out of the paragraph,
-you can add links without interrupting the narrative flow of your
-prose.
-
-
-### Emphasis
-
-Markdown treats asterisks (`*`) and underscores (`_`) as indicators of
-emphasis. Text wrapped with one `*` or `_` will be wrapped with an
-HTML `<em>` tag; double `*`'s or `_`'s will be wrapped with an HTML
-`<strong>` tag. E.g., this input:
-
- *single asterisks*
-
- _single underscores_
-
- **double asterisks**
-
- __double underscores__
-
-will produce:
-
- <em>single asterisks</em>
-
- <em>single underscores</em>
-
- <strong>double asterisks</strong>
-
- <strong>double underscores</strong>
-
-You can use whichever style you prefer; the lone restriction is that
-the same character must be used to open and close an emphasis span.
-
-Emphasis can be used in the middle of a word:
-
- un*fucking*believable
-
-But if you surround an `*` or `_` with spaces, it'll be treated as a
-literal asterisk or underscore.
-
-To produce a literal asterisk or underscore at a position where it
-would otherwise be used as an emphasis delimiter, you can backslash
-escape it:
-
- \*this text is surrounded by literal asterisks\*
-
-
-
-### Code
-
-To indicate a span of code, wrap it with backtick quotes (`` ` ``).
-Unlike a pre-formatted code block, a code span indicates code within a
-normal paragraph. For example:
-
- Use the `printf()` function.
-
-will produce:
-
- <p>Use the <code>printf()</code> function.</p>
-
-To include a literal backtick character within a code span, you can use
-multiple backticks as the opening and closing delimiters:
-
- ``There is a literal backtick (`) here.``
-
-which will produce this:
-
- <p><code>There is a literal backtick (`) here.</code></p>
-
-The backtick delimiters surrounding a code span may include spaces --
-one after the opening, one before the closing. This allows you to place
-literal backtick characters at the beginning or end of a code span:
-
- A single backtick in a code span: `` ` ``
-
- A backtick-delimited string in a code span: `` `foo` ``
-
-will produce:
-
- <p>A single backtick in a code span: <code>`</code></p>
-
- <p>A backtick-delimited string in a code span: <code>`foo`</code></p>
-
-With a code span, ampersands and angle brackets are encoded as HTML
-entities automatically, which makes it easy to include example HTML
-tags. Markdown will turn this:
-
- Please don't use any `<blink>` tags.
-
-into:
-
- <p>Please don't use any <code>&lt;blink&gt;</code> tags.</p>
-
-You can write this:
-
- `&#8212;` is the decimal-encoded equivalent of `&mdash;`.
-
-to produce:
-
- <p><code>&amp;#8212;</code> is the decimal-encoded
- equivalent of <code>&amp;mdash;</code>.</p>
-
-
-
-### Images
-
-Admittedly, it's fairly difficult to devise a "natural" syntax for
-placing images into a plain text document format.
-
-Markdown uses an image syntax that is intended to resemble the syntax
-for links, allowing for two styles: *inline* and *reference*.
-
-Inline image syntax looks like this:
-
- ![Alt text](/path/to/img.jpg)
-
- ![Alt text](/path/to/img.jpg "Optional title")
-
-That is:
-
-* An exclamation mark: `!`;
-* followed by a set of square brackets, containing the `alt`
- attribute text for the image;
-* followed by a set of parentheses, containing the URL or path to
- the image, and an optional `title` attribute enclosed in double
- or single quotes.
-
-Reference-style image syntax looks like this:
-
- ![Alt text][id]
-
-Where "id" is the name of a defined image reference. Image references
-are defined using syntax identical to link references:
-
- [id]: url/to/image "Optional title attribute"
-
-As of this writing, Markdown has no syntax for specifying the
-dimensions of an image; if this is important to you, you can simply
-use regular HTML `<img>` tags.
-
-
-* * *
-
-
-## Miscellaneous
-
-### Automatic Links
-
-Markdown supports a shortcut style for creating "automatic" links for URLs and email addresses: simply surround the URL or email address with angle brackets. What this means is that if you want to show the actual text of a URL or email address, and also have it be a clickable link, you can do this:
-
- <http://example.com/>
-
-Markdown will turn this into:
-
- <a href="http://example.com/">http://example.com/</a>
-
-Automatic links for email addresses work similarly, except that
-Markdown will also perform a bit of randomized decimal and hex
-entity-encoding to help obscure your address from address-harvesting
-spambots. For example, Markdown will turn this:
-
- <address@example.com>
-
-into something like this:
-
- <a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
- &#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
- &#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
- &#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>
-
-which will render in a browser as a clickable link to "address@example.com".
-
-(This sort of entity-encoding trick will indeed fool many, if not
-most, address-harvesting bots, but it definitely won't fool all of
-them. It's better than nothing, but an address published in this way
-will probably eventually start receiving spam.)
-
-
-
-### Backslash Escapes
-
-Markdown allows you to use backslash escapes to generate literal
-characters which would otherwise have special meaning in Markdown's
-formatting syntax. For example, if you wanted to surround a word with
-literal asterisks (instead of an HTML `<em>` tag), you can backslashes
-before the asterisks, like this:
-
- \*literal asterisks\*
-
-Markdown provides backslash escapes for the following characters:
-
- \ backslash
- ` backtick
- * asterisk
- _ underscore
- {} curly braces
- [] square brackets
- () parentheses
- # hash mark
- + plus sign
- - minus sign (hyphen)
- . dot
- ! exclamation mark
-
->>>
-headingOne: Markdown: Syntax
-interblockSeparator
-ulBeginTight
-ulItem
-BEGIN link
-- label: Overview
-- URI: (hash)overview
-- title:
-END link
-interblockSeparator
-ulBeginTight
-ulItem
-BEGIN link
-- label: Philosophy
-- URI: (hash)philosophy
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Inline HTML
-- URI: (hash)html
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Automatic Escaping for Special Characters
-- URI: (hash)autoescape
-- title:
-END link
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulItem
-BEGIN link
-- label: Block Elements
-- URI: (hash)block
-- title:
-END link
-interblockSeparator
-ulBeginTight
-ulItem
-BEGIN link
-- label: Paragraphs and Line Breaks
-- URI: (hash)p
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Headers
-- URI: (hash)header
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Blockquotes
-- URI: (hash)blockquote
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Lists
-- URI: (hash)list
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Code Blocks
-- URI: (hash)precode
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Horizontal Rules
-- URI: (hash)hr
-- title:
-END link
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulItem
-BEGIN link
-- label: Span Elements
-- URI: (hash)span
-- title:
-END link
-interblockSeparator
-ulBeginTight
-ulItem
-BEGIN link
-- label: Links
-- URI: (hash)link
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Emphasis
-- URI: (hash)em
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Code
-- URI: (hash)code
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Images
-- URI: (hash)img
-- title:
-END link
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulItem
-BEGIN link
-- label: Miscellaneous
-- URI: (hash)misc
-- title:
-END link
-interblockSeparator
-ulBeginTight
-ulItem
-BEGIN link
-- label: Backslash Escapes
-- URI: (hash)backslash
-- title:
-END link
-ulItemEnd
-ulItem
-BEGIN link
-- label: Automatic Links
-- URI: (hash)autolink
-- title:
-END link
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulEndTight
-interblockSeparator
-strongEmphasis: Note:
-BEGIN link
-- label: see the source for it by adding '.text' to the URL
-- URI: /projects/markdown/syntax.text
-- title:
-END link
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingTwo: Overview
-interblockSeparator
-headingThree: Philosophy
-interblockSeparator
-interblockSeparator
-BEGIN link
-- label: Setext
-- URI: http://docutils.sourceforge.net/mirror/setext.html
-- title:
-END link
-BEGIN link
-- label: atx
-- URI: http://www.aaronsw.com/2002/atx/
-- title:
-END link
-BEGIN link
-- label: Textile
-- URI: http://textism.com/tools/textile/
-- title:
-END link
-BEGIN link
-- label: reStructuredText
-- URI: http://docutils.sourceforge.net/rst.html
-- title:
-END link
-BEGIN link
-- label: Grutatext
-- URI: http://www.triptico.com/software/grutatxt.html
-- title:
-END link
-BEGIN link
-- label: EtText
-- URI: http://ettext.taint.org/doc/
-- title:
-END link
-interblockSeparator
-interblockSeparator
-headingThree: Inline HTML
-interblockSeparator
-emphasis: writing
-interblockSeparator
-emphasis: not
-emphasis: publishing
-emphasis: writing
-interblockSeparator
-interblockSeparator
-codeSpan: <div>
-codeSpan: <table>
-codeSpan: <pre>
-codeSpan: <p>
-codeSpan: <p>
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/6c0e67934e0358fd4071cf4247bcf221.verbatim
-interblockSeparator
-codeSpan: *emphasis*
-interblockSeparator
-codeSpan: <span>
-codeSpan: <cite>
-codeSpan: <del>
-codeSpan: <a>
-codeSpan: <img>
-interblockSeparator
-emphasis: is
-interblockSeparator
-headingThree: Automatic Escaping for Special Characters
-interblockSeparator
-codeSpan: <
-codeSpan: (ampersand)
-codeSpan: (ampersand)lt;
-codeSpan: (ampersand)amp;
-interblockSeparator
-ampersand
-codeSpan: AT(ampersand)amp;T
-interblockSeparator
-inputVerbatim: ./_markdown_test/01abe6d069cf62de251cf21f8df1d11f.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/3bb5e0b18bdd7c9688b9f5df139967f3.verbatim
-interblockSeparator
-codeSpan: href
-interblockSeparator
-codeSpan: (ampersand)amp;
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/9f3cb292eb01028cce569a08ef6f975b.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/7cdba89e6cc34bd4841c7c6a41bb4156.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/c79c1d6af747ea457d80ff723101137a.verbatim
-interblockSeparator
-BEGIN link
-- label: inline HTML
-- URI: (hash)html
-- title:
-END link
-interblockSeparator
-inputVerbatim: ./_markdown_test/e76bfed335c678dbe01b3982b9b46fdc.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/cc7bb6b7c24a66c62c969328036e8f7b.verbatim
-interblockSeparator
-emphasis: always
-codeSpan: <
-codeSpan: (ampersand)
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingTwo: Block Elements
-interblockSeparator
-headingThree: Paragraphs and Line Breaks
-interblockSeparator
-interblockSeparator
-codeSpan: <br />
-interblockSeparator
-emphasis: do
-codeSpan: <br />
-interblockSeparator
-codeSpan: <br />
-codeSpan: <br />
-BEGIN link
-- label: blockquoting
-- URI: (hash)blockquote
-- title:
-END link
-BEGIN link
-- label: list items
-- URI: (hash)list
-- title:
-END link
-interblockSeparator
-headingThree: Headers
-interblockSeparator
-BEGIN link
-- label: Setext
-- URI: http://docutils.sourceforge.net/mirror/setext.html
-- title:
-END link
-BEGIN link
-- label: atx
-- URI: http://www.aaronsw.com/2002/atx/
-- title:
-END link
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/4f59d4e23ef758fd94bd2324643e2f2b.verbatim
-interblockSeparator
-codeSpan: =
-codeSpan: -
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/48058b850bf198c75e9571ef25b4174e.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/37d9f30690dba801bda9a65ec7cfd1be.verbatim
-interblockSeparator
-headingThree: Blockquotes
-interblockSeparator
-codeSpan: >
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/a89055d359469d454a801830954a9c6f.verbatim
-interblockSeparator
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/944cb176339d03ac7508f0f66090979f.verbatim
-interblockSeparator
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/2a3331ca2a955f6ad7da2480f9cda089.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/539f94bbd698cb75fb0cd1ba51d297b2.verbatim
-interblockSeparator
-interblockSeparator
-headingThree: Lists
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/7667e2408d637a1e3ca69ccc1ce50809.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/f9c93344b256fc419363b5137a49888e.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/0ae7b8161204fb8d79d287ece754d868.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/5159786425bde2cec7e20b79500dde54.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/9679de8f4110a0e2906694aa1804cbf0.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/68c7899020501a169d9e9ca810aff930.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/733b6752776567144548322ef66d67e6.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/3915e80c9e2b1a87599797fb217c295b.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/35441140ac44d3c2c7b9611d18c6dca4.verbatim
-interblockSeparator
-codeSpan: <p>
-interblockSeparator
-inputVerbatim: ./_markdown_test/92f4628c14a10b92aead4a4ebd01936a.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/02afc9ab8392711baf578d89e8b624a8.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/ec0f57523c3541a14df8f17f3c822039.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/197c8667c0c0307c8174e6a6e07c2a48.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/a07ba2a71f8cd42180768463fa2e5dad.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/d56908f0f6e2476a6146ece0fa7e2f32.verbatim
-interblockSeparator
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/4c06d5a765803dd6f15378765020443c.verbatim
-interblockSeparator
-emphasis: twice
-interblockSeparator
-inputVerbatim: ./_markdown_test/d3f24a5ba4f9ebe7c97b690753fef199.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/d87e20aae0facc7fbbc293f790178cf4.verbatim
-interblockSeparator
-emphasis: number-period-space
-interblockSeparator
-inputVerbatim: ./_markdown_test/ea5e5fa61236c2e31ecb34d484caed78.verbatim
-interblockSeparator
-headingThree: Code Blocks
-interblockSeparator
-codeSpan: <pre>
-codeSpan: <code>
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/80158a498770adf4d0617503ae558414.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/35dd5e3b1d316dec464fafbedf53439e.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/992aa3a21cc79d1a6a7b273173e1cc48.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/d37edcee91241df6034067902bf7ff5f.verbatim
-interblockSeparator
-interblockSeparator
-codeSpan: (ampersand)
-codeSpan: <
-codeSpan: >
-interblockSeparator
-inputVerbatim: ./_markdown_test/bfd3b2e8e47a22fe0914d55781a73b7c.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/6a14fbcefad86826e777c27a9000b94a.verbatim
-interblockSeparator
-interblockSeparator
-headingThree: Horizontal Rules
-interblockSeparator
-codeSpan: <hr />
-interblockSeparator
-inputVerbatim: ./_markdown_test/b3a754721670b6236c8eb8159555f38b.verbatim
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingTwo: Span Elements
-interblockSeparator
-headingThree: Links
-interblockSeparator
-emphasis: inline
-emphasis: reference
-interblockSeparator
-interblockSeparator
-emphasis: optional
-interblockSeparator
-inputVerbatim: ./_markdown_test/1414e8798e8df1116073e37e18480580.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/fee0581724d177221ef58d9e6a498b35.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/be45edb9cb5e6fb760f9805ffc37b64b.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/00842bca924b6e825c555a0866ba0488.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/525e6727b97cbbb73ce96c0ba62e8eb6.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/a35af952f6f3a307982ea5250cfb72de.verbatim
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/59be3295fa322e809f4138ef7500798a.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/a39ca11b40fca9daced4a3b44b1fc1a3.verbatim
-interblockSeparator
-interblockSeparator
-emphasis: not
-interblockSeparator
-inputVerbatim: ./_markdown_test/a943d1cc49e6963c7bcb45acfebf321f.verbatim
-interblockSeparator
-interblockSeparator
-emphasis: implicit link name
-interblockSeparator
-inputVerbatim: ./_markdown_test/c2c38dc7e1a41ddb3d50c965e569aab4.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/17194fe133f07ed35b959c9108de4cec.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/1a7658c341b463a9232093771a413acc.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/65aaecc2b48f0d27de8de608c27ed6e7.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/31285fcec3a6ea99b4694d3e6750fc60.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/0810a7510b5a42a7ec77fd3d55be870e.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/28d0c5764a38e6b58409f9967ef91bcc.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/f39ac74789b190c9c1460bd06b2e5f66.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-headingThree: Emphasis
-interblockSeparator
-codeSpan: *
-codeSpan: (underscore)
-codeSpan: *
-codeSpan: (underscore)
-codeSpan: <em>
-codeSpan: *
-codeSpan: (underscore)
-codeSpan: <strong>
-interblockSeparator
-inputVerbatim: ./_markdown_test/ad2981010cf94e370ccb06c7233f0989.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/451a1d0edf74505402610a4bae7997d0.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/3f3996b979db4e11ec6fd9b0232b3d83.verbatim
-interblockSeparator
-codeSpan: *
-codeSpan: (underscore)
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/85d79dd13f594a1dc7dc5b2be403366a.verbatim
-interblockSeparator
-headingThree: Code
-interblockSeparator
-codeSpan: `
-interblockSeparator
-inputVerbatim: ./_markdown_test/3013bb705f116d1bf7d7506a827cd6f1.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/0d572dc866bb6649bdedef400a32f2ee.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/000c6f567a8ecf3820cf43f6b248b303.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/a499280e33397f3bd9ec1415835a1c04.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/56cb72e47c0ff4e11b252117ed9d7c15.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/2624fb4324d31d847556b8cf06cc71a3.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/7e31b58c38fbe808c13ae0c21943fdbb.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/775e317bc6e9bac7e3a3a3f44dade6d1.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/b71470703a2237b352df145a688666b9.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/c7d2bf55eba7aa8ecd26cc75c0116ecd.verbatim
-interblockSeparator
-headingThree: Images
-interblockSeparator
-interblockSeparator
-emphasis: inline
-emphasis: reference
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/95e477e08806ad17333ef8c62ab1a9bf.verbatim
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-codeSpan: !
-ulItemEnd
-ulItem
-codeSpan: alt
-ulItemEnd
-ulItem
-codeSpan: title
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/90c3fb2e48c6bc6b5139b7d9fefe33eb.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/a5bd86aacaa065512fabab353b4646b5.verbatim
-interblockSeparator
-codeSpan: <img>
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingTwo: Miscellaneous
-interblockSeparator
-headingThree: Automatic Links
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/ba84105470e6c3ca4640b0165ba73e28.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/3d59db9474543617b421ad8938c9ad5f.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/7c01c9510936100673897e413a694f95.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/57dc30d4baafa58ac03c967e1ffe882b.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-headingThree: Backslash Escapes
-interblockSeparator
-codeSpan: <em>
-interblockSeparator
-inputVerbatim: ./_markdown_test/ee5b9bd27735fe320e0eb1cd9218539d.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/4f5715933ffa8d2f20d0360598a68dbb.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/nested-blockquotes.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/nested-blockquotes.test
deleted file mode 100644
index bbc0f7e4c5..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/nested-blockquotes.test
+++ /dev/null
@@ -1,14 +0,0 @@
-<<<
-> foo
->
-> > bar
->
-> foo
-
->>>
-blockQuoteBegin
-interblockSeparator
-blockQuoteBegin
-blockQuoteEnd
-interblockSeparator
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/ordered-and-unordered-lists.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/ordered-and-unordered-lists.test
deleted file mode 100644
index 6a88122d16..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/ordered-and-unordered-lists.test
+++ /dev/null
@@ -1,323 +0,0 @@
-<<<
-## Unordered
-
-Asterisks tight:
-
-* asterisk 1
-* asterisk 2
-* asterisk 3
-
-
-Asterisks loose:
-
-* asterisk 1
-
-* asterisk 2
-
-* asterisk 3
-
-* * *
-
-Pluses tight:
-
-+ Plus 1
-+ Plus 2
-+ Plus 3
-
-
-Pluses loose:
-
-+ Plus 1
-
-+ Plus 2
-
-+ Plus 3
-
-* * *
-
-
-Minuses tight:
-
-- Minus 1
-- Minus 2
-- Minus 3
-
-
-Minuses loose:
-
-- Minus 1
-
-- Minus 2
-
-- Minus 3
-
-
-## Ordered
-
-Tight:
-
-1. First
-2. Second
-3. Third
-
-and:
-
-1. One
-2. Two
-3. Three
-
-
-Loose using tabs:
-
-1. First
-
-2. Second
-
-3. Third
-
-and using spaces:
-
-1. One
-
-2. Two
-
-3. Three
-
-Multiple paragraphs:
-
-1. Item 1, graf one.
-
- Item 2. graf two. The quick brown fox jumped over the lazy dog&#39;s
- back.
-
-2. Item 2.
-
-3. Item 3.
-
-
-
-## Nested
-
-* Tab
- * Tab
- * Tab
-
-Here&#39;s another:
-
-1. First
-2. Second:
- * Fee
- * Fie
- * Foe
-3. Third
-
-Same thing but with paragraphs:
-
-1. First
-
-2. Second:
- * Fee
- * Fie
- * Foe
-
-3. Third
-
-
-This was an error in Markdown 1.0.1:
-
-* this
-
- * sub
-
- that
-
->>>
-headingTwo: Unordered
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-headingTwo: Ordered
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 1
-interblockSeparator
-ampersand
-hash
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEnd
-interblockSeparator
-headingTwo: Nested
-interblockSeparator
-ulBeginTight
-ulItem
-interblockSeparator
-ulBeginTight
-ulItem
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulEndTight
-interblockSeparator
-ampersand
-hash
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-ulItemEnd
-ulEnd
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/strong-and-em-together.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/strong-and-em-together.test
deleted file mode 100644
index 44c84cd6d1..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/strong-and-em-together.test
+++ /dev/null
@@ -1,17 +0,0 @@
-<<<
-***This is strong and em.***
-
-So is ***this*** word.
-
-___This is strong and em.___
-
-So is ___this___ word.
-
->>>
-strongEmphasis: (emphasis: This is strong and em.)
-interblockSeparator
-strongEmphasis: (emphasis: this)
-interblockSeparator
-strongEmphasis: (emphasis: This is strong and em.)
-interblockSeparator
-strongEmphasis: (emphasis: this)
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/tabs.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/tabs.test
deleted file mode 100644
index 4737ab75e8..0000000000
--- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/tabs.test
+++ /dev/null
@@ -1,39 +0,0 @@
-<<<
-+ this is a list item
- indented with tabs
-
-+ this is a list item
- indented with spaces
-
-Code:
-
- this code block is indented by one tab
-
-And:
-
- this code block is indented by two tabs
-
-And:
-
- + this is an example list item
- indented with tabs
-
- + this is an example list item
- indented with spaces
-
->>>
-ulBegin
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/07112549a31e78f7efb64c16f22570db.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/385fbae90889669b105262d12987e9da.verbatim
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/ce062b920c62d9e77aae68da221de295.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/README.md b/macros/generic/markdown/tests/testfiles/PHP_Markdown/README.md
deleted file mode 100644
index 8ceeb21dec..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains test files that were inherited from the
-`tests/PHP_Markdown` directory in the lunamark project.
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/auto-links.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/auto-links.test
deleted file mode 100644
index ba3ee16d9a..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/auto-links.test
+++ /dev/null
@@ -1,16 +0,0 @@
-<<<
-<HTTP://WWW.SOMEURL.COM>
-
-<hr@company.com>
->>>
-BEGIN link
-- label: HTTP://WWW.SOMEURL.COM
-- URI: HTTP://WWW.SOMEURL.COM
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: hr@company.com
-- URI: mailto:hr@company.com
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/backslash-escapes.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/backslash-escapes.test
deleted file mode 100644
index a66cdefb8e..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/backslash-escapes.test
+++ /dev/null
@@ -1,19 +0,0 @@
-<<<
-Tricky combinaisons:
-
-backslash with \\-- two dashes
-
-backslash with \\> greater than
-
-\\[test](not a link)
-
-\\\*no emphasis*
->>>
-interblockSeparator
-backslash
-interblockSeparator
-backslash
-interblockSeparator
-backslash
-interblockSeparator
-backslash
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-in-a-list-item.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-in-a-list-item.test
deleted file mode 100644
index 8ac52d287a..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-in-a-list-item.test
+++ /dev/null
@@ -1,31 +0,0 @@
-<<<
-
-* List Item:
-
- code block
-
- with a blank line
-
- within a list item.
-
-* code block
- as first element of a list item
-
-* List Item:
-
- code block with whitespace on preceding line
->>>
-ulBegin
-ulItem
-interblockSeparator
-inputVerbatim: ./_markdown_test/3918bc9009f196cbcc980181827419e9.verbatim
-interblockSeparator
-ulItemEnd
-ulItem
-inputVerbatim: ./_markdown_test/2ecbe437956c71ad33b2efd354f11893.verbatim
-ulItemEnd
-ulItem
-interblockSeparator
-inputVerbatim: ./_markdown_test/89ad99c3052a342e765443409ef64797.verbatim
-ulItemEnd
-ulEnd
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-on-second-line.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-on-second-line.test
deleted file mode 100644
index 7b402e3fa0..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/code-block-on-second-line.test
+++ /dev/null
@@ -1,6 +0,0 @@
-<<<
-
- Codeblock on second line
-
->>>
-inputVerbatim: ./_markdown_test/722b6c7a40293698cf78b28fdb8623ff.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/email-auto-links.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/email-auto-links.test
deleted file mode 100644
index afda759ec7..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/email-auto-links.test
+++ /dev/null
@@ -1,16 +0,0 @@
-<<<
-<michel.fortin@michelf.com>
-
-International domain names: <help@tūdaliņ.lv>
->>>
-BEGIN link
-- label: michel.fortin@michelf.com
-- URI: mailto:michel.fortin@michelf.com
-- title:
-END link
-interblockSeparator
-BEGIN link
-- label: help@tūdaliņ.lv
-- URI: mailto:help@tūdaliņ.lv
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test
deleted file mode 100644
index ed36492e09..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test
+++ /dev/null
@@ -1,272 +0,0 @@
-<<<
-Combined emphasis:
-
-1. ***test test***
-2. ___test test___
-3. *test **test***
-4. **test *test***
-5. ***test* test**
-6. ***test** test*
-7. ***test* test**
-8. **test *test***
-9. *test **test***
-10. _test __test___
-11. __test _test___
-12. ___test_ test__
-13. ___test__ test_
-14. ___test_ test__
-15. __test _test___
-16. _test __test___
-
-
-Incorrect nesting:
-
-1. *test **test* test**
-2. _test __test_ test__
-3. **test *test** test*
-4. __test _test__ test_
-5. *test *test* test*
-6. _test _test_ test_
-7. **test **test** test**
-8. __test __test__ test__
-
-
-
-No emphasis:
-
-1. test* test *test
-2. test** test **test
-3. test_ test _test
-4. test__ test __test
-
-
-
-Middle-word emphasis (asterisks):
-
-1. *a*b
-2. a*b*
-3. a*b*c
-4. **a**b
-5. a**b**
-6. a**b**c
-
-
-Middle-word emphasis (underscore):
-
-1. _a_b
-2. a_b_
-3. a_b_c
-4. __a__b
-5. a__b__
-6. a__b__c
-
-my_precious_file.txt
-
-
-## Tricky Cases
-
-E**. **Test** TestTestTest
-
-E**. **Test** Test Test Test
-
-
-## Overlong emphasis
-
-Name: ____________
-Organization: ____
-Region/Country: __
-
-_____Cut here_____
-
-____Cut here____
-
->>>
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-strongEmphasis: (emphasis: test test)
-olItemEnd
-olItemWithNumber: 2
-strongEmphasis: (emphasis: test test)
-olItemEnd
-olItemWithNumber: 3
-emphasis: test (strongEmphasis: test)
-olItemEnd
-olItemWithNumber: 4
-strongEmphasis: test (emphasis: test)
-olItemEnd
-olItemWithNumber: 5
-strongEmphasis: (emphasis: test) test
-olItemEnd
-olItemWithNumber: 6
-emphasis: (strongEmphasis: test) test
-olItemEnd
-olItemWithNumber: 7
-strongEmphasis: (emphasis: test) test
-olItemEnd
-olItemWithNumber: 8
-strongEmphasis: test (emphasis: test)
-olItemEnd
-olItemWithNumber: 9
-emphasis: test (strongEmphasis: test)
-olItemEnd
-olItemWithNumber: 10
-emphasis: test (strongEmphasis: test)
-olItemEnd
-olItemWithNumber: 11
-strongEmphasis: test (emphasis: test)
-olItemEnd
-olItemWithNumber: 12
-strongEmphasis: (emphasis: test) test
-olItemEnd
-olItemWithNumber: 13
-emphasis: (strongEmphasis: test) test
-olItemEnd
-olItemWithNumber: 14
-strongEmphasis: (emphasis: test) test
-olItemEnd
-olItemWithNumber: 15
-strongEmphasis: test (emphasis: test)
-olItemEnd
-olItemWithNumber: 16
-emphasis: test (strongEmphasis: test)
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-strongEmphasis: test* test
-olItemEnd
-olItemWithNumber: 2
-underscore
-strongEmphasis: test(underscore) test
-olItemEnd
-olItemWithNumber: 3
-emphasis: (emphasis: test (emphasis: test)) test
-olItemEnd
-olItemWithNumber: 4
-emphasis: (emphasis: test (emphasis: test)) test
-olItemEnd
-olItemWithNumber: 5
-emphasis: test (emphasis: test) test
-olItemEnd
-olItemWithNumber: 6
-emphasis: test (emphasis: test) test
-olItemEnd
-olItemWithNumber: 7
-strongEmphasis: test (strongEmphasis: test) test
-olItemEnd
-olItemWithNumber: 8
-strongEmphasis: test (strongEmphasis: test) test
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-emphasis: * test *
-olItemEnd
-olItemWithNumber: 3
-underscore
-underscore
-olItemEnd
-olItemWithNumber: 4
-emphasis: (underscore) test (underscore)
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-emphasis: a
-olItemEnd
-olItemWithNumber: 2
-emphasis: b
-olItemEnd
-olItemWithNumber: 3
-emphasis: b
-olItemEnd
-olItemWithNumber: 4
-strongEmphasis: a
-olItemEnd
-olItemWithNumber: 5
-strongEmphasis: b
-olItemEnd
-olItemWithNumber: 6
-strongEmphasis: b
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-emphasis: a
-olItemEnd
-olItemWithNumber: 2
-emphasis: b
-olItemEnd
-olItemWithNumber: 3
-emphasis: b
-olItemEnd
-olItemWithNumber: 4
-strongEmphasis: a
-olItemEnd
-olItemWithNumber: 5
-strongEmphasis: b
-olItemEnd
-olItemWithNumber: 6
-strongEmphasis: b
-olItemEnd
-olEndTight
-interblockSeparator
-emphasis: precious
-interblockSeparator
-headingTwo: Tricky Cases
-interblockSeparator
-strongEmphasis: Test
-interblockSeparator
-strongEmphasis: Test
-interblockSeparator
-headingTwo: Overlong emphasis
-interblockSeparator
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-interblockSeparator
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-interblockSeparator
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
-underscore
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/empty-list-item.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/empty-list-item.test
deleted file mode 100644
index a9fb47b84b..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/empty-list-item.test
+++ /dev/null
@@ -1,97 +0,0 @@
-<<<
-With asterisks
-
- * List item
- *
- * List item
-
-With numbers
-
-1. List item
-2.
-3. List item
-
-With hyphens
-
-- List item
--
-- List item
-
-With asterisks
-
- * List item
- * List item
- *
-
-With numbers
-
-1. List item
-2. List item
-3.
-
-With hyphens
-
-- List item
-- List item
--
-
->>>
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/headers.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/headers.test
deleted file mode 100644
index f068181502..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/headers.test
+++ /dev/null
@@ -1,18 +0,0 @@
-<<<
-### Header
-
- - - -
-
-Paragraphr
-
- - - -
-
-Paragraph
->>>
-headingThree: Header
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-horizontalRule
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/horizontal-rules.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/horizontal-rules.test
deleted file mode 100644
index 634ad3db9c..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/horizontal-rules.test
+++ /dev/null
@@ -1,51 +0,0 @@
-<<<
-Horizontal rules:
-
-- - -
-
-* * *
-
-***
-
----
-
-___
-
-Not horizontal rules (testing for a bug in 1.0.1j):
-
-+++
-
-,,,
-
-===
-
-???
-
-AAA
-
-jjj
-
-j j j
-
-n n n
-
->>>
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/links-inline-style.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/links-inline-style.test
deleted file mode 100644
index bb67b838d1..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/links-inline-style.test
+++ /dev/null
@@ -1,9 +0,0 @@
-<<<
-[silly URL w/ angle brackets](<?}]*+|&)>).
-
->>>
-BEGIN link
-- label: silly URL w/ angle brackets
-- URI: ?(rightBrace)]*+(pipe)(ampersand))
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/md5-hashes.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/md5-hashes.test
deleted file mode 100644
index b70a29c981..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/md5-hashes.test
+++ /dev/null
@@ -1,22 +0,0 @@
-<<<
-# Character Escapes
-
-The MD5 value for `+` is "26b17225b626fb9238849fd60eabdf60".
-
-# HTML Blocks
-
-<p>test</p>
-
-The MD5 value for `<p>test</p>` is:
-
-6205333b793f34273d75379350b36826
->>>
-headingOne: Character Escapes
-interblockSeparator
-codeSpan: +
-interblockSeparator
-headingOne: HTML Blocks
-interblockSeparator
-interblockSeparator
-codeSpan: <p>test</p>
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/mixed-ols-and-uls.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/mixed-ols-and-uls.test
deleted file mode 100644
index fddda61878..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/mixed-ols-and-uls.test
+++ /dev/null
@@ -1,47 +0,0 @@
-<<<
-* test
-+ test
-- test
-
-1. test
-2. test
-
-* test
-+ test
-- test
-
-1. test
-2. test
-
->>>
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olEndTight
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olEndTight
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test
deleted file mode 100644
index f95ada9662..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/nesting.test
+++ /dev/null
@@ -1,30 +0,0 @@
-<<<
-Valid nesting:
-
-**[Link](url)**
-
-[**Link**](url)
-
-**[**Link**](url)**
-
-Invalid nesting:
-
-[[Link](url)](url)
->>>
-interblockSeparator
-strongEmphasis: (BEGIN link)(- label: Link)(- URI: url)(- title: )(END link)
-interblockSeparator
-BEGIN link
-- label: (strongEmphasis: Link)
-- URI: url
-- title:
-END link
-interblockSeparator
-strongEmphasis: (BEGIN link)(- label: (strongEmphasis: Link))(- URI: url)(- title: )(END link)
-interblockSeparator
-interblockSeparator
-BEGIN link
-- label: [Link](url)
-- URI: url
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/parens-in-url.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/parens-in-url.test
deleted file mode 100644
index 7c7831220a..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/parens-in-url.test
+++ /dev/null
@@ -1,52 +0,0 @@
-<<<
-[Inline link 1 with parens](/url\(test\) "title").
-
-[Inline link 2 with parens](</url\(test\)> "title").
-
-[Inline link 3 with non-escaped parens](/url(test) "title").
-
-[Inline link 4 with non-escaped parens](</url(test)> "title").
-
-[Reference link 1 with parens][1].
-
-[Reference link 2 with parens][2].
-
- [1]: /url(test) "title"
- [2]: </url(test)> "title"
-
->>>
-BEGIN link
-- label: Inline link 1 with parens
-- URI: /url(test)
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: Inline link 2 with parens
-- URI: /url(test)
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: Inline link 3 with non-escaped parens
-- URI: /url(test)
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: Inline link 4 with non-escaped parens
-- URI: /url(test)
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: Reference link 1 with parens
-- URI: /url(test)
-- title: title
-END link
-interblockSeparator
-BEGIN link
-- label: Reference link 2 with parens
-- URI: /url(test)
-- title: title
-END link
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/php-specific-bugs.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/php-specific-bugs.test
deleted file mode 100644
index 3f3db6c6ee..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/php-specific-bugs.test
+++ /dev/null
@@ -1,39 +0,0 @@
-<<<
-This tests for a bug where quotes escaped by PHP when using
-`preg_replace` with the `/e` modifier must be correctly unescaped
-(hence the `_UnslashQuotes` function found only in PHP Markdown).
-
-
-
-Headers below should appear exactly as they are typed (no backslash
-added or removed).
-
-Header "quoted\" again \\""
-===========================
-
-Header "quoted\" again \\""
----------------------------
-
-### Header "quoted\" again \\"" ###
-
-
-
-Test with tabs for `_Detab`:
-
- Code 'block' with some "tabs" and "quotes"
-
->>>
-codeSpan: preg(underscore)replace
-codeSpan: /e
-codeSpan: (underscore)UnslashQuotes
-interblockSeparator
-interblockSeparator
-headingOne: Header "quoted(backslash)" again (backslash)""
-interblockSeparator
-headingTwo: Header "quoted(backslash)" again (backslash)""
-interblockSeparator
-headingThree: Header "quoted(backslash)" again (backslash)""
-interblockSeparator
-codeSpan: (underscore)Detab
-interblockSeparator
-inputVerbatim: ./_markdown_test/58f5a43337a97a77594d067c159d772c.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/quotes-in-attributes.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/quotes-in-attributes.test
deleted file mode 100644
index 75247fc7fd..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/quotes-in-attributes.test
+++ /dev/null
@@ -1,29 +0,0 @@
-<<<
-[Test](/"style="color:red)
-[Test](/'style='color:red)
-
-![](/"style="border-color:red;border-size:1px;border-style:solid)
-![](/'style='border-color:red;border-size:1px;border-style:solid)
-
->>>
-BEGIN link
-- label: Test
-- URI: /"style="color:red
-- title:
-END link
-BEGIN link
-- label: Test
-- URI: /'style='color:red
-- title:
-END link
-interblockSeparator
-BEGIN image
-- label:
-- URI: /"style="border-color:red;border-size:1px;border-style:solid
-- title:
-END image
-BEGIN image
-- label:
-- URI: /'style='border-color:red;border-size:1px;border-style:solid
-- title:
-END image
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test
deleted file mode 100644
index 9300123d19..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test
+++ /dev/null
@@ -1,327 +0,0 @@
-\def\markdownOptionPipeTables{true}
-<<<
-Header 1 | Header 2
---------- | ---------
-Cell 1 | Cell 2
-Cell 3 | Cell 4
-
-With leading pipes:
-
-| Header 1 | Header 2
-| --------- | ---------
-| Cell 1 | Cell 2
-| Cell 3 | Cell 4
-
-With tailing pipes:
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell 1 | Cell 2 |
-Cell 3 | Cell 4 |
-
-With leading and tailing pipes:
-
-| Header 1 | Header 2 |
-| --------- | --------- |
-| Cell 1 | Cell 2 |
-| Cell 3 | Cell 4 |
-
-* * *
-
-# One-column one-row table
-
-With leading pipes:
-
-| Header
-| -------
-| Cell
-
-With tailing pipes:
-
-Header |
-------- |
-Cell |
-
-With leading and tailing pipes:
-
-| Header |
-| ------- |
-| Cell |
-
-* * *
-
-Table alignement:
-
-| Default | Right | Center | Left |
-| --------- |:--------- |:---------:| ---------:|
-| Long Cell | Long Cell | Long Cell | Long Cell |
-| Cell | Cell | Cell | Cell |
-
-Table alignement (alternate spacing):
-
-| Default | Right | Center | Left |
-| --------- | :-------- | :-------: | --------: |
-| Long Cell | Long Cell | Long Cell | Long Cell |
-| Cell | Cell | Cell | Cell |
-
-* * *
-
-# Empty cells
-
-| Header 1 | Header 2 |
-| --------- | --------- |
-| A | B |
-| C | |
-
-Header 1 | Header 2
---------- | ---------
-A | B
- | D
-
-* * *
-
-# Missing tailing pipe
-
-Header 1 | Header 2
---------- | --------- |
-Cell | Cell |
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | ---------
-Cell | Cell |
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell | Cell
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell | Cell |
-Cell | Cell
-
-* * *
-
-# Too many pipes in rows
-
-| Header 1 | Header 2 |
-| ---------
-| Cell | Cell | Extra cell? |
-| Cell | Cell | Extra cell? |
->>>
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: One-column one-row table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 4 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: l
-- alignment of column 3: c
-- alignment of column 4: r
-- row 1, column 1: Default
-- row 1, column 2: Right
-- row 1, column 3: Center
-- row 1, column 4: Left
-- row 2, column 1: Long Cell
-- row 2, column 2: Long Cell
-- row 2, column 3: Long Cell
-- row 2, column 4: Long Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-- row 3, column 3: Cell
-- row 3, column 4: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 4 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: l
-- alignment of column 3: c
-- alignment of column 4: r
-- row 1, column 1: Default
-- row 1, column 2: Right
-- row 1, column 3: Center
-- row 1, column 4: Left
-- row 2, column 1: Long Cell
-- row 2, column 2: Long Cell
-- row 2, column 3: Long Cell
-- row 2, column 4: Long Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-- row 3, column 3: Cell
-- row 3, column 4: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Empty cells
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: A
-- row 2, column 2: B
-- row 3, column 1: C
-- row 3, column 2:
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: A
-- row 2, column 2: B
-- row 3, column 1:
-- row 3, column 2: D
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Missing tailing pipe
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Too many pipes in rows
-interblockSeparator
-BEGIN table (3 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header 1
-- row 2, column 1: Cell
-- row 3, column 1: Cell
-END table
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tight-blocks.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/tight-blocks.test
deleted file mode 100644
index b8f0650113..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tight-blocks.test
+++ /dev/null
@@ -1,30 +0,0 @@
-<<<
-Paragraph and no space:
-* ciao
-
-Paragraph and 1 space:
- * ciao
-
-Paragraph and 3 spaces:
- * ciao
-
-Paragraph and 4 spaces:
- * ciao
-
-Paragraph before header:
-#Header
-
-Paragraph before blockquote:
->Some quote.
-
->>>
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-headingOne: Header
-interblockSeparator
-interblockSeparator
-blockQuoteBegin
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/README.md b/macros/generic/markdown/tests/testfiles/README.md
deleted file mode 100644
index 0f0168e787..0000000000
--- a/macros/generic/markdown/tests/testfiles/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-This directory contains subdirectories with test files, which can be recognized
-by the `.test` suffix. A test file has the following syntax:
-
- The test setup TeX source code
- <<<
- The test markdown source code
- >>>
- The expected test output
-
-The test setup TeX source code can be used to configure the Markdown package
-through its plain TeX interface before the test markdown source code is
-processed.
-
-The test markdown source code is the markdown code that will be processed
-during the test. The majority of markdown tokens are configured by the support
-files to produce output to the log file. This output will be compared against
-the expected test output.
-
-The `<<<` and `>>>` markers may be surrounded by optional whitespaces. If the
-last section beginning with `>>>` is not present, it will be automatically
-generated during the testing and appended to the test file.
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/README.md b/macros/generic/markdown/tests/testfiles/lunamark-markdown/README.md
deleted file mode 100644
index 238044662b..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains test files that were tailored specifically to the
-Markdown package.
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/blank-before-code-fence.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/blank-before-code-fence.test
deleted file mode 100644
index 8d42218e09..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/blank-before-code-fence.test
+++ /dev/null
@@ -1,57 +0,0 @@
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionBlankBeforeCodeFence{true}
-<<<
-This test ensures that the Lua `fencedCode` and `blankBeforeCodeFence` options
-correctly propagate through the plain TeX interface.
-
-The following fenced code block should resolve to a code span.
-
-foo
-``` foo
-bar
-```
-
-foo
-~~~ foo
-bar
-~~~
-
-The following fenced code blocks should be recognized as such.
-
-foo
-
-``` foo
-bar
-```
-
-foo
-
-~~~ foo
-bar
-~~~
->>>
-codeSpan: fencedCode
-codeSpan: blankBeforeCodeFence
-interblockSeparator
-interblockSeparator
-codeSpan: foo bar
-interblockSeparator
-tilde
-tilde
-tilde
-tilde
-tilde
-tilde
-interblockSeparator
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/breakable-blockquotes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/breakable-blockquotes.test
deleted file mode 100644
index 69dffa4e21..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/breakable-blockquotes.test
+++ /dev/null
@@ -1,19 +0,0 @@
-\def\markdownOptionBreakableBlockquotes{true}
-<<<
-This test ensures that the Lua `breakableBlockquotes` option correctly
-propagates through the plain TeX interface.
-
-> *quote 1*
-
-> *quote 2*
-
->>>
-codeSpan: breakableBlockquotes
-interblockSeparator
-blockQuoteBegin
-emphasis: quote 1
-blockQuoteEnd
-interblockSeparator
-blockQuoteBegin
-emphasis: quote 2
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test
deleted file mode 100644
index f9968e9168..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/cache-dir.test
+++ /dev/null
@@ -1,12 +0,0 @@
-\def\markdownOptionCacheDir{some-other-directory}
-<<<
-This test ensures that the Lua `cacheDir` option correctly propagates through
-the plain TeX interface and causes a change in the cache directory location.
-The following code should be stored in a temporary file inside the specified
-cache directory.
-
- foo bar
->>>
-codeSpan: cacheDir
-interblockSeparator
-inputVerbatim: some-other-directory/5ceaa7ed396ccb8e959c02753cb4bd18.verbatim
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-escapes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-escapes.test
deleted file mode 100644
index 646c0b9610..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-escapes.test
+++ /dev/null
@@ -1,73 +0,0 @@
-\def\markdownOptionCitations{true}
-<<<
-This test ensures that the Lua `citations` option correctly propagates through
-the plain TeX interface and that the `citationNbsps` option is enabled by
-default.
-
-Here is a simple parenthetical citation \[\@doe99] and here
-is a string of several [see @doe99, pp\; 33-35; also
-@smit:.#$%&-+?<>_/h04, chap. 1].
-
-A parenthetical citation can have a [prenote @doe99] and a
-[@smith04 postnote]. The name of the author can be
-suppressed by inserting a dash before the name of an author
-as follows [\-@smith04].
-
-Here is a simple text citation \@doe99 and here is a string
-of several @doe99 [pp\; 33-35; also @smit:.#$%&-+?<>_/h04,
-chap. 1]. Here is one with the name of the author
-suppressed \-@doe99.
->>>
-codeSpan: citations
-codeSpan: citationNbsps
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote: see
-- postnote: pp;(nbsp)33-35
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap.(nbsp)1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END cite
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote: prenote
-- postnote:
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote: postnote
-- name: smith04
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: -
-- postnote:
-- name: smith04
-END cite
-interblockSeparator
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote: pp;(nbsp)33-35
-- name: doe99
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap.(nbsp)1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: doe99
-END textCite
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-nbsps.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-nbsps.test
deleted file mode 100644
index e607828711..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-nbsps.test
+++ /dev/null
@@ -1,85 +0,0 @@
-\def\markdownOptionCitations{true}
-<<<
-This test ensures that the Lua `citations` option correctly propagates through
-the plain TeX interface and that the `citationNbsps` option is enabled by
-default.
-
-Here is a simple parenthetical citation [@doe99] and here
-is a string of several [see @doe99, pp. 33-35; also
-@smit:.#$%&-+?<>_/h04, chap. 1].
-
-A parenthetical citation can have a [prenote @doe99] and
-a [@smith04 postnote]. The name of the author can be
-suppressed by inserting a dash before the name of an
-author as follows [-@smith04].
-
-Here is a simple text citation @doe99 and here is a
-string of several @doe99 [pp. 33-35; also
-@smit:.#$%&-+?<>_/h04, chap. 1]. Here is one with the
-name of the author suppressed -@doe99.
->>>
-codeSpan: citations
-codeSpan: citationNbsps
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: see
-- postnote: pp.(nbsp)33-35
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap.(nbsp)1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END cite
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote: prenote
-- postnote:
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote: postnote
-- name: smith04
-END cite
-BEGIN cite
-- suppressAuthor: true
-- prenote:
-- postnote:
-- name: smith04
-END cite
-interblockSeparator
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: doe99
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote: pp.(nbsp)33-35
-- name: doe99
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap.(nbsp)1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END textCite
-BEGIN textCite
-- suppressAuthor: true
-- prenote:
-- postnote:
-- name: doe99
-END textCite
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-no-nbsps.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-no-nbsps.test
deleted file mode 100644
index bc5b70c0d0..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-no-nbsps.test
+++ /dev/null
@@ -1,85 +0,0 @@
-\def\markdownOptionCitations{true}
-\def\markdownOptionCitationNbsps{false}
-<<<
-This test ensures that the Lua `citations` and `citationNbsps` options correctly
-propagate through the plain TeX interface.
-
-Here is a simple parenthetical citation [@doe99] and here
-is a string of several [see @doe99, pp. 33-35; also
-@smit:.#$%&-+?<>_/h04, chap. 1].
-
-A parenthetical citation can have a [prenote @doe99] and
-a [@smith04 postnote]. The name of the author can be
-suppressed by inserting a dash before the name of an
-author as follows [-@smith04].
-
-Here is a simple text citation @doe99 and here is a
-string of several @doe99 [pp. 33-35; also
-@smit:.#$%&-+?<>_/h04, chap. 1]. Here is one with the
-name of the author suppressed -@doe99.
->>>
-codeSpan: citations
-codeSpan: citationNbsps
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: see
-- postnote: pp. 33-35
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap. 1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END cite
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote: prenote
-- postnote:
-- name: doe99
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote: postnote
-- name: smith04
-END cite
-BEGIN cite
-- suppressAuthor: true
-- prenote:
-- postnote:
-- name: smith04
-END cite
-interblockSeparator
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: doe99
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote: pp. 33-35
-- name: doe99
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote: also
-- postnote: chap. 1
-- name: smit:.(hash)$(percentSign)&-+?<>_/h04
-END textCite
-BEGIN textCite
-- suppressAuthor: true
-- prenote:
-- postnote:
-- name: doe99
-END textCite
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-trailing-punctuation.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-trailing-punctuation.test
deleted file mode 100644
index 3063b324e9..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/citations-trailing-punctuation.test
+++ /dev/null
@@ -1,115 +0,0 @@
-\def\markdownOptionCitations{true}
-<<<
-This test ensures that the Lua `citations` option correctly propagates through
-the plain TeX interface and that the trailing punctuation does not get included
-in the citation name.
-
-[@f] [@f:] [@foo:bar] [@foo:bar:]
-
-[@_] [@f_] [@foo_bar] [@foo_bar_]
-
- @f @f: @foo:bar @foo:bar:
-
- @_ @f_ @foo_bar @foo_bar_
->>>
-codeSpan: citations
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo:bar
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo:bar
-END cite
-interblockSeparator
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: _
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f_
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo_bar
-END cite
-BEGIN cite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo_bar_
-END cite
-interblockSeparator
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo:bar
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo:bar
-END textCite
-interblockSeparator
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: _
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: f_
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo_bar
-END textCite
-BEGIN textCite
-- suppressAuthor: false
-- prenote:
-- postnote:
-- name: foo_bar_
-END textCite
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test
deleted file mode 100644
index 545be6893d..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test
+++ /dev/null
@@ -1,16 +0,0 @@
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionContentBlocksLanguageMap{markdown-languages-nonstandard.json}
-<<<
-This test ensures that the Lua `contentBlockLanguages` option correctly
-propagates through the plain TeX interface.
-
-/basename.WEIRDextension (title)
->>>
-codeSpan: contentBlockLanguages
-interblockSeparator
-BEGIN contentBlockCode
-- suffix: weirdextension
-- language: weirdLANGUAGE
-- URI: basename.WEIRDextension
-- title: title
-END contentBlockCode
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks.test
deleted file mode 100644
index 60b460fbf9..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks.test
+++ /dev/null
@@ -1,64 +0,0 @@
-\def\markdownOptionContentBlocks{true}
-<<<
-This test ensures that the Lua `contentBlocks` option correctly propagates
-through the plain TeX interface.
-/not/a/translusion.md
-
-/not/a/
-transclusion/either.md
-
-<http://example.com/minard.jpg>
-<http://example.com/minard.jpg> <-- This is just a link.
-
-htt(p:/)/exam(ple.c)om/m\(inard.jpg (Napoleon's disastrous Russian campaign of 1812)
-/Flowchart.png "Engineering Flowchart"
-
-/Savings Account.csv 'Recent Transactions'
-/Example.jS (Source code)
-/Lorem Ipsum.txt
->>>
-codeSpan: contentBlocks
-interblockSeparator
-interblockSeparator
-BEGIN contentBlockOnlineImage
-- suffix: jpg
-- URI: http://example.com/minard.jpg
-- title:
-END contentBlockOnlineImage
-interblockSeparator
-BEGIN link
-- label: http://example.com/minard.jpg
-- URI: http://example.com/minard.jpg
-- title:
-END link
-interblockSeparator
-BEGIN contentBlockOnlineImage
-- suffix: jpg
-- URI: htt(p:/)/exam(ple.c)om/m(inard.jpg
-- title: Napoleon's disastrous Russian campaign of 1812
-END contentBlockOnlineImage
-interblockSeparator
-BEGIN contentBlock
-- suffix: png
-- URI: Flowchart.png
-- title: Engineering Flowchart
-END contentBlock
-interblockSeparator
-BEGIN contentBlock
-- suffix: csv
-- URI: Savings Account.csv
-- title: Recent Transactions
-END contentBlock
-interblockSeparator
-BEGIN contentBlockCode
-- suffix: js
-- language: JavaScript
-- URI: Example.jS
-- title: Source code
-END contentBlockCode
-interblockSeparator
-BEGIN contentBlock
-- suffix: txt
-- URI: Lorem Ipsum.txt
-- title:
-END contentBlock
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/empty-code-spans.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/empty-code-spans.test
deleted file mode 100644
index cd69efae60..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/empty-code-spans.test
+++ /dev/null
@@ -1,24 +0,0 @@
-<<<
-These are just two backticks:
-
-``
-
-These are empty code spans:
-
-` `
-
-` `
-
-This is a code span containing a single space:
-
-` `
->>>
-interblockSeparator
-interblockSeparator
-interblockSeparator
-codeSpan:
-interblockSeparator
-codeSpan:
-interblockSeparator
-interblockSeparator
-codeSpan:
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/fenced-code.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/fenced-code.test
deleted file mode 100644
index 2efe132ad1..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/fenced-code.test
+++ /dev/null
@@ -1,27 +0,0 @@
-\def\markdownOptionFencedCode{true}
-<<<
-This test ensures that the Lua `fencedCode` option correctly propagates through
-the plain TeX interface.
-
-The following fenced code blocks should be recognized as such.
-
-``` foo
-bar
-```
-
-~~~ foo
-bar
-~~~
->>>
-codeSpan: fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/header-attributes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/header-attributes.test
deleted file mode 100644
index 3da7ac7a7d..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/header-attributes.test
+++ /dev/null
@@ -1,37 +0,0 @@
-\def\markdownOptionHeaderAttributes{true}
-<<<
-This test ensures that the Lua `headerAttributes` option correctly propagates
-through the plain TeX interface.
-
-# A level one heading {#first-id}
-
-A level one heading {#second_id2}
-=================================
-
-## A level two heading ### {#third-3id .a-class}
-
-A level two heading {#fourth4-id .2not-a-class}
------------------------------------------------
-
-### A level three heading ## {#5not-the-fifth-id}
-#### A level four heading {#-6not-the-sixth-id}
-##### A level five heading ## {#--7the-seventh-id}
-###### A level six heading {#-_the-eighth-id attribute=value}
->>>
-codeSpan: headerAttributes
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingTwo: A level two heading
-interblockSeparator
-headingTwo: A level two heading (leftBrace)(hash)fourth4-id .2not-a-class(rightBrace)
-interblockSeparator
-headingThree: A level three heading (hash)(hash) (leftBrace)(hash)5not-the-fifth-id(rightBrace)
-interblockSeparator
-headingFour: A level four heading (leftBrace)(hash)-6not-the-sixth-id(rightBrace)
-interblockSeparator
-headingFive: A level five heading
-interblockSeparator
-headingSix: A level six heading
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test
deleted file mode 100644
index 1975c5b221..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test
+++ /dev/null
@@ -1,53 +0,0 @@
-\def\markdownOptionHtml{true}
-<<<
-This test ensures that the Lua `html` option correctly propagates through
-the plain TeX interface.
-
-<div>
-*There is block tag support.*
-</div>
-*There is <inline tag="tag"></inline> support.*
-_There is <!-- comment --> support._
-_There is <? HTML instruction ?> support._
-
-Here are several ways to write a pipe:
-
-- |
-- &verbar;
-- &vert;
-- &VerticalLine;
-- &#x0007C;
-- &#124;
-
-Unrecognized character entities are ignored: &nonsense;
->>>
-codeSpan: html
-interblockSeparator
-interblockSeparator
-emphasis: There is support.
-emphasis: There is support.
-emphasis: There is support.
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-pipe
-ulItemEnd
-ulItem
-pipe
-ulItemEnd
-ulItem
-pipe
-ulItemEnd
-ulItem
-pipe
-ulItemEnd
-ulItem
-pipe
-ulItemEnd
-ulItem
-pipe
-ulItemEnd
-ulEndTight
-interblockSeparator
-ampersand
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test
deleted file mode 100644
index a82ba1aa1b..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test
+++ /dev/null
@@ -1,43 +0,0 @@
-\def\markdownOptionHybrid{true}
-<<<
-This test ensures that the Lua `hybrid` option correctly propagates through
-the plain TeX interface. The following special characters should not be
-processed by lunamark in any way.
-
- * \char`{
- * \char`}
- * \char`$
- * \char`\%
- * \char`&
- * \char`_
- * \char`#
- * \char`^
- * \char`\
- * \char`~
- * \char`|
->>>
-codeSpan: hybrid
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test
deleted file mode 100644
index 28ecb568b3..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test
+++ /dev/null
@@ -1,17 +0,0 @@
-\def\markdownOptionInlineFootnotes{true}
-<<<
-This test ensures that the Lua `footnotes` and `inlineFootnotes` options
-correctly propagate through the plain TeX interface.
-
-^[Here is the footnote. It can go anywhere after the footnote
-reference. It need *not* be placed at the end of the document.]
-
-\^[This should *not* be a footnote, because it has been escaped.]
->>>
-codeSpan: footnotes
-codeSpan: inlineFootnotes
-interblockSeparator
-footnote: Here is the footnote. It can go anywhere after the footnote reference. It need (emphasis: not) be placed at the end of the document.
-interblockSeparator
-circumflex
-emphasis: not
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-blank-before-code-fence.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-blank-before-code-fence.test
deleted file mode 100644
index fbe81311a3..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-blank-before-code-fence.test
+++ /dev/null
@@ -1,57 +0,0 @@
-\def\markdownOptionFencedCode{true}
-<<<
-This test ensures that the Lua `fencedCode` option correctly propagates through
-the plain TeX interface and that the Lua `blankBeforeCodeFence` option is
-disabled by default.
-
-The following fenced code blocks should be recognized as such.
-
-foo
-``` foo
-bar
-```
-
-foo
-~~~ foo
-bar
-~~~
-
-foo
-
-``` foo
-bar
-```
-
-foo
-
-~~~ foo
-bar
-~~~
->>>
-codeSpan: fencedCode
-codeSpan: blankBeforeCodeFence
-interblockSeparator
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/c157a79031e1c40f85931829bc5fc552.verbatim
-- infostring: foo
-END fencedCode
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-breakable-blockquotes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-breakable-blockquotes.test
deleted file mode 100644
index d65cbef728..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-breakable-blockquotes.test
+++ /dev/null
@@ -1,15 +0,0 @@
-<<<
-This test ensures that the Lua `breakableBlockquotes` option is disabled by
-default.
-
-> *quote 1*
-
-> *quote 2*
-
->>>
-codeSpan: breakableBlockquotes
-interblockSeparator
-blockQuoteBegin
-emphasis: quote 1
-emphasis: quote 2
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-citations.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-citations.test
deleted file mode 100644
index 811c8aed35..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-citations.test
+++ /dev/null
@@ -1,31 +0,0 @@
-<<<
-This test ensures that the Lua `citations` option is disabled by default.
-
-Here is a simple parenthetical citation [@doe99] and here
-is a string of several [see @doe99, pp. 33-35; also
-@smit:.#$%&-+?<>~/h04, chap. 1].
-
-A parenthetical citation can have a [prenote @doe99] and
-a [@smith04 postnote]. The name of the author can be
-suppressed by inserting a dash before the name of an
-author as follows [-@smith04].
-
-Here is a simple text citation @doe99 and here is a
-string of several @doe99 [pp. 33-35; also
-@smit:.#$%&-+?<>~/h04, chap. 1]. Here is one with the
-name of the author suppressed -@doe99.
->>>
-codeSpan: citations
-interblockSeparator
-hash
-dollarSign
-percentSign
-ampersand
-tilde
-interblockSeparator
-interblockSeparator
-hash
-dollarSign
-percentSign
-ampersand
-tilde
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-code-spans.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-code-spans.test
deleted file mode 100644
index de24f9db29..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-code-spans.test
+++ /dev/null
@@ -1,9 +0,0 @@
-\def\markdownOptionCodeSpans{false}
-<<<
-This test ensures that the Lua `codeSpans` option correctly propagates through
-the plain TeX interface.
-
-``This is a quote.''
-``This is another one.''
->>>
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-content-blocks.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-content-blocks.test
deleted file mode 100644
index ed814a3071..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-content-blocks.test
+++ /dev/null
@@ -1,32 +0,0 @@
-<<<
-This test ensures that the Lua `contentBlocks` option is disabled by default.
-/not/a/translusion.md
-
-/not/a/
-transclusion/either.md
-
-<http://example.com/minard.jpg>
-<http://example.com/minard.jpg> <-- This is just a link.
-
-htt(p:/)/exam(ple.c)om/m\(inard.jpg (Napoleon's disastrous Russian campaign of 1812)
-/Flowchart.png "Engineering Flowchart"
-
-/Savings Account.csv 'Recent Transactions'
-/Example.swift (Source code)
-/Lorem Ipsum.txt
->>>
-codeSpan: contentBlocks
-interblockSeparator
-interblockSeparator
-BEGIN link
-- label: http://example.com/minard.jpg
-- URI: http://example.com/minard.jpg
-- title:
-END link
-BEGIN link
-- label: http://example.com/minard.jpg
-- URI: http://example.com/minard.jpg
-- title:
-END link
-interblockSeparator
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test
deleted file mode 100644
index aab1caa4fb..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test
+++ /dev/null
@@ -1,22 +0,0 @@
-<<<
-This test ensures that the Lua `fencedCode` option is disabled by default. The
-following fenced code block should resolve to a code spans.
-
-``` foo
-bar
-```
-
-~~~ foo
-bar
-~~~
->>>
-codeSpan: fencedCode
-interblockSeparator
-codeSpan: foo bar
-interblockSeparator
-tilde
-tilde
-tilde
-tilde
-tilde
-tilde
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-header-attributes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-header-attributes.test
deleted file mode 100644
index ba752d6e8d..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-header-attributes.test
+++ /dev/null
@@ -1,35 +0,0 @@
-<<<
-This test ensures that the Lua `headerAttributes` option is disabled by default.
-
-# A level one heading {#first-id}
-
-A level one heading {#second_id2}
-=================================
-
-## A level two heading ### {#third-3id .a-class}
-
-A level two heading {#fourth4-id .2not-a-class}
------------------------------------------------
-
-### A level three heading ## {#5not-the-fifth-id}
-#### A level four heading {#-6not-the-sixth-id}
-##### A level five heading ## {#--7the-seventh-id}
-###### A level six heading {#-_the-eighth-id attribute=value}
->>>
-codeSpan: headerAttributes
-interblockSeparator
-headingOne: A level one heading (leftBrace)(hash)first-id(rightBrace)
-interblockSeparator
-headingOne: A level one heading (leftBrace)(hash)second(underscore)id2(rightBrace)
-interblockSeparator
-headingTwo: A level two heading (hash)(hash)(hash) (leftBrace)(hash)third-3id .a-class(rightBrace)
-interblockSeparator
-headingTwo: A level two heading (leftBrace)(hash)fourth4-id .2not-a-class(rightBrace)
-interblockSeparator
-headingThree: A level three heading (hash)(hash) (leftBrace)(hash)5not-the-fifth-id(rightBrace)
-interblockSeparator
-headingFour: A level four heading (leftBrace)(hash)-6not-the-sixth-id(rightBrace)
-interblockSeparator
-headingFive: A level five heading (hash)(hash) (leftBrace)(hash)--7the-seventh-id(rightBrace)
-interblockSeparator
-headingSix: A level six heading (leftBrace)(hash)-(underscore)the-eighth-id attribute=value(rightBrace)
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-html.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-html.test
deleted file mode 100644
index cf1763f854..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-html.test
+++ /dev/null
@@ -1,53 +0,0 @@
-<<<
-This test ensures that the Lua `html` option is disabled by default.
-
-<div>
-*There is no block tag support.*
-</div>
-*There is no <inline tag="tag"></inline> support.*
-_There is no <!-- comment --> support._
-_There is no <? HTML instruction ?> support._
-
-Here are several ways to write a pipe:
-
-- |
-- &verbar;
-- &vert;
-- &VerticalLine;
-- &#x0007C;
-- &#124;
-
-Unrecognized character entities are ignored: &nonsense;
->>>
-codeSpan: html
-interblockSeparator
-emphasis: There is no block tag support.
-emphasis: There is no <inline tag="tag"></inline> support.
-emphasis: There is no <!-- comment --> support.
-emphasis: There is no <? HTML instruction ?> support.
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-pipe
-ulItemEnd
-ulItem
-ampersand
-ulItemEnd
-ulItem
-ampersand
-ulItemEnd
-ulItem
-ampersand
-ulItemEnd
-ulItem
-ampersand
-hash
-ulItemEnd
-ulItem
-ampersand
-hash
-ulItemEnd
-ulEndTight
-interblockSeparator
-ampersand
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-hybrid.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-hybrid.test
deleted file mode 100644
index d1f3100921..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-hybrid.test
+++ /dev/null
@@ -1,65 +0,0 @@
-<<<
-This test ensures that the Lua `hybrid` option is disabled by default. The
-following special characters should be processed by lunamark.
-
- * \char`{
- * \char`}
- * \char`$
- * \char`\%
- * \char`&
- * \char`_
- * \char`#
- * \char`^
- * \char`\
- * \char`~
- * \char`|
->>>
-codeSpan: hybrid
-interblockSeparator
-ulBeginTight
-ulItem
-backslash
-leftBrace
-ulItemEnd
-ulItem
-backslash
-rightBrace
-ulItemEnd
-ulItem
-backslash
-dollarSign
-ulItemEnd
-ulItem
-backslash
-backslash
-percentSign
-ulItemEnd
-ulItem
-backslash
-ampersand
-ulItemEnd
-ulItem
-backslash
-underscore
-ulItemEnd
-ulItem
-backslash
-hash
-ulItemEnd
-ulItem
-backslash
-circumflex
-ulItemEnd
-ulItem
-backslash
-backslash
-ulItemEnd
-ulItem
-backslash
-tilde
-ulItemEnd
-ulItem
-backslash
-pipe
-ulItemEnd
-ulEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-inline-footnotes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-inline-footnotes.test
deleted file mode 100644
index 52053b3393..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-inline-footnotes.test
+++ /dev/null
@@ -1,16 +0,0 @@
-<<<
-This test ensures that the Lua `inlineFootnotes` option is disabled by default.
-The following inline footnotes should resolve to footnotes.
-
-^[Here is the footnote. It can go anywhere after the footnote
-reference. It need *not* be placed at the end of the document.]
-
-\^[This should *not* be a footnote, because it has been escaped.]
->>>
-codeSpan: inlineFootnotes
-interblockSeparator
-circumflex
-emphasis: not
-interblockSeparator
-circumflex
-emphasis: not
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-pipe-tables.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-pipe-tables.test
deleted file mode 100644
index ef1545c2fc..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-pipe-tables.test
+++ /dev/null
@@ -1,41 +0,0 @@
-<<<
-This test ensures that the Lua `pipeTables` option is disabled by default.
-
-| Right | *Left* | Default | Center |
-|------:|:-------|-------------|:------:|
-| 12 | 12 | 12 | 12 |
-| 123 | 123 | **123** | 123 |
-| 1 | 1 | 1 | 1 |
-
- : Demonstration of pipe table syntax.
->>>
-codeSpan: pipeTables
-interblockSeparator
-pipe
-pipe
-emphasis: Left
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-strongEmphasis: 123
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-pipe
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-shift-headings.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-shift-headings.test
deleted file mode 100644
index 35c21a73d1..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-shift-headings.test
+++ /dev/null
@@ -1,35 +0,0 @@
-<<<
-This test ensures that the Lua `shiftHeadings` option is disabled by default.
-
-# A level one heading
-
-A level one heading
-===================
-
-## A level two heading
-
-A level two heading
--------------------
-
-### A level three heading
-#### A level four heading
-##### A level five heading
-###### A level six heading
->>>
-codeSpan: shiftHeadings
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingTwo: A level two heading
-interblockSeparator
-headingTwo: A level two heading
-interblockSeparator
-headingThree: A level three heading
-interblockSeparator
-headingFour: A level four heading
-interblockSeparator
-headingFive: A level five heading
-interblockSeparator
-headingSix: A level six heading
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-slice.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-slice.test
deleted file mode 100644
index 130042e81f..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-slice.test
+++ /dev/null
@@ -1,251 +0,0 @@
-\def\markdownOptionHeaderAttributes{true}
-<<<
-This test ensures that the Lua `slice` option processes the entire document by
-default.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
-codeSpan: slice
-interblockSeparator
-headingOne: This is an H1
-interblockSeparator
-headingTwo: This is an H2
-interblockSeparator
-headingThree: This is an H3
-interblockSeparator
-headingFour: This is an H4
-interblockSeparator
-headingFive: This is an H5
-interblockSeparator
-headingSix: This is an H6
-interblockSeparator
-interblockSeparator
-horizontalRule
-interblockSeparator
-codeSpan: code
-BEGIN link
-- label: link
-- URI: http://google.cz
-- title: Google
-END link
-emphasis: This is an (emphasis: emphasized) span of text
-strongEmphasis: This is a (strongEmphasis: strongly emphasized) span of text
-interblockSeparator
-BEGIN image
-- label: example image
-- URI: example-image.pdf
-- title: An example image from Martin Scharrer's mwe package
-END image
-interblockSeparator
-interblockSeparator
-interblockSeparator
-codeSpan: latex (backslash)documentclass(leftBrace)article(rightBrace) (backslash)begin(leftBrace)document(rightBrace) Hello world! (backslash)end(leftBrace)document(rightBrace)
-interblockSeparator
-headingTwo: This is an H2
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-interblockSeparator
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 5
-interblockSeparator
-olItemEnd
-olItemWithNumber: 6
-olItemEnd
-olItemWithNumber: 7
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-hash
-interblockSeparator
-inputVerbatim: ./_markdown_test/484324226416f8957283b25427f6a56e.verbatim
-interblockSeparator
-hash
-hash
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 5
-olItemEnd
-olItemWithNumber: 6
-olItemEnd
-olItemWithNumber: 7
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-hash
-hash
-hash
-interblockSeparator
-interblockSeparator
-interblockSeparator
-interblockSeparator
-emphasis: Term 2
-interblockSeparator
-interblockSeparator
-inputVerbatim: ./_markdown_test/75062d55efa99b0f4cb94891f3745f93.verbatim
-interblockSeparator
-interblockSeparator
-interblockSeparator
-emphasis: Term 2
-interblockSeparator
-headingTwo: This is an H2
-interblockSeparator
-interblockSeparator
-blockQuoteBegin
-interblockSeparator
-blockQuoteBegin
-blockQuoteEnd
-interblockSeparator
-blockQuoteEnd
-interblockSeparator
-circumflex
-circumflex
-circumflex
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-start-number.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-start-number.test
deleted file mode 100644
index 49e03d7653..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-start-number.test
+++ /dev/null
@@ -1,41 +0,0 @@
-\def\markdownOptionStartNumber{false}
-<<<
-This test ensures that the Lua `startNumber` option correctly propagates
-through the plain TeX interface. The following lists should not receive
-any starting number.
-
-Tight:
-
-3. three
-4. four
-5. five
-
-Loose:
-
-3. three
-
-4. four
-
-5. five
->>>
-codeSpan: startNumber
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItem
-olItemEnd
-olItem
-olItemEnd
-olItem
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItem
-olItemEnd
-olItem
-olItemEnd
-olItem
-olItemEnd
-olEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-strip-percent-signs.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-strip-percent-signs.test
deleted file mode 100644
index a077a44db7..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-strip-percent-signs.test
+++ /dev/null
@@ -1,10 +0,0 @@
-<<<
-This test ensures that the plain TeX `stripPercentSigns` option is disabled by
-default.
-
-The following emphasized text *should contain the percent sign at the
-% beginning of the line*.
->>>
-codeSpan: stripPercentSigns
-interblockSeparator
-emphasis: should contain the percent sign at the (percentSign) beginning of the line
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-table-captions.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-table-captions.test
deleted file mode 100644
index 7bcab8e5b3..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-table-captions.test
+++ /dev/null
@@ -1,79 +0,0 @@
-\def\markdownOptionPipeTables{true}
-<<<
-This test ensures that the Lua `tableCaptions` option is disabled by
-default.
-
-| Right | *Left* | Default | Center |
-|------:|:-------|-------------|:------:|
-| 12 | 12 | 12 | 12 |
-| 123 | 123 | **123** | 123 |
-| 1 | 1 | 1 | 1 |
-
- : Demonstration of *pipe table* syntax with the caption spreading over
- multiple lines.
-
-| Right | *Left* | Default | Center |
-|------:|:-------|-------------|:------:|
-| 12 | 12 | 12 | 12 |
-| 123 | 123 | **123** | 123 |
-| 1 | 1 | 1 | 1 |
-
- Table: Demonstration of *pipe table* syntax with the caption spreading over
- multiple lines.
-
-A caption may not span multiple paragraphs.
->>>
-codeSpan: tableCaptions
-interblockSeparator
-BEGIN table (4 rows, 4 columns)
-- caption:
-- alignment of column 1: r
-- alignment of column 2: l
-- alignment of column 3: d
-- alignment of column 4: c
-- row 1, column 1: Right
-- row 1, column 2: (emphasis: Left)
-- row 1, column 3: Default
-- row 1, column 4: Center
-- row 2, column 1: 12
-- row 2, column 2: 12
-- row 2, column 3: 12
-- row 2, column 4: 12
-- row 3, column 1: 123
-- row 3, column 2: 123
-- row 3, column 3: (strongEmphasis: 123)
-- row 3, column 4: 123
-- row 4, column 1: 1
-- row 4, column 2: 1
-- row 4, column 3: 1
-- row 4, column 4: 1
-END table
-interblockSeparator
-emphasis: pipe table
-interblockSeparator
-BEGIN table (4 rows, 4 columns)
-- caption:
-- alignment of column 1: r
-- alignment of column 2: l
-- alignment of column 3: d
-- alignment of column 4: c
-- row 1, column 1: Right
-- row 1, column 2: (emphasis: Left)
-- row 1, column 3: Default
-- row 1, column 4: Center
-- row 2, column 1: 12
-- row 2, column 2: 12
-- row 2, column 3: 12
-- row 2, column 4: 12
-- row 3, column 1: 123
-- row 3, column 2: 123
-- row 3, column 3: (strongEmphasis: 123)
-- row 3, column 4: 123
-- row 4, column 1: 1
-- row 4, column 2: 1
-- row 4, column 3: 1
-- row 4, column 4: 1
-END table
-interblockSeparator
-emphasis: pipe table
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test
deleted file mode 100644
index 446eb681fc..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test
+++ /dev/null
@@ -1,19 +0,0 @@
-\def\markdownOptionTightLists{false}
-<<<
-This test ensures that the Lua `tightLists` option correctly propagates
-through the plain TeX interface. The following list should be regular.
-
-3. three
-4. four
-5. five
->>>
-codeSpan: tightLists
-interblockSeparator
-olBegin
-olItemWithNumber: 3
-olItemEnd
-olItemWithNumber: 4
-olItemEnd
-olItemWithNumber: 5
-olItemEnd
-olEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test
deleted file mode 100644
index 6e24e3c6d0..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test
+++ /dev/null
@@ -1,15 +0,0 @@
-\def\markdownOptionUnderscores{false}
-\def\markdownOptionHybrid{true}
-<<<
-This test ensures that the Lua `underscores` option correctly propagates
-through the plain TeX interface.
-
-This is a math expression: $\sqrt{\sum_{i=0}^n (a_i + b_i)^2}$.
-\begingroup\catcode`\_=12
-This __is no__ strongly emphasized span of text.
-This **is** a strongly emphasized span of text.
-\endgroup
->>>
-codeSpan: underscores
-interblockSeparator
-strongEmphasis: is
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-backwards.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-backwards.test
deleted file mode 100644
index 127658d479..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-backwards.test
+++ /dev/null
@@ -1,37 +0,0 @@
-\def\markdownOptionShiftHeadings{-2}
-<<<
-This test ensures that the Lua `shiftHeadings` option correctly propagates
-through the plain TeX interface.
-
-# A level one heading
-
-A level one heading
-===================
-
-## A level two heading
-
-A level two heading
--------------------
-
-### A level three heading
-#### A level four heading
-##### A level five heading
-###### A level six heading
->>>
-codeSpan: shiftHeadings
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingOne: A level one heading
-interblockSeparator
-headingOne: A level two heading
-interblockSeparator
-headingOne: A level two heading
-interblockSeparator
-headingOne: A level three heading
-interblockSeparator
-headingTwo: A level four heading
-interblockSeparator
-headingThree: A level five heading
-interblockSeparator
-headingFour: A level six heading
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-forward.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-forward.test
deleted file mode 100644
index f38f9d44e9..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/shift-headings-forward.test
+++ /dev/null
@@ -1,37 +0,0 @@
-\def\markdownOptionShiftHeadings{2}
-<<<
-This test ensures that the Lua `shiftHeadings` option correctly propagates
-through the plain TeX interface.
-
-# A level one heading
-
-A level one heading
-===================
-
-## A level two heading
-
-A level two heading
--------------------
-
-### A level three heading
-#### A level four heading
-##### A level five heading
-###### A level six heading
->>>
-codeSpan: shiftHeadings
-interblockSeparator
-headingThree: A level one heading
-interblockSeparator
-headingThree: A level one heading
-interblockSeparator
-headingFour: A level two heading
-interblockSeparator
-headingFour: A level two heading
-interblockSeparator
-headingFive: A level three heading
-interblockSeparator
-headingSix: A level four heading
-interblockSeparator
-headingSix: A level five heading
-interblockSeparator
-headingSix: A level six heading
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-conclusion.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-conclusion.test
deleted file mode 100644
index affb0a44c3..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-conclusion.test
+++ /dev/null
@@ -1,155 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionSlice{$second-h2 $}
-<<<
-This test ensures that the Lua `slice` option correctly propagates through the
-plain TeX interface.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
-headingTwo: This is an H2
-interblockSeparator
-interblockSeparator
-blockQuoteBegin
-interblockSeparator
-blockQuoteBegin
-blockQuoteEnd
-interblockSeparator
-blockQuoteEnd
-interblockSeparator
-footnote: Here is the footnote.
-footnote: Here's one with multiple blocks.(interblockSeparator)Subsequent paragraphs are indented to show that they belong to the previous footnote.(interblockSeparator)(inputVerbatim: ./_markdown_test/384313ed77c3960a536af8343b57216d.verbatim)(interblockSeparator)The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.
-footnote: Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-existing-section.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-existing-section.test
deleted file mode 100644
index d291815912..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-existing-section.test
+++ /dev/null
@@ -1,182 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionSlice{first-h2}
-<<<
-This test ensures that the Lua `slice` option correctly propagates through the
-plain TeX interface.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
-headingTwo: This is an H2
-interblockSeparator
-headingThree: This is an H3
-interblockSeparator
-headingFour: This is an H4
-interblockSeparator
-headingFive: This is an H5
-interblockSeparator
-headingSix: This is an H6
-interblockSeparator
-ellipsis
-interblockSeparator
-horizontalRule
-interblockSeparator
-codeSpan: code
-BEGIN link
-- label: link
-- URI: http://google.cz
-- title: Google
-END link
-emphasis: This is an (emphasis: emphasized) span of text
-strongEmphasis: This is a (strongEmphasis: strongly emphasized) span of text
-interblockSeparator
-BEGIN image
-- label: example image
-- URI: example-image.pdf
-- title: An example image from Martin Scharrer's mwe package
-END image
-interblockSeparator
-BEGIN contentBlock
-- suffix: csv
-- URI: scientists.csv
-- title: The great minds of the 19th century rendered via a content block
-END contentBlock
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/5ccbfd8d1e383aae968fc8c9b1412c8e.verbatim
-- infostring: latex
-END fencedCode
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-nonexisting-section.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-nonexisting-section.test
deleted file mode 100644
index d2a7cd5b8e..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-nonexisting-section.test
+++ /dev/null
@@ -1,141 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionSlice{third-h2}
-<<<
-This test ensures that the Lua `slice` option correctly propagates through the
-plain TeX interface.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-preface.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-preface.test
deleted file mode 100644
index 1891c5ecad..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-preface.test
+++ /dev/null
@@ -1,148 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionSlice{^ ^first-h2}
-<<<
-This test ensures that the Lua `slice` option correctly propagates through the
-plain TeX interface.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
->
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
-codeSpan: slice
-interblockSeparator
-headingOne: This is an H1
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-two-sections.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-two-sections.test
deleted file mode 100644
index d202fd3e42..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/slice-two-sections.test
+++ /dev/null
@@ -1,278 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionHeaderAttributes{true}
-\def\markdownOptionSlice{first-h2 second-h2}
-<<<
-This test ensures that the Lua `slice` option correctly propagates through the
-plain TeX interface.
-
-This is an H1
-=============
-
-This is an H2 {#first-h2}
--------------
-
-### This is an H3
-#### This is an H4
-##### This is an H5
-###### This is an H6
-
-This is a text paragraph containing an ellipsis ... and followed by a horizontal rule.
-
-***
-
-This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.
-
- ![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")
-
- /scientists.csv (The great minds of the 19th century rendered via a content block)
-
-This is a fenced code block:
-
-``` latex
-\documentclass{article}
-\begin{document}
- Hello world!
-\end{document}
-```
-
-This is an H2 {#second-h2}
--------------
-
-This is a bullet list:
-
- * The first item of a bullet list
-
- that spans several paragraphs,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is a compact bullet list:
-
- * The first item of a bullet list,
- * the second item of a bullet list,
- * the third item of a bullet list.
-
-This is an ordered list:
-
- 5. The first item of an ordered list
-
- that spans several paragraphs,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is an ordered list using hash enumerators:
-
- #. The first item of an ordered list
-
- that spans several paragraphs,
- #. the second item of an ordered list,
- #. the third item of an ordered list.
-
-This is a compact ordered list:
-
- 5. The first item of an ordered list,
- 6. the second item of an ordered list,
- 7. the third item of an ordered list.
-
-This is a compact 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 definition list:
-
-Term 1
-
-: Definition 1
-
-*Term 2*
-
-: Definition 2
-
- Some code, part of Definition 2
-
- Third paragraph of Definition 2.
-
-: Definition 3
-
-This is a compact definition list:
-
-Term 1
-: Definition 1
-*Term 2*
-: Definition 2
-: Definition 3
-
-This is an H2
--------------
-
-This is a block quote:
-
-> This is the first level of quoting.
->
-> > This is nested blockquote.
->
-> Back to the first level.
-
-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.
-
-[^longnote]: Here's one with multiple blocks.
-
- Subsequent paragraphs are indented to show that they
-belong to the previous footnote.
-
- Some code
-
- The whole paragraph can be indented, or just the first
- line. In this way, multi-paragraph footnotes work like
- multi-paragraph list items.
->>>
-headingTwo: This is an H2
-interblockSeparator
-headingThree: This is an H3
-interblockSeparator
-headingFour: This is an H4
-interblockSeparator
-headingFive: This is an H5
-interblockSeparator
-headingSix: This is an H6
-interblockSeparator
-ellipsis
-interblockSeparator
-horizontalRule
-interblockSeparator
-codeSpan: code
-BEGIN link
-- label: link
-- URI: http://google.cz
-- title: Google
-END link
-emphasis: This is an (emphasis: emphasized) span of text
-strongEmphasis: This is a (strongEmphasis: strongly emphasized) span of text
-interblockSeparator
-BEGIN image
-- label: example image
-- URI: example-image.pdf
-- title: An example image from Martin Scharrer's mwe package
-END image
-interblockSeparator
-BEGIN contentBlock
-- suffix: csv
-- URI: scientists.csv
-- title: The great minds of the 19th century rendered via a content block
-END contentBlock
-interblockSeparator
-interblockSeparator
-BEGIN fencedCode
-- src: ./_markdown_test/5ccbfd8d1e383aae968fc8c9b1412c8e.verbatim
-- infostring: latex
-END fencedCode
-interblockSeparator
-headingTwo: This is an H2
-interblockSeparator
-interblockSeparator
-ulBegin
-ulItem
-interblockSeparator
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEnd
-interblockSeparator
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 5
-interblockSeparator
-olItemEnd
-olItemWithNumber: 6
-olItemEnd
-olItemWithNumber: 7
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 1
-interblockSeparator
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEnd
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 5
-olItemEnd
-olItemWithNumber: 6
-olItemEnd
-olItemWithNumber: 7
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olItemWithNumber: 3
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-dlBegin
-dlItem: Term 1
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: (emphasis: Term 2)
-dlDefinitionBegin
-interblockSeparator
-inputVerbatim: ./_markdown_test/341d9e6b078ab6ffb77652958c88c4ef.verbatim
-interblockSeparator
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEnd
-interblockSeparator
-interblockSeparator
-dlBeginTight
-dlItem: Term 1
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: (emphasis: Term 2)
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEndTight
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/start-number.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/start-number.test
deleted file mode 100644
index 8f0245016f..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/start-number.test
+++ /dev/null
@@ -1,39 +0,0 @@
-<<<
-This test ensures that the Lua `startNumber` option is enabled by default. The
-following lists should start with number three.
-
-Tight:
-
-3. three
-4. four
-5. five
-
-Loose:
-
-3. three
-
-4. four
-
-5. five
->>>
-codeSpan: startNumber
-interblockSeparator
-interblockSeparator
-olBeginTight
-olItemWithNumber: 3
-olItemEnd
-olItemWithNumber: 4
-olItemEnd
-olItemWithNumber: 5
-olItemEnd
-olEndTight
-interblockSeparator
-interblockSeparator
-olBegin
-olItemWithNumber: 3
-olItemEnd
-olItemWithNumber: 4
-olItemEnd
-olItemWithNumber: 5
-olItemEnd
-olEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/table-captions.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/table-captions.test
deleted file mode 100644
index 11db7c69e6..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/table-captions.test
+++ /dev/null
@@ -1,76 +0,0 @@
-\def\markdownOptionPipeTables{true}
-\def\markdownOptionTableCaptions{true}
-<<<
-This test ensures that the Lua `tableCaptions` option correctly propagates
-through the plain TeX interface.
-
-| Right | *Left* | Default | Center |
-|------:|:-------|-------------|:------:|
-| 12 | 12 | 12 | 12 |
-| 123 | 123 | **123** | 123 |
-| 1 | 1 | 1 | 1 |
-
- : Demonstration of *pipe table* syntax with the caption spreading over
- multiple lines.
-
-| Right | *Left* | Default | Center |
-|------:|:-------|-------------|:------:|
-| 12 | 12 | 12 | 12 |
-| 123 | 123 | **123** | 123 |
-| 1 | 1 | 1 | 1 |
-
- Table: Demonstration of *pipe table* syntax with the caption spreading over
- multiple lines.
-
-A caption may not span multiple paragraphs.
->>>
-codeSpan: tableCaptions
-interblockSeparator
-BEGIN table (4 rows, 4 columns)
-- caption: Demonstration of (emphasis: pipe table) syntax with the caption spreading over multiple lines.
-- alignment of column 1: r
-- alignment of column 2: l
-- alignment of column 3: d
-- alignment of column 4: c
-- row 1, column 1: Right
-- row 1, column 2: (emphasis: Left)
-- row 1, column 3: Default
-- row 1, column 4: Center
-- row 2, column 1: 12
-- row 2, column 2: 12
-- row 2, column 3: 12
-- row 2, column 4: 12
-- row 3, column 1: 123
-- row 3, column 2: 123
-- row 3, column 3: (strongEmphasis: 123)
-- row 3, column 4: 123
-- row 4, column 1: 1
-- row 4, column 2: 1
-- row 4, column 3: 1
-- row 4, column 4: 1
-END table
-interblockSeparator
-BEGIN table (4 rows, 4 columns)
-- caption: Demonstration of (emphasis: pipe table) syntax with the caption spreading over multiple lines.
-- alignment of column 1: r
-- alignment of column 2: l
-- alignment of column 3: d
-- alignment of column 4: c
-- row 1, column 1: Right
-- row 1, column 2: (emphasis: Left)
-- row 1, column 3: Default
-- row 1, column 4: Center
-- row 2, column 1: 12
-- row 2, column 2: 12
-- row 2, column 3: 12
-- row 2, column 4: 12
-- row 3, column 1: 123
-- row 3, column 2: 123
-- row 3, column 3: (strongEmphasis: 123)
-- row 3, column 4: 123
-- row 4, column 1: 1
-- row 4, column 2: 1
-- row 4, column 3: 1
-- row 4, column 4: 1
-END table
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/tight-lists.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/tight-lists.test
deleted file mode 100644
index 47ecbcb726..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark-markdown/tight-lists.test
+++ /dev/null
@@ -1,18 +0,0 @@
-<<<
-This test ensures that the Lua `tightLists` option is enabled by default. The
-following list should be tight.
-
-3. three
-4. four
-5. five
->>>
-codeSpan: tightLists
-interblockSeparator
-olBeginTight
-olItemWithNumber: 3
-olItemEnd
-olItemWithNumber: 4
-olItemEnd
-olItemWithNumber: 5
-olItemEnd
-olEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/README.md b/macros/generic/markdown/tests/testfiles/lunamark/README.md
deleted file mode 100644
index 59a2e70f47..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory contains test files that were inherited from the
-`tests/lunamark/` directory in the lunamark project.
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/backticks-in-links.test b/macros/generic/markdown/tests/testfiles/lunamark/backticks-in-links.test
deleted file mode 100644
index 4f1f3fb24b..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/backticks-in-links.test
+++ /dev/null
@@ -1,8 +0,0 @@
-<<<
-[hi `there] bud`](/url)
->>>
-BEGIN link
-- label: hi (codeSpan: there] bud)
-- URI: /url
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/case-insensitive-references.test b/macros/generic/markdown/tests/testfiles/lunamark/case-insensitive-references.test
deleted file mode 100644
index 4b2e6ad26b..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/case-insensitive-references.test
+++ /dev/null
@@ -1,10 +0,0 @@
-<<<
-[hI]
-
-[Hi]: /foo
->>>
-BEGIN link
-- label: hI
-- URI: /foo
-- title:
-END link
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/consecutive-lists.test b/macros/generic/markdown/tests/testfiles/lunamark/consecutive-lists.test
deleted file mode 100644
index 56aaf8a8b3..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/consecutive-lists.test
+++ /dev/null
@@ -1,19 +0,0 @@
-<<<
-- one
-- two
-1. one
-2. two
->>>
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/definition-lists.test b/macros/generic/markdown/tests/testfiles/lunamark/definition-lists.test
deleted file mode 100644
index 35e5ef684b..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/definition-lists.test
+++ /dev/null
@@ -1,200 +0,0 @@
-\def\markdownOptionDefinitionLists{true}
-<<<
-Tight using spaces:
-
-apple
-: red fruit
-orange
-: orange fruit
-banana
-: yellow fruit
-
-Tight using tabs:
-
-apple
-: red fruit
-orange
-: orange fruit
-banana
-: yellow fruit
-
-Loose:
-
-apple
-: red fruit
-
-orange
-: orange fruit
-
-banana
-: yellow fruit
-
-Multiple blocks with italics:
-
-*apple*
-: red fruit
-
- contains seeds,
- crisp, pleasant to taste
-
-*orange*
-: orange fruit
-
- { orange code block }
-
- > orange block quote
-
-Multiple definitions, tight:
-
-apple
-: red fruit
-: computer
-orange
-: orange fruit
-: bank
-
-Multiple definitions, loose:
-
-apple
-: red fruit
-
-: computer
-
-orange
-: orange fruit
-
-: bank
-
-Blank line after term, indented marker, alternate markers:
-
-apple
-
- ~ red fruit
-
- ~ computer
-
-orange
-
- ~ orange fruit
-
- 1. sublist
- 2. sublist
->>>
-interblockSeparator
-dlBeginTight
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: banana
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEndTight
-interblockSeparator
-interblockSeparator
-dlBeginTight
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: banana
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEndTight
-interblockSeparator
-interblockSeparator
-dlBegin
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: banana
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEnd
-interblockSeparator
-interblockSeparator
-dlBegin
-dlItem: (emphasis: apple)
-dlDefinitionBegin
-interblockSeparator
-dlDefinitionEnd
-dlItemEnd
-dlItem: (emphasis: orange)
-dlDefinitionBegin
-interblockSeparator
-inputVerbatim: ./_markdown_test/f9f08689e38f4705165b9018b14b4a09.verbatim
-interblockSeparator
-blockQuoteBegin
-blockQuoteEnd
-dlDefinitionEnd
-dlItemEnd
-dlEnd
-interblockSeparator
-interblockSeparator
-dlBeginTight
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEndTight
-interblockSeparator
-interblockSeparator
-dlBegin
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlEnd
-interblockSeparator
-interblockSeparator
-dlBegin
-dlItem: apple
-dlDefinitionBegin
-dlDefinitionEnd
-dlDefinitionBegin
-dlDefinitionEnd
-dlItemEnd
-dlItem: orange
-dlDefinitionBegin
-interblockSeparator
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olEndTight
-dlDefinitionEnd
-dlItemEnd
-dlEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/hash-enumerators.test b/macros/generic/markdown/tests/testfiles/lunamark/hash-enumerators.test
deleted file mode 100644
index 94f63fd2ad..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/hash-enumerators.test
+++ /dev/null
@@ -1,11 +0,0 @@
-\def\markdownOptionHashEnumerators{true}
-<<<
-#. one
-#. two
->>>
-olBeginTight
-olItemWithNumber: 1
-olItemEnd
-olItemWithNumber: 2
-olItemEnd
-olEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/indented-code-in-list-item.test b/macros/generic/markdown/tests/testfiles/lunamark/indented-code-in-list-item.test
deleted file mode 100644
index 8e35081172..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/indented-code-in-list-item.test
+++ /dev/null
@@ -1,16 +0,0 @@
-<<<
-1. Just a small test
-
- This is some code
-
- and some indented code
-
- and this is the end
->>>
-olBegin
-olItemWithNumber: 1
-interblockSeparator
-inputVerbatim: ./_markdown_test/36d7a0503b844c792d46549a49b6e7b8.verbatim
-interblockSeparator
-olItemEnd
-olEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/list-spacing.test b/macros/generic/markdown/tests/testfiles/lunamark/list-spacing.test
deleted file mode 100644
index 4e7f84248d..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/list-spacing.test
+++ /dev/null
@@ -1,42 +0,0 @@
-<<<
- * item 1
- * item 1a
- * item 2
-* item 2a
- * item 2b
- * item 2c
- * item 3
-
-----
-
- 8. item 1
- 9. item 2
-10. item 2a
->>>
-ulBeginTight
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulItem
-ulItemEnd
-ulEndTight
-interblockSeparator
-horizontalRule
-interblockSeparator
-olBeginTight
-olItemWithNumber: 8
-olItemEnd
-olItemWithNumber: 9
-olItemEnd
-olItemWithNumber: 10
-olItemEnd
-olEndTight
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/lists-and-hrules.test b/macros/generic/markdown/tests/testfiles/lunamark/lists-and-hrules.test
deleted file mode 100644
index cffd38dc87..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/lists-and-hrules.test
+++ /dev/null
@@ -1,18 +0,0 @@
-<<<
-+ item 1
-
- + item 2
-
- * * * * *
->>>
-ulBegin
-ulItem
-interblockSeparator
-ulBeginTight
-ulItem
-ulItemEnd
-ulEndTight
-ulItemEnd
-ulEnd
-interblockSeparator
-horizontalRule
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/notes.test b/macros/generic/markdown/tests/testfiles/lunamark/notes.test
deleted file mode 100644
index 312090de8a..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/notes.test
+++ /dev/null
@@ -1,27 +0,0 @@
-\def\markdownOptionFootnotes{true}
-<<<
-Here is a footnote reference,[^1] and another.[^longnote]
-This should *not* be a footnote reference, because it has not been
-defined.[^my note]
-
-[^longnote]: Here's the long note. This one contains multiple blocks.
-
- Subsequent blocks are indented to show that they belong to the
-footnote (as with list items).
-
- { <code> }
-
- If you want, you can indent every line, but you can also be
- lazy and just indent the first line of each block.
-
-This paragraph should not be part of the note, as it is not indented.
-
- [^1]: Here is the footnote. It can go anywhere after the footnote
- reference. It need not be placed at the end of the document.
-
->>>
-footnote: Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.
-footnote: Here's the long note. This one contains multiple blocks.(interblockSeparator)Subsequent blocks are indented to show that they belong to the footnote (as with list items).(interblockSeparator)(inputVerbatim: ./_markdown_test/7f88af46ac2c38c6ee0c6837fcb8cbc6.verbatim)(interblockSeparator)If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.
-emphasis: not
-circumflex
-interblockSeparator
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/reference-defined-in-blockquote.test b/macros/generic/markdown/tests/testfiles/lunamark/reference-defined-in-blockquote.test
deleted file mode 100644
index 8bafd8f0d4..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/reference-defined-in-blockquote.test
+++ /dev/null
@@ -1,12 +0,0 @@
-<<<
-> [foo]
->
-> [foo]: /bar
->>>
-blockQuoteBegin
-BEGIN link
-- label: foo
-- URI: /bar
-- title:
-END link
-blockQuoteEnd
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-blockquote.test b/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-blockquote.test
deleted file mode 100644
index 9c476ac354..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-blockquote.test
+++ /dev/null
@@ -1,5 +0,0 @@
-\def\markdownOptionBlankBeforeBlockquote{true}
-<<<
-Hi
-> no quote
->>>
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-header.test b/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-header.test
deleted file mode 100644
index 4ed22912e7..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/require-blank-before-header.test
+++ /dev/null
@@ -1,6 +0,0 @@
-\def\markdownOptionBlankBeforeHeading{true}
-<<<
-Hi
-# No header
->>>
-hash
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/smart.test b/macros/generic/markdown/tests/testfiles/lunamark/smart.test
deleted file mode 100644
index ce48cf374c..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/smart.test
+++ /dev/null
@@ -1,7 +0,0 @@
-\def\markdownOptionSmartEllipses{true}
-<<<
-Ellipses...and...and....
->>>
-ellipsis
-ellipsis
-ellipsis
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/unicode.test b/macros/generic/markdown/tests/testfiles/lunamark/unicode.test
deleted file mode 100644
index 1392aa0915..0000000000
--- a/macros/generic/markdown/tests/testfiles/lunamark/unicode.test
+++ /dev/null
@@ -1,10 +0,0 @@
-<<<
-[Beiß nicht in die Hand, die dich füttert.]
-
-[BEIß NICHT IN DIE HAND, DIE DICH FÜTTERT.]: http://en.wikiquote.org/wiki/German_proverbs
->>>
-BEGIN link
-- label: Beiß nicht in die Hand, die dich füttert.
-- URI: http://en.wikiquote.org/wiki/German(underscore)proverbs
-- title:
-END link