summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-27 03:00:50 +0000
committerNorbert Preining <norbert@preining.info>2022-08-27 03:00:50 +0000
commit76bc77ea6eb72458ea19ab7e4803af66865533c7 (patch)
tree7fe3f397fa2a975830c7b1379778b7aa484151d9 /macros
parent5e668640feb9f07a14456b8e7e413db0b1ec9561 (diff)
CTAN sync 202208270300
Diffstat (limited to 'macros')
-rw-r--r--macros/generic/markdown/CHANGES.md850
-rw-r--r--macros/generic/markdown/README.md15
-rw-r--r--macros/generic/markdown/VERSION2
-rw-r--r--macros/generic/markdown/examples/context-mkii.tex29
-rw-r--r--macros/generic/markdown/examples/context-mkiv.tex29
-rw-r--r--macros/generic/markdown/examples/example.md20
-rw-r--r--macros/generic/markdown/examples/latex.tex4
-rw-r--r--macros/generic/markdown/markdown.dtx2206
-rw-r--r--macros/generic/markdown/markdown.html6820
-rw-r--r--macros/generic/markdown/markdown.pdfbin832411 -> 868025 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/README.md9
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty173
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdfbin0 -> 184434 bytes
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex244
-rw-r--r--macros/latex/contrib/profcollege/doc/ProfCollege-doc.pdfbin8817716 -> 8745003 bytes
-rw-r--r--macros/latex/contrib/profcollege/latex/ProfCollege.sty474
16 files changed, 7233 insertions, 3642 deletions
diff --git a/macros/generic/markdown/CHANGES.md b/macros/generic/markdown/CHANGES.md
new file mode 100644
index 0000000000..e409961301
--- /dev/null
+++ b/macros/generic/markdown/CHANGES.md
@@ -0,0 +1,850 @@
+# Changes
+
+## 2.16.0 (2022-08-26)
+
+Development:
+
+- Add support for strike-throughs, fenced divs, inline spans, subscripts,
+ superscripts, and fancy lists. (#149, #160, #162, #168, #170)
+- Add facade in front of expl3 inferface for YAML metadata. (#118, #175)
+- Add `\setupmarkdown` and `\inputmarkdown` commands to ConTeXt. (#17, #176)
+
+Fixes:
+
+- Make any ASCII character escapable as per
+ [CommonMark](https://spec.commonmark.org/0.30/#backslash-escapes).
+ (#163)
+- Make our implementation of header attributes compatible with jgm/lunamark.
+ (#164, #177)
+
+Documentation:
+
+- Add file `CHANGES.md` with the changelog of the Markdown package.
+- Add badges for Matrix.org and Discord chat spaces. (2f1104d..acdc989)
+- Add a link to @xvrabcov's TUG 2022 talk, slides, and example documents to the
+ README. (d422f5c)
+
+Proposals:
+
+- Propose support for user-defined syntax extensions. (#172, #174)
+
+Continuous Integration:
+
+- Ignore changes to `**/README.md`. (e39a7aa)
+
+## 2.15.4 (2022-07-29)
+
+Fixes:
+
+- In `parsers.specialchar`, only include special characters of enabled syntax
+ extensions. (#150, #152)
+- Avoid nesting `\markdownIfOption`. (#151)
+- Make the `\markdownSetup` and `\markdownSetupSnippet` commands accept `\par`
+ tokens. (#130)
+
+Deprecation:
+
+- Deprecate TeX Live 2019. (5c861e3)
+
+Refactoring:
+
+- Replace `xstring` with `l3str`. (contributed by @drehak, #96, #153)
+- Replace `keyval` with `l3keys` (contributed by @drehak, #96, #155, #157)
+
+Continuous Integration:
+
+- Add Luacheck. (#154)
+
+## 2.15.3 (2022-06-29)
+
+Refactoring:
+
+- Add a mechanism for extending the Markdown reader and the LaTeX writer.
+ (#138, #143)
+- Separate the Lua shell escape bridge into [the `lt3luabridge`
+ package](https://github.com/witiko/lt3luabridge). (#140, #141)
+- Add further reflection capabilities. (#124, #137)
+
+Contributed Software:
+
+- Update `contributions/book-templates`. (contributed by @xvrabcov, b4d892c,
+ a6d5c77)
+
+Deprecation:
+
+- The `\markdownOptionHelperScriptFileName` command will be removed in Markdown
+ 3.0.0. (#141)
+- The `\markdownOptionOutputTempFileName` command will be removed in Markdown
+ 3.0.0. (#141)
+- The `\markdownOptionErrorTempFileName` command will be removed in Markdown
+ 3.0.0. (#141)
+- The `\markdownMode` command will be removed in Markdown 3.0.0. (#141)
+
+Docker:
+
+- Remove `latest-with-cache` tag from Docker images. (04301f0)
+
+Documentation:
+
+- Remove disfunctional badges for Docker from `README.md`. (ad00b58, 707cad9)
+- Link to TUG's version of the TUG 2021 video in `README.md`. (1462411)
+
+Miscellaneous:
+
+- As of today, Markdown has 234 stars, 56 forks, and 7 watchers on GitHub. 🥂
+
+## 2.15.2 (2022-06-01)
+
+Documentation:
+
+- Document that no `eagerCache` makes recursive nesting undefined behavior.
+ (a486b88)
+- Fix typos in the documentation. (03a172a, ab3ad8d)
+
+Contributed Software:
+
+- Update `contributions/book-templates`. (contributed by @xvrabcov, 8c56288,
+ 78af2fd, b238dbc)
+- Update `contributions/pandoc-to-markdown`. (contributed by @drehak, 7cc7edc,
+ 2e7ccfe)
+- List @TeXhackse's [document templates](https://gitlab.com/l4070) in
+ `contributions/README.md`.
+
+Continuous Integration:
+
+- Fix a typo in `Makefile` that made it impossible to recover from `pkgcheck`
+ errors. (33c8c99)
+
+## 2.15.1 (2022-05-18)
+
+Fixes:
+
+- Only let LaTeX's default link renderer prototype produce `\ref` for relative
+ autolinks (discovered by @drehak, 7f3fd9b, #127)
+- Ensure that `cacheDir` exists in `witiko/graphicx/http` LaTeX theme.
+ (discovered by @drehak, 5145954, #128)
+
+Documentation:
+
+- Fix a typo in the documentation. (5e3b149)
+- Add a link to a preprint from TUGboat 43(1) to the README. (authored by
+ @witiko, @drehak, @michal-h21, and @xvrabcov, 7d47780, e9c7bfc)
+- Only use the emoji package in TeX Live 2020 and later. (a46ffd2..a8e5838)
+
+Contributed Software:
+
+- Update `contributions/book-templates`. (contributed by @xvrabcov, 9f51cb4,
+ 8d6e5d6)
+- Update `contributions/pandoc-to-markdown`. (contributed by @drehak, ac82a5f,
+ 102b1a5)
+- Add contributions/doctoral-thesis. (a8fbd97)
+
+Continuous Integration:
+
+- Add TL2021-historic image to the continuous integration. (a9e3b08)
+
+## 2.15.0 (2022-03-31)
+
+Development:
+
+- Add reflection to the TeX implementation. (#119, 73f699b..30ee46d, 02dd30a)
+- Add an option to include arbitrary YAML documents. (#117, 78dc62b..93246a4)
+- Move expl3 interface for YAML metadata from LaTeX to plain TeX.
+ (1ec7931..95d83ba)
+- Add LaTeX `\markdownIfSnippetExists` command. (929137a)
+- Add code key to LaTeX `\markdownSetup` command. (ef53fae)
+
+Contributed Software:
+
+- Add a proof-of-concept of integration Markdown with Pandoc. (contributed by
+ @drehak, #25, c40b51c)
+- Add LaTeX themes for typesetting books and marketing colaterals. (contributed
+ by @xvrabcov, #104, a7d6d2e)
+
+Fixes:
+
+- Use current theme name to resolve `\markdownSetup{snippet = ...}`. (0c79a80)
+
+Documentation:
+
+- Add directory `contributions/` with contributed third-party software.
+ (contributed by @drehak and @xvrabcov, c40b51c..9296cf1)
+- Fix formatting gaffes in the documentation. (97dee2f)
+- Remove an extra backslash in the user manual. (994d06f)
+- Move `<link>` element out of the technical documentation. (18b6241)
+
+## 2.14.1 (2022-03-01)
+
+Fixes:
+
+- Fix default LaTeX renderer prototypes for block HTML comments. (b933d81)
+
+## 2.14.0 (2022-02-28)
+
+Fixes:
+
+- Track nested LaTeX themes with a stack. (69478c0, 00c3e6a)
+
+Development:
+
+- Add renderers for inline HTML tags, block HTML elements, and block HTML
+ comments. (#90, e5e28ed, 44affc3)
+- Add renderers for heading attributes. (#87, #91, cad83f6)
+- Add `relativeReferences` Lua option for writing relative autolinks such as
+ `<#some-section>`. (#87, #91, e7267c0)
+
+Documentation:
+
+- Change category code of percent sign (`%`) before `\input`ting the output of
+ `markdown-cli` in LaTeX and ConTeXt examples. (a61e371, 9635d76)
+
+Quality of Life:
+
+- Emit an error message when an undefined LaTeX setup snippet is invoked.
+ (9d25074)
+- Add a trailing newline to the output of `markdown-cli`. (80b7067)
+
+Default Renderer Prototypes:
+
+- Do not use image alt text to produce labels in renderer prototypes. (reported
+ by @writersglen, 1c31c01)
+- Pass HTML through to TeX4ht. (contributed by @michal-h21, #90, 2f5dcba)
+- Be lazy about what commands to use for default LaTeX table rules.
+ (contributed by @michal-h21, #90, 03a444a)
+
+Continuous Integration:
+
+- Retry failed `pkgcheck --urlcheck` in `Makefile`. (3c31baf)
+- Always upload artifacts, even outside the `main` branch. (24feb6a)
+
+## 2.13.0 (2022-01-30)
+
+Fixes:
+
+- Disable the parsing of timestamps in YAML metadata. (contributed by
+ @TeXhackse, 75f6f20, 7d18b58, a27fdd9, #116)
+
+Development:
+
+- Add [markdown document
+ renderers](https://witiko.github.io/markdown/#markdown-document-renderers).
+ (2199c22, 4a70b04, #109)
+- Add an example document for ConTeXt MkIV. (8bbb6ab, #17)
+
+Default Renderer Prototypes:
+
+- Redefine default LaTeX `codeSpan` renderer prototype to work in math mode.
+ (35b53d3, e68a631)
+- Support the unicode-math LaTeX package. (9d840be, #110)
+
+Continuous Integration:
+
+- Produce artefacts and GitHub pages only for the `latest` Docker tag.
+ (976f074)
+- Only push the latest Docker image once. (cc78fa1)
+- Add `--urlcheck` option to the `pkgcheck` command in `Makefile`. (3b4d6a1,
+ d9b2a01)
+
+Docker:
+
+- Show the size of the latest Docker image in the `README`. (1f680a8)
+
+## 2.12.0 (2021-12-30)
+
+Fixes:
+
+- Add default definition for `\markdownRendererJekyllDataSequenceEnd`.
+ (6c4abe3)
+
+Development:
+
+- Preserve trailing spaces in ConTeXt MkIV. (#101)
+- Add `eagerCache` Lua option. (#102)
+- Add `hardLineBreaks` Lua option. (#98)
+
+Documentation:
+
+- Document how we can set Lua options from plain TeX and both Lua options and
+ plain TeX options from LaTeX (#105)
+- Update link to TUGboat 42(2) article from preprint to archival version.
+ (715f53c)
+- Add two articles from the CSTUG Bulletin 2021/1-4 to the README. (76da1d6)
+- Escape percent signs in code examples in techdoc (7d6ca54)
+
+Default Renderer Prototypes:
+
+- Make content blocks automatically `\input` TeX files. (c798106)
+
+Docker:
+
+- Build and publish Docker images for historical TeX Live versions. (#111)
+
+## 2.11.0 (2021-10-01)
+
+Fixes:
+
+- Remove a spurious print when handling the `texComments` Lua option. (4ee94ec)
+- Escape `escaped_minimal_strings` even in `hybrid` mode. (c1fd53b)
+- Make assignments in `writer->set_state()` and `writer->defer_call()` local.
+ (9261349)
+- Don't let default LaTeX renderer prototype for `ulItem` gobble next token.
+ (reported by @writersglen, 8d8023f)
+- In LaTeX, prevent `\@ifundefined` from making `\markdownOptionTightLists`
+ into `\relax`.
+- Fix even backslashes before newline being gobbled by the `texComments` Lua
+ option. (9ca0511)
+
+Development:
+
+- Add [`taskLists` Lua
+ option](https://witiko.github.io/markdown#option-tasklists) for writing task
+ lists. (suggested by @xvrabcov, #95)
+- Add [`jekyllData` Lua
+ option](https://witiko.github.io/markdown#option-jekylldata) for writing YAML
+ metadata. (contributed by @TeXhackse, #22, #77)
+
+Documentation:
+
+- Add a link to @witiko's TUG 2021 talk, preprint, and slides to the README.
+ (4b89f84, 6f61e48, 745a6f3, 99b1041, 872fb4d)
+- Add a cornucopia of badges to the README. (60f7033, 8e9a34c)
+- Use HTTPS links for CTAN in the README. (b068b65, a743b06)
+- Use emoji in the technical documentation. (ccfcaf4)
+- Add block and sequence diagrams to the technical documentation. (6168473,
+ 0b4bb91, 5fd2e19, 3b4af9c, 4e99cb9, cbccf36, a7f9a60, 48d5a21)
+- Add index to the technical documentation. (3ee5a99, 32d93e8)
+- Add a list of figures to the technical documentation. (48d5a21)
+- Use varioref in the technical documentation. (2f8e85e)
+- Describe Lua command-line interface (CLI) in the README. (ba27b51, 1ad85a2)
+- Publish user manual to [GitHub Pages](https://witiko.github.io/markdown).
+ (4a812a4, 4f1f349)
+- Document that the `hybrid` option is `false` by default. (955d7c1)
+- Show how
+ [`tugboat.bib`](http://mirrors.ctan.org/info/digests/tugboat/biblio/tugboat.bib)
+ can be used to cite the Markdown package. (7e20eee)
+
+Continuous Integration and Distribution:
+
+- Rename `master` branch to `main`. (513de1f)
+- Make `make implode` clean up auxiliary markdown files. (fe25ae9)
+- Add `Dockerfile` and make continuous integration use Docker image. (#97,
+ cbc0089, f64bfa5, 8a7b656, e185547, 1bb7075)
+- Rebuild the Docker image every Monday at 4:30AM (UTC). (c9f87a9, 28b0e93)
+- Automatically prerelease the latest version. (cd7fbd2)
+- Use MarkdownLint in continuous integration. (2440659, aa1e14b)
+- Test Lua command-line interface in continuous integration. (6a84f98, 4e28ef0)
+- Matrix-test all supported TeX Live versions. (69b9edc)
+
+## 2.10.1 (2021-08-31)
+
+Fixes:
+
+- Always enable `texComments` when `hybrid` is enabled. (715d025)
+- Make the preprocessor of TeX comments surjective. (6021dd5)
+
+## 2.10.0 (2021-08-07)
+
+Fixes:
+
+- String text and parenthetical citations. (e6026c1)
+- Escape autolink labels even when hybrid mode is enabled. (repored by @iwelch,
+ 693e134)
+- Protect LaTeX strong emphasis renderer prototype and make it detect font.
+ (reported by @iwelch, 89a031a)
+- Let users name their documents `markdown.tex`. (reported by @mmarras, cb50d4,
+ 9d21141)
+- Support deferred content (footnotes, links, and images) with slicing.
+ (edbdced)
+- Support tables with slicing. (5a61511)
+- Increment `markdownFrozenCacheCounter` globally. (c151cbc)
+- Change the category code of the percent sign to other in `\markdownInput`.
+ (b21fac4, 4d025e1, 5b1625f, 6f24307)
+- Add `\startmodule` command to the ConTeXt module. (9f2ec1d)
+- Add a missing `local` qualifier to the definition of a local variable.
+ (1153afb)
+- Don't allow LaTeX list item renderers to consume surrounding text. (reported
+ by @nbubis, cb79225)
+
+Development:
+
+- Add the `theme` LaTeX option. (39ab6f3, 8699eb4, a1ae258, ea9c237, 3740742,
+ 67aaf40)
+- Add the `stripIndent` Lua option. (b94dda5, 5757067, 654624c)
+- Add the `texComments` Lua options. (c439a0f, 5f7c5e3, 744bcdb, 1ec06f4,
+ b74fd01, 2dd76f1)
+- Add support for LuaMetaTeX. (f004170, 905c832, 575a1e0, f93a353)
+- Add the `inlineHtmlComment` renderer. (bf54b2f)
+- Add the `plain` LaTeX package option. (af9c0d6)
+- Add the `snippet` LaTeX option. (b43024f, 438f075, 2960810)
+
+Debugging:
+
+- Add helpful messages to read/write errors. (contributed by @drehak, d22cd25)
+- Make ConTeXt/LaTeX use their info/warning/error commands during loading.
+ (a638a91)
+
+Documentation:
+
+- Remove deprecated filecontents package from examples. (dd2dc1c)
+- Fix a typo in the user manual. (13f056)
+- Fix code style in the user manual. (416c24e)
+- Update out-of-date-documentation. (713ec92)
+- Add *Making Markdown into a Microwave Meal* article into the README.
+ (4698224)
+- Add a link to @witiko's PV212 talk to the README. (e5e8708)
+- Fix overlong lines in the documentation. (34e9f4f)
+- Update installation documentation. (b3957a8)
+- Fix a typo in the documentation of `expandtabs`. (3e55507)
+- Remove unnecessary `footnotes` option from the `inlineFootnotes` example.
+ (30792ef)
+- Fix a typo in the documentation of `\markdownRendererOlItemWithNumber`.
+ (d05df9d)
+- Fix errors in the documentation markup. (a6a0059)
+- Remove multiply-defined refs in documentation. (ab99a30)
+
+Licensing:
+
+- Bump the copyright year. (9462f17)
+- Sublicense the code as LPPL v1.3c. (609aeee)
+
+Unit tests:
+
+- Remove xtrace from `test.sh` for less verbose output. (b307ee6)
+- Treat all files as text with GNU diff in `test.sh`. (ec89e6d)
+- Print full TeX log when there is an error in a unit test. (7640c20)
+
+Distribution:
+
+- Add `banner.png` to the CTAN distribution. (fe107d6)
+- Add base `Makefile` target. (41ab71a)
+
+Continuous integration:
+
+- Convert CircleCI configuration to GitHub Actions workflow. (0f77bc5)
+- Add shellcheck. (27e825b)
+- Upload artifacts in GitHub Actions workflows. (12e3585, e696d41)
+- Install Graphviz in continuous integration. (3ebf0c9, 4ef340c)
+- Test that the number of pages in typeset documentation is sane. (048b7fc)
+
+Miscellanea:
+
+- Use `\@ifdefined` and `\@onlypreamble` in LaTeX code. (40b77f4)
+
+## 2.9.0 (2020-09-14)
+
+Development:
+
+- Add support for finalizing and freezing the cache.
+
+Fixes:
+
+- Fix default definition of `markdownRendererAmpersandPrototype`.
+- Remove redundant `\label` in contentBlocks LaTeX renderer prototype.
+- Make LaTeX and ConTeXt implementations also expand `\markdownEnd`.
+- Fortify I/O in Lua with additional asserts.
+
+Documentation:
+
+- Fix links in the documentation.
+- Fix typos in the documentation.
+- Remove deprecated `filecontents` package.
+- Do not use package `xcolor`.
+- Add blank lines to `README.md`.
+- Add Citing Markdown section to `README.md`.
+- Add banner to `README.md`.
+- Cite new CSTUG Bulletin article.
+
+Continuous integration:
+
+- Use TeX Live 2020.
+
+Miscellanea:
+
+- Update distribution packaging according to CTAN requirements.
+
+## 2.8.2 (2020-03-20)
+
+Fixes:
+
+- Add example-image.png to the Git repository (closes issue #49).
+- Require that text citations are not preceded by non-space characters.
+- Add a line ending at the end of markdown file in case there is none.
+- Do not assume `\markdownInput` input comes from `\markdownOptionOutputDir`
+ (closes issue #57).
+
+Documentation:
+
+- Extend the abstract of the Markdown package.
+- Document continuous integration and the Makefile.
+- Properly highlight the syntax of shell commands in user manual.
+- Add CSTUG bulletin articles to the README.
+
+Miscellanea:
+
+- Upgrade continuous integration from TeX Live 2019 to TeX Live 2020 pretest.
+
+## 2.8.1 (2019-04-30)
+
+Fixes:
+
+- Correctly produce the user manual for [CTAN](https://ctan.org/).
+- Complete the support for named HTML entities (closes issue #36).
+
+Documentation:
+
+- Document the precise behavior of the `preserveTabs` Lua option (closes issue
+ #38).
+- Acknowledge [Lian Tze Lim](http://liantze.penguinattack.org/) and
+ [Overleaf](https://www.overleaf.com/) in the README.
+- Link TUGboat journal articles from the README.
+- Link the Markdown package installation from the README.
+
+Miscellanea:
+
+- Upgrade continuous integration from TeX Live 2019 pretest to TeX Live 2019.
+
+## 2.8.0 (2019-04-27)
+
+Development:
+
+- Added the `pipeTables` Lua option that enables [the PHP Markdown table syntax
+ extension](https://michelf.ca/projects/php-markdown/extra/#table), the
+ `tableCaptions` Lua option that enables [the Pandoc `table_captions` syntax
+ extension](https://pandoc.org/MANUAL.html#extension-table_captions), and the
+ `table` token renderer. Thanks to [David Vins](https://github.com/dvins) and
+ [Omedym](https://www.omedym.com) for sponsoring the development of table
+ support.
+- Added the `shiftHeadings` Lua option for shifting section levels, which
+ extends the *content slicing* capabilities of the Markdown package. Thanks to
+ [David Vins](https://github.com/dvins) and [Omedym](https://www.omedym.com)
+ for sponsoring the development of content slicing.
+
+Documentation:
+
+- Update README links to Markdown examples and tutorials by [Lian Tze
+ Lim](http://liantze.penguinattack.org/) and
+ [Overleaf](https://www.overleaf.com/).
+
+Fixes:
+
+- Remove an unreachable branch of the `parsers.line` parser.
+
+## 2.7.0 (2019-04-05)
+
+Development:
+
+- Added Natbib citation renderer to LaTeX.
+- Added the `slice` Lua option for *content slicing* – typesetting only certain
+ parts of a markdown document.
+ Thanks to [David Vins](https://github.com/dvins) and
+ [Omedym](https://www.omedym.com) for sponsoring the development of
+ content slicing.
+
+Fixes:
+
+- Stopped using the possibly active ASCII double quote characters (`"`) after
+ the `\input` TeX command.
+- Added space before the second parameter in the basic LaTeX citation renderer.
+- Fixed the `outputDir` Lua option, which enables the use of the
+ `-output-directory` TeX option.
+- Added support for Lua 5.3, which has been part of LuaTeX since 1.08.
+- Fixed the non-terminating LaTeX citation renderers for BibTeX and Natbib.
+- Fixed the capability of the unit testing script to add expected outcome to
+ unfinished testfiles.
+
+Documentation:
+
+- Finished the user manual.
+- Removed spurious commas in the documentation.
+- Used CTAN-compatible markdown markup in the README.
+
+Miscellaneous:
+
+- Made the unit testing script write Lua stack trace to the terminal when a
+ test fails.
+
+## 2.6.0 (2018-04-09)
+
+*Except for some minor changes in the README document, this version is
+identical to version 2.5.6. The author realized that they had forgotten to
+increase the minor version number despite adding a significant amount of new
+functionality.*
+
+## 2.5.6 (2018-04-08)
+
+Development:
+
+- Added a Lua command-line interface.
+- Added the `stripPercentSign` Lua option for using markdown in TeX package
+ documentation.
+
+Fixes:
+
+- Fixed TeX Live 2013 minted package detection.
+- Fixed the default LaTeX hyperlink renderer prototype to correctly typeset
+ hash signs.
+- Fixed lonely level four and five headings not being rendered in LaTeX.
+- Removed the no-op `outputDir` Lua option.
+
+Documentation:
+
+- Added a user manual.
+- Added information for contributors to the README document.
+- Increased portability of the technical documentation by using a built-in
+ BibLaTeX style.
+- Rewrote the technical documentation in markdown using the new
+ `stripPercentSign` Lua option.
+
+Miscellaneous:
+
+- Tuned the continuous integration service configuration, so that tests run
+ under 15 minutes.
+
+## 2.5.5 (2018-01-08)
+
+Documentation:
+
+- Fixed a typo in section 2.2.1.
+- Documented that the `contentBlocksCode` renderer receives five arguments.
+- Updated information in the documentation bibliography.
+- Incremented the year in copyright notices.
+
+## 2.5.4 (2017-09-12)
+
+Fixes:
+
+- `\markdownInfo` writes only to the log in the plain TeX implementation.
+- `\markdownInfo` and `\markdownWarning` start a new line in the plain TeX
+ implementation.
+- Lua errors are now caught even with shell escape.
+
+Development:
+
+- Added an `outputDir` option that enables the use of the TeX
+ `-output-directory` option.
+
+## 2.5.3 (2017-05-07)
+
+Fixes:
+
+- Added a missing file `examples/scientists.csv` to the CTAN archive.
+
+Documentation:
+
+- Added examples into the TDS archive.
+- Replaced tux in the examples with a generic example image.
+
+Development:
+
+- Updated the code for initializing testfiles.
+
+## 2.5.2 (2017-04-28)
+
+Fixes:
+
+- Added proper support for trailing internal punctuation in citations.
+
+## 2.5.1 (2017-04-27)
+
+Fixes:
+
+- Tab-indented fenced code is now supported.
+- Added missing underscore to `parsers.internal_punctuation`.
+- Removed unnecessary internal punctuation escaping (`$&~`) in citations.
+
+Documentation:
+
+- Corrected typo in bibliography.
+
+## 2.5.0 (2017-04-10)
+
+New features:
+
+- Added the `codeSpans` and `underscores` options.
+
+Documentation:
+
+- Reordered options alphabetically.
+
+## 2.4.0 (2017-03-27)
+
+Fixes:
+
+- Fixed the number of arguments in the `\markdownError` dummy definition.
+
+New features:
+
+- Added [the iA Writer content blocks syntax
+ extension](https://github.com/Witiko/markdown/issues/4).
+
+Documentation:
+
+- Fixed errors in the Lua interface documentation.
+- Fixed a typo in the `tests/templates` directory documentation.
+
+Development:
+
+- Added parallelized unit testing.
+
+## 2.3.0 (2017-01-05)
+
+Fixes:
+
+- ConTeXt module no longer mishandles active characters from `\enableregime`.
+- Shell access is no longer necessary with ConTeXt MarkIV.
+- The default renderers now render strong emphasis using a bold font face
+ rather than a bold-italic font face.
+- Lazy blockquotes are now parsed properly.
+
+New features:
+
+- Added optional HTML support; when the support is enabled, the Markdown reader
+ will recognize HTML elements, entities, instructions, and comments in the
+ input.
+- Added optional breakable blockquotes support; when the support is enabled,
+ blockquotes can be split apart using blank lines.
+
+Documentation:
+
+- Documented the behavior of the `-output-directory` TeX option.
+
+Development:
+
+- Removed unnecessary PEG patterns.
+- PEG patterns are now hash table entries rather than local variables; this was
+ a necessary step due to the local variable number limit. This change was also
+ backported to and merged by the
+ [upstream project](https://github.com/jgm/lunamark).
+- The unit test templates now use M4 instead of ad-hoc sed string replacement.
+- The Lua text buffering routine was removed as it only introduced complexity
+ to the package with no tangible benefits. All text buffering is now done in
+ TeX. As a corrolary, the `\markdownLuaRegisterIBCallback` and
+ `\markdownLuaUnregisterIBCallback` macros have been deprecated.
+
+## 2.2.2 (2016-12-09)
+
+Fixes:
+
+- Inline footnotes can now be enabled via the LaTeX interface.
+
+Development:
+
+- Added inline footnotes to the example documents.
+
+## 2.2.1 (2016-12-07)
+
+New features:
+
+- Added Pandoc-style inline footnotes.
+
+## 2.1.3 (2016-09-15)
+
+Fixes:
+
+- LaTeX implementation doesn't load `paralist` in `beamer` unless requested.
+
+## 2.1.2 (2016-09-14)
+
+Fixes:
+
+- Unordered list items now may begin with a `bulletchar`.
+
+Documentation:
+
+- Expanded the documentation on `hashEnumerators`.
+
+## 2.1.1 (2016-09-06)
+
+Fixes:
+
+- The citations extension should now be fully compliant with the
+ [Pandoc spec](http://pandoc.org/MANUAL.html#citations).
+- The `citationNbsps` option now also affects newlines, as is expected.
+- The default `\markdownOptionCacheDir` explicitly specifies the current
+ working directory, so that the cache files are not sought in the TeX
+ directory structure.
+
+Documentation:
+
+- Added information about the supported LuaTeX versions.
+- Added information about the portable use of the package.
+
+Development:
+
+- All the syntax extensions (fenced code blocks and citations) were merged by
+ the [upstream project](http://github.com/jgm/lunamark).
+
+## 2.1.0 (2016-08-29)
+
+New features:
+
+- Added Pandoc-style citations and CommonMark fenced code blocks syntax
+ extensions.
+- Added the following renderers:
+ - `interblockSeparator`,
+ - `ulItemEnd`, `olItemEnd`, `dlItemEnd`,
+ - `nbsp`, `cite`, `textCite`, and
+ - `inputFencedCode`.
+- Added the following Lua options:
+ - `citations`, `citationNbsps`,
+ - `fencedCode`, and `blankBeforeCodeFence`.
+
+Changes in behavior:
+
+- Replaced the `-` character in the default `\markdownOptionCacheDir` with `_`.
+- The cache filenames are now different based on the version of the package.
+- Code spans may now be empty.
+
+Fixes:
+
+- The conversion from Markdown should now produce consistent behavior no matter
+ if the input of the conversion function ends with `\n\n`, `\n`, or nothing.
+- LaTeX interface `rendererPrototypes` keys for the `pipe`, `link`, and `image`
+ renderers no longer incorrectly set the `\markdownRenderers<Renderer>` macros
+ rather than the `\markdownRenderers<Renderer>Prototype` macros.
+
+## 2.0.2 (2016-08-17)
+
+Fixes:
+
+- Fixed nested `keyval` handling inside `\markdownSetup` et al.
+
+## 2.0.1 (2016-08-15)
+
+Fixes:
+
+- Make the programming more defensive, so that the package works correctly
+ under TeXLive 2012.
+
+Development:
+
+- Added the package to a continuous integration service.
+
+## 2.0.0 (2016-08-15)
+
+New features:
+
+- Added raw unescaped URI to the `link` and `image` renderer arguments.
+ (This breaks backwards compatibility, hence the major version number bump.)
+- Added renderers for plain TeX and ConteXt special characters.
+
+Fixes:
+
+- Make autolinks work by preventing `Str` from consuming `<`.
+- Non-found footnote ref no longer outputs unescaped text.
+- Catcode of `|` is now other in `\markdownReadAndConvert` for ConTeXt.
+- Restore escapability of `<`, `>` to enable escaping of autolinks.
+
+Development:
+
+- Added a suite of tests.
+
+## 1.0.1 (2016-06-06)
+
+New features:
+
+- Added the `tightLists` Lua interface option.
+
+## 1.0.0 (2016-06-04)
+
+The first release.
diff --git a/macros/generic/markdown/README.md b/macros/generic/markdown/README.md
index 3fd5e5fef6..2f98e28512 100644
--- a/macros/generic/markdown/README.md
+++ b/macros/generic/markdown/README.md
@@ -4,9 +4,14 @@ Markdown
[![license](https://img.shields.io/github/license/witiko/markdown)](LICENSE)
[![ci](https://github.com/witiko/markdown/actions/workflows/main.yml/badge.svg)][ci]
[![release](https://img.shields.io/github/release/witiko/markdown)][release]
+&emsp;
+[![matrix](https://img.shields.io/matrix/witiko-markdown:matrix.org?label=matrix%20chat)][matrix]
+[![discord](https://img.shields.io/discord/1011667276908474440?label=discord%20chat&color=blueviolet)][discord]
[release]: https://github.com/Witiko/markdown/releases/latest "Releases · Witiko/markdown"
[ci]: https://github.com/Witiko/markdown/actions "GitHub Actions"
+ [matrix]: https://matrix.to/#/#witiko-markdown:matrix.org "The Matrix Chat Space for the Markdown package"
+ [discord]: https://discord.gg/8xJsPghzSH "The Discord Chat Space for the Markdown package"
The Markdown package converts [markdown][] markup to TeX commands. The
functionality is provided both as a Lua module, and as plain TeX, LaTeX, and
@@ -187,9 +192,10 @@ For further information, consult one of the following:
- [Markdown 2.8.1: Boldly Unto the Throne of Lightweight Markup in TeX][10.5300/2020-1-2/48],
- [Markdown 2.10.0: LaTeX Themes & Snippets][10.5300/2021-1-4/76], and
- [Direct Typesetting of Various Document Formats in TeX Using the Pandoc Utility][10.5300/2021-1-4/83].
-6. My talks:
+6. Talks by me and my students:
- [Five Years of Markdown in LaTeX: What, Why, How, and Whereto][pv212-fall2020] (in Czech), and
- [Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX][tb131-video] ([slides][tb131-slides]).
+ - [A Gentle Introduction to Markdown for Writers][tb134-video] ([slides][tb134-slides], [example][tb134-example]).
[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"
@@ -204,8 +210,11 @@ For further information, consult one of the following:
[tb131]: https://www.tug.org/TUGboat/tb42-2/tb131novotny-markdown.pdf "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX"
[tb133]: https://www.overleaf.com/read/pshkckczmmjn "Markdown 2.15.0: What's New?"
- [tb131-slides]: https://tug.org/tug2021/assets/pdf/tug2021-novotny-slides.pdf "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX"
- [tb131-video]: https://youtu.be/THmPkAncMnc "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX"
+ [tb131-slides]: https://tug.org/tug2021/assets/pdf/tug2021-novotny-slides.pdf "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX"
+ [tb131-video]: https://youtu.be/THmPkAncMnc "Markdown 2.10.0: LaTeX Themes & Snippets, Two Flavors of Comments, and LuaMetaTeX"
+ [tb134-slides]: https://tug.org/tug2022/assets/pdf/Tereza_Vrabcová-TUG2022-slides.pdf "A Gentle Introduction to Markdown for Writers"
+ [tb134-example]: https://tug.org/tug2022/assets/pdf/Tereza_Vrabcová-TUG2022-example.pdf "A Gentle Introduction to Markdown for Writers"
+ [tb134-video]: https://youtu.be/cqbKgjAlNjo?t=2h10m35s "A Gentle Introduction to Markdown for Writers"
[10.5300/2016-1-4/78]: https://bulletin.cstug.cz/pdf/2016-1-4.pdf#page=80 "Rendering Markdown inside TeX Documents"
[10.5300/2020-1-2/48]: https://bulletin.cstug.cz/pdf/2020-1-2.pdf#page=50 "Markdown 2.8.1: Boldly Unto the Throne of Lightweight Markup in TeX"
diff --git a/macros/generic/markdown/VERSION b/macros/generic/markdown/VERSION
index 23da58cbdd..4bcc575153 100644
--- a/macros/generic/markdown/VERSION
+++ b/macros/generic/markdown/VERSION
@@ -1 +1 @@
-2.15.4-0-g4cbe4e3 (2022/07/29)
+2.16.0-5-g5bb83fb (2022/08/26)
diff --git a/macros/generic/markdown/examples/context-mkii.tex b/macros/generic/markdown/examples/context-mkii.tex
index 19a7fb2931..7a49793ab8 100644
--- a/macros/generic/markdown/examples/context-mkii.tex
+++ b/macros/generic/markdown/examples/context-mkii.tex
@@ -7,16 +7,23 @@
\usemodule[t][markdown]
% Set options of the Markdown module.
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionPipeTables{true}
-\def\markdownOptionTableCaptions{true}
-\def\markdownOptionTaskLists{true}
+\setupmarkdown
+ [
+ hashEnumerators = yes,
+ definitionLists = yes,
+ smartEllipses = yes,
+ footnotes = yes,
+ inlineFootnotes = yes,
+ fencedCode = yes,
+ contentBlocks = yes,
+ pipeTables = yes,
+ tableCaptions = yes,
+ taskLists = yes,
+ strikeThrough = yes,
+ superscripts = yes,
+ subscripts = yes,
+ fancyLists = yes,
+ ]
% Set renderers of the Markdown module.
\definetyping
@@ -30,7 +37,7 @@
% Typeset the document `example.md` by letting the Markdown package handle
% the conversion internally.
-\markdownInput{./example.md}
+\inputmarkdown{./example.md}
% Typeset the document `example.tex` that we prepared separately using the
% Lua command-line interface and that contains a plain TeX representation
diff --git a/macros/generic/markdown/examples/context-mkiv.tex b/macros/generic/markdown/examples/context-mkiv.tex
index 825632c5aa..419b34b554 100644
--- a/macros/generic/markdown/examples/context-mkiv.tex
+++ b/macros/generic/markdown/examples/context-mkiv.tex
@@ -7,16 +7,23 @@
\usemodule[t][markdown]
% Set options of the Markdown module.
-\def\markdownOptionHashEnumerators{true}
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionSmartEllipses{true}
-\def\markdownOptionFootnotes{true}
-\def\markdownOptionInlineFootnotes{true}
-\def\markdownOptionFencedCode{true}
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionPipeTables{true}
-\def\markdownOptionTableCaptions{true}
-\def\markdownOptionTaskLists{true}
+\setupmarkdown
+ [
+ hashEnumerators = yes,
+ definitionLists = yes,
+ smartEllipses = yes,
+ footnotes = yes,
+ inlineFootnotes = yes,
+ fencedCode = yes,
+ contentBlocks = yes,
+ pipeTables = yes,
+ tableCaptions = yes,
+ taskLists = yes,
+ strikeThrough = yes,
+ superscripts = yes,
+ subscripts = yes,
+ fancyLists = yes,
+ ]
% Set renderers of the Markdown module.
\definehighlight
@@ -42,7 +49,7 @@
% Typeset the document `example.md` by letting the Markdown package handle
% the conversion internally.
-\markdownInput{./example.md}
+\inputmarkdown{./example.md}
% Typeset the document `example.tex` that we prepared separately using the
% Lua command-line interface and that contains a plain TeX representation
diff --git a/macros/generic/markdown/examples/example.md b/macros/generic/markdown/examples/example.md
index 63a16eecfd..24ca2c6362 100644
--- a/macros/generic/markdown/examples/example.md
+++ b/macros/generic/markdown/examples/example.md
@@ -65,6 +65,16 @@ This is an ordered list:
7. the third item of an ordered list.
+This is a fancy ordered list:
+
+e) The first item of an ordered list
+
+ that spans several paragraphs,
+
+f) the second item of an ordered list,
+
+g) the third item of an ordered list.
+
This is an ordered list using hash enumerators:
#. The first item of an ordered list
@@ -87,6 +97,12 @@ This is a compact ordered list using hash enumerators:
#. the second item of an ordered list,
#. the third item of an ordered list.
+This is a compact fancy ordered list using hash enumerators:
+
+#) The first item of an ordered list,
+#) the second item of an ordered list,
+#) the third item of an ordered list.
+
This is a task list:
* [ ] Some unfinished task
@@ -102,7 +118,7 @@ This is a definition list:
Term 1
-: Definition 1
+: Definition 1 with some ~~removed text~~
Term 2
@@ -122,6 +138,8 @@ Term 2
: Definition 2
: Definition 3
+This is a ^superscript^ and a ~subscript~.
+
This is a block quote:
> This is the first level of quoting.
diff --git a/macros/generic/markdown/examples/latex.tex b/macros/generic/markdown/examples/latex.tex
index a09706a8ae..e29f9a418b 100644
--- a/macros/generic/markdown/examples/latex.tex
+++ b/macros/generic/markdown/examples/latex.tex
@@ -27,6 +27,10 @@
pipeTables,
tableCaptions,
taskLists,
+ strikeThrough,
+ superscripts,
+ subscripts,
+ fancyLists,
]{markdown}
\begin{markdown*}{hybrid}
---
diff --git a/macros/generic/markdown/markdown.dtx b/macros/generic/markdown/markdown.dtx
index 0434cf5be6..ec13dced2c 100644
--- a/macros/generic/markdown/markdown.dtx
+++ b/macros/generic/markdown/markdown.dtx
@@ -806,6 +806,21 @@ abbr {
}%
},
},
+ jekyllDataRenderers = {
+ author = {%
+ \gdef\ltd@title@author{#1}%
+ \hypersetup{pdfauthor={#1}}%
+ },
+ title = {%
+ \gdef\ltd@title@title{#1}%
+ \gdef\ltd@title@subtitle{}%
+ \hypersetup{pdftitle={#1}}%
+ },
+ date = {\gdef\ltd@title@date{#1}},
+ email = {\gdef\ltd@title@email{#1}},
+ revision = {\gdef\ltd@title@revision{#1}},
+ url = {\gdef\ltd@title@url{#1}},
+ }
}
\renewcommand\markdownLaTeXRendererDirectOrIndirectLink[4]{%
#1\footnote{See \url{#3}.}}
@@ -838,27 +853,6 @@ abbr {
dlEnd = {\end{optionlist}},
}
}
-\ExplSyntaxOn
-\keys_define:nn
- { markdown/jekyllData }
- {
- author .code:n =
- {
- \gdef\ltd@title@author { #1 }
- \hypersetup{ pdfauthor = { #1 } }
- },
- title .code:n =
- {
- \gdef\ltd@title@title { #1 }
- \gdef\ltd@title@subtitle { }
- \hypersetup{ pdftitle = { #1 } }
- },
- date .code:n = { \gdef\ltd@title@date { #1 } },
- email .code:n = { \gdef\ltd@title@email { #1 } },
- revision .code:n = { \gdef\ltd@title@revision { #1 } },
- url .code:n = { \gdef\ltd@title@url { #1 } },
- }
-\ExplSyntaxOff
%</latex-themes-witiko-markdown-techdoc>
%<*manual>
@@ -1258,13 +1252,10 @@ local md5 = require("md5")
% <#sec:latexyamlmetadata>, and also in the default renderer prototype
% for attribute identifiers.
%
-% \pkg{expl3}
+% \pkg{soulutf8}
%
-%: A package that enables the expl3 language from the \LaTeX3 kernel in
-% \TeX{} Live${}\leq{}2019$. It is used in the default renderer prototypes
-% for links (see Section <#sec:latexlinks>), \acro{yaml} metadata (see
-% Section <#sec:latexyamlmetadata>), and in the implementation of
-% \LaTeX{} themes (see Section <#sec:latexthemesimplementation>).
+%: A package that is used in the default renderer prototype for
+% strike-throughs.
%
% \end{markdown}
% \begin{macrocode}
@@ -2184,7 +2175,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionCacheDir{cache}
+\setupmarkdown[cacheDir = cache]
\starttext
\startmarkdown
Hello *world*!
@@ -2389,8 +2380,11 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFinalizeCache{true}
-\def\markdownOptionFrozenCacheFileName{cache.tex}
+\setupmarkdown
+ [
+ finalizeCache = yes,
+ frozenCacheFileName = cache.tex,
+ ]
\starttext
\startmarkdown
Hello *world*!
@@ -2410,8 +2404,11 @@ Next, create a new text document `frozen-document.tex` with the following
content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFrozenCache{true}
-\def\markdownOptionFrozenCacheFileName{cache.tex}
+\setupmarkdown
+ [
+ frozenCache = yes,
+ frozenCacheFileName = cache.tex,
+ ]
\starttext
\startmarkdown
Hi *world*!
@@ -2631,7 +2628,7 @@ A paragraph.
> A quote.
\stopmarkdown
-\def\markdownOptionBlankBeforeBlockquote{true}
+\setupmarkdown[blankBeforeBlockquote = yes]
\startmarkdown
A paragraph.
> Not a quote.
@@ -2866,7 +2863,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
```` tex
\usemodule[t][markdown]
-\def\markdownOptionFencedCode{true}
+\setupmarkdown[fencedCode = yes]
\starttext
\startmarkdown
@@ -2876,7 +2873,7 @@ A code fence.
```
\stopmarkdown
-\def\markdownOptionBlankBeforeCodeFence{true}
+\setupmarkdown[blankBeforeCodeFence = yes]
\startmarkdown
A paragraph.
```
@@ -3110,7 +3107,7 @@ A heading.
==========
\stopmarkdown
-\def\markdownOptionBlankBeforeHeading{true}
+\setupmarkdown[blankBeforeHeading = yes]
\startmarkdown
A paragraph.
Not a heading.
@@ -3335,7 +3332,7 @@ following content:
> block quote.
\stopmarkdown
-\def\markdownOptionBreakableBlockquotes{true}
+\setupmarkdown[breakableBlockquotes = yes]
\startmarkdown
> A block quote.
@@ -3751,7 +3748,7 @@ following content:
``This is no longer a code span.''
\stopmarkdown
-\def\markdownOptionCodeSpans{false}
+\setupmarkdown[codeSpans = no]
\startmarkdown
``This is a quote.''
``This is another quote.''
@@ -3912,7 +3909,7 @@ This is a *transcluded markdown document*.
Create also a text document named `document.tex` with the following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionContentBlocks{true}
+\setupmarkdown[contentBlocks = yes]
\definetyping [ConTeXt]
\setuptyping [ConTeXt] [option=TEX]
\starttext
@@ -4071,8 +4068,11 @@ This is a *transcluded markdown document*.
Create also a text document named `document.tex` with the following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionContentBlocks{true}
-\def\markdownOptionContentBlocksLanguageMap{language-map.json}
+\setupmarkdown
+ [
+ contentBlocks = yes,
+ contentBlocksLanguageMap = language-map.json,
+ ]
\definetyping [ConTeXt]
\setuptyping [ConTeXt] [option=TEX]
\starttext
@@ -4207,7 +4207,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionDefinitionLists{true}
+\setupmarkdown[definitionLists = yes]
\starttext
\startmarkdown
Term 1
@@ -4446,15 +4446,11 @@ following content:
``` tex
\documentclass{article}
\usepackage[jekyllData]{markdown}
-\ExplSyntaxOn
-\keys_define:nn
- { markdown/jekyllData }
- {
- name .code:n = { \gdef\name{#1} },
- age .code:n = { \gdef\age{#1} },
- }
-\ExplSyntaxOff
\markdownSetup{
+ jekyllDataRenderers = {
+ name = {\gdef\name{#1}},
+ code = {\gdef\age{#1}},
+ },
renderers = {
jekyllDataEnd = {\name{} is \age{} years old.},
}
@@ -4493,6 +4489,106 @@ defaultOptions.expectJekyllData = false
%</lua,lua-cli>
%<*manual-options>
+#### Option `fancyLists`
+
+`fancyLists` (default value: `false`)
+
+% \fi
+% \begin{markdown}
+%
+% \Optitem[false]{fancyLists}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Enable the Pandoc fancy list extension:
+
+ ``` md
+ a) first item
+ b) second item
+ c) third item
+ ``````
+
+: false
+
+ : Disable the Pandoc fancy list extension.
+
+% \end{markdown}
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+```` tex
+\documentclass{article}
+\usepackage{minted}
+\usepackage[fancyLists]{markdown}
+\begin{document}
+\begin{markdown}
+a) first item
+b) second item
+c) third item
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex --shell-escape document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> a) first item
+> b) second item
+> c) third item
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+```` tex
+\usemodule[t][markdown]
+\setupmarkdown[fancyLists = yes]
+\starttext
+\startmarkdown
+a) first item
+b) second item
+c) third item
+\stopmarkdown
+\stoptext
+````````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+`````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> a) first item
+> b) second item
+> c) third item
+
+%</manual-options>
+%<*tex>
+% \fi
+% \begin{macrocode}
+\@@_add_lua_option:nnn
+ { fancyLists }
+ { boolean }
+ { false }
+% \end{macrocode}
+% \iffalse
+%</tex>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.fancyLists = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
#### Option `fencedCode`
`fencedCode` (default value: `false`)
@@ -4591,7 +4687,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
```` tex
\usemodule[t][markdown]
-\def\markdownOptionFencedCode{true}
+\setupmarkdown[fencedCode = yes]
\definetyping [js]
\definetyping [html]
\setuptyping [html] [option=XML]
@@ -4769,7 +4865,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFinalizeCache{true}
+\setupmarkdown[finalizeCache = yes]
\starttext
\startmarkdown
Hello *world*!
@@ -4787,7 +4883,7 @@ output file as we requested using the `finalizeCache` option.
Next, change the content of `document.tex` as follows:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFrozenCache{true}
+\setupmarkdown[frozenCache = yes]
\starttext
\startmarkdown
Hi *world*!
@@ -4925,7 +5021,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFootnotes{true}
+\setupmarkdown[footnotes = yes]
\starttext
\startmarkdown
Here is a footnote reference,[^1] and another.[^longnote]
@@ -5181,15 +5277,15 @@ following content:
\begin{document}
\begin{markdown}
-. Bird
-. McHale
-. Parish
+#. Bird
+#. McHale
+#. Parish
\end{markdown}
\begin{markdown*}{hashEnumerators}
-. Bird
-. McHale
-. Parish
+#. Bird
+#. McHale
+#. Parish
\end{markdown*}
\end{document}
@@ -5221,16 +5317,16 @@ following content:
\starttext
\startmarkdown
-. Bird
-. McHale
-. Parish
+#. Bird
+#. McHale
+#. Parish
\stopmarkdown
-\def\markdownOptionHashEnumerators{true}
+\setupmarkdown[hashEnumerators = yes]
\startmarkdown
-. Bird
-. McHale
-. Parish
+#. Bird
+#. McHale
+#. Parish
\stopmarkdown
\stoptext
@@ -5544,7 +5640,7 @@ _There is no <!-- comment --> support._
_There is no <? HTML instruction ?> support._
\stopmarkdown
-\def\markdownOptionHtml{true}
+\setupmarkdown[html = yes]
\startmarkdown
<div>
*There is block tag support.*
@@ -5763,7 +5859,7 @@ following content:
$\sqrt{-1}$ *equals* $i$.
\stopmarkdown
-\def\markdownOptionHybrid{true}
+\setupmarkdown[hybrid = yes]
\startmarkdown
$\sqrt{-1}$ *equals* $i$.
\stopmarkdown
@@ -5860,7 +5956,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionInlineFootnotes{true}
+\setupmarkdown[inlineFootnotes = yes]
\starttext
\startmarkdown
Here is an inline note.^[Inlines notes are easier to
@@ -5978,15 +6074,11 @@ following content:
``` tex
\documentclass{article}
\usepackage[jekyllData]{markdown}
-\ExplSyntaxOn
-\keys_define:nn
- { markdown/jekyllData }
- {
- name .code:n = { \gdef\name{#1} },
- age .code:n = { \gdef\age{#1} },
- }
-\ExplSyntaxOff
\markdownSetup{
+ jekyllDataRenderers = {
+ name = {\gdef\name{#1}},
+ code = {\gdef\age{#1}},
+ },
renderers = {
jekyllDataEnd = {\name{} is \age{} years old.},
}
@@ -6017,7 +6109,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionJekyllData{true}
+\setupmarkdown[jekyllData = yes]
\ExplSyntaxOn
\keys_define:nn
{ markdown/jekyllData }
@@ -6133,7 +6225,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionPipeTables{true}
+\setupmarkdown[pipeTables = yes]
\starttext
\startmarkdown
| Right | Left | Default | Center |
@@ -6409,14 +6501,9 @@ following content:
\usemodule[t][markdown]
\starttext
-\def\markdownOptionShiftHeadings{-1}
-\markdownInput{example.md}
-
-\def\markdownOptionShiftHeadings{0}
-\markdownInput{example.md}
-
-\def\markdownOptionShiftHeadings{+1}
-\markdownInput{example.md}
+\inputmarkdown[shiftHeadings = -1]{example.md}
+\inputmarkdown[shiftHeadings = 0]{example.md}
+\inputmarkdown[shiftHeadings = +1]{example.md}
\stoptext
````````
@@ -6459,7 +6546,7 @@ defaultOptions.shiftHeadings = 0
% \fi
% \begin{markdown}
%
-% \Valitem[\textasciicircum{} \$]{slice}{the beginning and the end of a slice}
+% \Valitem[\textasciicircum{} \\$]{slice}{the beginning and the end of a slice}
%
: Two space-separated selectors that specify the slice of a document that
will be processed, whereas the remainder of the document will be ignored.
@@ -6616,17 +6703,12 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionHeaderAttributes{true}
+\setupmarkdown[headerAttributes = yes]
\starttext
-\def\markdownOptionSlice{^ ^act-3}
-\markdownInput{hamlet.md}
-
-\def\markdownOptionSlice{act-1}
-\markdownInput{hamlet.md}
-
-\def\markdownOptionSlice{act-3 act-5}
-\markdownInput{hamlet.md}
+\inputmarkdown[slice = ^ ^act-3]{example.md}
+\inputmarkdown[slice = act-1]{example.md}
+\inputmarkdown[slice = act-3 act-5]{example.md}
\stoptext
````````
@@ -6838,7 +6920,7 @@ following content:
These are just three regular dots ...
\stopmarkdown
-\def\markdownOptionSmartEllipses{true}
+\setupmarkdown[smartEllipses = yes]
\startmarkdown
... and this is a victorian ellipsis.
\stopmarkdown
@@ -6963,7 +7045,7 @@ The following list respects the numbers specified in the markup:
5. fifth item
\stopmarkdown
-\def\markdownOptionStartNumber{false}
+\setupmarkdown[startNumber = no]
\startmarkdown
The following list respects the numbers specified in the markup:
@@ -7013,6 +7095,125 @@ defaultOptions.startNumber = true
%</lua,lua-cli>
%<*manual-options>
+#### Option `strikeThrough`
+
+`strikeThrough` (default value: `false`)
+
+% \fi
+% \begin{markdown}
+%
+% \Optitem[false]{strikeThrough}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Enable the Pandoc strike-through syntax extension:
+
+ ``` md
+ This ~~is deleted text.~~
+ ``````
+
+: false
+
+ : Disable the Pandoc strike-through syntax extension.
+
+% \end{markdown}
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionStrikeThrough{true}
+\input soulutf8.sty
+\def\markdownRendererStrikeThrough#1{\st{#1}}
+\markdownBegin
+This is ~~a lunar roving vehicle~~ strike-through text.
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[strikeThrough]{markdown}
+\usepackage{soulutf8}
+\markdownSetup{
+ renderers = {
+ strikeThrough = {\st{#1}},
+ },
+}
+\begin{document}
+\begin{markdown}
+This is ~~a lunar roving vehicle~~ strike-through text.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[strikeThrough = yes]
+\def\markdownRendererStrikeThrough#1{\overstrikes{#1}}
+\starttext
+\startmarkdown
+This is ~~a lunar roving vehicle~~ strike-through text.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+%</manual-options>
+%<*tex>
+% \fi
+% \begin{macrocode}
+\@@_add_lua_option:nnn
+ { strikeThrough }
+ { boolean }
+ { false }
+% \end{macrocode}
+% \iffalse
+%</tex>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.strikeThrough = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
#### Option `stripIndent`
`stripIndent` (default value: `false`)
@@ -7026,7 +7227,7 @@ defaultOptions.startNumber = true
: Strip the minimal indentation of non-blank lines from all
lines in a markdown document. Requires that the
- \Opt{preserveTabs} Lua option is \opt{false}:
+ \Opt{preserveTabs} Lua option is disabled:
``` tex
\documentclass{article}
@@ -7091,7 +7292,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionStripIndent{true}
+\setupmarkdown[stripIndent = yes]
\starttext
\startmarkdown
Hello *world*!
@@ -7126,6 +7327,184 @@ defaultOptions.stripIndent = false
%</lua,lua-cli>
%<*manual-options>
+#### Option `subscripts`
+
+`subscripts` (default value: `false`)
+
+% \fi
+% \begin{markdown}
+%
+% \Optitem[false]{subscripts}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Enable the Pandoc subscript syntax extension:
+
+ ``` md
+ H~2~O is a liquid.
+ ``````
+
+: false
+
+ : Disable the Pandoc subscript syntax extension.
+
+% \end{markdown}
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[subscripts]{markdown}
+\begin{document}
+\begin{markdown}
+H~2~O is a liquid.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> H~2~O is a liquid.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[subscripts = yes]
+\starttext
+\startmarkdown
+H~2~O is a liquid.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> H~2~O is a liquid.
+
+%</manual-options>
+%<*tex>
+% \fi
+% \begin{macrocode}
+\@@_add_lua_option:nnn
+ { subscripts }
+ { boolean }
+ { false }
+% \end{macrocode}
+% \iffalse
+%</tex>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.subscripts = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
+#### Option `superscripts`
+
+`superscripts` (default value: `false`)
+
+% \fi
+% \begin{markdown}
+%
+% \Optitem[false]{superscripts}{\opt{true}, \opt{false}}
+%
+: true
+
+ : Enable the Pandoc superscript syntax extension:
+
+ ``` md
+ 2^10^ is 1024.
+ ``````
+
+: false
+
+ : Disable the Pandoc superscript syntax extension.
+
+% \end{markdown}
+% \iffalse
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[superscripts]{markdown}
+\begin{document}
+\begin{markdown}
+2^10^ is 1024.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> 2^10^ is 1024.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[superscripts = yes]
+\starttext
+\startmarkdown
+2^10^ is 1024.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> 2^10^ is 1024.
+
+%</manual-options>
+%<*tex>
+% \fi
+% \begin{macrocode}
+\@@_add_lua_option:nnn
+ { superscripts }
+ { boolean }
+ { false }
+% \end{macrocode}
+% \iffalse
+%</tex>
+%<*lua,lua-cli>
+% \fi
+% \begin{macrocode}
+defaultOptions.superscripts = false
+% \end{macrocode}
+% \par
+% \iffalse
+%</lua,lua-cli>
+%<*manual-options>
+
#### Option `tableCaptions`
`tableCaptions` (default value: `false`)
@@ -7200,8 +7579,11 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionPipeTables{true}
-\def\markdownOptionTableCaptions{true}
+\setupmarkdown
+ [
+ pipeTables = yes,
+ tableCaptions = yes,
+ ]
\starttext
\startmarkdown
| Right | Left | Default | Center |
@@ -7316,7 +7698,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionTaskLists{true}
+\setupmarkdown[taskLists = yes]
\def\markdownRendererUntickedBox{No}
\def\markdownRendererHalftickedBox{Maybe}
\def\markdownRendererTickedBox{Yes}
@@ -7440,7 +7822,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionTexComments{true}
+\setupmarkdown[texComments = yes]
\starttext
\startmarkdown
Hel% this is a comment
@@ -7694,14 +8076,14 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionHybrid{true}
+\setupmarkdown[hybrid = yes]
\starttext
\startmarkdown
This is _emphasized text_ and this is a math subscript: $m\_n$.
\stopmarkdown
-\def\markdownOptionUnderscores{false}
+\setupmarkdown[underscores = yes]
\startmarkdown
This is *emphasized text* and this is a math subscript: $m_n$.
\stopmarkdown
@@ -8316,9 +8698,7 @@ For more information, see the examples for the \Opt{finalizeCache} option.
% \begin{markdown}
%
% The \mref{markdownOptionOutputTempFileName} macro has been deprecated and
-% will be removed in Markdown 3.0.0. To control the filename of the temporary
-% file for Lua output, use the \mref{g_luabridge_error_output_filename_str}
-% macro from the \pkg{lt3luabridge} package.
+% will be removed in Markdown 3.0.0.
%
% \end{markdown}
% \begin{macrocode}
@@ -8382,20 +8762,6 @@ For more information, see the examples for the \Opt{finalizeCache} option.
% \end{macrocode}
% \begin{markdown}
%
-% The \mref{markdownOptionOutputDir} macro is also used to set the
-% \mref{g_luabridge_output_dirname_str} macro from the \pkg{lt3luabridge}
-% package.
-%
-% \end{markdown}
-% \begin{macrocode}
-\str_new:N
- \g_luabridge_output_dirname_str
-\tl_gset:Nn
- \g_luabridge_output_dirname_str
- { \markdownOptionOutputDir }
-% \end{macrocode}
-% \begin{markdown}
-%
% Here, we automatically define plain \TeX{} macros for the above plain \TeX{}
% options.
%
@@ -8731,7 +9097,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionTaskLists{true}
+\setupmarkdown[taskLists = yes]
\def\markdownRendererUntickedBox{No}
\def\markdownRendererTickedBox{Yes}
\starttext
@@ -9233,9 +9599,9 @@ following text:
% \begin{markdown}
#### Ellipsis Renderer
- The \mdef{markdownRendererEllipsis} macro replaces any occurance of ASCII
- ellipses in the input text. This macro will only be produced, when the
- \Opt{smartEllipses} option is enabled. The macro receives no arguments.
+The \mdef{markdownRendererEllipsis} macro replaces any occurance of ASCII
+ellipses in the input text. This macro will only be produced, when the
+\Opt{smartEllipses} option is enabled. The macro receives no arguments.
% \end{markdown}
%
@@ -9296,7 +9662,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionSmartEllipses{true}
+\setupmarkdown[smartEllipses = yes]
\def\markdownRendererEllipsis{\emph{SHAZAM}!}
\starttext
\startmarkdown
@@ -9762,7 +10128,7 @@ following content:
$\sqrt{-1}$ *equals* $i$
\stopmarkdown
-\def\markdownOptionHybrid{true}
+\setupmarkdown[hybrid = yes]
\startmarkdown
$\sqrt{-1}$ *equals* $i$
\stopmarkdown
@@ -10219,7 +10585,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionContentBlocks{true}
+\setupmarkdown[contentBlocks = yes]
\def\markdownRendererContentBlock#1#2#3#4{%
This is {\tt #2}, #4.
}
@@ -10324,7 +10690,7 @@ list is not tight). The macro receives no arguments.
The \mdef{markdownRendererUlBeginTight} macro represents the beginning 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 \Opt{tightLists} option
-is `false`. The macro receives no arguments.
+is disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -10455,7 +10821,7 @@ tight). The macro receives no arguments.
The \mdef{markdownRendererUlEndTight} 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 \Opt{tightLists} option is
-`false`. The macro receives no arguments.
+disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -10602,7 +10968,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionTightLists{true}
+\setupmarkdown[tightLists = yes]
\starttext
\def\markdownRendererInterblockSeparator{}
@@ -10691,7 +11057,8 @@ following text:
#### Ordered List Renderers
The \mdef{markdownRendererOlBegin} macro represents the beginning of an
ordered list that contains an item with several paragraphs of text (the
-list is not tight). The macro receives no arguments.
+list is not tight). This macro will only be produced, when the \Opt{fancyLists}
+option is disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -10725,7 +11092,8 @@ list is not tight). The macro receives no arguments.
The \mdef{markdownRendererOlBeginTight} macro represents the beginning 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 \Opt{tightLists}
-option is `false`. The macro receives no arguments.
+option is enabled and the \Opt{fancyLists} option is disabled. The macro
+receives no arguments.
% \end{markdown}
%
@@ -10756,9 +11124,84 @@ option is `false`. The macro receives no arguments.
%
% \begin{markdown}
+The \mdef{markdownRendererFancyOlBegin} macro represents the beginning of a
+fancy ordered list that contains an item with several paragraphs of text (the
+list is not tight). This macro will only be produced, when the \Opt{fancyLists}
+option is enabled. The macro receives two arguments: the style of the list item
+labels (`Decimal`, `LowerRoman`, `UpperRoman`, `LowerAlpha`, and `UpperAlpha`),
+and the style of delimiters between list item labels and texts (`Default`,
+`OneParen`, and `Period`).
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlBegin{%
+ \markdownRendererFancyOlBeginPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlBegin }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlBegin }
+ { 2 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+The \mdef{markdownRendererFancyOlBeginTight} macro represents the beginning of
+a fancy ordered list that contains no item with several paragraphs of text (the
+list is tight). This macro will only be produced, when the \Opt{fancyLists}
+and \Opt{tightLists} options are enabled. The macro receives two arguments: the
+style of the list item labels, and the style of delimiters between list
+item labels and texts. See the \mref{markdownRendererFancyOlBegin} macro for
+the valid style values.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlBeginTight{%
+ \markdownRendererFancyOlBeginTightPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlBeginTight }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlBeginTight }
+ { 2 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
The \mdef{markdownRendererOlItem} macro represents an item in an ordered list.
This macro will only be produced, when the \Opt{startNumber} option is
-`false`. The macro receives no arguments.
+disabled and the \Opt{fancyLists} option is disabled. The macro receives no
+arguments.
% \end{markdown}
%
@@ -10790,7 +11233,8 @@ This macro will only be produced, when the \Opt{startNumber} option is
% \begin{markdown}
The \mdef{markdownRendererOlItemEnd} macro represents the end of an item in
-an ordered list. The macro receives no arguments.
+an ordered list. This macro will only be produced, when the \Opt{fancyLists}
+option is disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -10823,8 +11267,8 @@ an ordered list. The macro receives no arguments.
The \mdef{markdownRendererOlItemWithNumber} macro represents an item in an
ordered list. This macro will only be produced, when the \Opt{startNumber}
-option is enabled. The macro receives a single numeric argument that
-corresponds to the item number.
+option is enabled and the \Opt{fancyLists} option is disabled. The macro
+receives a single numeric argument that corresponds to the item number.
% \end{markdown}
%
@@ -10855,9 +11299,111 @@ corresponds to the item number.
%
% \begin{markdown}
+The \mdef{markdownRendererFancyOlItem} macro represents an item in a fancy
+ordered list. This macro will only be produced, when the \Opt{startNumber}
+option is disabled and the \Opt{fancyLists} option is enabled. The macro receives
+no arguments.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlItem{%
+ \markdownRendererFancyOlItemPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlItem }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlItem }
+ { 0 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+The \mdef{markdownRendererFancyOlItemEnd} macro represents the end of an item in
+a fancy ordered list. This macro will only be produced, when the \Opt{fancyLists}
+option is enabled. The macro receives no arguments.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlItemEnd{%
+ \markdownRendererFancyOlItemEndPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlItemEnd }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlItemEnd }
+ { 0 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+The \mdef{markdownRendererFancyOlItemWithNumber} macro represents an item in a
+fancy ordered list. This macro will only be produced, when the \Opt{startNumber}
+and \Opt{fancyLists} options are enabled. The macro receives a single numeric
+argument that corresponds to the item number.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlItemWithNumber{%
+ \markdownRendererFancyOlItemWithNumberPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlItemWithNumber }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlItemWithNumber }
+ { 1 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
The \mdef{markdownRendererOlEnd} macro represents the end of an ordered list
that contains an item with several paragraphs of text (the list is not
-tight). The macro receives no arguments.
+tight). This macro will only be produced, when the \Opt{fancyLists} option is
+disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -10891,7 +11437,76 @@ tight). The macro receives no arguments.
The \mdef{markdownRendererOlEndTight} 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 \Opt{tightLists} option is
-`false`. The macro receives no arguments.
+enabled and the \Opt{fancyLists} option is disabled. The macro receives no
+arguments.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererOlEndTight{%
+ \markdownRendererOlEndTightPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { olEndTight }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { olEndTight }
+ { 0 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+The \mdef{markdownRendererFancyOlEnd} macro represents the end of a fancy
+ordered list that contains an item with several paragraphs of text (the list
+is not tight). This macro will only be produced, when the \Opt{fancyLists}
+option is enabled. The macro receives no arguments.
+
+% \end{markdown}
+%
+% \iffalse
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererFancyOlEnd{%
+ \markdownRendererFancyOlEndPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { fancyOlEnd }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { fancyOlEnd }
+ { 0 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+The \mdef{markdownRendererFancyOlEndTight} macro represents the end of a
+fancy ordered list that contains no item with several paragraphs of text (the
+list is tight). This macro will only be produced, when the \Opt{fancyLists}
+and \Opt{tightLists} options are enabled. The macro receives no arguments.
% \end{markdown}
%
@@ -11072,8 +11687,11 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionTightLists{true}
-\def\markdownOptionStartNumber{true}
+\setupmarkdown
+ [
+ tightLists = yes,
+ startNumber = yes,
+ ]
\starttext
\def\markdownRendererInterblockSeparator{}
@@ -11155,15 +11773,15 @@ following text:
% \fi
%
% \begin{macrocode}
-\def\markdownRendererOlEndTight{%
- \markdownRendererOlEndTightPrototype}%
+\def\markdownRendererFancyOlEndTight{%
+ \markdownRendererFancyOlEndTightPrototype}%
\ExplSyntaxOn
\seq_put_right:Nn
\g_@@_renderers_seq
- { olEndTight }
+ { fancyOlEndTight }
\prop_put:Nnn
\g_@@_renderer_arities_prop
- { olEndTight }
+ { fancyOlEndTight }
{ 0 }
\ExplSyntaxOff
% \end{macrocode}
@@ -11216,7 +11834,7 @@ list is not tight). The macro receives no arguments.
The \mdef{markdownRendererDlBeginTight} macro represents the beginning of a
definition list that contains an item with several paragraphs of text (the
list is not tight). This macro will only be produced, when the
-\Opt{tightLists} option is `false`. The macro receives no arguments.
+\Opt{tightLists} option is disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -11414,7 +12032,7 @@ tight). The macro receives no arguments.
The \mdef{markdownRendererDlEndTight} 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 \Opt{tightLists}
-option is `false`. The macro receives no arguments.
+option is disabled. The macro receives no arguments.
% \end{markdown}
%
@@ -11648,8 +12266,11 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionDefinitionLists{true}
-\def\markdownOptionTightLists{true}
+\setupmarkdown
+ [
+ definitionLists = yes,
+ tightLists = yes,
+ ]
\starttext
\def\markdownRendererInterblockSeparator{%
@@ -12670,7 +13291,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionJekyllData{true}
+\setupmarkdown[jekyllData = yes]
\def\markdownRendererJekyllDataString#1#2{\gdef\name{#2}}
\def\markdownRendererJekyllDataNumber#1#2{\gdef\age{#2}}
\def\markdownRendererJekyllDataEnd{%
@@ -13200,7 +13821,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionFootnotes{true}
+\setupmarkdown[footnotes = yes]
\def\markdownRendererFootnote#1{ (and \lowercase{#1})}
\starttext
\startmarkdown
@@ -14001,6 +14622,332 @@ following text:
%
% \begin{markdown}
+#### Strike-Through Renderer
+The \mdef{markdownRendererStrikeThrough} macro represents a strike-through span of
+text. The macro receives a single argument that corresponds to the striked-out
+span of text. This macro will only be produced, when the \Opt{strikeThrough}
+option is enabled.
+
+% \end{markdown}
+%
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionStrikeThrough{true}
+\input soulutf8.sty
+\def\markdownRendererStrikeThrough#1{\st{#1}}
+\markdownBegin
+This is ~~a lunar roving vehicle~~ strike-through text.
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[strikeThrough]{markdown}
+\usepackage{soulutf8}
+\markdownSetup{
+ renderers = {
+ strikeThrough = {\st{#1}},
+ },
+}
+\begin{document}
+\begin{markdown}
+This is ~~a lunar roving vehicle~~ strike-through text.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[strikeThrough = yes]
+\def\markdownRendererStrikeThrough#1{\overstrikes{#1}}
+\starttext
+\startmarkdown
+This is ~~a lunar roving vehicle~~ strike-through text.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> This is ~~a lunar roving vehicle~~ strike-through text.
+
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererStrikeThrough{%
+ \markdownRendererStrikeThroughPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { strikeThrough }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { strikeThrough }
+ { 1 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+#### Superscript Renderer
+The \mdef{markdownRendererSuperscript} macro represents a superscript span of
+text. The macro receives a single argument that corresponds to the superscript
+span of text. This macro will only be produced, when the \Opt{superscripts}
+option is enabled.
+
+% \end{markdown}
+%
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionSuperscripts{true}
+\def\markdownRendererSuperscript#1{ taken to the power of #1}
+\markdownBegin
+2^10^ is 1024.
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> 2 taken to the power of 10 is 1024.
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[superscripts]{markdown}
+\markdownSetup{
+ renderers = {
+ superscript = { taken to the power of #1},
+ },
+}
+\begin{document}
+\begin{markdown}
+2^10^ is 1024.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> 2 taken to the power of 10 is 1024.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[superscripts = yes]
+\def\markdownRendererSuperscript#1{ taken to the power of #1}
+\starttext
+\startmarkdown
+2^10^ is 1024.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> 2 taken to the power of 10 is 1024.
+
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererSuperscript{%
+ \markdownRendererSuperscriptPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { superscript }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { superscript }
+ { 1 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
+#### Subscript Renderer
+The \mdef{markdownRendererSubscript} macro represents a subscript span of
+text. The macro receives a single argument that corresponds to the subscript
+span of text. This macro will only be produced, when the \Opt{subscripts}
+option is enabled.
+
+% \end{markdown}
+%
+% \iffalse
+
+##### Plain \TeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\input markdown
+\def\markdownOptionSubscripts{true}
+\def\markdownRendererSubscript#1{ (#1 moles) and }
+\markdownBegin
+H~2~O is a liquid.
+\markdownEnd
+\bye
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+luatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> H (2 moles) and O is liquid.
+
+##### \LaTeX{} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\documentclass{article}
+\usepackage[subscripts]{markdown}
+\markdownSetup{
+ renderers = {
+ subscript = { (#1 moles) and },
+ },
+}
+\begin{document}
+\begin{markdown}
+H~2~O is a liquid.
+\end{markdown}
+\end{document}
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+lualatex document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> H (2 moles) and O is liquid.
+
+##### \Hologo{ConTeXt} Example {.unnumbered}
+
+Using a text editor, create a text document named `document.tex` with the
+following content:
+``` tex
+\usemodule[t][markdown]
+\setupmarkdown[subscripts = yes]
+\def\markdownRendererSubscript#1{ (#1 moles) and }
+\starttext
+\startmarkdown
+H~2~O is a liquid.
+\stopmarkdown
+\stoptext
+```````
+Next, invoke LuaTeX from the terminal:
+``` sh
+context document.tex
+``````
+A PDF document named `document.pdf` should be produced and contain the
+following text:
+
+> H (2 moles) and O is liquid.
+
+%</manual-tokens>
+%<*tex>
+% \fi
+%
+% \begin{macrocode}
+\def\markdownRendererSubscript{%
+ \markdownRendererSubscriptPrototype}%
+\ExplSyntaxOn
+\seq_put_right:Nn
+ \g_@@_renderers_seq
+ { subscript }
+\prop_put:Nnn
+ \g_@@_renderer_arities_prop
+ { subscript }
+ { 1 }
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+%
+% \iffalse
+%</tex>
+%<*manual-tokens>
+% \fi
+%
+% \begin{markdown}
+
### Token Renderer Prototypes {#texrendererprototypes}
% \end{markdown}
@@ -14165,15 +15112,11 @@ following content:
``` tex
\documentclass{article}
\usepackage[jekyllData]{markdown}
-\ExplSyntaxOn
-\keys_define:nn
- { markdown/jekyllData }
- {
- name .code:n = { \gdef\name{#1} },
- age .code:n = { \gdef\age{#1} },
- }
-\ExplSyntaxOff
\markdownSetup{
+ jekyllDataRenderers = {
+ name = {\gdef\name{#1}},
+ code = {\gdef\age{#1}},
+ },
renderers = {
jekyllDataEnd = {\name{} is \age{} years old.},
}
@@ -14204,7 +15147,7 @@ Using a text editor, create a text document named `document.tex` with the
following content:
``` tex
\usemodule[t][markdown]
-\def\markdownOptionJekyllData{true}
+\setupmarkdown[jekyllData = yes]
\ExplSyntaxOn
\keys_define:nn
{ markdown/jekyllData }
@@ -14416,21 +15359,6 @@ following text:
}
}
% \end{macrocode}
-% \begin{markdown}
-%
-% \end{markdown}
-% \begin{macrocode}
-\int_compare:nF
- { \markdownMode = 3 }
- {
- \int_new:N
- \g_luabridge_method_int
- \int_gset:Nn
- \g_luabridge_method_int
- { \markdownMode }
- }
-\ExplSyntaxOff
-% \end{macrocode}
% \par
% \begin{markdown}
%
@@ -14507,11 +15435,11 @@ pdflatex --shell-escape document.tex
% \begin{markdown}
%
% The \LaTeX{} interface provides \LaTeX{} environments for the typesetting of
-% markdown input from within \LaTeX{}, facilities for setting Lua interface
-% options (see Section <#sec:luaoptions>) used during the conversion from
-% markdown to plain \TeX{}, and facilities for changing the way markdown tokens
-% are rendered. The rest of the interface is inherited from the plain \TeX{}
-% interface (see Section <#sec:texinterface>).
+% markdown input from within \LaTeX{}, facilities for setting Lua, plain \TeX,
+% and \LaTeX{} options used during the conversion from markdown to plain
+% \TeX{}, and facilities for changing the way markdown tokens are rendered. The
+% rest of the interface is inherited from the plain \TeX{} interface (see
+% Section <#sec:texinterface>).
%
% The \LaTeX{} implementation redefines the plain \TeX{} logging macros (see
% Section <#sec:texinterfacelogging>) to use the \LaTeX{} \mref{PackageInfo},
@@ -15134,7 +16062,7 @@ following image:
\pkg{witiko/tilde}
: A theme that makes tilde (`~`) always typeset the non-breaking space even
- when the \Opt{hybrid} Lua option is `false`.
+ when the \Opt{hybrid} Lua option is disabled.
% ``` tex
% \documentclass{article}
% \usepackage[theme=witiko/tilde]{markdown}
@@ -15288,7 +16216,7 @@ The following ordered list will be preceded by roman numerals:
% \begin{markdown}
%
% Furthermore, we also define the \meta{key}`=`\meta{value} interface
-% for all option macros recognized by the Lua plain \TeX{} interfaces.
+% for all option macros recognized by the Lua and plain \TeX{} interfaces.
%
% \end{markdown}
% \begin{macrocode}
@@ -15536,7 +16464,7 @@ The following ordered list will be preceded by roman numerals:
The \Hologo{ConTeXt} interface provides the same level of functionality as the
plain \TeX{} interface by using the plain \TeX{} interface behind the scenes.
Unlike the plain \TeX{} interface, the \Hologo{ConTeXt} interface uses familiar
-\Hologo{ConTeXt} idioms, such as environments.
+\Hologo{ConTeXt} idioms as syntactic sugar.
The \Hologo{ConTeXt} interface accepts the same options as the plain \TeX{}
interface.
@@ -15551,7 +16479,7 @@ following content:
$\sqrt{-1}$ *equals* $i$.
\stopmarkdown
-\def\markdownOptionHybrid{true}
+\setupmarkdown[hybrid = yes]
\startmarkdown
$\sqrt{-1}$ *equals* $i$.
\stopmarkdown
@@ -15579,9 +16507,10 @@ texexec --passon=--shell-escape document.tex
% \fi
%
% The \Hologo{ConTeXt} interface provides a start-stop macro pair for the
-% typesetting of markdown input from within \Hologo{ConTeXt}. The rest of the
-% interface is inherited from the plain \TeX{} interface (see Section
-% <#sec:texinterface>).
+% typesetting of markdown input from within \Hologo{ConTeXt} and facilities for
+% setting Lua, plain \TeX, and \Hologo{ConTeXt} options used during the
+% conversion from markdown to plain \TeX{}. The rest of the interface is
+% inherited from the plain \TeX{} interface (see Section <#sec:texinterface>).
%
% \end{markdown}
% \begin{macrocode}
@@ -15592,6 +16521,21 @@ texexec --passon=--shell-escape document.tex
% \par
% \begin{markdown}
%
+% The \Hologo{ConTeXt} implementation redefines the plain \TeX{} logging macros
+% (see Section <#sec:texinterfacelogging>) to use the \Hologo{ConTeXt}
+% \mref{writestatus} macro.
+%
+% \end{markdown}
+% \begin{macrocode}
+\def\markdownInfo#1{\writestatus{markdown}{#1.}}%
+\def\markdownWarning#1{\writestatus{markdown\space warn}{#1.}}%
+\def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
+ \do\#\do\^\do\_\do\%\do\~}%
+\input markdown/markdown
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
% The \Hologo{ConTeXt} interface is implemented by the
% `t-markdown.tex` \Hologo{ConTeXt} module file that can be loaded as follows:
% ``` tex
@@ -15602,12 +16546,14 @@ texexec --passon=--shell-escape document.tex
%
%### Typesetting Markdown
% The interface exposes the \mdef{startmarkdown} and \mdef{stopmarkdown} macro
-% pair for the typesetting of a markdown document fragment.
+% pair for the typesetting of a markdown document fragment, and defines the
+% \mdef{inputmarkdown} command.
%
% \end{markdown}
% \begin{macrocode}
\let\startmarkdown\relax
\let\stopmarkdown\relax
+\let\inputmarkdown\relax
% \end{macrocode}
% \par
% \begin{markdown}
@@ -15631,6 +16577,127 @@ texexec --passon=--shell-escape document.tex
% \stoptext
% ```````
%
+% The \mref{inputmarkdown} macro accepts a single mandatory parameter
+% containing the filename of a markdown document and expands to the result of
+% the conversion of the input markdown document to plain \TeX{}. Unlike the
+% \mref{markdownInput} macro provided by the plain \TeX{} interface, this macro
+% also accepts \Hologo{ConTeXt} interface options (see Section
+% <#sec:contextoptions>) as its optional argument. These options will only
+% influnce this markdown document.
+%
+% The following example \LaTeX{} code showcases the usage of the
+% \mref{markdownInput} macro:
+% ``` tex
+% \usemodule[t][markdown]
+% \starttext
+% % ...
+% \inputmarkdown[smartEllipses]{hello.md}
+% % ...
+% \stoptext
+% ```````
+%
+%### Options {#contextoptions}
+%
+% The \Hologo{ConTeXt} options are represented by a comma-delimited list of
+% \meta{key}`=`\meta{value} pairs. For boolean options, the `=`\meta{value}
+% part is optional, and \meta{key} will be interpreted as \meta{key}`=true`
+% (or, equivalently, \meta{key}`=yes`) if the `=`\meta{value} part has been
+% omitted.
+%
+% \Hologo{ConTeXt} options map directly to the options recognized by the plain
+% \TeX{} interface (see Section <#sec:texoptions>).
+%
+% The \Hologo{ConTeXt} options may be specified when using the
+% \mref{inputmarkdown} macro (see Section <#sec:contextinterface>), or via the
+% \mdef{setupmarkdown} macro. The \mref{setupmarkdown} macro receives the
+% options to set up as its only argument:
+%
+% \end{markdown}
+% \begin{macrocode}
+\ExplSyntaxOn
+\cs_new:Nn
+ \@@_setup:n
+ {
+ \keys_set:nn
+ { markdown/context-options }
+ { #1 }
+ }
+\long\def\setupmarkdown[#1]
+ {
+ \@@_setup:n
+ { #1 }
+ }
+\ExplSyntaxOff
+% \end{macrocode}
+% \begin{markdown}
+%
+%#### \Hologo{ConTeXt} Interface Options
+% We define the \meta{key}`=`\meta{value} interface for all option macros
+% recognized by the Lua and plain \TeX{} interfaces.
+%
+% \end{markdown}
+% \begin{macrocode}
+\ExplSyntaxOn
+\cs_new:Nn \@@_context_define_option_commands_and_keyvals:
+ {
+ \seq_map_inline:Nn
+ \g_@@_option_layers_seq
+ {
+ \seq_map_inline:cn
+ { g_@@_ ##1 _options_seq }
+ {
+ \@@_context_define_option_keyval:nn
+ { ##1 }
+ { ####1 }
+ }
+ }
+ }
+\cs_new:Nn \@@_context_define_option_keyval:nn
+ {
+ \prop_get:cnN
+ { g_@@_ #1 _option_types_prop }
+ { #2 }
+ \l_tmpa_tl
+ \keys_define:nn
+ { markdown/context-options }
+ {
+ #2 .code:n = {
+ \tl_set:Nx
+ \l_tmpa_tl
+ {
+ \str_case:nnF
+ { ##1 }
+ {
+ { yes } { true }
+ { no } { false }
+ }
+ { ##1 }
+ }
+ \@@_set_option_value:nV
+ { #2 }
+ \l_tmpa_tl
+ },
+ }
+ \str_if_eq:VVT
+ \l_tmpa_tl
+ \c_@@_option_type_boolean_tl
+ {
+ \keys_define:nn
+ { markdown/context-options }
+ {
+ #2 .default:n = { true },
+ }
+ }
+ }
+\cs_generate_variant:Nn
+ \@@_set_option_value:nn
+ { nV }
+\@@_context_define_option_commands_and_keyvals:
+\ExplSyntaxOff
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
% Implementation {#implementation}
%================
%
@@ -15657,7 +16724,7 @@ texexec --passon=--shell-escape document.tex
%
% The Lua implementation implements \luamdef{writer} and \luamdef{reader}
% objects, which provide the conversion from markdown to plain \TeX, and
-% \luamdef{extension} objects, which provide syntax extensions for the
+% \luamdef{extensions} objects, which provide syntax extensions for the
% \luamref{writer} and \luamref{reader} objects.
%
% The Lunamark Lua module implements writers for the conversion to various
@@ -18105,22 +19172,12 @@ function M.writer.new(options)
% \par
% \begin{markdown}
%
-% Make `options.cacheDir` available as \luamdef{writer->cacheDir}, so that it
-% is accessible from extensions.
-%
-% \end{markdown}
-% \begin{macrocode}
- self.cacheDir = options.cacheDir
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
-% Make `options.hybrid` available as \luamdef{writer->hybrid}, so that it is
+% Make `options` available as \luamdef{writer->options}, so that it is
% accessible from extensions.
%
% \end{markdown}
% \begin{macrocode}
- self.hybrid = options.hybrid
+ self.options = options
% \end{macrocode}
% \par
% \begin{markdown}
@@ -18399,16 +19456,11 @@ function M.writer.new(options)
%
% \end{markdown}
% \begin{macrocode}
- local function ulitem(s)
- return {"\\markdownRendererUlItem ",s,
- "\\markdownRendererUlItemEnd "}
- end
-
function self.bulletlist(items,tight)
if not self.is_writing then return "" end
local buffer = {}
for _,item in ipairs(items) do
- buffer[#buffer + 1] = ulitem(item)
+ buffer[#buffer + 1] = self.bulletitem(item)
end
local contents = util.intersperse(buffer,"\n")
if tight and options.tightLists then
@@ -18420,33 +19472,36 @@ function M.writer.new(options)
end
end
% \end{macrocode}
-% \par
% \begin{markdown}
%
-% Define \luamdef{writer->ollist} as a function that will transform an input
-% ordered list to the output format, where `items` is an array of the list
-% items and `tight` specifies, whether the list is tight or not. If the
-% optional parameter `startnum` is present, it should be used as the number
-% of the first list item.
+% Define \luamdef{writer->bulletitem} as a function that will transform an
+% input bulleted list item to the output format, where `s` is the text of
+% the list item.
%
% \end{markdown}
% \begin{macrocode}
- local function olitem(s,num)
- if num ~= nil then
- return {"\\markdownRendererOlItemWithNumber{",num,"}",s,
- "\\markdownRendererOlItemEnd "}
- else
- return {"\\markdownRendererOlItem ",s,
- "\\markdownRendererOlItemEnd "}
- end
+ function self.bulletitem(s)
+ return {"\\markdownRendererUlItem ",s,
+ "\\markdownRendererUlItemEnd "}
end
-
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->orderedlist} as a function that will transform an
+% input ordered list to the output format, where `items` is an array of the
+% list items and `tight` specifies, whether the list is tight or not. If the
+% optional parameter `startnum` is present, it is the number of the first list
+% item.
+%
+% \end{markdown}
+% \begin{macrocode}
function self.orderedlist(items,tight,startnum)
if not self.is_writing then return "" end
local buffer = {}
local num = startnum
for _,item in ipairs(items) do
- buffer[#buffer + 1] = olitem(item,num)
+ buffer[#buffer + 1] = self.ordereditem(item,num)
if num ~= nil then
num = num + 1
end
@@ -18461,6 +19516,25 @@ function M.writer.new(options)
end
end
% \end{macrocode}
+% \begin{markdown}
+%
+% Define \luamdef{writer->ordereditem} as a function that will transform an
+% input ordered list item to the output format, where `s` is the text of
+% the list item. If the optional parameter `num` is present, it is the number
+% of the list item.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.ordereditem(s,num)
+ if num ~= nil then
+ return {"\\markdownRendererOlItemWithNumber{",num,"}",s,
+ "\\markdownRendererOlItemEnd "}
+ else
+ return {"\\markdownRendererOlItem ",s,
+ "\\markdownRendererOlItemEnd "}
+ end
+ end
+% \end{macrocode}
% \par
% \begin{markdown}
%
@@ -18514,7 +19588,7 @@ function M.writer.new(options)
% \begin{macrocode}
function self.block_html_element(s)
if not self.is_writing then return "" end
- local name = util.cache(self.cacheDir, s, nil, nil, ".verbatim")
+ local name = util.cache(options.cacheDir, s, nil, nil, ".verbatim")
return {"\\markdownRendererInputBlockHtmlElement{",name,"}"}
end
% \end{macrocode}
@@ -18585,7 +19659,7 @@ function M.writer.new(options)
function self.verbatim(s)
if not self.is_writing then return "" end
s = string.gsub(s, '[\r\n%s]*$', '')
- local name = util.cache(self.cacheDir, s, nil, nil, ".verbatim")
+ local name = util.cache(options.cacheDir, s, nil, nil, ".verbatim")
return {"\\markdownRendererInputVerbatim{",name,"}"}
end
% \end{macrocode}
@@ -18724,7 +19798,7 @@ function M.writer.new(options)
table.insert(buf, {"\\markdownRendererAttributeClassName{",
attributes[i]:sub(2), "}"})
else
- key, value = attributes[i]:match("(%w+)=(%w+)")
+ key, value = attributes[i]:match("([^= ]+)%s*=%s*(.*)")
table.insert(buf, {"\\markdownRendererAttributeKeyValue{",
key, "}{", value, "}"})
end
@@ -18872,12 +19946,13 @@ parsers.internal_punctuation = S(":;,.?")
parsers.doubleasterisks = P("**")
parsers.doubleunderscores = P("__")
+parsers.doubletildes = P("~~")
parsers.fourspaces = P(" ")
parsers.any = P(1)
parsers.fail = parsers.any - 1
-parsers.escapable = S("\\`*_{}[]()+_.!<>#-~:^@;")
+parsers.escapable = S("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")
parsers.anyescaped = parsers.backslash / "" * parsers.escapable
+ parsers.any
@@ -18994,21 +20069,15 @@ parsers.commented_line = Cg(Cc(""), "backslashes")
parsers.chunk = parsers.line * (parsers.optionallyindentedline
- parsers.blankline)^0
-parsers.css_identifier_char = R("AZ", "az", "09") + S("-_")
-parsers.css_identifier = (parsers.hash + parsers.period)
- * (((parsers.css_identifier_char
- - parsers.dash - parsers.digit)
- * parsers.css_identifier_char^1)
- + (parsers.dash
- * (parsers.css_identifier_char
- - parsers.digit)
- * parsers.css_identifier_char^0))
-parsers.attribute_key_char = parsers.any - parsers.space
- - parsers.squote - parsers.dquote
- - parsers.more - parsers.slash
- - parsers.equal
-parsers.attribute_value_char = parsers.any - parsers.space
- - parsers.dquote - parsers.more
+parsers.attribute_key_char = parsers.alphanumeric + S("_-")
+parsers.attribute_key = (parsers.attribute_key_char
+ - parsers.dash - parsers.digit)
+ * parsers.attribute_key_char^0
+parsers.attribute_value = ( (parsers.dquote / "")
+ * (parsers.anyescaped - parsers.dquote)^0
+ * (parsers.dquote / ""))
+ + ( parsers.anyescaped - parsers.dquote - parsers.rbrace
+ - parsers.space)^0
-- block followed by 0 or more optionally
-- indented blocks with first line indented.
@@ -19134,9 +20203,10 @@ parsers.leader = parsers.space^-3
-- content in balanced brackets, parentheses, or quotes:
parsers.bracketed = P{ parsers.lbracket
- * ((parsers.anyescaped - (parsers.lbracket
- + parsers.rbracket
- + parsers.blankline^2)
+ * (( parsers.backslash / "" * parsers.rbracket
+ + parsers.any - (parsers.lbracket
+ + parsers.rbracket
+ + parsers.blankline^2)
) + V(1))^0
* parsers.rbracket }
@@ -19164,7 +20234,8 @@ parsers.tag = parsers.lbracket
* Cs((parsers.alphanumeric^1
+ parsers.bracketed
+ parsers.inticks
- + (parsers.anyescaped
+ + ( parsers.backslash / "" * parsers.rbracket
+ + parsers.any
- (parsers.rbracket + parsers.blankline^2)))^0)
* parsers.rbracket
@@ -19373,16 +20444,18 @@ end
%
% \end{markdown}
% \begin{macrocode}
-parsers.heading_attribute = C(parsers.css_identifier)
- + C((parsers.attribute_key_char
- - parsers.rbrace)^1
- * parsers.equal
- * (parsers.attribute_value_char
- - parsers.rbrace)^1)
+parsers.heading_attribute = (parsers.dash * Cc(".unnumbered"))
+ + C((parsers.hash + parsers.period)
+ * parsers.attribute_key)
+ + Cs( parsers.attribute_key
+ * parsers.optionalspace * parsers.equal * parsers.optionalspace
+ * parsers.attribute_value)
parsers.HeadingAttributes = parsers.lbrace
+ * parsers.optionalspace
* parsers.heading_attribute
* (parsers.spacechar^1
* parsers.heading_attribute)^0
+ * parsers.optionalspace
* parsers.rbrace
-- parse Atx heading start and return level
@@ -19431,12 +20504,14 @@ function M.reader.new(writer, options, extensions)
% \par
% \begin{markdown}
%
-% Make the `writer` parameter available as \luamdef{reader->writer}, so that it
-% is accessible from extensions.
+% Make the `writer` and `options` parameters available as
+% \luamdef{reader->writer} and \luamdef{reader->options}, respectively, so
+% that they are accessible from extensions.
%
% \end{markdown}
% \begin{macrocode}
self.writer = writer
+ self.options = options
% \end{macrocode}
% \par
% \begin{markdown}
@@ -20009,16 +21084,16 @@ function M.reader.new(writer, options, extensions)
* parsers.skipblanklines )
/ writer.bulletlist
- local function ordered_list(items,tight,startNumber)
+ local function ordered_list(items,tight,startnum)
if options.startNumber then
- startNumber = tonumber(startNumber) or 1 -- fallback for '#'
- if startNumber ~= nil then
- startNumber = math.floor(startNumber)
+ startnum = tonumber(startnum) or 1 -- fallback for '#'
+ if startnum ~= nil then
+ startnum = math.floor(startnum)
end
else
- startNumber = nil
+ startnum = nil
end
- return writer.orderedlist(items,tight,startNumber)
+ return writer.orderedlist(items,tight,startnum)
end
parsers.OrderedList = Cg(parsers.enumerator, "listtype") *
@@ -20131,6 +21206,9 @@ function M.reader.new(writer, options, extensions)
+ V("UlOrStarLine")
+ V("Strong")
+ V("Emph")
+ + V("StrikeThrough")
+ + V("Superscript")
+ + V("Subscript")
+ V("InlineNote")
+ V("NoteRef")
+ V("Citations")
@@ -20152,6 +21230,9 @@ function M.reader.new(writer, options, extensions)
+ V("UlOrStarLine")
+ V("Strong")
+ V("Emph")
+ + V("StrikeThrough")
+ + V("Superscript")
+ + V("Subscript")
+ V("InlineNote")
+ V("NoteRef")
+ V("Citations")
@@ -20174,6 +21255,9 @@ function M.reader.new(writer, options, extensions)
UlOrStarLine = parsers.UlOrStarLine,
Strong = parsers.Strong,
Emph = parsers.Emph,
+ StrikeThrough = parsers.fail,
+ Superscript = parsers.fail,
+ Subscript = parsers.fail,
InlineNote = parsers.fail,
NoteRef = parsers.fail,
Citations = parsers.fail,
@@ -20195,9 +21279,9 @@ function M.reader.new(writer, options, extensions)
% \par
% \begin{markdown}
%
-% Define a hash table of all characters with a special meaning that can be
-% escaped and add method `reader->add_special_character` that extends the
-% hash table and updates the \acro{peg} grammar.
+% Define a hash table of all characters with special meaning and add method
+% `reader->add_special_character` that extends the hash table and updates the
+% \acro{peg} grammar.
%
% \end{markdown}
% \begin{macrocode}
@@ -20378,7 +21462,7 @@ M.extensions = {}
%#### Citations
%
% The \luamdef{extensions.citations} function implements the Pandoc citation
-% syntax extension. When the `citation_nbsps` parameter is `true`, the syntax
+% syntax extension. When the `citation_nbsps` parameter is enabled, the syntax
% extension will replace regular spaces with non-breaking spaces inside the
% prenotes and postnotes of citations.
%
@@ -20403,6 +21487,8 @@ M.extensions.citations = function(citation_nbsps)
}
return {
extend_writer = function(self)
+ local options = self.options
+
% \end{macrocode}
% \par
% \begin{markdown}
@@ -20426,7 +21512,7 @@ M.extensions.citations = function(citation_nbsps)
%
% \end{markdown}
% \begin{macrocode}
- if self.hybrid then
+ if options.hybrid then
self.citation = self.escape_minimal
else
self.citation = escape_citation
@@ -20870,6 +21956,8 @@ end
M.extensions.fenced_code = function(blank_before_code_fence)
return {
extend_writer = function(self)
+ local options = self.options
+
% \end{macrocode}
% \par
% \begin{markdown}
@@ -20883,7 +21971,7 @@ M.extensions.fenced_code = function(blank_before_code_fence)
function self.fencedCode(i, s)
if not self.is_writing then return "" end
s = string.gsub(s, '[\r\n%s]*$', '')
- local name = util.cache(self.cacheDir, s, nil, nil, ".verbatim")
+ local name = util.cache(options.cacheDir, s, nil, nil, ".verbatim")
return {"\\markdownRendererInputFencedCode{",name,"}{",i,"}"}
end
end, extend_reader = function(self)
@@ -20963,6 +22051,8 @@ M.extensions.fenced_code = function(blank_before_code_fence)
parsers.EndlineExceptions = parsers.EndlineExceptions + fencestart
syntax.EndlineExceptions = parsers.EndlineExceptions
+
+ self.add_special_character("~")
end
}
end
@@ -21126,8 +22216,8 @@ end
%
% The \luamdef{extensions.jekyll_data} function implements the Pandoc
% `yaml_metadata_block` syntax extension for entering metadata in \acro{yaml}.
-% When the `expect_jekyll_data` is `true`, then a markdown document may
-% begin directly with \acro{yaml} metadata and may contain nothing but
+% When the `expect_jekyll_data` parameter is `true`, then a markdown document
+% may begin directly with \acro{yaml} metadata and may contain nothing but
% \acro{yaml} metadata
%
% \end{markdown}
@@ -21282,7 +22372,7 @@ end
%
% The \luamdef{extensions.pipe_table} function implements the \acro{PHP}
% Markdown table syntax extension (affectionately known as pipe tables). When
-% the parameter `table_captions` is `true`, the function also implements the
+% the `table_captions` parameter is `true`, the function also implements the
% Pandoc `table_captions` syntax extension for table captions.
%
% \end{markdown}
@@ -21440,6 +22530,329 @@ end
% \end{macrocode}
% \begin{markdown}
%
+%#### Strike-Through
+%
+% The \luamdef{extensions.strike_through} function implements the Pandoc
+% strike-through syntax extension.
+%
+% \end{markdown}
+% \begin{macrocode}
+M.extensions.strike_through = function()
+ return {
+ extend_writer = function(self)
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->strike_through} as a function that will transform
+% a strike-through span `s` of input text to the output format.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.strike_through(s)
+ return {"\\markdownRendererStrikeThrough{",s,"}"}
+ end
+ end, extend_reader = function(self)
+ local parsers = self.parsers
+ local syntax = self.syntax
+ local writer = self.writer
+
+ local StrikeThrough = (
+ parsers.between(parsers.Inline, parsers.doubletildes,
+ parsers.doubletildes)
+ ) / writer.strike_through
+
+ syntax.StrikeThrough = StrikeThrough
+
+ self.add_special_character("~")
+ end
+ }
+end
+% \end{macrocode}
+% \begin{markdown}
+%
+%#### Superscripts
+%
+% The \luamdef{extensions.superscripts} function implements the Pandoc
+% superscript syntax extension.
+%
+% \end{markdown}
+% \begin{macrocode}
+M.extensions.superscripts = function()
+ return {
+ extend_writer = function(self)
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->superscript} as a function that will transform
+% a superscript span `s` of input text to the output format.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.superscript(s)
+ return {"\\markdownRendererSuperscript{",s,"}"}
+ end
+ end, extend_reader = function(self)
+ local parsers = self.parsers
+ local syntax = self.syntax
+ local writer = self.writer
+
+ local Superscript = (
+ parsers.between(parsers.Str, parsers.circumflex, parsers.circumflex)
+ ) / writer.superscript
+
+ syntax.Superscript = Superscript
+
+ self.add_special_character("^")
+ end
+ }
+end
+% \end{macrocode}
+% \begin{markdown}
+%
+%#### Subscripts
+%
+% The \luamdef{extensions.subscripts} function implements the Pandoc
+% subscript syntax extension.
+%
+% \end{markdown}
+% \begin{macrocode}
+M.extensions.subscripts = function()
+ return {
+ extend_writer = function(self)
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->subscript} as a function that will transform
+% a subscript span `s` of input text to the output format.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.subscript(s)
+ return {"\\markdownRendererSubscript{",s,"}"}
+ end
+ end, extend_reader = function(self)
+ local parsers = self.parsers
+ local syntax = self.syntax
+ local writer = self.writer
+
+ local Subscript = (
+ parsers.between(parsers.Str, parsers.tilde, parsers.tilde)
+ ) / writer.subscript
+
+ syntax.Subscript = Subscript
+
+ self.add_special_character("~")
+ end
+ }
+end
+% \end{macrocode}
+% \begin{markdown}
+%
+%#### Fancy Lists
+%
+% The \luamdef{extensions.fancy_lists} function implements the Pandoc fancy
+% list extension.
+%
+% \end{markdown}
+% \begin{macrocode}
+M.extensions.fancy_lists = function()
+ return {
+ extend_writer = function(self)
+ local options = self.options
+
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
+% Define \luamdef{writer->fancylist} as a function that will transform an
+% input ordered list to the output format, where:
+%
+%- `items` is an array of the list items,
+%- `tight` specifies, whether the list is tight or not,
+%- `startnum` is the number of the first list item,
+%- `numstyle` is the style of the list item labels from among the following:
+% - `Decimal` -- decimal arabic numbers,
+% - `LowerRoman` -- lower roman numbers,
+% - `UpperRoman` -- upper roman numbers,
+% - `LowerAlpha` -- lower ASCII alphabetic characters, and
+% - `UpperAlpha` -- upper ASCII alphabetic characters, and
+%- `numdelim` is the style of delimiters between list item labels and
+% texts from among the following:
+% - `Default` -- default style,
+% - `OneParen` -- parentheses, and
+% - `Period` -- periods.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.fancylist(items,tight,startnum,numstyle,numdelim)
+ if not self.is_writing then return "" end
+ local buffer = {}
+ local num = startnum
+ for _,item in ipairs(items) do
+ buffer[#buffer + 1] = self.fancyitem(item,num)
+ if num ~= nil then
+ num = num + 1
+ end
+ end
+ local contents = util.intersperse(buffer,"\n")
+ if tight and options.tightLists then
+ return {"\\markdownRendererFancyOlBeginTight{",
+ numstyle,"}{",numdelim,"}",contents,
+ "\n\\markdownRendererFancyOlEndTight "}
+ else
+ return {"\\markdownRendererFancyOlBegin{",
+ numstyle,"}{",numdelim,"}",contents,
+ "\n\\markdownRendererFancyOlEnd "}
+ end
+ end
+% \end{macrocode}
+% \begin{markdown}
+%
+% Define \luamdef{writer->fancyitem} as a function that will transform an
+% input fancy ordered list item to the output format, where `s` is the text of
+% the list item. If the optional parameter `num` is present, it is the number
+% of the list item.
+%
+% \end{markdown}
+% \begin{macrocode}
+ function self.fancyitem(s,num)
+ if num ~= nil then
+ return {"\\markdownRendererFancyOlItemWithNumber{",num,"}",s,
+ "\\markdownRendererFancyOlItemEnd "}
+ else
+ return {"\\markdownRendererFancyOlItem ",s,"\\markdownRendererFancyOlItemEnd "}
+ end
+ end
+ end, extend_reader = function(self)
+ local parsers = self.parsers
+ local options = self.options
+ local syntax = self.syntax
+ local writer = self.writer
+
+ local label = parsers.dig + parsers.letter
+ local numdelim = parsers.period + parsers.rparent
+ local enumerator = C(label^3 * numdelim) * #parsers.spacing
+ + C(label^2 * numdelim) * #parsers.spacing
+ * (parsers.tab + parsers.space^1)
+ + C(label * numdelim) * #parsers.spacing
+ * (parsers.tab + parsers.space^-2)
+ + parsers.space * C(label^2 * numdelim)
+ * #parsers.spacing
+ + parsers.space * C(label * numdelim)
+ * #parsers.spacing
+ * (parsers.tab + parsers.space^-1)
+ + parsers.space * parsers.space * C(label^1
+ * numdelim) * #parsers.spacing
+ local starter = parsers.bullet + enumerator
+
+ local NestedList = Cs((parsers.optionallyindentedline
+ - starter)^1)
+ / function(a) return "\001"..a end
+
+ local ListBlockLine = parsers.optionallyindentedline
+ - parsers.blankline - (parsers.indent^-1
+ * starter)
+
+ local ListBlock = parsers.line * ListBlockLine^0
+
+ local ListContinuationBlock = parsers.blanklines * (parsers.indent / "")
+ * ListBlock
+
+ local TightListItem = function(starter)
+ return -parsers.HorizontalRule
+ * (Cs(starter / "" * parsers.tickbox^-1 * ListBlock * NestedList^-1)
+ / self.parser_functions.parse_blocks_nested)
+ * -(parsers.blanklines * parsers.indent)
+ end
+
+ local LooseListItem = function(starter)
+ return -parsers.HorizontalRule
+ * Cs( starter / "" * parsers.tickbox^-1 * ListBlock * Cc("\n")
+ * (NestedList + ListContinuationBlock^0)
+ * (parsers.blanklines / "\n\n")
+ ) / self.parser_functions.parse_blocks_nested
+ end
+
+ local function roman2number(roman)
+ local romans = { ["L"] = 50, ["X"] = 10, ["V"] = 5, ["I"] = 1 }
+ local numeral = 0
+
+ local i = 1
+ local len = string.len(roman)
+ while i < len do
+ local z1, z2 = romans[ string.sub(roman, i, i) ], romans[ string.sub(roman, i+1, i+1) ]
+ if z1 < z2 then
+ numeral = numeral + (z2 - z1)
+ i = i + 2
+ else
+ numeral = numeral + z1
+ i = i + 1
+ end
+ end
+ if i <= len then numeral = numeral + romans[ string.sub(roman,i,i) ] end
+ return numeral
+ end
+
+ local function sniffstyle(itemprefix)
+ local numstr, delimend = itemprefix:match("^([A-Za-z0-9]*)([.)]*)")
+ local numdelim
+ if delimend == ")" then
+ numdelim = "OneParen"
+ elseif delimend == "." then
+ numdelim = "Period"
+ else
+ numdelim = "Default"
+ end
+ numstr = numstr or itemprefix
+
+ local num
+ num = numstr:match("^([IVXL]+)")
+ if num then
+ return roman2number(num), "UpperRoman", numdelim
+ end
+ num = numstr:match("^([ivxl]+)")
+ if num then
+ return roman2number(string.upper(num)), "LowerRoman", numdelim
+ end
+ num = numstr:match("^([A-Z])")
+ if num then
+ return string.byte(num) - string.byte("A") + 1, "UpperAlpha", numdelim
+ end
+ num = numstr:match("^([a-z])")
+ if num then
+ return string.byte(num) - string.byte("a") + 1, "LowerAlpha", numdelim
+ end
+ return math.floor(tonumber(numstr) or 1), "Decimal", numdelim
+ end
+
+ local function fancylist(items,tight,start)
+ local startnum, numstyle, numdelim = sniffstyle(start)
+ return writer.fancylist(items,tight,
+ options.startNumber and startnum,
+ numstyle or "Decimal",
+ numdelim or "Default")
+ end
+
+ local FancyList = Cg(enumerator, "listtype") *
+ ( Ct(TightListItem(Cb("listtype"))
+ * TightListItem(enumerator)^0)
+ * Cc(true) * parsers.skipblanklines * -enumerator
+ + Ct(LooseListItem(Cb("listtype"))
+ * LooseListItem(enumerator)^0)
+ * Cc(false) * parsers.skipblanklines
+ ) * Cb("listtype") / fancylist
+
+ syntax.OrderedList = FancyList
+
+ end
+ }
+end
+% \end{macrocode}
+% \begin{markdown}
+%
%### Conversion from Markdown to Plain \TeX{}
%
% The \luamref{new} method returns the \luamref{reader->convert} function of a reader
@@ -21516,6 +22929,26 @@ function M.new(options)
table.insert(extensions, pipe_tables_extension)
end
+ if options.strikeThrough then
+ local strike_through_extension = M.extensions.strike_through()
+ table.insert(extensions, strike_through_extension)
+ end
+
+ if options.subscripts then
+ local subscript_extension = M.extensions.subscripts()
+ table.insert(extensions, subscript_extension)
+ end
+
+ if options.superscripts then
+ local superscript_extension = M.extensions.superscripts()
+ table.insert(extensions, superscript_extension)
+ end
+
+ if options.fancyLists then
+ local fancy_lists_extension = M.extensions.fancy_lists()
+ table.insert(extensions, fancy_lists_extension)
+ end
+
local writer = M.writer.new(options)
local reader = M.reader.new(writer, options, extensions)
@@ -21666,11 +23099,18 @@ end
\def\markdownRendererUlEndTightPrototype{}%
\def\markdownRendererOlBeginPrototype{}%
\def\markdownRendererOlBeginTightPrototype{}%
+\def\markdownRendererFancyOlBeginPrototype#1#2{\markdownRendererOlBegin}%
+\def\markdownRendererFancyOlBeginTightPrototype#1#2{\markdownRendererOlBeginTight}%
\def\markdownRendererOlItemPrototype{}%
\def\markdownRendererOlItemWithNumberPrototype#1{}%
\def\markdownRendererOlItemEndPrototype{}%
+\def\markdownRendererFancyOlItemPrototype{\markdownRendererOlItem}%
+\def\markdownRendererFancyOlItemWithNumberPrototype{\markdownRendererOlItemWithNumber}%
+\def\markdownRendererFancyOlItemEndPrototype{}%
\def\markdownRendererOlEndPrototype{}%
\def\markdownRendererOlEndTightPrototype{}%
+\def\markdownRendererFancyOlEndPrototype{\markdownRendererOlEnd}%
+\def\markdownRendererFancyOlEndTightPrototype{\markdownRendererOlEndTight}%
\def\markdownRendererDlBeginPrototype{}%
\def\markdownRendererDlBeginTightPrototype{}%
\def\markdownRendererDlItemPrototype#1{#1}%
@@ -21700,6 +23140,9 @@ end
\def\markdownRendererTickedBoxPrototype{[X]}%
\def\markdownRendererHalfTickedBoxPrototype{[/]}%
\def\markdownRendererUntickedBoxPrototype{[ ]}%
+\def\markdownRendererStrikeThroughPrototype#1{#1}%
+\def\markdownRendererSuperscriptPrototype#1{#1}%
+\def\markdownRendererSubscriptPrototype#1{#1}%
% \end{macrocode}
% \par
% \begin{markdown}
@@ -22974,9 +24417,8 @@ end
% \end{macrocode}
% \begin{markdown}
%
-% After processing the options, activate the `renderers`, `rendererPrototypes`,
-% and `code` keys. The `code` key is used to immediately expand and execute code,
-% which can be especially useful in \LaTeX{} setup snippets.
+% After processing the options, activate the `jekyllDataRenderes`, `renderers`,
+% `rendererPrototypes`, and `code` keys.
%
% \end{markdown}
% \begin{macrocode}
@@ -22994,8 +24436,50 @@ end
{ markdown/latex-options/renderer-prototypes }
{ #1 }
},
+% \end{macrocode}
+% \begin{markdown}
+%
+% The `code` key is used to immediately expand and execute code, which can be
+% especially useful in \LaTeX{} setup snippets.
+%
+% \end{markdown}
+% \begin{macrocode}
code .code:n = { #1 },
+% \end{macrocode}
+% \begin{markdown}
+%
+% The `jekyllDataRenderers` key can be used as a syntactic sugar for setting
+% the `markdown/jekyllData` key--values (see Section <#sec:expl3yamlmetadata>)
+% without using the expl3 language.
+%
+% \end{markdown}
+% \begin{macrocode}
+ jekyllDataRenderers .code:n = {
+ \keys_set:nn
+ { markdown/latex-options/jekyll-data-renderers }
+ { #1 }
+ },
}
+\keys_define:nn
+ { markdown/latex-options/jekyll-data-renderers }
+ {
+ unknown .code:n = {
+ \tl_set_eq:NN
+ \l_tmpa_tl
+ \l_keys_key_str
+ \tl_put_right:Nn
+ \l_tmpa_tl
+ {
+ .code:n = { #1 }
+ }
+ \keys_define:nV
+ { markdown/jekyllData }
+ \l_tmpa_tl
+ }
+ }
+\cs_generate_variant:Nn
+ \keys_define:nn
+ { nV }
\ExplSyntaxOff
% \end{macrocode}
% \par
@@ -23031,22 +24515,121 @@ end
%
% \end{markdown}
% \begin{macrocode}
+\ExplSyntaxOn
\@ifpackageloaded{paralist}{
+ \tl_new:N
+ \l_@@_latex_fancy_list_item_label_number_style_tl
+ \tl_new:N
+ \l_@@_latex_fancy_list_item_label_delimiter_style_tl
+ \cs_new:Nn
+ \@@_latex_fancy_list_item_label_number:nn
+ {
+ \str_case:nn
+ { #1 }
+ {
+ { Decimal } { #2 }
+ { LowerRoman } { \int_to_roman:n { #2 } }
+ { UpperRoman } { \int_to_Roman:n { #2 } }
+ { LowerAlpha } { \int_to_alph:n { #2 } }
+ { UpperAlpha } { \int_to_alph:n { #2 } }
+ }
+ }
+ \cs_new:Nn
+ \@@_latex_fancy_list_item_label_delimiter:n
+ {
+ \str_case:nn
+ { #1 }
+ {
+ { Default } { . }
+ { OneParen } { ) }
+ { Period } { - }
+ }
+ }
+ \cs_new:Nn
+ \@@_latex_fancy_list_item_label:nnn
+ {
+ \@@_latex_fancy_list_item_label_delimiter:n
+ { #2 }
+ \@@_latex_fancy_list_item_label_number:nn
+ { #1 }
+ { #3 }
+ }
+ \cs_new:Nn
+ \@@_latex_paralist_style:nn
+ {
+ \str_case:nn
+ { #1 }
+ {
+ { Decimal } { 1 }
+ { LowerRoman } { i }
+ { UpperRoman } { I }
+ { LowerAlpha } { a }
+ { UpperAlpha } { A }
+ }
+ \@@_latex_fancy_list_item_label_delimiter:n
+ { #2 }
+ }
\markdownSetup{rendererPrototypes={
ulBeginTight = {\begin{compactitem}},
ulEndTight = {\end{compactitem}},
+ fancyOlBegin = {
+ \group_begin:
+ \tl_set:Nn
+ \l_@@_latex_fancy_list_item_label_number_style_tl
+ { #1 }
+ \tl_set:Nn
+ \l_@@_latex_fancy_list_item_label_delimiter_style_tl
+ { #2 }
+ \begin{enumerate}[ \@@_latex_paralist_style:nn { #1 } { #2 } ]
+ },
+ fancyOlEnd = {
+ \end{enumerate}
+ \group_end:
+ },
olBeginTight = {\begin{compactenum}},
olEndTight = {\end{compactenum}},
+ fancyOlBeginTight = {
+ \group_begin:
+ \tl_set:Nn
+ \l_@@_latex_fancy_list_item_label_number_style_tl
+ { #1 }
+ \tl_set:Nn
+ \l_@@_latex_fancy_list_item_label_delimiter_style_tl
+ { #2 }
+ \begin{compactenum}[ \@@_latex_paralist_style:nn { #1 } { #2 } ]
+ },
+ fancyOlEndTight = {
+ \end{compactenum}
+ \group_end:
+ },
+ fancyOlItemWithNumber = {
+ \markdownRendererOlItemWithNumber
+ {
+ \@@_latex_fancy_list_item_label:VVn
+ \l_@@_latex_fancy_list_item_label_number_style_tl
+ \l_@@_latex_fancy_list_item_label_delimiter_style_tl
+ { #1 }
+ }
+ },
dlBeginTight = {\begin{compactdesc}},
dlEndTight = {\end{compactdesc}}}}
+ \cs_generate_variant:Nn
+ \@@_latex_fancy_list_item_label:nnn
+ { VVn }
}{
\markdownSetup{rendererPrototypes={
ulBeginTight = {\markdownRendererUlBegin},
ulEndTight = {\markdownRendererUlEnd},
+ fancyOlBegin = {\markdownRendererOlBegin},
+ fancyOlEnd = {\markdownRendererOlEnd},
olBeginTight = {\markdownRendererOlBegin},
olEndTight = {\markdownRendererOlEnd},
+ fancyOlBeginTight = {\markdownRendererOlBegin},
+ fancyOlEndTight = {\markdownRendererOlEnd},
dlBeginTight = {\markdownRendererDlBegin},
- dlEndTight = {\markdownRendererDlEnd}}}}
+ dlEndTight = {\markdownRendererDlEnd}}}
+}
+\ExplSyntaxOff
\RequirePackage{amsmath,ifthen}
% \end{macrocode}
% \par
@@ -23177,6 +24760,8 @@ end
},
}%
},
+ superscript = {\textsuperscript{#1}},
+ subscript = {\textsubscript{#1}},
blockQuoteBegin = {\begin{quotation}},
blockQuoteEnd = {\end{quotation}},
inputVerbatim = {\VerbatimInput{#1}},
@@ -23801,6 +25386,26 @@ end
% \par
% \begin{markdown}
%
+%#### Strike-Through
+% If the \Opt{strikeThrough} option is enabled, we will load the
+% \pkg{soulutf8} package and use it to implement strike-throughs.
+%
+% \end{markdown}
+% \begin{macrocode}
+\markdownIfOption{strikeThrough}{%
+ \RequirePackage{soulutf8}%
+ \markdownSetup{
+ rendererPrototypes = {
+ strikeThrough = {%
+ \st{#1}%
+ },
+ }
+ }
+}{}
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
%### Miscellanea
% When buffering user input, we should disable the bytes with the high bit set,
% since these are made active by the \pkg{inputenc} package. We will do this by
@@ -23833,21 +25438,6 @@ end
% consequence, we can directly reuse the existing plain \TeX{} implementation
% after supplying the missing plain \TeX{} macros.
%
-% The \Hologo{ConTeXt} implementation redefines the plain \TeX{} logging macros
-% (see Section <#sec:texinterfacelogging>) to use the \Hologo{ConTeXt}
-% \mref{writestatus} macro.
-%
-% \end{markdown}
-% \begin{macrocode}
-\def\markdownInfo#1{\writestatus{markdown}{#1.}}%
-\def\markdownWarning#1{\writestatus{markdown\space warn}{#1.}}%
-\def\dospecials{\do\ \do\\\do\{\do\}\do\$\do\&%
- \do\#\do\^\do\_\do\%\do\~}%
-\input markdown/markdown
-% \end{macrocode}
-% \par
-% \begin{markdown}
-%
% When buffering user input, we should disable the bytes with the high bit set,
% since these are made active by the \mref{enableregime} macro. We will do this
% by redefining the \mref{markdownMakeOther} macro accordingly. The code is
@@ -23877,6 +25467,26 @@ end
% \begin{markdown}
%
%### Typesetting Markdown
+% The \mref{inputmarkdown} is defined to accept an optional argument with
+% options recognized by the \Hologo{ConTeXt} interface (see Section
+% <#sec:contextoptions>).
+%
+% \end{markdown}
+% \begin{macrocode}
+\long\def\inputmarkdown{%
+ \dosingleempty
+ \doinputmarkdown}%
+\long\def\doinputmarkdown[#1]#2{%
+ \begingroup
+ \iffirstargument
+ \setupmarkdown{#1}%
+ \fi
+ \markdownInput{#2}%
+ \endgroup}%
+% \end{macrocode}
+% \par
+% \begin{markdown}
+%
% The \mref{startmarkdown} and \mref{stopmarkdown} macros are implemented using the
% \mref{markdownReadAndConvert} macro.
%
@@ -24046,11 +25656,17 @@ end
\def\markdownRendererHorizontalRulePrototype{%
\blackrule[height=1pt, width=\hsize]}%
\def\markdownRendererFootnotePrototype#1{\footnote{#1}}%
-\stopmodule\protect
+\def\markdownRendererTickedBoxPrototype{$\boxtimes$}
+\def\markdownRendererHalfTickedBoxPrototype{$\boxdot$}
+\def\markdownRendererUntickedBoxPrototype{$\square$}
+\def\markdownRendererStrikeThroughPrototype#1{\overstrikes{#1}}
+\def\markdownRendererSuperscriptPrototype#1{\high{#1}}
+\def\markdownRendererSubscriptPrototype#1{\low{#1}}
% \end{macrocode}
% \par
% \begin{markdown}
%
+%#### Tables
% There is a basic implementation of tables.
%
% \end{markdown}
@@ -24120,9 +25736,7 @@ end
\ifnum\markdownConTeXtColumnCounter<\markdownConTeXtColumnTotal\relax\else
\expandafter\gobbleoneargument
\fi\markdownConTeXtRenderTableCell}
-\def\markdownRendererTickedBox{$\boxtimes$}
-\def\markdownRendererHalfTickedBox{$\boxdot$}
-\def\markdownRendererUntickedBox{$\square$}
+\stopmodule\protect
% \end{macrocode}
% \iffalse
%</context>
diff --git a/macros/generic/markdown/markdown.html b/macros/generic/markdown/markdown.html
index 418c1f5703..45ad20384f 100644
--- a/macros/generic/markdown/markdown.html
+++ b/macros/generic/markdown/markdown.html
@@ -82,7 +82,7 @@
<header id="title-block-header">
<h1 class="title">Markdown Package User Manual</h1>
<p class="author">Vít Novotný</p>
-<p class="date">2.15.4-0-g4cbe4e3 (2022/07/29)</p>
+<p class="date">2.16.0-5-g5bb83fb (2022/08/26)</p>
</header>
<nav id="TOC" role="doc-toc">
<ul>
@@ -378,7 +378,7 @@
<div class="sourceCode" id="cb36"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb36-1"><a href="#cb36-1" aria-hidden="true"></a><span class="ex">pdftex</span> --shell-escape document.tex</span></code></pre></div>
<h3 data-number="2.1.3" id="latex"><span class="header-section-number">2.1.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
<p>The <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface provides the same level of functionality as the plain <span class="tex">T<sub>e</sub>X</span> interface by using the plain <span class="tex">T<sub>e</sub>X</span> interface behind the scenes. Unlike the plain <span class="tex">T<sub>e</sub>X</span> interface, the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface uses familiar <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> idioms, such as package options and environments.</p>
-<p>The <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface accepts the same options as the plain <span class="tex">T<sub>e</sub>X</span> interface, but now the options are specified as ⟨<em>key</em>⟩<span class="math inline"> = </span>⟨<em>value</em>⟩ pairs and they are passed either as package options, in the command, or as parameters for the <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> environment.</p>
+<p>The <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> interface accepts the same options as the plain <span class="tex">T<sub>e</sub>X</span> interface, but now the options are specified as ⟨<em>key</em>⟩<span class="math inline"> = </span>⟨<em>value</em>⟩ pairs and they are passed either as package options, in the <code>\markdownSetup</code> command, or as parameters for the <code>markdown*</code> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> environment.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb37"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb37-1"><a href="#cb37-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
<span id="cb37-2"><a href="#cb37-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
@@ -403,7 +403,7 @@
<p>Invoking pdfTeX should have the same effect:</p>
<div class="sourceCode" id="cb39"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb39-1"><a href="#cb39-1" aria-hidden="true"></a><span class="ex">pdflatex</span> --shell-escape document.tex</span></code></pre></div>
<h3 data-number="2.1.4" id="context"><span class="header-section-number">2.1.4</span> Con<span class="tex">T<sub>e</sub>X</span>t</h3>
-<p>The Con<span class="tex">T<sub>e</sub>X</span>t interface provides the same level of functionality as the plain <span class="tex">T<sub>e</sub>X</span> interface by using the plain <span class="tex">T<sub>e</sub>X</span> interface behind the scenes. Unlike the plain <span class="tex">T<sub>e</sub>X</span> interface, the Con<span class="tex">T<sub>e</sub>X</span>t interface uses familiar Con<span class="tex">T<sub>e</sub>X</span>t idioms, such as environments.</p>
+<p>The Con<span class="tex">T<sub>e</sub>X</span>t interface provides the same level of functionality as the plain <span class="tex">T<sub>e</sub>X</span> interface by using the plain <span class="tex">T<sub>e</sub>X</span> interface behind the scenes. Unlike the plain <span class="tex">T<sub>e</sub>X</span> interface, the Con<span class="tex">T<sub>e</sub>X</span>t interface uses familiar Con<span class="tex">T<sub>e</sub>X</span>t idioms as syntactic sugar.</p>
<p>The Con<span class="tex">T<sub>e</sub>X</span>t interface accepts the same options as the plain <span class="tex">T<sub>e</sub>X</span> interface.</p>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb40"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb40-1"><a href="#cb40-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
@@ -413,7 +413,7 @@
<span id="cb40-5"><a href="#cb40-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
<span id="cb40-6"><a href="#cb40-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb40-7"><a href="#cb40-7" aria-hidden="true"></a></span>
-<span id="cb40-8"><a href="#cb40-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb40-8"><a href="#cb40-8" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[hybrid = yes]</span>
<span id="cb40-9"><a href="#cb40-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb40-10"><a href="#cb40-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
<span id="cb40-11"><a href="#cb40-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
@@ -489,7 +489,7 @@
<h5 class="unnumbered" data-number="" id="context-example">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="cb52"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb52-1"><a href="#cb52-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb52-2"><a href="#cb52-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{cache}</span>
+<span id="cb52-2"><a href="#cb52-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[cacheDir = cache]</span>
<span id="cb52-3"><a href="#cb52-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
<span id="cb52-4"><a href="#cb52-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb52-5"><a href="#cb52-5" aria-hidden="true"></a>Hello *world*!</span>
@@ -502,7 +502,7 @@
<dl>
<dt><code>frozenCacheFileName</code> (default value: <code>"frozenCache.tex"</code>)</dt>
<dd><p>A path to an output file (frozen cache) that will be created when the <strong><code>finalizeCache</code></strong> option is enabled and will contain a mapping between an enumeration of markdown documents and their auxiliary cache files.</p>
-<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
+<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
</dd>
</dl>
<h5 class="unnumbered" data-number="" id="lua-module-example-1">Lua Module Example</h5>
@@ -578,25 +578,31 @@
<h5 class="unnumbered" data-number="" id="context-example-1">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="cb67"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb67-1"><a href="#cb67-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb67-2"><a href="#cb67-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
-<span id="cb67-3"><a href="#cb67-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
-<span id="cb67-4"><a href="#cb67-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb67-5"><a href="#cb67-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb67-6"><a href="#cb67-6" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb67-7"><a href="#cb67-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb67-8"><a href="#cb67-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<span id="cb67-2"><a href="#cb67-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb67-3"><a href="#cb67-3" aria-hidden="true"></a> [</span>
+<span id="cb67-4"><a href="#cb67-4" aria-hidden="true"></a> finalizeCache = yes,</span>
+<span id="cb67-5"><a href="#cb67-5" aria-hidden="true"></a> frozenCacheFileName = cache.tex,</span>
+<span id="cb67-6"><a href="#cb67-6" aria-hidden="true"></a> ]</span>
+<span id="cb67-7"><a href="#cb67-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb67-8"><a href="#cb67-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb67-9"><a href="#cb67-9" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb67-10"><a href="#cb67-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb67-11"><a href="#cb67-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
<div class="sourceCode" id="cb68"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb68-1"><a href="#cb68-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> and <code>frozenCacheFileName</code> options.</p>
<p>Next, create a new text document <code>frozen-document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb69"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb69-1"><a href="#cb69-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb69-2"><a href="#cb69-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
-<span id="cb69-3"><a href="#cb69-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{cache.tex}</span>
-<span id="cb69-4"><a href="#cb69-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb69-5"><a href="#cb69-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb69-6"><a href="#cb69-6" aria-hidden="true"></a>Hi *world*!</span>
-<span id="cb69-7"><a href="#cb69-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb69-8"><a href="#cb69-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<span id="cb69-2"><a href="#cb69-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb69-3"><a href="#cb69-3" aria-hidden="true"></a> [</span>
+<span id="cb69-4"><a href="#cb69-4" aria-hidden="true"></a> frozenCache = yes,</span>
+<span id="cb69-5"><a href="#cb69-5" aria-hidden="true"></a> frozenCacheFileName = cache.tex,</span>
+<span id="cb69-6"><a href="#cb69-6" aria-hidden="true"></a> ]</span>
+<span id="cb69-7"><a href="#cb69-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb69-8"><a href="#cb69-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb69-9"><a href="#cb69-9" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb69-10"><a href="#cb69-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb69-11"><a href="#cb69-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
<div class="sourceCode" id="cb70"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb70-1"><a href="#cb70-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--no-shell-escape frozen-document.tex</span></code></pre></div>
<p>A PDF document named <code>frozen-document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
@@ -728,7 +734,7 @@
<span id="cb80-6"><a href="#cb80-6" aria-hidden="true"></a>&gt; A quote.</span>
<span id="cb80-7"><a href="#cb80-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb80-8"><a href="#cb80-8" aria-hidden="true"></a></span>
-<span id="cb80-9"><a href="#cb80-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeBlockquote</span>{true}</span>
+<span id="cb80-9"><a href="#cb80-9" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[blankBeforeBlockquote = yes]</span>
<span id="cb80-10"><a href="#cb80-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb80-11"><a href="#cb80-11" aria-hidden="true"></a>A paragraph.</span>
<span id="cb80-12"><a href="#cb80-12" aria-hidden="true"></a>&gt; Not a quote.</span>
@@ -874,7 +880,7 @@
<h5 class="unnumbered" data-number="" id="context-example-3">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="cb95"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb95-1"><a href="#cb95-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb95-2"><a href="#cb95-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFencedCode</span>{true}</span>
+<span id="cb95-2"><a href="#cb95-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[fencedCode = yes]</span>
<span id="cb95-3"><a href="#cb95-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
<span id="cb95-4"><a href="#cb95-4" aria-hidden="true"></a></span>
<span id="cb95-5"><a href="#cb95-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
@@ -884,7 +890,7 @@
<span id="cb95-9"><a href="#cb95-9" aria-hidden="true"></a>```</span>
<span id="cb95-10"><a href="#cb95-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb95-11"><a href="#cb95-11" aria-hidden="true"></a></span>
-<span id="cb95-12"><a href="#cb95-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeCodeFence</span>{true}</span>
+<span id="cb95-12"><a href="#cb95-12" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[blankBeforeCodeFence = yes]</span>
<span id="cb95-13"><a href="#cb95-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb95-14"><a href="#cb95-14" aria-hidden="true"></a>A paragraph.</span>
<span id="cb95-15"><a href="#cb95-15" aria-hidden="true"></a>```</span>
@@ -1030,7 +1036,7 @@
<span id="cb107-7"><a href="#cb107-7" aria-hidden="true"></a>==========</span>
<span id="cb107-8"><a href="#cb107-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb107-9"><a href="#cb107-9" aria-hidden="true"></a></span>
-<span id="cb107-10"><a href="#cb107-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionBlankBeforeHeading</span>{true}</span>
+<span id="cb107-10"><a href="#cb107-10" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[blankBeforeHeading = yes]</span>
<span id="cb107-11"><a href="#cb107-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb107-12"><a href="#cb107-12" aria-hidden="true"></a>A paragraph.</span>
<span id="cb107-13"><a href="#cb107-13" aria-hidden="true"></a>Not a heading.</span>
@@ -1197,7 +1203,7 @@
<span id="cb118-7"><a href="#cb118-7" aria-hidden="true"></a>&gt; block quote.</span>
<span id="cb118-8"><a href="#cb118-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb118-9"><a href="#cb118-9" aria-hidden="true"></a></span>
-<span id="cb118-10"><a href="#cb118-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionBreakableBlockquotes</span>{true}</span>
+<span id="cb118-10"><a href="#cb118-10" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[breakableBlockquotes = yes]</span>
<span id="cb118-11"><a href="#cb118-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb118-12"><a href="#cb118-12" aria-hidden="true"></a>&gt; A block quote.</span>
<span id="cb118-13"><a href="#cb118-13" aria-hidden="true"></a></span>
@@ -1452,7 +1458,7 @@
<span id="cb138-6"><a href="#cb138-6" aria-hidden="true"></a>``This is no longer a code span.&#39;&#39;</span>
<span id="cb138-7"><a href="#cb138-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
<span id="cb138-8"><a href="#cb138-8" aria-hidden="true"></a></span>
-<span id="cb138-9"><a href="#cb138-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionCodeSpans</span>{false}</span>
+<span id="cb138-9"><a href="#cb138-9" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[codeSpans = no]</span>
<span id="cb138-10"><a href="#cb138-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb138-11"><a href="#cb138-11" aria-hidden="true"></a>``This is a quote.&#39;&#39;</span>
<span id="cb138-12"><a href="#cb138-12" aria-hidden="true"></a>``This is another quote.&#39;&#39;</span>
@@ -1563,7 +1569,7 @@ Thomas,Edison,1847</code></pre>
<div class="sourceCode" id="cb151"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb151-1"><a href="#cb151-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb152"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb152-1"><a href="#cb152-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb152-2"><a href="#cb152-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb152-2"><a href="#cb152-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[contentBlocks = yes]</span>
<span id="cb152-3"><a href="#cb152-3" aria-hidden="true"></a><span class="fu">\definetyping</span> [ConTeXt]</span>
<span id="cb152-4"><a href="#cb152-4" aria-hidden="true"></a><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</span>
<span id="cb152-5"><a href="#cb152-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
@@ -1691,17 +1697,20 @@ Thomas,Edison,1847</code></pre>
<div class="sourceCode" id="cb165"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb165-1"><a href="#cb165-1" aria-hidden="true"></a>This is a *transcluded markdown document*.</span></code></pre></div>
<p>Create also a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb166"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb166-1"><a href="#cb166-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb166-2"><a href="#cb166-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
-<span id="cb166-3"><a href="#cb166-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocksLanguageMap</span>{language-map.json}</span>
-<span id="cb166-4"><a href="#cb166-4" aria-hidden="true"></a><span class="fu">\definetyping</span> [ConTeXt]</span>
-<span id="cb166-5"><a href="#cb166-5" aria-hidden="true"></a><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</span>
-<span id="cb166-6"><a href="#cb166-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb166-7"><a href="#cb166-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb166-8"><a href="#cb166-8" aria-hidden="true"></a>/table.csv (An example table)</span>
-<span id="cb166-9"><a href="#cb166-9" aria-hidden="true"></a>/code.tex (An example code listing)</span>
-<span id="cb166-10"><a href="#cb166-10" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
-<span id="cb166-11"><a href="#cb166-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb166-12"><a href="#cb166-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<span id="cb166-2"><a href="#cb166-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb166-3"><a href="#cb166-3" aria-hidden="true"></a> [</span>
+<span id="cb166-4"><a href="#cb166-4" aria-hidden="true"></a> contentBlocks = yes,</span>
+<span id="cb166-5"><a href="#cb166-5" aria-hidden="true"></a> contentBlocksLanguageMap = language-map.json,</span>
+<span id="cb166-6"><a href="#cb166-6" aria-hidden="true"></a> ]</span>
+<span id="cb166-7"><a href="#cb166-7" aria-hidden="true"></a><span class="fu">\definetyping</span> [ConTeXt]</span>
+<span id="cb166-8"><a href="#cb166-8" aria-hidden="true"></a><span class="fu">\setuptyping</span> [ConTeXt] [option=TEX]</span>
+<span id="cb166-9"><a href="#cb166-9" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb166-10"><a href="#cb166-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb166-11"><a href="#cb166-11" aria-hidden="true"></a>/table.csv (An example table)</span>
+<span id="cb166-12"><a href="#cb166-12" aria-hidden="true"></a>/code.tex (An example code listing)</span>
+<span id="cb166-13"><a href="#cb166-13" aria-hidden="true"></a>/part.md (A file transclusion example)</span>
+<span id="cb166-14"><a href="#cb166-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb166-15"><a href="#cb166-15" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
<div class="sourceCode" id="cb167"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb167-1"><a href="#cb167-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
@@ -1800,7 +1809,7 @@ Thomas,Edison,1847</code></pre>
<h5 class="unnumbered" data-number="" id="context-example-9">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="cb173"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb173-1"><a href="#cb173-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb173-2"><a href="#cb173-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
+<span id="cb173-2"><a href="#cb173-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[definitionLists = yes]</span>
<span id="cb173-3"><a href="#cb173-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
<span id="cb173-4"><a href="#cb173-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
<span id="cb173-5"><a href="#cb173-5" aria-hidden="true"></a>Term 1</span>
@@ -1924,56 +1933,39 @@ Thomas,Edison,1847</code></pre>
<p>Using a text editor, create also a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb185"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb185-1"><a href="#cb185-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
<span id="cb185-2"><a href="#cb185-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
-<span id="cb185-3"><a href="#cb185-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb185-4"><a href="#cb185-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb185-5"><a href="#cb185-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb185-6"><a href="#cb185-6" aria-hidden="true"></a> {</span>
-<span id="cb185-7"><a href="#cb185-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb185-8"><a href="#cb185-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb185-9"><a href="#cb185-9" aria-hidden="true"></a> }</span>
-<span id="cb185-10"><a href="#cb185-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb185-11"><a href="#cb185-11" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb185-12"><a href="#cb185-12" aria-hidden="true"></a> renderers = {</span>
-<span id="cb185-13"><a href="#cb185-13" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
-<span id="cb185-14"><a href="#cb185-14" aria-hidden="true"></a> }</span>
-<span id="cb185-15"><a href="#cb185-15" aria-hidden="true"></a>}</span>
-<span id="cb185-16"><a href="#cb185-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb185-17"><a href="#cb185-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>[expectJekyllData]{jane-doe.yml}</span>
-<span id="cb185-18"><a href="#cb185-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<span id="cb185-3"><a href="#cb185-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb185-4"><a href="#cb185-4" aria-hidden="true"></a> jekyllDataRenderers = {</span>
+<span id="cb185-5"><a href="#cb185-5" aria-hidden="true"></a> name = {<span class="fu">\gdef\name</span>{#1}},</span>
+<span id="cb185-6"><a href="#cb185-6" aria-hidden="true"></a> code = {<span class="fu">\gdef\age</span>{#1}},</span>
+<span id="cb185-7"><a href="#cb185-7" aria-hidden="true"></a> },</span>
+<span id="cb185-8"><a href="#cb185-8" aria-hidden="true"></a> renderers = {</span>
+<span id="cb185-9"><a href="#cb185-9" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
+<span id="cb185-10"><a href="#cb185-10" aria-hidden="true"></a> }</span>
+<span id="cb185-11"><a href="#cb185-11" aria-hidden="true"></a>}</span>
+<span id="cb185-12"><a href="#cb185-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb185-13"><a href="#cb185-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>[expectJekyllData]{jane-doe.yml}</span>
+<span id="cb185-14"><a href="#cb185-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
<div class="sourceCode" id="cb186"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb186-1"><a href="#cb186-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h4 data-number="2.2.1.15" id="option-fencedcode"><span class="header-section-number">2.2.1.15</span> Option <code>fencedCode</code></h4>
+<h4 data-number="2.2.1.15" id="option-fancylists"><span class="header-section-number">2.2.1.15</span> Option <code>fancyLists</code></h4>
<dl>
-<dt><code>fencedCode</code> (default value: <code>false</code>)</dt>
+<dt><code>fancyLists</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
-<dd><p>Enable the commonmark fenced code block extension:</p>
-<div class="sourceCode" id="cb187"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb187-1"><a href="#cb187-1" aria-hidden="true"></a><span class="in">~~~ js</span></span>
-<span id="cb187-2"><a href="#cb187-2" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
-<span id="cb187-3"><a href="#cb187-3" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
-<span id="cb187-4"><a href="#cb187-4" aria-hidden="true"></a>}</span>
-<span id="cb187-5"><a href="#cb187-5" aria-hidden="true"></a><span class="op">~~~~~~</span></span>
-<span id="cb187-6"><a href="#cb187-6" aria-hidden="true"></a></span>
-<span id="cb187-7"><a href="#cb187-7" aria-hidden="true"></a> <span class="vs">``` html</span></span>
-<span id="cb187-8"><a href="#cb187-8" aria-hidden="true"></a><span class="vs"> &lt;pre&gt;</span></span>
-<span id="cb187-9"><a href="#cb187-9" aria-hidden="true"></a><span class="vs"> &lt;code&gt;</span></span>
-<span id="cb187-10"><a href="#cb187-10" aria-hidden="true"></a><span class="vs"> // Some comments</span></span>
-<span id="cb187-11"><a href="#cb187-11" aria-hidden="true"></a><span class="vs"> line 1 of code</span></span>
-<span id="cb187-12"><a href="#cb187-12" aria-hidden="true"></a><span class="vs"> line 2 of code</span></span>
-<span id="cb187-13"><a href="#cb187-13" aria-hidden="true"></a><span class="vs"> line 3 of code</span></span>
-<span id="cb187-14"><a href="#cb187-14" aria-hidden="true"></a><span class="vs"> &lt;/code&gt;</span></span>
-<span id="cb187-15"><a href="#cb187-15" aria-hidden="true"></a><span class="vs"> &lt;/pre&gt;</span></span>
-<span id="cb187-16"><a href="#cb187-16" aria-hidden="true"></a><span class="vs"> ```</span></span></code></pre></div>
+<dd><p>Enable the Pandoc fancy list extension:</p>
+<div class="sourceCode" id="cb187"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb187-1"><a href="#cb187-1" aria-hidden="true"></a>a) first item</span>
+<span id="cb187-2"><a href="#cb187-2" aria-hidden="true"></a>b) second item</span>
+<span id="cb187-3"><a href="#cb187-3" aria-hidden="true"></a>c) third item</span></code></pre></div>
</dd>
</dl>
</dd>
<dd><dl>
<dt>false</dt>
-<dd><p>Disable the commonmark fenced code block extension.</p>
+<dd><p>Disable the Pandoc fancy list extension.</p>
</dd>
</dl>
</dd>
@@ -1982,183 +1974,258 @@ Thomas,Edison,1847</code></pre>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
<div class="sourceCode" id="cb188"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb188-1"><a href="#cb188-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
<span id="cb188-2"><a href="#cb188-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</span>
-<span id="cb188-3"><a href="#cb188-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb188-3"><a href="#cb188-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[fancyLists]{<span class="ex">markdown</span>}</span>
<span id="cb188-4"><a href="#cb188-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
<span id="cb188-5"><a href="#cb188-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb188-6"><a href="#cb188-6" aria-hidden="true"></a>~~~ js</span>
-<span id="cb188-7"><a href="#cb188-7" aria-hidden="true"></a>if (a &gt; 3) {</span>
-<span id="cb188-8"><a href="#cb188-8" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
-<span id="cb188-9"><a href="#cb188-9" aria-hidden="true"></a>}</span>
-<span id="cb188-10"><a href="#cb188-10" aria-hidden="true"></a>~~~~~~</span>
-<span id="cb188-11"><a href="#cb188-11" aria-hidden="true"></a></span>
-<span id="cb188-12"><a href="#cb188-12" aria-hidden="true"></a> ``` html</span>
-<span id="cb188-13"><a href="#cb188-13" aria-hidden="true"></a> &lt;pre&gt;</span>
-<span id="cb188-14"><a href="#cb188-14" aria-hidden="true"></a> &lt;code&gt;</span>
-<span id="cb188-15"><a href="#cb188-15" aria-hidden="true"></a> // Some comments</span>
-<span id="cb188-16"><a href="#cb188-16" aria-hidden="true"></a> line 1 of code</span>
-<span id="cb188-17"><a href="#cb188-17" aria-hidden="true"></a> line 2 of code</span>
-<span id="cb188-18"><a href="#cb188-18" aria-hidden="true"></a> line 3 of code</span>
-<span id="cb188-19"><a href="#cb188-19" aria-hidden="true"></a> &lt;/code&gt;</span>
-<span id="cb188-20"><a href="#cb188-20" aria-hidden="true"></a> &lt;/pre&gt;</span>
-<span id="cb188-21"><a href="#cb188-21" aria-hidden="true"></a> ```</span>
-<span id="cb188-22"><a href="#cb188-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb188-23"><a href="#cb188-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<span id="cb188-6"><a href="#cb188-6" aria-hidden="true"></a>a) first item</span>
+<span id="cb188-7"><a href="#cb188-7" aria-hidden="true"></a>b) second item</span>
+<span id="cb188-8"><a href="#cb188-8" aria-hidden="true"></a>c) third item</span>
+<span id="cb188-9"><a href="#cb188-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb188-10"><a href="#cb188-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
<div class="sourceCode" id="cb189"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb189-1"><a href="#cb189-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
-<div class="sourceCode" id="cb190"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb190-1"><a href="#cb190-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
-<span id="cb190-2"><a href="#cb190-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
-<span id="cb190-3"><a href="#cb190-3" aria-hidden="true"></a>}</span></code></pre></div>
-<div class="sourceCode" id="cb191"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb191-1"><a href="#cb191-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
-<span id="cb191-2"><a href="#cb191-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
-<span id="cb191-3"><a href="#cb191-3" aria-hidden="true"></a> // Some comments</span>
-<span id="cb191-4"><a href="#cb191-4" aria-hidden="true"></a> line 1 of code</span>
-<span id="cb191-5"><a href="#cb191-5" aria-hidden="true"></a> line 2 of code</span>
-<span id="cb191-6"><a href="#cb191-6" aria-hidden="true"></a> line 3 of code</span>
-<span id="cb191-7"><a href="#cb191-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
-<span id="cb191-8"><a href="#cb191-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
+<ol type="a">
+<li>first item</li>
+<li>second item</li>
+<li>third item</li>
+</ol>
</blockquote>
<h5 class="unnumbered" data-number="" id="context-example-10">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="cb192"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb192-1"><a href="#cb192-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb192-2"><a href="#cb192-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFencedCode</span>{true}</span>
-<span id="cb192-3"><a href="#cb192-3" aria-hidden="true"></a><span class="fu">\definetyping</span> [js]</span>
-<span id="cb192-4"><a href="#cb192-4" aria-hidden="true"></a><span class="fu">\definetyping</span> [html]</span>
-<span id="cb192-5"><a href="#cb192-5" aria-hidden="true"></a><span class="fu">\setuptyping</span> [html] [option=XML]</span>
-<span id="cb192-6"><a href="#cb192-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb192-7"><a href="#cb192-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb192-8"><a href="#cb192-8" aria-hidden="true"></a>~~~ js</span>
-<span id="cb192-9"><a href="#cb192-9" aria-hidden="true"></a>if (a &gt; 3) {</span>
-<span id="cb192-10"><a href="#cb192-10" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
-<span id="cb192-11"><a href="#cb192-11" aria-hidden="true"></a>}</span>
-<span id="cb192-12"><a href="#cb192-12" aria-hidden="true"></a>~~~~~~</span>
-<span id="cb192-13"><a href="#cb192-13" aria-hidden="true"></a></span>
-<span id="cb192-14"><a href="#cb192-14" aria-hidden="true"></a> ``` html</span>
-<span id="cb192-15"><a href="#cb192-15" aria-hidden="true"></a> &lt;pre&gt;</span>
-<span id="cb192-16"><a href="#cb192-16" aria-hidden="true"></a> &lt;code&gt;</span>
-<span id="cb192-17"><a href="#cb192-17" aria-hidden="true"></a> // Some comments</span>
-<span id="cb192-18"><a href="#cb192-18" aria-hidden="true"></a> line 1 of code</span>
-<span id="cb192-19"><a href="#cb192-19" aria-hidden="true"></a> line 2 of code</span>
-<span id="cb192-20"><a href="#cb192-20" aria-hidden="true"></a> line 3 of code</span>
-<span id="cb192-21"><a href="#cb192-21" aria-hidden="true"></a> &lt;/code&gt;</span>
-<span id="cb192-22"><a href="#cb192-22" aria-hidden="true"></a> &lt;/pre&gt;</span>
-<span id="cb192-23"><a href="#cb192-23" aria-hidden="true"></a> ```</span>
-<span id="cb192-24"><a href="#cb192-24" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb192-25"><a href="#cb192-25" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb193"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb193-1"><a href="#cb193-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
-<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
-<blockquote>
-<div class="sourceCode" id="cb194"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb194-1"><a href="#cb194-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
-<span id="cb194-2"><a href="#cb194-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
-<span id="cb194-3"><a href="#cb194-3" aria-hidden="true"></a>}</span></code></pre></div>
-<div class="sourceCode" id="cb195"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb195-1"><a href="#cb195-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
-<span id="cb195-2"><a href="#cb195-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
-<span id="cb195-3"><a href="#cb195-3" aria-hidden="true"></a> // Some comments</span>
-<span id="cb195-4"><a href="#cb195-4" aria-hidden="true"></a> line 1 of code</span>
-<span id="cb195-5"><a href="#cb195-5" aria-hidden="true"></a> line 2 of code</span>
-<span id="cb195-6"><a href="#cb195-6" aria-hidden="true"></a> line 3 of code</span>
-<span id="cb195-7"><a href="#cb195-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
-<span id="cb195-8"><a href="#cb195-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
-</blockquote>
-<h4 data-number="2.2.1.16" id="option-finalizecache"><span class="header-section-number">2.2.1.16</span> Option <code>finalizeCache</code></h4>
+<div class="sourceCode" id="cb190"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb190-1"><a href="#cb190-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb190-2"><a href="#cb190-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[fancyLists = yes]</span>
+<span id="cb190-3"><a href="#cb190-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb190-4"><a href="#cb190-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb190-5"><a href="#cb190-5" aria-hidden="true"></a>a) first item</span>
+<span id="cb190-6"><a href="#cb190-6" aria-hidden="true"></a>b) second item</span>
+<span id="cb190-7"><a href="#cb190-7" aria-hidden="true"></a>c) third item</span>
+<span id="cb190-8"><a href="#cb190-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb190-9"><a href="#cb190-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb191"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb191-1"><a href="#cb191-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<ol type="a">
+<li>first item</li>
+<li>second item</li>
+<li>third item</li>
+</ol>
+</blockquote>
+<h4 data-number="2.2.1.16" id="option-fencedcode"><span class="header-section-number">2.2.1.16</span> Option <code>fencedCode</code></h4>
+<dl>
+<dt><code>fencedCode</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Enable the commonmark fenced code block extension:</p>
+<div class="sourceCode" id="cb192"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb192-1"><a href="#cb192-1" aria-hidden="true"></a><span class="in">~~~ js</span></span>
+<span id="cb192-2"><a href="#cb192-2" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb192-3"><a href="#cb192-3" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb192-4"><a href="#cb192-4" aria-hidden="true"></a>}</span>
+<span id="cb192-5"><a href="#cb192-5" aria-hidden="true"></a><span class="op">~~~~~~</span></span>
+<span id="cb192-6"><a href="#cb192-6" aria-hidden="true"></a></span>
+<span id="cb192-7"><a href="#cb192-7" aria-hidden="true"></a> <span class="vs">``` html</span></span>
+<span id="cb192-8"><a href="#cb192-8" aria-hidden="true"></a><span class="vs"> &lt;pre&gt;</span></span>
+<span id="cb192-9"><a href="#cb192-9" aria-hidden="true"></a><span class="vs"> &lt;code&gt;</span></span>
+<span id="cb192-10"><a href="#cb192-10" aria-hidden="true"></a><span class="vs"> // Some comments</span></span>
+<span id="cb192-11"><a href="#cb192-11" aria-hidden="true"></a><span class="vs"> line 1 of code</span></span>
+<span id="cb192-12"><a href="#cb192-12" aria-hidden="true"></a><span class="vs"> line 2 of code</span></span>
+<span id="cb192-13"><a href="#cb192-13" aria-hidden="true"></a><span class="vs"> line 3 of code</span></span>
+<span id="cb192-14"><a href="#cb192-14" aria-hidden="true"></a><span class="vs"> &lt;/code&gt;</span></span>
+<span id="cb192-15"><a href="#cb192-15" aria-hidden="true"></a><span class="vs"> &lt;/pre&gt;</span></span>
+<span id="cb192-16"><a href="#cb192-16" aria-hidden="true"></a><span class="vs"> ```</span></span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Disable the commonmark fenced code block extension.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-14"><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="cb193"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb193-1"><a href="#cb193-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb193-2"><a href="#cb193-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">minted</span>}</span>
+<span id="cb193-3"><a href="#cb193-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb193-4"><a href="#cb193-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb193-5"><a href="#cb193-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb193-6"><a href="#cb193-6" aria-hidden="true"></a>~~~ js</span>
+<span id="cb193-7"><a href="#cb193-7" aria-hidden="true"></a>if (a &gt; 3) {</span>
+<span id="cb193-8"><a href="#cb193-8" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
+<span id="cb193-9"><a href="#cb193-9" aria-hidden="true"></a>}</span>
+<span id="cb193-10"><a href="#cb193-10" aria-hidden="true"></a>~~~~~~</span>
+<span id="cb193-11"><a href="#cb193-11" aria-hidden="true"></a></span>
+<span id="cb193-12"><a href="#cb193-12" aria-hidden="true"></a> ``` html</span>
+<span id="cb193-13"><a href="#cb193-13" aria-hidden="true"></a> &lt;pre&gt;</span>
+<span id="cb193-14"><a href="#cb193-14" aria-hidden="true"></a> &lt;code&gt;</span>
+<span id="cb193-15"><a href="#cb193-15" aria-hidden="true"></a> // Some comments</span>
+<span id="cb193-16"><a href="#cb193-16" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb193-17"><a href="#cb193-17" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb193-18"><a href="#cb193-18" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb193-19"><a href="#cb193-19" aria-hidden="true"></a> &lt;/code&gt;</span>
+<span id="cb193-20"><a href="#cb193-20" aria-hidden="true"></a> &lt;/pre&gt;</span>
+<span id="cb193-21"><a href="#cb193-21" aria-hidden="true"></a> ```</span>
+<span id="cb193-22"><a href="#cb193-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb193-23"><a href="#cb193-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb194"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb194-1"><a href="#cb194-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<div class="sourceCode" id="cb195"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb195-1"><a href="#cb195-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb195-2"><a href="#cb195-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb195-3"><a href="#cb195-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb196"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb196-1"><a href="#cb196-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
+<span id="cb196-2"><a href="#cb196-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
+<span id="cb196-3"><a href="#cb196-3" aria-hidden="true"></a> // Some comments</span>
+<span id="cb196-4"><a href="#cb196-4" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb196-5"><a href="#cb196-5" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb196-6"><a href="#cb196-6" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb196-7"><a href="#cb196-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
+<span id="cb196-8"><a href="#cb196-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-11">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="cb197"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb197-1"><a href="#cb197-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb197-2"><a href="#cb197-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[fencedCode = yes]</span>
+<span id="cb197-3"><a href="#cb197-3" aria-hidden="true"></a><span class="fu">\definetyping</span> [js]</span>
+<span id="cb197-4"><a href="#cb197-4" aria-hidden="true"></a><span class="fu">\definetyping</span> [html]</span>
+<span id="cb197-5"><a href="#cb197-5" aria-hidden="true"></a><span class="fu">\setuptyping</span> [html] [option=XML]</span>
+<span id="cb197-6"><a href="#cb197-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb197-7"><a href="#cb197-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb197-8"><a href="#cb197-8" aria-hidden="true"></a>~~~ js</span>
+<span id="cb197-9"><a href="#cb197-9" aria-hidden="true"></a>if (a &gt; 3) {</span>
+<span id="cb197-10"><a href="#cb197-10" aria-hidden="true"></a> moveShip(5 * gravity, DOWN);</span>
+<span id="cb197-11"><a href="#cb197-11" aria-hidden="true"></a>}</span>
+<span id="cb197-12"><a href="#cb197-12" aria-hidden="true"></a>~~~~~~</span>
+<span id="cb197-13"><a href="#cb197-13" aria-hidden="true"></a></span>
+<span id="cb197-14"><a href="#cb197-14" aria-hidden="true"></a> ``` html</span>
+<span id="cb197-15"><a href="#cb197-15" aria-hidden="true"></a> &lt;pre&gt;</span>
+<span id="cb197-16"><a href="#cb197-16" aria-hidden="true"></a> &lt;code&gt;</span>
+<span id="cb197-17"><a href="#cb197-17" aria-hidden="true"></a> // Some comments</span>
+<span id="cb197-18"><a href="#cb197-18" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb197-19"><a href="#cb197-19" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb197-20"><a href="#cb197-20" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb197-21"><a href="#cb197-21" aria-hidden="true"></a> &lt;/code&gt;</span>
+<span id="cb197-22"><a href="#cb197-22" aria-hidden="true"></a> &lt;/pre&gt;</span>
+<span id="cb197-23"><a href="#cb197-23" aria-hidden="true"></a> ```</span>
+<span id="cb197-24"><a href="#cb197-24" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb197-25"><a href="#cb197-25" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb198"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb198-1"><a href="#cb198-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<div class="sourceCode" id="cb199"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb199-1"><a href="#cb199-1" aria-hidden="true"></a><span class="cf">if</span> (a <span class="op">&gt;</span> <span class="dv">3</span>) {</span>
+<span id="cb199-2"><a href="#cb199-2" aria-hidden="true"></a> <span class="fu">moveShip</span>(<span class="dv">5</span> <span class="op">*</span> gravity<span class="op">,</span> DOWN)<span class="op">;</span></span>
+<span id="cb199-3"><a href="#cb199-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb200"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb200-1"><a href="#cb200-1" aria-hidden="true"></a><span class="kw">&lt;pre&gt;</span></span>
+<span id="cb200-2"><a href="#cb200-2" aria-hidden="true"></a> <span class="kw">&lt;code&gt;</span></span>
+<span id="cb200-3"><a href="#cb200-3" aria-hidden="true"></a> // Some comments</span>
+<span id="cb200-4"><a href="#cb200-4" aria-hidden="true"></a> line 1 of code</span>
+<span id="cb200-5"><a href="#cb200-5" aria-hidden="true"></a> line 2 of code</span>
+<span id="cb200-6"><a href="#cb200-6" aria-hidden="true"></a> line 3 of code</span>
+<span id="cb200-7"><a href="#cb200-7" aria-hidden="true"></a> <span class="kw">&lt;/code&gt;</span></span>
+<span id="cb200-8"><a href="#cb200-8" aria-hidden="true"></a><span class="kw">&lt;/pre&gt;</span></span></code></pre></div>
+</blockquote>
+<h4 data-number="2.2.1.17" id="option-finalizecache"><span class="header-section-number">2.2.1.17</span> Option <code>finalizeCache</code></h4>
<dl>
<dt><code>finalizeCache</code> (default value: <code>false</code>)</dt>
<dd><p>Whether an output file specified with the <strong><code>frozenCacheFileName</code></strong> option (frozen cache) that contains a mapping between an enumeration of markdown documents and their auxiliary cache files will be created.</p>
-<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
+<p>The frozen cache makes it possible to later typeset a plain <span class="tex">T<sub>e</sub>X</span> document that contains markdown documents without invoking Lua using the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected.</p>
</dd>
</dl>
<h5 class="unnumbered" data-number="" id="plain-tex-example-7">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="cb196"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb196-1"><a href="#cb196-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb196-2"><a href="#cb196-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
-<span id="cb196-3"><a href="#cb196-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb196-4"><a href="#cb196-4" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb196-5"><a href="#cb196-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb196-6"><a href="#cb196-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb201"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb201-1"><a href="#cb201-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb201-2"><a href="#cb201-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
+<span id="cb201-3"><a href="#cb201-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb201-4"><a href="#cb201-4" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb201-5"><a href="#cb201-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb201-6"><a href="#cb201-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb197"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb197-1"><a href="#cb197-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb202"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb202-1"><a href="#cb202-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced as we requested using the <code>finalizeCache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb198"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb198-1"><a href="#cb198-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb198-2"><a href="#cb198-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
-<span id="cb198-3"><a href="#cb198-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb198-4"><a href="#cb198-4" aria-hidden="true"></a>Hi *world*!</span>
-<span id="cb198-5"><a href="#cb198-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb198-6"><a href="#cb198-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb203"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb203-1"><a href="#cb203-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb203-2"><a href="#cb203-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
+<span id="cb203-3"><a href="#cb203-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb203-4"><a href="#cb203-4" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb203-5"><a href="#cb203-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb203-6"><a href="#cb203-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb199"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb199-1"><a href="#cb199-1" aria-hidden="true"></a><span class="ex">pdftex</span> -no-shell-escape document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb204"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb204-1"><a href="#cb204-1" aria-hidden="true"></a><span class="ex">pdftex</span> -no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-14"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-15"><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="cb200"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb200-1"><a href="#cb200-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</span>
-<span id="cb200-2"><a href="#cb200-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb200-3"><a href="#cb200-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb200-4"><a href="#cb200-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb200-5"><a href="#cb200-5" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb200-6"><a href="#cb200-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb200-7"><a href="#cb200-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb205"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb205-1"><a href="#cb205-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[finalizecache]{<span class="ex">article</span>}</span>
+<span id="cb205-2"><a href="#cb205-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb205-3"><a href="#cb205-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb205-4"><a href="#cb205-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb205-5"><a href="#cb205-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb205-6"><a href="#cb205-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb205-7"><a href="#cb205-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb201"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb201-1"><a href="#cb201-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb206"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb206-1"><a href="#cb206-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced as we requested using the <code>finalizecache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb202"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb202-1"><a href="#cb202-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</span>
-<span id="cb202-2"><a href="#cb202-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb202-3"><a href="#cb202-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb202-4"><a href="#cb202-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb202-5"><a href="#cb202-5" aria-hidden="true"></a>Hi *world*!</span>
-<span id="cb202-6"><a href="#cb202-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb202-7"><a href="#cb202-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb207"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb207-1"><a href="#cb207-1" aria-hidden="true"></a><span class="bu">\documentclass</span>[frozencache]{<span class="ex">article</span>}</span>
+<span id="cb207-2"><a href="#cb207-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb207-3"><a href="#cb207-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb207-4"><a href="#cb207-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb207-5"><a href="#cb207-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb207-6"><a href="#cb207-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb207-7"><a href="#cb207-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb203"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb203-1"><a href="#cb203-1" aria-hidden="true"></a><span class="ex">pdflatex</span> -no-shell-escape document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb208"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb208-1"><a href="#cb208-1" aria-hidden="true"></a><span class="ex">pdflatex</span> -no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h5 class="unnumbered" data-number="" id="context-example-11">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-12">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="cb204"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb204-1"><a href="#cb204-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb204-2"><a href="#cb204-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFinalizeCache</span>{true}</span>
-<span id="cb204-3"><a href="#cb204-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb204-4"><a href="#cb204-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb204-5"><a href="#cb204-5" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb204-6"><a href="#cb204-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb204-7"><a href="#cb204-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb209"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb209-1"><a href="#cb209-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb209-2"><a href="#cb209-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[finalizeCache = yes]</span>
+<span id="cb209-3"><a href="#cb209-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb209-4"><a href="#cb209-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb209-5"><a href="#cb209-5" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb209-6"><a href="#cb209-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb209-7"><a href="#cb209-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb205"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb205-1"><a href="#cb205-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb210"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb210-1"><a href="#cb210-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache will also be produced in the <code>cache.tex</code> output file as we requested using the <code>finalizeCache</code> option.</p>
<p>Next, change the content of <code>document.tex</code> as follows:</p>
-<div class="sourceCode" id="cb206"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb206-1"><a href="#cb206-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb206-2"><a href="#cb206-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCache</span>{true}</span>
-<span id="cb206-3"><a href="#cb206-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb206-4"><a href="#cb206-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb206-5"><a href="#cb206-5" aria-hidden="true"></a>Hi *world*!</span>
-<span id="cb206-6"><a href="#cb206-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb206-7"><a href="#cb206-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb211"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb211-1"><a href="#cb211-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb211-2"><a href="#cb211-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[frozenCache = yes]</span>
+<span id="cb211-3"><a href="#cb211-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb211-4"><a href="#cb211-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb211-5"><a href="#cb211-5" aria-hidden="true"></a>Hi *world*!</span>
+<span id="cb211-6"><a href="#cb211-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb211-7"><a href="#cb211-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Last, invoke pdfTeX without shell access from the terminal:</p>
-<div class="sourceCode" id="cb207"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb207-1"><a href="#cb207-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--no-shell-escape document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb212"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb212-1"><a href="#cb212-1" aria-hidden="true"></a><span class="ex">texexec</span> --passon=--no-shell-escape document.tex</span></code></pre></div>
<p>A new PDF document named <code>document.pdf</code> should be produced and contain the same text “Hello <em>world</em>!” Since we used the contents of the frozen cache using the <code>\markdownOptionFrozenCache</code> option, we were able to typeset the document without accessing the shell or invoking Lua, but the change in the content of the markdown document from “Hello <em>world</em>!” to “Hi <em>world</em>!” was not reflected.</p>
-<h4 data-number="2.2.1.17" id="option-footnotes"><span class="header-section-number">2.2.1.17</span> Option <code>footnotes</code></h4>
+<h4 data-number="2.2.1.18" id="option-footnotes"><span class="header-section-number">2.2.1.18</span> Option <code>footnotes</code></h4>
<dl>
<dt><code>footnotes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc footnote syntax extension:</p>
-<div class="sourceCode" id="cb208"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb208-1"><a href="#cb208-1" aria-hidden="true"></a>Here is a footnote reference,<span class="ot">[^1]</span> and another.<span class="ot">[^longnote]</span></span>
-<span id="cb208-2"><a href="#cb208-2" aria-hidden="true"></a></span>
-<span id="cb208-3"><a href="#cb208-3" aria-hidden="true"></a><span class="ot">[^1]: </span>Here is the footnote.</span>
-<span id="cb208-4"><a href="#cb208-4" aria-hidden="true"></a></span>
-<span id="cb208-5"><a href="#cb208-5" aria-hidden="true"></a><span class="ot">[^longnote]: </span>Here&#39;s one with multiple blocks.</span>
-<span id="cb208-6"><a href="#cb208-6" aria-hidden="true"></a></span>
-<span id="cb208-7"><a href="#cb208-7" aria-hidden="true"></a><span class="in"> Subsequent paragraphs are indented to show that they</span></span>
-<span id="cb208-8"><a href="#cb208-8" aria-hidden="true"></a>belong to the previous footnote.</span>
-<span id="cb208-9"><a href="#cb208-9" aria-hidden="true"></a></span>
-<span id="cb208-10"><a href="#cb208-10" aria-hidden="true"></a><span class="in"> { some.code }</span></span>
-<span id="cb208-11"><a href="#cb208-11" aria-hidden="true"></a></span>
-<span id="cb208-12"><a href="#cb208-12" aria-hidden="true"></a><span class="in"> The whole paragraph can be indented, or just the</span></span>
-<span id="cb208-13"><a href="#cb208-13" aria-hidden="true"></a><span class="in"> first line. In this way, multi-paragraph footnotes</span></span>
-<span id="cb208-14"><a href="#cb208-14" aria-hidden="true"></a><span class="in"> work like multi-paragraph list items.</span></span>
-<span id="cb208-15"><a href="#cb208-15" aria-hidden="true"></a></span>
-<span id="cb208-16"><a href="#cb208-16" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
-<span id="cb208-17"><a href="#cb208-17" aria-hidden="true"></a>isn&#39;t indented.</span></code></pre></div>
+<div class="sourceCode" id="cb213"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb213-1"><a href="#cb213-1" aria-hidden="true"></a>Here is a footnote reference,<span class="ot">[^1]</span> and another.<span class="ot">[^longnote]</span></span>
+<span id="cb213-2"><a href="#cb213-2" aria-hidden="true"></a></span>
+<span id="cb213-3"><a href="#cb213-3" aria-hidden="true"></a><span class="ot">[^1]: </span>Here is the footnote.</span>
+<span id="cb213-4"><a href="#cb213-4" aria-hidden="true"></a></span>
+<span id="cb213-5"><a href="#cb213-5" aria-hidden="true"></a><span class="ot">[^longnote]: </span>Here&#39;s one with multiple blocks.</span>
+<span id="cb213-6"><a href="#cb213-6" aria-hidden="true"></a></span>
+<span id="cb213-7"><a href="#cb213-7" aria-hidden="true"></a><span class="in"> Subsequent paragraphs are indented to show that they</span></span>
+<span id="cb213-8"><a href="#cb213-8" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb213-9"><a href="#cb213-9" aria-hidden="true"></a></span>
+<span id="cb213-10"><a href="#cb213-10" aria-hidden="true"></a><span class="in"> { some.code }</span></span>
+<span id="cb213-11"><a href="#cb213-11" aria-hidden="true"></a></span>
+<span id="cb213-12"><a href="#cb213-12" aria-hidden="true"></a><span class="in"> The whole paragraph can be indented, or just the</span></span>
+<span id="cb213-13"><a href="#cb213-13" aria-hidden="true"></a><span class="in"> first line. In this way, multi-paragraph footnotes</span></span>
+<span id="cb213-14"><a href="#cb213-14" aria-hidden="true"></a><span class="in"> work like multi-paragraph list items.</span></span>
+<span id="cb213-15"><a href="#cb213-15" aria-hidden="true"></a></span>
+<span id="cb213-16"><a href="#cb213-16" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb213-17"><a href="#cb213-17" aria-hidden="true"></a>isn&#39;t indented.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2169,71 +2236,71 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-15"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-16"><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="cb209"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb209-1"><a href="#cb209-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb209-2"><a href="#cb209-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
-<span id="cb209-3"><a href="#cb209-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb209-4"><a href="#cb209-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb209-5"><a href="#cb209-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
-<span id="cb209-6"><a href="#cb209-6" aria-hidden="true"></a></span>
-<span id="cb209-7"><a href="#cb209-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
-<span id="cb209-8"><a href="#cb209-8" aria-hidden="true"></a></span>
-<span id="cb209-9"><a href="#cb209-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
-<span id="cb209-10"><a href="#cb209-10" aria-hidden="true"></a></span>
-<span id="cb209-11"><a href="#cb209-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
-<span id="cb209-12"><a href="#cb209-12" aria-hidden="true"></a>belong to the previous footnote.</span>
-<span id="cb209-13"><a href="#cb209-13" aria-hidden="true"></a></span>
-<span id="cb209-14"><a href="#cb209-14" aria-hidden="true"></a> { some.code }</span>
-<span id="cb209-15"><a href="#cb209-15" aria-hidden="true"></a></span>
-<span id="cb209-16"><a href="#cb209-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
-<span id="cb209-17"><a href="#cb209-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
-<span id="cb209-18"><a href="#cb209-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
-<span id="cb209-19"><a href="#cb209-19" aria-hidden="true"></a></span>
-<span id="cb209-20"><a href="#cb209-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
-<span id="cb209-21"><a href="#cb209-21" aria-hidden="true"></a>isn&#39;t indented.</span>
-<span id="cb209-22"><a href="#cb209-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb209-23"><a href="#cb209-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb210"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb210-1"><a href="#cb210-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb214"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb214-1"><a href="#cb214-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb214-2"><a href="#cb214-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb214-3"><a href="#cb214-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb214-4"><a href="#cb214-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb214-5"><a href="#cb214-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
+<span id="cb214-6"><a href="#cb214-6" aria-hidden="true"></a></span>
+<span id="cb214-7"><a href="#cb214-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
+<span id="cb214-8"><a href="#cb214-8" aria-hidden="true"></a></span>
+<span id="cb214-9"><a href="#cb214-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
+<span id="cb214-10"><a href="#cb214-10" aria-hidden="true"></a></span>
+<span id="cb214-11"><a href="#cb214-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
+<span id="cb214-12"><a href="#cb214-12" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb214-13"><a href="#cb214-13" aria-hidden="true"></a></span>
+<span id="cb214-14"><a href="#cb214-14" aria-hidden="true"></a> { some.code }</span>
+<span id="cb214-15"><a href="#cb214-15" aria-hidden="true"></a></span>
+<span id="cb214-16"><a href="#cb214-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
+<span id="cb214-17"><a href="#cb214-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
+<span id="cb214-18"><a href="#cb214-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
+<span id="cb214-19"><a href="#cb214-19" aria-hidden="true"></a></span>
+<span id="cb214-20"><a href="#cb214-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb214-21"><a href="#cb214-21" aria-hidden="true"></a>isn&#39;t indented.</span>
+<span id="cb214-22"><a href="#cb214-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb214-23"><a href="#cb214-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb215"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb215-1"><a href="#cb215-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a> and another.<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a></p>
<p>This paragraph won’t be part of the note, because it isn’t indented.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-12">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-13">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="cb212"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb212-1"><a href="#cb212-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb212-2"><a href="#cb212-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
-<span id="cb212-3"><a href="#cb212-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb212-4"><a href="#cb212-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb212-5"><a href="#cb212-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
-<span id="cb212-6"><a href="#cb212-6" aria-hidden="true"></a></span>
-<span id="cb212-7"><a href="#cb212-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
-<span id="cb212-8"><a href="#cb212-8" aria-hidden="true"></a></span>
-<span id="cb212-9"><a href="#cb212-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
-<span id="cb212-10"><a href="#cb212-10" aria-hidden="true"></a></span>
-<span id="cb212-11"><a href="#cb212-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
-<span id="cb212-12"><a href="#cb212-12" aria-hidden="true"></a>belong to the previous footnote.</span>
-<span id="cb212-13"><a href="#cb212-13" aria-hidden="true"></a></span>
-<span id="cb212-14"><a href="#cb212-14" aria-hidden="true"></a> { some.code }</span>
-<span id="cb212-15"><a href="#cb212-15" aria-hidden="true"></a></span>
-<span id="cb212-16"><a href="#cb212-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
-<span id="cb212-17"><a href="#cb212-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
-<span id="cb212-18"><a href="#cb212-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
-<span id="cb212-19"><a href="#cb212-19" aria-hidden="true"></a></span>
-<span id="cb212-20"><a href="#cb212-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
-<span id="cb212-21"><a href="#cb212-21" aria-hidden="true"></a>isn&#39;t indented.</span>
-<span id="cb212-22"><a href="#cb212-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb212-23"><a href="#cb212-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb213"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb213-1"><a href="#cb213-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb217"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb217-1"><a href="#cb217-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb217-2"><a href="#cb217-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[footnotes = yes]</span>
+<span id="cb217-3"><a href="#cb217-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb217-4"><a href="#cb217-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb217-5"><a href="#cb217-5" aria-hidden="true"></a>Here is a footnote reference,[^1] and another.[^longnote]</span>
+<span id="cb217-6"><a href="#cb217-6" aria-hidden="true"></a></span>
+<span id="cb217-7"><a href="#cb217-7" aria-hidden="true"></a>[^1]: Here is the footnote.</span>
+<span id="cb217-8"><a href="#cb217-8" aria-hidden="true"></a></span>
+<span id="cb217-9"><a href="#cb217-9" aria-hidden="true"></a>[^longnote]: Here&#39;s one with multiple blocks.</span>
+<span id="cb217-10"><a href="#cb217-10" aria-hidden="true"></a></span>
+<span id="cb217-11"><a href="#cb217-11" aria-hidden="true"></a> Subsequent paragraphs are indented to show that they</span>
+<span id="cb217-12"><a href="#cb217-12" aria-hidden="true"></a>belong to the previous footnote.</span>
+<span id="cb217-13"><a href="#cb217-13" aria-hidden="true"></a></span>
+<span id="cb217-14"><a href="#cb217-14" aria-hidden="true"></a> { some.code }</span>
+<span id="cb217-15"><a href="#cb217-15" aria-hidden="true"></a></span>
+<span id="cb217-16"><a href="#cb217-16" aria-hidden="true"></a> The whole paragraph can be indented, or just the</span>
+<span id="cb217-17"><a href="#cb217-17" aria-hidden="true"></a> first line. In this way, multi-paragraph footnotes</span>
+<span id="cb217-18"><a href="#cb217-18" aria-hidden="true"></a> work like multi-paragraph list items.</span>
+<span id="cb217-19"><a href="#cb217-19" aria-hidden="true"></a></span>
+<span id="cb217-20"><a href="#cb217-20" aria-hidden="true"></a>This paragraph won&#39;t be part of the note, because it</span>
+<span id="cb217-21"><a href="#cb217-21" aria-hidden="true"></a>isn&#39;t indented.</span>
+<span id="cb217-22"><a href="#cb217-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb217-23"><a href="#cb217-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb218"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb218-1"><a href="#cb218-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Here is a footnote reference,<a href="#fn3" class="footnote-ref" id="fnref3" role="doc-noteref"><sup>3</sup></a> and another.<a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a></p>
<p>This paragraph won’t be part of the note, because it isn’t indented.</p>
</blockquote>
-<h4 data-number="2.2.1.18" id="option-frozencachecounter"><span class="header-section-number">2.2.1.18</span> Option <code>frozenCacheCounter</code></h4>
+<h4 data-number="2.2.1.19" id="option-frozencachecounter"><span class="header-section-number">2.2.1.19</span> Option <code>frozenCacheCounter</code></h4>
<dl>
<dt><code>frozenCacheCounter</code> (default value: <code>0</code>)</dt>
<dd><p>The number of the current markdown document that will be stored in an output file (frozen cache) when the <strong><code>finalizeCache</code></strong> is enabled. When the document number is 0, then a new frozen cache will be created. Otherwise, the frozen cache will be appended.</p>
@@ -2242,19 +2309,19 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="lua-module-example-8">Lua Module 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="cb215"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb215-1"><a href="#cb215-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb215-2"><a href="#cb215-2" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb215-3"><a href="#cb215-3" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb215-4"><a href="#cb215-4" aria-hidden="true"></a> local firstConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 0})</span>
-<span id="cb215-5"><a href="#cb215-5" aria-hidden="true"></a> local firstInput = &quot;Hello&quot;</span>
-<span id="cb215-6"><a href="#cb215-6" aria-hidden="true"></a> local secondConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 1})</span>
-<span id="cb215-7"><a href="#cb215-7" aria-hidden="true"></a> local secondInput = &quot;*world*!&quot;</span>
-<span id="cb215-8"><a href="#cb215-8" aria-hidden="true"></a> tex.sprint(firstConvert(firstInput) .. [[ ]] .. secondConvert(secondInput)) }</span>
-<span id="cb215-9"><a href="#cb215-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb220"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb220-1"><a href="#cb220-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb220-2"><a href="#cb220-2" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb220-3"><a href="#cb220-3" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb220-4"><a href="#cb220-4" aria-hidden="true"></a> local firstConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 0})</span>
+<span id="cb220-5"><a href="#cb220-5" aria-hidden="true"></a> local firstInput = &quot;Hello&quot;</span>
+<span id="cb220-6"><a href="#cb220-6" aria-hidden="true"></a> local secondConvert = markdown.new({finalizeCache = true, frozenCacheCounter = 1})</span>
+<span id="cb220-7"><a href="#cb220-7" aria-hidden="true"></a> local secondInput = &quot;*world*!&quot;</span>
+<span id="cb220-8"><a href="#cb220-8" aria-hidden="true"></a> tex.sprint(firstConvert(firstInput) .. [[ ]] .. secondConvert(secondInput)) }</span>
+<span id="cb220-9"><a href="#cb220-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb216"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb216-1"><a href="#cb216-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb221"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb221-1"><a href="#cb221-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!” A frozen cache with two entries will also be produced as we requested using the <code>frozenCacheCounter</code> option.</p>
-<h4 data-number="2.2.1.19" id="option-hardlinebreaks"><span class="header-section-number">2.2.1.19</span> Option <code>hardLineBreaks</code></h4>
+<h4 data-number="2.2.1.20" id="option-hardlinebreaks"><span class="header-section-number">2.2.1.20</span> Option <code>hardLineBreaks</code></h4>
<dl>
<dt><code>hardLineBreaks</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2270,43 +2337,43 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-16"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-17"><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="cb217"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb217-1"><a href="#cb217-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb217-2"><a href="#cb217-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb217-3"><a href="#cb217-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb217-4"><a href="#cb217-4" aria-hidden="true"></a></span>
-<span id="cb217-5"><a href="#cb217-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb217-6"><a href="#cb217-6" aria-hidden="true"></a>&#39;Twas brillig, and the slithy toves</span>
-<span id="cb217-7"><a href="#cb217-7" aria-hidden="true"></a>Did gyre and gimble in the wabe;</span>
-<span id="cb217-8"><a href="#cb217-8" aria-hidden="true"></a>All mimsy were the borogoves,</span>
-<span id="cb217-9"><a href="#cb217-9" aria-hidden="true"></a>And the mome raths outgrabe.</span>
-<span id="cb217-10"><a href="#cb217-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb217-11"><a href="#cb217-11" aria-hidden="true"></a></span>
-<span id="cb217-12"><a href="#cb217-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hardLineBreaks}</span>
-<span id="cb217-13"><a href="#cb217-13" aria-hidden="true"></a>&#39;Twas brillig, and the slithy toves</span>
-<span id="cb217-14"><a href="#cb217-14" aria-hidden="true"></a>Did gyre and gimble in the wabe;</span>
-<span id="cb217-15"><a href="#cb217-15" aria-hidden="true"></a>All mimsy were the borogoves,</span>
-<span id="cb217-16"><a href="#cb217-16" aria-hidden="true"></a>And the mome raths outgrabe.</span>
-<span id="cb217-17"><a href="#cb217-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb217-18"><a href="#cb217-18" aria-hidden="true"></a></span>
-<span id="cb217-19"><a href="#cb217-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb218"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb218-1"><a href="#cb218-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb222"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb222-1"><a href="#cb222-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb222-2"><a href="#cb222-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb222-3"><a href="#cb222-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb222-4"><a href="#cb222-4" aria-hidden="true"></a></span>
+<span id="cb222-5"><a href="#cb222-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb222-6"><a href="#cb222-6" aria-hidden="true"></a>&#39;Twas brillig, and the slithy toves</span>
+<span id="cb222-7"><a href="#cb222-7" aria-hidden="true"></a>Did gyre and gimble in the wabe;</span>
+<span id="cb222-8"><a href="#cb222-8" aria-hidden="true"></a>All mimsy were the borogoves,</span>
+<span id="cb222-9"><a href="#cb222-9" aria-hidden="true"></a>And the mome raths outgrabe.</span>
+<span id="cb222-10"><a href="#cb222-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb222-11"><a href="#cb222-11" aria-hidden="true"></a></span>
+<span id="cb222-12"><a href="#cb222-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hardLineBreaks}</span>
+<span id="cb222-13"><a href="#cb222-13" aria-hidden="true"></a>&#39;Twas brillig, and the slithy toves</span>
+<span id="cb222-14"><a href="#cb222-14" aria-hidden="true"></a>Did gyre and gimble in the wabe;</span>
+<span id="cb222-15"><a href="#cb222-15" aria-hidden="true"></a>All mimsy were the borogoves,</span>
+<span id="cb222-16"><a href="#cb222-16" aria-hidden="true"></a>And the mome raths outgrabe.</span>
+<span id="cb222-17"><a href="#cb222-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb222-18"><a href="#cb222-18" aria-hidden="true"></a></span>
+<span id="cb222-19"><a href="#cb222-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb223"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb223-1"><a href="#cb223-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>’Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe.</p>
<p>’Twas brillig, and the slithy toves Did gyre and gimble in the wabe; All mimsy were the borogoves, And the mome raths outgrabe.</p>
</blockquote>
-<h4 data-number="2.2.1.20" id="option-hashenumerators"><span class="header-section-number">2.2.1.20</span> Option <code>hashEnumerators</code></h4>
+<h4 data-number="2.2.1.21" id="option-hashenumerators"><span class="header-section-number">2.2.1.21</span> Option <code>hashEnumerators</code></h4>
<dl>
<dt><code>hashEnumerators</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the use of hash symbols (<code>#</code>) as ordered item list markers:</p>
-<div class="sourceCode" id="cb219"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb219-1"><a href="#cb219-1" aria-hidden="true"></a>#. Bird</span>
-<span id="cb219-2"><a href="#cb219-2" aria-hidden="true"></a>#. McHale</span>
-<span id="cb219-3"><a href="#cb219-3" aria-hidden="true"></a>#. Parish</span></code></pre></div>
+<div class="sourceCode" id="cb224"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb224-1"><a href="#cb224-1" aria-hidden="true"></a>#. Bird</span>
+<span id="cb224-2"><a href="#cb224-2" aria-hidden="true"></a>#. McHale</span>
+<span id="cb224-3"><a href="#cb224-3" aria-hidden="true"></a>#. Parish</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2317,27 +2384,27 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-17"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-18"><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="cb220"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb220-1"><a href="#cb220-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb220-2"><a href="#cb220-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb220-3"><a href="#cb220-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb220-4"><a href="#cb220-4" aria-hidden="true"></a></span>
-<span id="cb220-5"><a href="#cb220-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb220-6"><a href="#cb220-6" aria-hidden="true"></a>. Bird</span>
-<span id="cb220-7"><a href="#cb220-7" aria-hidden="true"></a>. McHale</span>
-<span id="cb220-8"><a href="#cb220-8" aria-hidden="true"></a>. Parish</span>
-<span id="cb220-9"><a href="#cb220-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb220-10"><a href="#cb220-10" aria-hidden="true"></a></span>
-<span id="cb220-11"><a href="#cb220-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hashEnumerators}</span>
-<span id="cb220-12"><a href="#cb220-12" aria-hidden="true"></a>. Bird</span>
-<span id="cb220-13"><a href="#cb220-13" aria-hidden="true"></a>. McHale</span>
-<span id="cb220-14"><a href="#cb220-14" aria-hidden="true"></a>. Parish</span>
-<span id="cb220-15"><a href="#cb220-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb220-16"><a href="#cb220-16" aria-hidden="true"></a></span>
-<span id="cb220-17"><a href="#cb220-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb221"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb221-1"><a href="#cb221-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb225"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb225-1"><a href="#cb225-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb225-2"><a href="#cb225-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb225-3"><a href="#cb225-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb225-4"><a href="#cb225-4" aria-hidden="true"></a></span>
+<span id="cb225-5"><a href="#cb225-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb225-6"><a href="#cb225-6" aria-hidden="true"></a>#. Bird</span>
+<span id="cb225-7"><a href="#cb225-7" aria-hidden="true"></a>#. McHale</span>
+<span id="cb225-8"><a href="#cb225-8" aria-hidden="true"></a>#. Parish</span>
+<span id="cb225-9"><a href="#cb225-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb225-10"><a href="#cb225-10" aria-hidden="true"></a></span>
+<span id="cb225-11"><a href="#cb225-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hashEnumerators}</span>
+<span id="cb225-12"><a href="#cb225-12" aria-hidden="true"></a>#. Bird</span>
+<span id="cb225-13"><a href="#cb225-13" aria-hidden="true"></a>#. McHale</span>
+<span id="cb225-14"><a href="#cb225-14" aria-hidden="true"></a>#. Parish</span>
+<span id="cb225-15"><a href="#cb225-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb225-16"><a href="#cb225-16" aria-hidden="true"></a></span>
+<span id="cb225-17"><a href="#cb225-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb226"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb226-1"><a href="#cb226-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="bird">. Bird</h1>
@@ -2349,27 +2416,27 @@ Thomas,Edison,1847</code></pre>
<li>Parish</li>
</ol>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-13">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-14">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="cb222"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb222-1"><a href="#cb222-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb222-2"><a href="#cb222-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb222-3"><a href="#cb222-3" aria-hidden="true"></a></span>
-<span id="cb222-4"><a href="#cb222-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb222-5"><a href="#cb222-5" aria-hidden="true"></a>. Bird</span>
-<span id="cb222-6"><a href="#cb222-6" aria-hidden="true"></a>. McHale</span>
-<span id="cb222-7"><a href="#cb222-7" aria-hidden="true"></a>. Parish</span>
-<span id="cb222-8"><a href="#cb222-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb222-9"><a href="#cb222-9" aria-hidden="true"></a></span>
-<span id="cb222-10"><a href="#cb222-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionHashEnumerators</span>{true}</span>
-<span id="cb222-11"><a href="#cb222-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb222-12"><a href="#cb222-12" aria-hidden="true"></a>. Bird</span>
-<span id="cb222-13"><a href="#cb222-13" aria-hidden="true"></a>. McHale</span>
-<span id="cb222-14"><a href="#cb222-14" aria-hidden="true"></a>. Parish</span>
-<span id="cb222-15"><a href="#cb222-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb222-16"><a href="#cb222-16" aria-hidden="true"></a></span>
-<span id="cb222-17"><a href="#cb222-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb223"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb223-1"><a href="#cb223-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb227"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb227-1"><a href="#cb227-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb227-2"><a href="#cb227-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb227-3"><a href="#cb227-3" aria-hidden="true"></a></span>
+<span id="cb227-4"><a href="#cb227-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb227-5"><a href="#cb227-5" aria-hidden="true"></a>#. Bird</span>
+<span id="cb227-6"><a href="#cb227-6" aria-hidden="true"></a>#. McHale</span>
+<span id="cb227-7"><a href="#cb227-7" aria-hidden="true"></a>#. Parish</span>
+<span id="cb227-8"><a href="#cb227-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb227-9"><a href="#cb227-9" aria-hidden="true"></a></span>
+<span id="cb227-10"><a href="#cb227-10" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[hashEnumerators = yes]</span>
+<span id="cb227-11"><a href="#cb227-11" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb227-12"><a href="#cb227-12" aria-hidden="true"></a>#. Bird</span>
+<span id="cb227-13"><a href="#cb227-13" aria-hidden="true"></a>#. McHale</span>
+<span id="cb227-14"><a href="#cb227-14" aria-hidden="true"></a>#. Parish</span>
+<span id="cb227-15"><a href="#cb227-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb227-16"><a href="#cb227-16" aria-hidden="true"></a></span>
+<span id="cb227-17"><a href="#cb227-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb228"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb228-1"><a href="#cb228-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="bird-1">. Bird</h1>
@@ -2381,18 +2448,18 @@ Thomas,Edison,1847</code></pre>
<li>Parish</li>
</ol>
</blockquote>
-<h4 data-number="2.2.1.21" id="header-attributes"><span class="header-section-number">2.2.1.21</span> Option <code>headerAttributes</code></h4>
+<h4 data-number="2.2.1.22" id="header-attributes"><span class="header-section-number">2.2.1.22</span> Option <code>headerAttributes</code></h4>
<dl>
<dt><code>headerAttributes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the assignment of HTML attributes to headings:</p>
-<div class="sourceCode" id="cb224"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb224-1"><a href="#cb224-1" aria-hidden="true"></a><span class="fu"># My first heading {#foo}</span></span>
-<span id="cb224-2"><a href="#cb224-2" aria-hidden="true"></a></span>
-<span id="cb224-3"><a href="#cb224-3" aria-hidden="true"></a><span class="fu">## My second heading ## {#bar .baz}</span></span>
-<span id="cb224-4"><a href="#cb224-4" aria-hidden="true"></a></span>
-<span id="cb224-5"><a href="#cb224-5" aria-hidden="true"></a>Yet another heading {key=value}</span>
-<span id="cb224-6"><a href="#cb224-6" aria-hidden="true"></a><span class="fu">===================</span></span></code></pre></div>
+<div class="sourceCode" id="cb229"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb229-1"><a href="#cb229-1" aria-hidden="true"></a><span class="fu"># My first heading {#foo}</span></span>
+<span id="cb229-2"><a href="#cb229-2" aria-hidden="true"></a></span>
+<span id="cb229-3"><a href="#cb229-3" aria-hidden="true"></a><span class="fu">## My second heading ## {#bar .baz}</span></span>
+<span id="cb229-4"><a href="#cb229-4" aria-hidden="true"></a></span>
+<span id="cb229-5"><a href="#cb229-5" aria-hidden="true"></a>Yet another heading {key=value}</span>
+<span id="cb229-6"><a href="#cb229-6" aria-hidden="true"></a><span class="fu">===================</span></span></code></pre></div>
<p>These HTML attributes have currently no effect other than enabling <a href="#slice">content slicing</a>.</p>
</dd>
</dl>
@@ -2404,7 +2471,7 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h4 data-number="2.2.1.22" id="option-html"><span class="header-section-number">2.2.1.22</span> Option <code>html</code></h4>
+<h4 data-number="2.2.1.23" id="option-html"><span class="header-section-number">2.2.1.23</span> Option <code>html</code></h4>
<dl>
<dt><code>html</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2422,31 +2489,31 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="lua-module-example-9">Lua Module 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="cb225"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb225-1"><a href="#cb225-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb225-2"><a href="#cb225-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb225-3"><a href="#cb225-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb225-4"><a href="#cb225-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb225-5"><a href="#cb225-5" aria-hidden="true"></a> local convert = markdown.new()</span>
-<span id="cb225-6"><a href="#cb225-6" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
-<span id="cb225-7"><a href="#cb225-7" aria-hidden="true"></a> local input =</span>
-<span id="cb225-8"><a href="#cb225-8" aria-hidden="true"></a> &quot;&lt;div&gt;*There is no block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
-<span id="cb225-9"><a href="#cb225-9" aria-hidden="true"></a> &quot;*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
-<span id="cb225-10"><a href="#cb225-10" aria-hidden="true"></a> &quot;_There is no &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
-<span id="cb225-11"><a href="#cb225-11" aria-hidden="true"></a> &quot;_There is no &lt;? HTML instruction ?&gt; support._&quot;</span>
-<span id="cb225-12"><a href="#cb225-12" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
-<span id="cb225-13"><a href="#cb225-13" aria-hidden="true"></a><span class="fu">\par</span></span>
-<span id="cb225-14"><a href="#cb225-14" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb225-15"><a href="#cb225-15" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb225-16"><a href="#cb225-16" aria-hidden="true"></a> local convert = markdown.new({html = true})</span>
-<span id="cb225-17"><a href="#cb225-17" aria-hidden="true"></a> local input =</span>
-<span id="cb225-18"><a href="#cb225-18" aria-hidden="true"></a> &quot;&lt;div&gt;*There is block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
-<span id="cb225-19"><a href="#cb225-19" aria-hidden="true"></a> &quot;*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
-<span id="cb225-20"><a href="#cb225-20" aria-hidden="true"></a> &quot;_There is &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
-<span id="cb225-21"><a href="#cb225-21" aria-hidden="true"></a> &quot;_There is &lt;? HTML instruction ?&gt; support._&quot;</span>
-<span id="cb225-22"><a href="#cb225-22" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
-<span id="cb225-23"><a href="#cb225-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb230"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb230-1"><a href="#cb230-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb230-2"><a href="#cb230-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb230-3"><a href="#cb230-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb230-4"><a href="#cb230-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb230-5"><a href="#cb230-5" aria-hidden="true"></a> local convert = markdown.new()</span>
+<span id="cb230-6"><a href="#cb230-6" aria-hidden="true"></a> local newline = [[^^J^^J]]</span>
+<span id="cb230-7"><a href="#cb230-7" aria-hidden="true"></a> local input =</span>
+<span id="cb230-8"><a href="#cb230-8" aria-hidden="true"></a> &quot;&lt;div&gt;*There is no block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
+<span id="cb230-9"><a href="#cb230-9" aria-hidden="true"></a> &quot;*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
+<span id="cb230-10"><a href="#cb230-10" aria-hidden="true"></a> &quot;_There is no &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
+<span id="cb230-11"><a href="#cb230-11" aria-hidden="true"></a> &quot;_There is no &lt;? HTML instruction ?&gt; support._&quot;</span>
+<span id="cb230-12"><a href="#cb230-12" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb230-13"><a href="#cb230-13" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb230-14"><a href="#cb230-14" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb230-15"><a href="#cb230-15" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb230-16"><a href="#cb230-16" aria-hidden="true"></a> local convert = markdown.new({html = true})</span>
+<span id="cb230-17"><a href="#cb230-17" aria-hidden="true"></a> local input =</span>
+<span id="cb230-18"><a href="#cb230-18" aria-hidden="true"></a> &quot;&lt;div&gt;*There is block tag support.*&lt;/div&gt;&quot; .. newline ..</span>
+<span id="cb230-19"><a href="#cb230-19" aria-hidden="true"></a> &quot;*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*&quot; .. newline ..</span>
+<span id="cb230-20"><a href="#cb230-20" aria-hidden="true"></a> &quot;_There is &lt;!-- comment --&gt; support._&quot; .. newline ..</span>
+<span id="cb230-21"><a href="#cb230-21" aria-hidden="true"></a> &quot;_There is &lt;? HTML instruction ?&gt; support._&quot;</span>
+<span id="cb230-22"><a href="#cb230-22" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb230-23"><a href="#cb230-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb226"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb226-1"><a href="#cb226-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb231"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb231-1"><a href="#cb231-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
@@ -2454,23 +2521,23 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="lua-cli-example-7">Lua CLI 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="cb227"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb227-1"><a href="#cb227-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb227-2"><a href="#cb227-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb227-3"><a href="#cb227-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
-<span id="cb227-4"><a href="#cb227-4" aria-hidden="true"></a><span class="fu">\par</span></span>
-<span id="cb227-5"><a href="#cb227-5" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
-<span id="cb227-6"><a href="#cb227-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb232"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb232-1"><a href="#cb232-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb232-2"><a href="#cb232-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb232-3"><a href="#cb232-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb232-4"><a href="#cb232-4" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb232-5"><a href="#cb232-5" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb232-6"><a href="#cb232-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb228"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb228-1"><a href="#cb228-1" aria-hidden="true"></a><span class="kw">&lt;div&gt;</span></span>
-<span id="cb228-2"><a href="#cb228-2" aria-hidden="true"></a>*Is there block tag support?*</span>
-<span id="cb228-3"><a href="#cb228-3" aria-hidden="true"></a><span class="kw">&lt;/div&gt;</span></span>
-<span id="cb228-4"><a href="#cb228-4" aria-hidden="true"></a>*Is there <span class="kw">&lt;inline</span><span class="ot"> tag=</span><span class="st">&quot;tag&quot;</span><span class="kw">&gt;&lt;/inline&gt;</span> support?*</span>
-<span id="cb228-5"><a href="#cb228-5" aria-hidden="true"></a>_Is there <span class="co">&lt;!-- comment --&gt;</span> support?_</span>
-<span id="cb228-6"><a href="#cb228-6" aria-hidden="true"></a>_Is there <span class="kw">&lt;?</span> HTML instruction <span class="kw">?&gt;</span> support?_</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb229"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb229-1"><a href="#cb229-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
-<span id="cb229-2"><a href="#cb229-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ html=true -- content.md optiontrue.tex</span>
-<span id="cb229-3"><a href="#cb229-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb233"><pre class="sourceCode html"><code class="sourceCode html"><span id="cb233-1"><a href="#cb233-1" aria-hidden="true"></a><span class="kw">&lt;div&gt;</span></span>
+<span id="cb233-2"><a href="#cb233-2" aria-hidden="true"></a>*Is there block tag support?*</span>
+<span id="cb233-3"><a href="#cb233-3" aria-hidden="true"></a><span class="kw">&lt;/div&gt;</span></span>
+<span id="cb233-4"><a href="#cb233-4" aria-hidden="true"></a>*Is there <span class="kw">&lt;inline</span><span class="ot"> tag=</span><span class="st">&quot;tag&quot;</span><span class="kw">&gt;&lt;/inline&gt;</span> support?*</span>
+<span id="cb233-5"><a href="#cb233-5" aria-hidden="true"></a>_Is there <span class="co">&lt;!-- comment --&gt;</span> support?_</span>
+<span id="cb233-6"><a href="#cb233-6" aria-hidden="true"></a>_Is there <span class="kw">&lt;?</span> HTML instruction <span class="kw">?&gt;</span> support?_</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb234"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb234-1"><a href="#cb234-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb234-2"><a href="#cb234-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ html=true -- content.md optiontrue.tex</span>
+<span id="cb234-3"><a href="#cb234-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -2479,101 +2546,101 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="plain-tex-example-8">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="cb230"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb230-1"><a href="#cb230-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb230-2"><a href="#cb230-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb230-3"><a href="#cb230-3" aria-hidden="true"></a></span>
-<span id="cb230-4"><a href="#cb230-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb230-5"><a href="#cb230-5" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb230-6"><a href="#cb230-6" aria-hidden="true"></a>*There is no block tag support.*</span>
-<span id="cb230-7"><a href="#cb230-7" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb230-8"><a href="#cb230-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb230-9"><a href="#cb230-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
-<span id="cb230-10"><a href="#cb230-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb230-11"><a href="#cb230-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb230-12"><a href="#cb230-12" aria-hidden="true"></a></span>
-<span id="cb230-13"><a href="#cb230-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionHtml</span>{true}</span>
-<span id="cb230-14"><a href="#cb230-14" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb230-15"><a href="#cb230-15" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb230-16"><a href="#cb230-16" aria-hidden="true"></a>*There is block tag support.*</span>
-<span id="cb230-17"><a href="#cb230-17" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb230-18"><a href="#cb230-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb230-19"><a href="#cb230-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
-<span id="cb230-20"><a href="#cb230-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb230-21"><a href="#cb230-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb230-22"><a href="#cb230-22" aria-hidden="true"></a></span>
-<span id="cb230-23"><a href="#cb230-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb231"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb231-1"><a href="#cb231-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb235"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb235-1"><a href="#cb235-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb235-2"><a href="#cb235-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb235-3"><a href="#cb235-3" aria-hidden="true"></a></span>
+<span id="cb235-4"><a href="#cb235-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb235-5"><a href="#cb235-5" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb235-6"><a href="#cb235-6" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb235-7"><a href="#cb235-7" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb235-8"><a href="#cb235-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb235-9"><a href="#cb235-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb235-10"><a href="#cb235-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb235-11"><a href="#cb235-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb235-12"><a href="#cb235-12" aria-hidden="true"></a></span>
+<span id="cb235-13"><a href="#cb235-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionHtml</span>{true}</span>
+<span id="cb235-14"><a href="#cb235-14" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb235-15"><a href="#cb235-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb235-16"><a href="#cb235-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb235-17"><a href="#cb235-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb235-18"><a href="#cb235-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb235-19"><a href="#cb235-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb235-20"><a href="#cb235-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb235-21"><a href="#cb235-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb235-22"><a href="#cb235-22" aria-hidden="true"></a></span>
+<span id="cb235-23"><a href="#cb235-23" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb236"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb236-1"><a href="#cb236-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-18"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-19"><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="cb232"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb232-1"><a href="#cb232-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb232-2"><a href="#cb232-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb232-3"><a href="#cb232-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb232-4"><a href="#cb232-4" aria-hidden="true"></a></span>
-<span id="cb232-5"><a href="#cb232-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb232-6"><a href="#cb232-6" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb232-7"><a href="#cb232-7" aria-hidden="true"></a>*There is no block tag support.*</span>
-<span id="cb232-8"><a href="#cb232-8" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb232-9"><a href="#cb232-9" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb232-10"><a href="#cb232-10" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
-<span id="cb232-11"><a href="#cb232-11" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb232-12"><a href="#cb232-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb232-13"><a href="#cb232-13" aria-hidden="true"></a></span>
-<span id="cb232-14"><a href="#cb232-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{html}</span>
-<span id="cb232-15"><a href="#cb232-15" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb232-16"><a href="#cb232-16" aria-hidden="true"></a>*There is block tag support.*</span>
-<span id="cb232-17"><a href="#cb232-17" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb232-18"><a href="#cb232-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb232-19"><a href="#cb232-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
-<span id="cb232-20"><a href="#cb232-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb232-21"><a href="#cb232-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb232-22"><a href="#cb232-22" aria-hidden="true"></a></span>
-<span id="cb232-23"><a href="#cb232-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb233"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb233-1"><a href="#cb233-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb237"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb237-1"><a href="#cb237-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb237-2"><a href="#cb237-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb237-3"><a href="#cb237-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb237-4"><a href="#cb237-4" aria-hidden="true"></a></span>
+<span id="cb237-5"><a href="#cb237-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb237-6"><a href="#cb237-6" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb237-7"><a href="#cb237-7" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb237-8"><a href="#cb237-8" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb237-9"><a href="#cb237-9" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb237-10"><a href="#cb237-10" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb237-11"><a href="#cb237-11" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb237-12"><a href="#cb237-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb237-13"><a href="#cb237-13" aria-hidden="true"></a></span>
+<span id="cb237-14"><a href="#cb237-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{html}</span>
+<span id="cb237-15"><a href="#cb237-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb237-16"><a href="#cb237-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb237-17"><a href="#cb237-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb237-18"><a href="#cb237-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb237-19"><a href="#cb237-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb237-20"><a href="#cb237-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb237-21"><a href="#cb237-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb237-22"><a href="#cb237-22" aria-hidden="true"></a></span>
+<span id="cb237-23"><a href="#cb237-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb238"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb238-1"><a href="#cb238-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-14">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-15">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="cb234"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb234-1"><a href="#cb234-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb234-2"><a href="#cb234-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb234-3"><a href="#cb234-3" aria-hidden="true"></a></span>
-<span id="cb234-4"><a href="#cb234-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb234-5"><a href="#cb234-5" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb234-6"><a href="#cb234-6" aria-hidden="true"></a>*There is no block tag support.*</span>
-<span id="cb234-7"><a href="#cb234-7" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb234-8"><a href="#cb234-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb234-9"><a href="#cb234-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
-<span id="cb234-10"><a href="#cb234-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb234-11"><a href="#cb234-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb234-12"><a href="#cb234-12" aria-hidden="true"></a></span>
-<span id="cb234-13"><a href="#cb234-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionHtml</span>{true}</span>
-<span id="cb234-14"><a href="#cb234-14" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb234-15"><a href="#cb234-15" aria-hidden="true"></a>&lt;div&gt;</span>
-<span id="cb234-16"><a href="#cb234-16" aria-hidden="true"></a>*There is block tag support.*</span>
-<span id="cb234-17"><a href="#cb234-17" aria-hidden="true"></a>&lt;/div&gt;</span>
-<span id="cb234-18"><a href="#cb234-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
-<span id="cb234-19"><a href="#cb234-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
-<span id="cb234-20"><a href="#cb234-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
-<span id="cb234-21"><a href="#cb234-21" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb234-22"><a href="#cb234-22" aria-hidden="true"></a></span>
-<span id="cb234-23"><a href="#cb234-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb235"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb235-1"><a href="#cb235-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb239"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb239-1"><a href="#cb239-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb239-2"><a href="#cb239-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb239-3"><a href="#cb239-3" aria-hidden="true"></a></span>
+<span id="cb239-4"><a href="#cb239-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb239-5"><a href="#cb239-5" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb239-6"><a href="#cb239-6" aria-hidden="true"></a>*There is no block tag support.*</span>
+<span id="cb239-7"><a href="#cb239-7" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb239-8"><a href="#cb239-8" aria-hidden="true"></a>*There is no &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb239-9"><a href="#cb239-9" aria-hidden="true"></a>_There is no &lt;!-- comment --&gt; support._</span>
+<span id="cb239-10"><a href="#cb239-10" aria-hidden="true"></a>_There is no &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb239-11"><a href="#cb239-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb239-12"><a href="#cb239-12" aria-hidden="true"></a></span>
+<span id="cb239-13"><a href="#cb239-13" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[html = yes]</span>
+<span id="cb239-14"><a href="#cb239-14" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb239-15"><a href="#cb239-15" aria-hidden="true"></a>&lt;div&gt;</span>
+<span id="cb239-16"><a href="#cb239-16" aria-hidden="true"></a>*There is block tag support.*</span>
+<span id="cb239-17"><a href="#cb239-17" aria-hidden="true"></a>&lt;/div&gt;</span>
+<span id="cb239-18"><a href="#cb239-18" aria-hidden="true"></a>*There is &lt;inline tag=&quot;tag&quot;&gt;&lt;/inline&gt; support.*</span>
+<span id="cb239-19"><a href="#cb239-19" aria-hidden="true"></a>_There is &lt;!-- comment --&gt; support._</span>
+<span id="cb239-20"><a href="#cb239-20" aria-hidden="true"></a>_There is &lt;? HTML instruction ?&gt; support._</span>
+<span id="cb239-21"><a href="#cb239-21" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb239-22"><a href="#cb239-22" aria-hidden="true"></a></span>
+<span id="cb239-23"><a href="#cb239-23" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb240"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb240-1"><a href="#cb240-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>&lt;div&gt;There is no block tag support.&lt;/div&gt; There is no &lt;inline tag=”tag”&gt;&lt;/inline&gt; support. There is no &lt;!– comment –&gt; support. There is no &lt;? HTML instruction ?&gt; support.</p>
<p>There is support. There is support. There is support.</p>
</blockquote>
-<h4 data-number="2.2.1.23" id="option-hybrid"><span class="header-section-number">2.2.1.23</span> Option <code>hybrid</code></h4>
+<h4 data-number="2.2.1.24" id="option-hybrid"><span class="header-section-number">2.2.1.24</span> Option <code>hybrid</code></h4>
<dl>
<dt><code>hybrid</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -2591,25 +2658,25 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="lua-module-example-10">Lua Module 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="cb236"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb236-1"><a href="#cb236-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb236-2"><a href="#cb236-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb236-3"><a href="#cb236-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb236-4"><a href="#cb236-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb236-5"><a href="#cb236-5" aria-hidden="true"></a> local input, convert_safe, convert_unsafe, paragraph</span>
-<span id="cb236-6"><a href="#cb236-6" aria-hidden="true"></a></span>
-<span id="cb236-7"><a href="#cb236-7" aria-hidden="true"></a> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</span>
-<span id="cb236-8"><a href="#cb236-8" aria-hidden="true"></a> convert_safe = markdown.new()</span>
-<span id="cb236-9"><a href="#cb236-9" aria-hidden="true"></a> convert_unsafe = markdown.new({hybrid = true})</span>
-<span id="cb236-10"><a href="#cb236-10" aria-hidden="true"></a> paragraph = [[<span class="fu">\par</span>]]</span>
-<span id="cb236-11"><a href="#cb236-11" aria-hidden="true"></a></span>
-<span id="cb236-12"><a href="#cb236-12" aria-hidden="true"></a> tex.sprint(</span>
-<span id="cb236-13"><a href="#cb236-13" aria-hidden="true"></a> convert_safe(input) .. paragraph ..</span>
-<span id="cb236-14"><a href="#cb236-14" aria-hidden="true"></a> convert_unsafe(input)</span>
-<span id="cb236-15"><a href="#cb236-15" aria-hidden="true"></a> )</span>
-<span id="cb236-16"><a href="#cb236-16" aria-hidden="true"></a>}</span>
-<span id="cb236-17"><a href="#cb236-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb241"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb241-1"><a href="#cb241-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb241-2"><a href="#cb241-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb241-3"><a href="#cb241-3" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb241-4"><a href="#cb241-4" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb241-5"><a href="#cb241-5" aria-hidden="true"></a> local input, convert_safe, convert_unsafe, paragraph</span>
+<span id="cb241-6"><a href="#cb241-6" aria-hidden="true"></a></span>
+<span id="cb241-7"><a href="#cb241-7" aria-hidden="true"></a> input = [[<span class="ss">$</span><span class="sc">\string\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.]]</span>
+<span id="cb241-8"><a href="#cb241-8" aria-hidden="true"></a> convert_safe = markdown.new()</span>
+<span id="cb241-9"><a href="#cb241-9" aria-hidden="true"></a> convert_unsafe = markdown.new({hybrid = true})</span>
+<span id="cb241-10"><a href="#cb241-10" aria-hidden="true"></a> paragraph = [[<span class="fu">\par</span>]]</span>
+<span id="cb241-11"><a href="#cb241-11" aria-hidden="true"></a></span>
+<span id="cb241-12"><a href="#cb241-12" aria-hidden="true"></a> tex.sprint(</span>
+<span id="cb241-13"><a href="#cb241-13" aria-hidden="true"></a> convert_safe(input) .. paragraph ..</span>
+<span id="cb241-14"><a href="#cb241-14" aria-hidden="true"></a> convert_unsafe(input)</span>
+<span id="cb241-15"><a href="#cb241-15" aria-hidden="true"></a> )</span>
+<span id="cb241-16"><a href="#cb241-16" aria-hidden="true"></a>}</span>
+<span id="cb241-17"><a href="#cb241-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb237"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb237-1"><a href="#cb237-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb242"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb242-1"><a href="#cb242-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
@@ -2617,21 +2684,21 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="lua-cli-example-8">Lua CLI 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="cb238"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb238-1"><a href="#cb238-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb238-2"><a href="#cb238-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb238-3"><a href="#cb238-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
-<span id="cb238-4"><a href="#cb238-4" aria-hidden="true"></a></span>
-<span id="cb238-5"><a href="#cb238-5" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
-<span id="cb238-6"><a href="#cb238-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
-<span id="cb238-7"><a href="#cb238-7" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
-<span id="cb238-8"><a href="#cb238-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
-<span id="cb238-9"><a href="#cb238-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb243"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb243-1"><a href="#cb243-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb243-2"><a href="#cb243-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb243-3"><a href="#cb243-3" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb243-4"><a href="#cb243-4" aria-hidden="true"></a></span>
+<span id="cb243-5"><a href="#cb243-5" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
+<span id="cb243-6"><a href="#cb243-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
+<span id="cb243-7"><a href="#cb243-7" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb243-8"><a href="#cb243-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
+<span id="cb243-9"><a href="#cb243-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb239"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb239-1"><a href="#cb239-1" aria-hidden="true"></a>$\sqrt{-1}$ *equals* $i$.</span></code></pre></div>
+<div class="sourceCode" id="cb244"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb244-1"><a href="#cb244-1" aria-hidden="true"></a>$\sqrt{-1}$ *equals* $i$.</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb240"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb240-1"><a href="#cb240-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
-<span id="cb240-2"><a href="#cb240-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- content.md optiontrue.tex</span>
-<span id="cb240-3"><a href="#cb240-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb245"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb245-1"><a href="#cb245-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb245-2"><a href="#cb245-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ hybrid=true -- content.md optiontrue.tex</span>
+<span id="cb245-3"><a href="#cb245-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -2640,79 +2707,79 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="plain-tex-example-9">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="cb241"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb241-1"><a href="#cb241-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb241-2"><a href="#cb241-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb241-3"><a href="#cb241-3" aria-hidden="true"></a></span>
-<span id="cb241-4"><a href="#cb241-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb241-5"><a href="#cb241-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb241-6"><a href="#cb241-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb241-7"><a href="#cb241-7" aria-hidden="true"></a></span>
-<span id="cb241-8"><a href="#cb241-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb241-9"><a href="#cb241-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb241-10"><a href="#cb241-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb241-11"><a href="#cb241-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb241-12"><a href="#cb241-12" aria-hidden="true"></a></span>
-<span id="cb241-13"><a href="#cb241-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb246"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb246-1"><a href="#cb246-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb246-2"><a href="#cb246-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb246-3"><a href="#cb246-3" aria-hidden="true"></a></span>
+<span id="cb246-4"><a href="#cb246-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb246-5"><a href="#cb246-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb246-6"><a href="#cb246-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb246-7"><a href="#cb246-7" aria-hidden="true"></a></span>
+<span id="cb246-8"><a href="#cb246-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb246-9"><a href="#cb246-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb246-10"><a href="#cb246-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb246-11"><a href="#cb246-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb246-12"><a href="#cb246-12" aria-hidden="true"></a></span>
+<span id="cb246-13"><a href="#cb246-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb242"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb242-1"><a href="#cb242-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb247"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb247-1"><a href="#cb247-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-19"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-20"><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="cb243"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb243-1"><a href="#cb243-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb243-2"><a href="#cb243-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb243-3"><a href="#cb243-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb243-4"><a href="#cb243-4" aria-hidden="true"></a></span>
-<span id="cb243-5"><a href="#cb243-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb243-6"><a href="#cb243-6" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb243-7"><a href="#cb243-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb243-8"><a href="#cb243-8" aria-hidden="true"></a></span>
-<span id="cb243-9"><a href="#cb243-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
-<span id="cb243-10"><a href="#cb243-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb243-11"><a href="#cb243-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb243-12"><a href="#cb243-12" aria-hidden="true"></a></span>
-<span id="cb243-13"><a href="#cb243-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb248"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb248-1"><a href="#cb248-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb248-2"><a href="#cb248-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb248-3"><a href="#cb248-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb248-4"><a href="#cb248-4" aria-hidden="true"></a></span>
+<span id="cb248-5"><a href="#cb248-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb248-6"><a href="#cb248-6" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb248-7"><a href="#cb248-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb248-8"><a href="#cb248-8" aria-hidden="true"></a></span>
+<span id="cb248-9"><a href="#cb248-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
+<span id="cb248-10"><a href="#cb248-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb248-11"><a href="#cb248-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb248-12"><a href="#cb248-12" aria-hidden="true"></a></span>
+<span id="cb248-13"><a href="#cb248-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb244"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb244-1"><a href="#cb244-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb249"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb249-1"><a href="#cb249-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-15">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-16">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="cb245"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb245-1"><a href="#cb245-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb245-2"><a href="#cb245-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb245-3"><a href="#cb245-3" aria-hidden="true"></a></span>
-<span id="cb245-4"><a href="#cb245-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb245-5"><a href="#cb245-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb245-6"><a href="#cb245-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb245-7"><a href="#cb245-7" aria-hidden="true"></a></span>
-<span id="cb245-8"><a href="#cb245-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb245-9"><a href="#cb245-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb245-10"><a href="#cb245-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
-<span id="cb245-11"><a href="#cb245-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb245-12"><a href="#cb245-12" aria-hidden="true"></a></span>
-<span id="cb245-13"><a href="#cb245-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb250"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb250-1"><a href="#cb250-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb250-2"><a href="#cb250-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb250-3"><a href="#cb250-3" aria-hidden="true"></a></span>
+<span id="cb250-4"><a href="#cb250-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb250-5"><a href="#cb250-5" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb250-6"><a href="#cb250-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb250-7"><a href="#cb250-7" aria-hidden="true"></a></span>
+<span id="cb250-8"><a href="#cb250-8" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[hybrid = yes]</span>
+<span id="cb250-9"><a href="#cb250-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb250-10"><a href="#cb250-10" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>.</span>
+<span id="cb250-11"><a href="#cb250-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb250-12"><a href="#cb250-12" aria-hidden="true"></a></span>
+<span id="cb250-13"><a href="#cb250-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb246"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb246-1"><a href="#cb246-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb251"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb251-1"><a href="#cb251-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt {-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h4 data-number="2.2.1.24" id="option-inlinefootnotes"><span class="header-section-number">2.2.1.24</span> Option <code>inlineFootnotes</code></h4>
+<h4 data-number="2.2.1.25" id="option-inlinefootnotes"><span class="header-section-number">2.2.1.25</span> Option <code>inlineFootnotes</code></h4>
<dl>
<dt><code>inlineFootnotes</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc inline footnote syntax extension:</p>
-<div class="sourceCode" id="cb247"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb247-1"><a href="#cb247-1" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
-<span id="cb247-2"><a href="#cb247-2" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
-<span id="cb247-3"><a href="#cb247-3" aria-hidden="true"></a>move down to type the note.]</span></code></pre></div>
+<div class="sourceCode" id="cb252"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb252-1"><a href="#cb252-1" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb252-2"><a href="#cb252-2" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb252-3"><a href="#cb252-3" aria-hidden="true"></a>move down to type the note.]</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2723,57 +2790,57 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-20"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-21"><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="cb248"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb248-1"><a href="#cb248-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb248-2"><a href="#cb248-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[inlineFootnotes]{<span class="ex">markdown</span>}</span>
-<span id="cb248-3"><a href="#cb248-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb248-4"><a href="#cb248-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb248-5"><a href="#cb248-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
-<span id="cb248-6"><a href="#cb248-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
-<span id="cb248-7"><a href="#cb248-7" aria-hidden="true"></a>move down to type the note.]</span>
-<span id="cb248-8"><a href="#cb248-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb248-9"><a href="#cb248-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb253"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb253-1"><a href="#cb253-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb253-2"><a href="#cb253-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[inlineFootnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb253-3"><a href="#cb253-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb253-4"><a href="#cb253-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb253-5"><a href="#cb253-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb253-6"><a href="#cb253-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb253-7"><a href="#cb253-7" aria-hidden="true"></a>move down to type the note.]</span>
+<span id="cb253-8"><a href="#cb253-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb253-9"><a href="#cb253-9" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb249"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb249-1"><a href="#cb249-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb254"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb254-1"><a href="#cb254-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Here is an inline note.<a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a></p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-16">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-17">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="cb250"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb250-1"><a href="#cb250-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb250-2"><a href="#cb250-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionInlineFootnotes</span>{true}</span>
-<span id="cb250-3"><a href="#cb250-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb250-4"><a href="#cb250-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb250-5"><a href="#cb250-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
-<span id="cb250-6"><a href="#cb250-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
-<span id="cb250-7"><a href="#cb250-7" aria-hidden="true"></a>move down to type the note.]</span>
-<span id="cb250-8"><a href="#cb250-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb250-9"><a href="#cb250-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb255"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb255-1"><a href="#cb255-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb255-2"><a href="#cb255-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[inlineFootnotes = yes]</span>
+<span id="cb255-3"><a href="#cb255-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb255-4"><a href="#cb255-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb255-5"><a href="#cb255-5" aria-hidden="true"></a>Here is an inline note.^[Inlines notes are easier to</span>
+<span id="cb255-6"><a href="#cb255-6" aria-hidden="true"></a>write, since you don&#39;t have to pick an identifier and</span>
+<span id="cb255-7"><a href="#cb255-7" aria-hidden="true"></a>move down to type the note.]</span>
+<span id="cb255-8"><a href="#cb255-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb255-9"><a href="#cb255-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb251"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb251-1"><a href="#cb251-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb256"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb256-1"><a href="#cb256-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Here is an inline note.<a href="#fn6" class="footnote-ref" id="fnref6" role="doc-noteref"><sup>6</sup></a></p>
</blockquote>
-<h4 data-number="2.2.1.25" id="option-jekylldata"><span class="header-section-number">2.2.1.25</span> Option <code>jekyllData</code></h4>
+<h4 data-number="2.2.1.26" id="option-jekylldata"><span class="header-section-number">2.2.1.26</span> Option <code>jekyllData</code></h4>
<dl>
<dt><code>jekyllData</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc <code>yaml_metadata_block</code> syntax extension for entering metadata in <abbr>yaml</abbr>:</p>
-<div class="sourceCode" id="cb252"><pre class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb252-1"><a href="#cb252-1" aria-hidden="true"></a><span class="pp">---</span></span>
-<span id="cb252-2"><a href="#cb252-2" aria-hidden="true"></a><span class="fu">title</span><span class="kw">:</span><span class="at"> </span><span class="st">&#39;This is the title: it contains a colon&#39;</span></span>
-<span id="cb252-3"><a href="#cb252-3" aria-hidden="true"></a><span class="fu">author</span><span class="kw">:</span></span>
-<span id="cb252-4"><a href="#cb252-4" aria-hidden="true"></a><span class="kw">-</span><span class="at"> Author One</span></span>
-<span id="cb252-5"><a href="#cb252-5" aria-hidden="true"></a><span class="kw">-</span><span class="at"> Author Two</span></span>
-<span id="cb252-6"><a href="#cb252-6" aria-hidden="true"></a><span class="fu">keywords</span><span class="kw">:</span><span class="at"> </span><span class="kw">[</span><span class="at">nothing</span><span class="kw">,</span><span class="at"> nothingness</span><span class="kw">]</span></span>
-<span id="cb252-7"><a href="#cb252-7" aria-hidden="true"></a><span class="fu">abstract</span><span class="kw">: </span><span class="ch">|</span></span>
-<span id="cb252-8"><a href="#cb252-8" aria-hidden="true"></a> This is the abstract.</span>
-<span id="cb252-9"><a href="#cb252-9" aria-hidden="true"></a></span>
-<span id="cb252-10"><a href="#cb252-10" aria-hidden="true"></a> It consists of two paragraphs.</span>
-<span id="cb252-11"><a href="#cb252-11" aria-hidden="true"></a><span class="pp">---</span></span></code></pre></div>
+<div class="sourceCode" id="cb257"><pre class="sourceCode yaml"><code class="sourceCode yaml"><span id="cb257-1"><a href="#cb257-1" aria-hidden="true"></a><span class="pp">---</span></span>
+<span id="cb257-2"><a href="#cb257-2" aria-hidden="true"></a><span class="fu">title</span><span class="kw">:</span><span class="at"> </span><span class="st">&#39;This is the title: it contains a colon&#39;</span></span>
+<span id="cb257-3"><a href="#cb257-3" aria-hidden="true"></a><span class="fu">author</span><span class="kw">:</span></span>
+<span id="cb257-4"><a href="#cb257-4" aria-hidden="true"></a><span class="kw">-</span><span class="at"> Author One</span></span>
+<span id="cb257-5"><a href="#cb257-5" aria-hidden="true"></a><span class="kw">-</span><span class="at"> Author Two</span></span>
+<span id="cb257-6"><a href="#cb257-6" aria-hidden="true"></a><span class="fu">keywords</span><span class="kw">:</span><span class="at"> </span><span class="kw">[</span><span class="at">nothing</span><span class="kw">,</span><span class="at"> nothingness</span><span class="kw">]</span></span>
+<span id="cb257-7"><a href="#cb257-7" aria-hidden="true"></a><span class="fu">abstract</span><span class="kw">: </span><span class="ch">|</span></span>
+<span id="cb257-8"><a href="#cb257-8" aria-hidden="true"></a> This is the abstract.</span>
+<span id="cb257-9"><a href="#cb257-9" aria-hidden="true"></a></span>
+<span id="cb257-10"><a href="#cb257-10" aria-hidden="true"></a> It consists of two paragraphs.</span>
+<span id="cb257-11"><a href="#cb257-11" aria-hidden="true"></a><span class="pp">---</span></span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2786,105 +2853,101 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="plain-tex-example-10">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="cb253"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb253-1"><a href="#cb253-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb253-2"><a href="#cb253-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb253-3"><a href="#cb253-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb253-4"><a href="#cb253-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb253-5"><a href="#cb253-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb253-6"><a href="#cb253-6" aria-hidden="true"></a> {</span>
-<span id="cb253-7"><a href="#cb253-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb253-8"><a href="#cb253-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb253-9"><a href="#cb253-9" aria-hidden="true"></a> }</span>
-<span id="cb253-10"><a href="#cb253-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb253-11"><a href="#cb253-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb253-12"><a href="#cb253-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb253-13"><a href="#cb253-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb253-14"><a href="#cb253-14" aria-hidden="true"></a>---</span>
-<span id="cb253-15"><a href="#cb253-15" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb253-16"><a href="#cb253-16" aria-hidden="true"></a>age: 99</span>
-<span id="cb253-17"><a href="#cb253-17" aria-hidden="true"></a>---</span>
-<span id="cb253-18"><a href="#cb253-18" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb253-19"><a href="#cb253-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb254"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb254-1"><a href="#cb254-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb258"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb258-1"><a href="#cb258-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb258-2"><a href="#cb258-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
+<span id="cb258-3"><a href="#cb258-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
+<span id="cb258-4"><a href="#cb258-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
+<span id="cb258-5"><a href="#cb258-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
+<span id="cb258-6"><a href="#cb258-6" aria-hidden="true"></a> {</span>
+<span id="cb258-7"><a href="#cb258-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
+<span id="cb258-8"><a href="#cb258-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
+<span id="cb258-9"><a href="#cb258-9" aria-hidden="true"></a> }</span>
+<span id="cb258-10"><a href="#cb258-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
+<span id="cb258-11"><a href="#cb258-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb258-12"><a href="#cb258-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb258-13"><a href="#cb258-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb258-14"><a href="#cb258-14" aria-hidden="true"></a>---</span>
+<span id="cb258-15"><a href="#cb258-15" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb258-16"><a href="#cb258-16" aria-hidden="true"></a>age: 99</span>
+<span id="cb258-17"><a href="#cb258-17" aria-hidden="true"></a>---</span>
+<span id="cb258-18"><a href="#cb258-18" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb258-19"><a href="#cb258-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb259"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb259-1"><a href="#cb259-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-21"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-22"><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="cb255"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb255-1"><a href="#cb255-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb255-2"><a href="#cb255-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
-<span id="cb255-3"><a href="#cb255-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb255-4"><a href="#cb255-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb255-5"><a href="#cb255-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb255-6"><a href="#cb255-6" aria-hidden="true"></a> {</span>
-<span id="cb255-7"><a href="#cb255-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb255-8"><a href="#cb255-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb255-9"><a href="#cb255-9" aria-hidden="true"></a> }</span>
-<span id="cb255-10"><a href="#cb255-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb255-11"><a href="#cb255-11" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb255-12"><a href="#cb255-12" aria-hidden="true"></a> renderers = {</span>
-<span id="cb255-13"><a href="#cb255-13" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
-<span id="cb255-14"><a href="#cb255-14" aria-hidden="true"></a> }</span>
-<span id="cb255-15"><a href="#cb255-15" aria-hidden="true"></a>}</span>
-<span id="cb255-16"><a href="#cb255-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb255-17"><a href="#cb255-17" aria-hidden="true"></a></span>
-<span id="cb255-18"><a href="#cb255-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb255-19"><a href="#cb255-19" aria-hidden="true"></a>---</span>
-<span id="cb255-20"><a href="#cb255-20" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb255-21"><a href="#cb255-21" aria-hidden="true"></a>age: 99</span>
-<span id="cb255-22"><a href="#cb255-22" aria-hidden="true"></a>---</span>
-<span id="cb255-23"><a href="#cb255-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb255-24"><a href="#cb255-24" aria-hidden="true"></a></span>
-<span id="cb255-25"><a href="#cb255-25" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb256"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb256-1"><a href="#cb256-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb260"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb260-1"><a href="#cb260-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb260-2"><a href="#cb260-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
+<span id="cb260-3"><a href="#cb260-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb260-4"><a href="#cb260-4" aria-hidden="true"></a> jekyllDataRenderers = {</span>
+<span id="cb260-5"><a href="#cb260-5" aria-hidden="true"></a> name = {<span class="fu">\gdef\name</span>{#1}},</span>
+<span id="cb260-6"><a href="#cb260-6" aria-hidden="true"></a> code = {<span class="fu">\gdef\age</span>{#1}},</span>
+<span id="cb260-7"><a href="#cb260-7" aria-hidden="true"></a> },</span>
+<span id="cb260-8"><a href="#cb260-8" aria-hidden="true"></a> renderers = {</span>
+<span id="cb260-9"><a href="#cb260-9" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
+<span id="cb260-10"><a href="#cb260-10" aria-hidden="true"></a> }</span>
+<span id="cb260-11"><a href="#cb260-11" aria-hidden="true"></a>}</span>
+<span id="cb260-12"><a href="#cb260-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb260-13"><a href="#cb260-13" aria-hidden="true"></a></span>
+<span id="cb260-14"><a href="#cb260-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb260-15"><a href="#cb260-15" aria-hidden="true"></a>---</span>
+<span id="cb260-16"><a href="#cb260-16" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb260-17"><a href="#cb260-17" aria-hidden="true"></a>age: 99</span>
+<span id="cb260-18"><a href="#cb260-18" aria-hidden="true"></a>---</span>
+<span id="cb260-19"><a href="#cb260-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb260-20"><a href="#cb260-20" aria-hidden="true"></a></span>
+<span id="cb260-21"><a href="#cb260-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb261"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb261-1"><a href="#cb261-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-17">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-18">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="cb257"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb257-1"><a href="#cb257-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb257-2"><a href="#cb257-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb257-3"><a href="#cb257-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb257-4"><a href="#cb257-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb257-5"><a href="#cb257-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb257-6"><a href="#cb257-6" aria-hidden="true"></a> {</span>
-<span id="cb257-7"><a href="#cb257-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb257-8"><a href="#cb257-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb257-9"><a href="#cb257-9" aria-hidden="true"></a> }</span>
-<span id="cb257-10"><a href="#cb257-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb257-11"><a href="#cb257-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb257-12"><a href="#cb257-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb257-13"><a href="#cb257-13" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb257-14"><a href="#cb257-14" aria-hidden="true"></a></span>
-<span id="cb257-15"><a href="#cb257-15" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb257-16"><a href="#cb257-16" aria-hidden="true"></a>---</span>
-<span id="cb257-17"><a href="#cb257-17" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb257-18"><a href="#cb257-18" aria-hidden="true"></a>age: 99</span>
-<span id="cb257-19"><a href="#cb257-19" aria-hidden="true"></a>---</span>
-<span id="cb257-20"><a href="#cb257-20" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb257-21"><a href="#cb257-21" aria-hidden="true"></a></span>
-<span id="cb257-22"><a href="#cb257-22" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb258"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb258-1"><a href="#cb258-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb262"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb262-1"><a href="#cb262-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb262-2"><a href="#cb262-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[jekyllData = yes]</span>
+<span id="cb262-3"><a href="#cb262-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
+<span id="cb262-4"><a href="#cb262-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
+<span id="cb262-5"><a href="#cb262-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
+<span id="cb262-6"><a href="#cb262-6" aria-hidden="true"></a> {</span>
+<span id="cb262-7"><a href="#cb262-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
+<span id="cb262-8"><a href="#cb262-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
+<span id="cb262-9"><a href="#cb262-9" aria-hidden="true"></a> }</span>
+<span id="cb262-10"><a href="#cb262-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
+<span id="cb262-11"><a href="#cb262-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb262-12"><a href="#cb262-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb262-13"><a href="#cb262-13" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb262-14"><a href="#cb262-14" aria-hidden="true"></a></span>
+<span id="cb262-15"><a href="#cb262-15" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb262-16"><a href="#cb262-16" aria-hidden="true"></a>---</span>
+<span id="cb262-17"><a href="#cb262-17" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb262-18"><a href="#cb262-18" aria-hidden="true"></a>age: 99</span>
+<span id="cb262-19"><a href="#cb262-19" aria-hidden="true"></a>---</span>
+<span id="cb262-20"><a href="#cb262-20" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb262-21"><a href="#cb262-21" aria-hidden="true"></a></span>
+<span id="cb262-22"><a href="#cb262-22" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb263"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb263-1"><a href="#cb263-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h4 data-number="2.2.1.26" id="pipe-tables"><span class="header-section-number">2.2.1.26</span> Option <code>pipeTables</code></h4>
+<h4 data-number="2.2.1.27" id="pipe-tables"><span class="header-section-number">2.2.1.27</span> Option <code>pipeTables</code></h4>
<dl>
<dt><code>pipeTables</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the <abbr>PHP</abbr> Markdown pipe table syntax extension:</p>
-<div class="sourceCode" id="cb259"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb259-1"><a href="#cb259-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb259-2"><a href="#cb259-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb259-3"><a href="#cb259-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb259-4"><a href="#cb259-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb259-5"><a href="#cb259-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span></code></pre></div>
+<div class="sourceCode" id="cb264"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb264-1"><a href="#cb264-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb264-2"><a href="#cb264-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb264-3"><a href="#cb264-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb264-4"><a href="#cb264-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb264-5"><a href="#cb264-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -2895,21 +2958,21 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-22"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-23"><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="cb260"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb260-1"><a href="#cb260-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb260-2"><a href="#cb260-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables]{<span class="ex">markdown</span>}</span>
-<span id="cb260-3"><a href="#cb260-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb260-4"><a href="#cb260-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb260-5"><a href="#cb260-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb260-6"><a href="#cb260-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb260-7"><a href="#cb260-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb260-8"><a href="#cb260-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb260-9"><a href="#cb260-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb260-10"><a href="#cb260-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb260-11"><a href="#cb260-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb265"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb265-1"><a href="#cb265-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb265-2"><a href="#cb265-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables]{<span class="ex">markdown</span>}</span>
+<span id="cb265-3"><a href="#cb265-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb265-4"><a href="#cb265-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb265-5"><a href="#cb265-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb265-6"><a href="#cb265-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb265-7"><a href="#cb265-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb265-8"><a href="#cb265-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb265-9"><a href="#cb265-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb265-10"><a href="#cb265-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb265-11"><a href="#cb265-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb261"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb261-1"><a href="#cb261-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb266"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb266-1"><a href="#cb266-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -2943,21 +3006,21 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-18">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-19">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="cb262"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb262-1"><a href="#cb262-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb262-2"><a href="#cb262-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionPipeTables</span>{true}</span>
-<span id="cb262-3"><a href="#cb262-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb262-4"><a href="#cb262-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb262-5"><a href="#cb262-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb262-6"><a href="#cb262-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb262-7"><a href="#cb262-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb262-8"><a href="#cb262-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb262-9"><a href="#cb262-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb262-10"><a href="#cb262-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb262-11"><a href="#cb262-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb267"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb267-1"><a href="#cb267-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb267-2"><a href="#cb267-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[pipeTables = yes]</span>
+<span id="cb267-3"><a href="#cb267-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb267-4"><a href="#cb267-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb267-5"><a href="#cb267-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb267-6"><a href="#cb267-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb267-7"><a href="#cb267-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb267-8"><a href="#cb267-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb267-9"><a href="#cb267-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb267-10"><a href="#cb267-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb267-11"><a href="#cb267-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb263"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb263-1"><a href="#cb263-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb268"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb268-1"><a href="#cb268-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -2991,7 +3054,7 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h4 data-number="2.2.1.27" id="option-preservetabs"><span class="header-section-number">2.2.1.27</span> Option <code>preserveTabs</code></h4>
+<h4 data-number="2.2.1.28" id="option-preservetabs"><span class="header-section-number">2.2.1.28</span> Option <code>preserveTabs</code></h4>
<dl>
<dt><code>preserveTabs</code> (default value: <code>false</code>)</dt>
<dd><dl>
@@ -3007,19 +3070,19 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h4 data-number="2.2.1.28" id="option-relativereferences"><span class="header-section-number">2.2.1.28</span> Option <code>relativeReferences</code></h4>
+<h4 data-number="2.2.1.29" id="option-relativereferences"><span class="header-section-number">2.2.1.29</span> Option <code>relativeReferences</code></h4>
<dl>
<dt><code>relativeReferences</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable <a href="https://datatracker.ietf.org/doc/html/rfc3986#section-4.2">relative references</a> in autolinks:</p>
-<div class="sourceCode" id="cb264"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb264-1"><a href="#cb264-1" aria-hidden="true"></a>I conclude in Section &lt;#conclusion&gt;.</span>
-<span id="cb264-2"><a href="#cb264-2" aria-hidden="true"></a></span>
-<span id="cb264-3"><a href="#cb264-3" aria-hidden="true"></a>Conclusion {#conclusion}</span>
-<span id="cb264-4"><a href="#cb264-4" aria-hidden="true"></a><span class="fu">==========</span></span>
-<span id="cb264-5"><a href="#cb264-5" aria-hidden="true"></a>In this paper, we have discovered that most</span>
-<span id="cb264-6"><a href="#cb264-6" aria-hidden="true"></a>grandmas would rather eat dinner with their</span>
-<span id="cb264-7"><a href="#cb264-7" aria-hidden="true"></a>grandchildren than get eaten. Begone, wolf!</span></code></pre></div>
+<div class="sourceCode" id="cb269"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb269-1"><a href="#cb269-1" aria-hidden="true"></a>I conclude in Section &lt;#conclusion&gt;.</span>
+<span id="cb269-2"><a href="#cb269-2" aria-hidden="true"></a></span>
+<span id="cb269-3"><a href="#cb269-3" aria-hidden="true"></a>Conclusion {#conclusion}</span>
+<span id="cb269-4"><a href="#cb269-4" aria-hidden="true"></a><span class="fu">==========</span></span>
+<span id="cb269-5"><a href="#cb269-5" aria-hidden="true"></a>In this paper, we have discovered that most</span>
+<span id="cb269-6"><a href="#cb269-6" aria-hidden="true"></a>grandmas would rather eat dinner with their</span>
+<span id="cb269-7"><a href="#cb269-7" aria-hidden="true"></a>grandchildren than get eaten. Begone, wolf!</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3030,33 +3093,33 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-23"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-24"><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="cb265"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb265-1"><a href="#cb265-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb265-2"><a href="#cb265-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes, relativeReferences]{<span class="ex">markdown</span>}</span>
-<span id="cb265-3"><a href="#cb265-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb265-4"><a href="#cb265-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb265-5"><a href="#cb265-5" aria-hidden="true"></a></span>
-<span id="cb265-6"><a href="#cb265-6" aria-hidden="true"></a>I conclude in Section &lt;#conclusion&gt;.</span>
-<span id="cb265-7"><a href="#cb265-7" aria-hidden="true"></a></span>
-<span id="cb265-8"><a href="#cb265-8" aria-hidden="true"></a>Conclusion {#conclusion}</span>
-<span id="cb265-9"><a href="#cb265-9" aria-hidden="true"></a>==========</span>
-<span id="cb265-10"><a href="#cb265-10" aria-hidden="true"></a>In this paper, we have discovered that most</span>
-<span id="cb265-11"><a href="#cb265-11" aria-hidden="true"></a>grandmas would rather eat dinner with their</span>
-<span id="cb265-12"><a href="#cb265-12" aria-hidden="true"></a>grandchildren than get eaten. Begone, wolf!</span>
-<span id="cb265-13"><a href="#cb265-13" aria-hidden="true"></a></span>
-<span id="cb265-14"><a href="#cb265-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb265-15"><a href="#cb265-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb270"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb270-1"><a href="#cb270-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb270-2"><a href="#cb270-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes, relativeReferences]{<span class="ex">markdown</span>}</span>
+<span id="cb270-3"><a href="#cb270-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb270-4"><a href="#cb270-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb270-5"><a href="#cb270-5" aria-hidden="true"></a></span>
+<span id="cb270-6"><a href="#cb270-6" aria-hidden="true"></a>I conclude in Section &lt;#conclusion&gt;.</span>
+<span id="cb270-7"><a href="#cb270-7" aria-hidden="true"></a></span>
+<span id="cb270-8"><a href="#cb270-8" aria-hidden="true"></a>Conclusion {#conclusion}</span>
+<span id="cb270-9"><a href="#cb270-9" aria-hidden="true"></a>==========</span>
+<span id="cb270-10"><a href="#cb270-10" aria-hidden="true"></a>In this paper, we have discovered that most</span>
+<span id="cb270-11"><a href="#cb270-11" aria-hidden="true"></a>grandmas would rather eat dinner with their</span>
+<span id="cb270-12"><a href="#cb270-12" aria-hidden="true"></a>grandchildren than get eaten. Begone, wolf!</span>
+<span id="cb270-13"><a href="#cb270-13" aria-hidden="true"></a></span>
+<span id="cb270-14"><a href="#cb270-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb270-15"><a href="#cb270-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX twice from the terminal:</p>
-<div class="sourceCode" id="cb266"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb266-1"><a href="#cb266-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
-<span id="cb266-2"><a href="#cb266-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb271"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb271-1"><a href="#cb271-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb271-2"><a href="#cb271-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>I conclude in Section 1.</p>
<h1 id="conclusion">1. Conclusion</h1>
<p>In this paper, we have discovered that most grandmas would rather eat dinner with their grandchildren than get eaten. Begone, wolf!</p>
</blockquote>
-<h4 data-number="2.2.1.29" id="option-shiftheadings"><span class="header-section-number">2.2.1.29</span> Option <code>shiftHeadings</code></h4>
+<h4 data-number="2.2.1.30" id="option-shiftheadings"><span class="header-section-number">2.2.1.30</span> Option <code>shiftHeadings</code></h4>
<dl>
<dt><code>shiftHeadings</code> (default value: <code>0</code>)</dt>
<dd><p>All headings will be shifted by ⟨<em>shift amount</em>⟩, which can be both positive and negative. Headings will not be shifted beyond level 6 or below level 1. Instead, those headings will be shifted to level 6, when ⟨<em>shift amount</em>⟩ is positive, and to level 1, when ⟨<em>shift amount</em>⟩ is negative.</p>
@@ -3064,80 +3127,75 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="plain-tex-example-11">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content:</p>
-<div class="sourceCode" id="cb267"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb267-1"><a href="#cb267-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb268"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb268-1"><a href="#cb268-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb268-2"><a href="#cb268-2" aria-hidden="true"></a></span>
-<span id="cb268-3"><a href="#cb268-3" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
-<span id="cb268-4"><a href="#cb268-4" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
-<span id="cb268-5"><a href="#cb268-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
-<span id="cb268-6"><a href="#cb268-6" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
-<span id="cb268-7"><a href="#cb268-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
-<span id="cb268-8"><a href="#cb268-8" aria-hidden="true"></a></span>
-<span id="cb268-9"><a href="#cb268-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{-1}</span>
-<span id="cb268-10"><a href="#cb268-10" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb268-11"><a href="#cb268-11" aria-hidden="true"></a></span>
-<span id="cb268-12"><a href="#cb268-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{0}</span>
-<span id="cb268-13"><a href="#cb268-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb268-14"><a href="#cb268-14" aria-hidden="true"></a></span>
-<span id="cb268-15"><a href="#cb268-15" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{+1}</span>
-<span id="cb268-16"><a href="#cb268-16" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb268-17"><a href="#cb268-17" aria-hidden="true"></a></span>
-<span id="cb268-18"><a href="#cb268-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb269"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb269-1"><a href="#cb269-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb272"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb272-1"><a href="#cb272-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb273"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb273-1"><a href="#cb273-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb273-2"><a href="#cb273-2" aria-hidden="true"></a></span>
+<span id="cb273-3"><a href="#cb273-3" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
+<span id="cb273-4"><a href="#cb273-4" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
+<span id="cb273-5"><a href="#cb273-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb273-6"><a href="#cb273-6" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
+<span id="cb273-7"><a href="#cb273-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb273-8"><a href="#cb273-8" aria-hidden="true"></a></span>
+<span id="cb273-9"><a href="#cb273-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{-1}</span>
+<span id="cb273-10"><a href="#cb273-10" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb273-11"><a href="#cb273-11" aria-hidden="true"></a></span>
+<span id="cb273-12"><a href="#cb273-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{0}</span>
+<span id="cb273-13"><a href="#cb273-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb273-14"><a href="#cb273-14" aria-hidden="true"></a></span>
+<span id="cb273-15"><a href="#cb273-15" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{+1}</span>
+<span id="cb273-16"><a href="#cb273-16" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb273-17"><a href="#cb273-17" aria-hidden="true"></a></span>
+<span id="cb273-18"><a href="#cb273-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb274"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb274-1"><a href="#cb274-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section">A section</h1>
<h2 id="a-section-1">A section</h2>
<h3 id="a-section-2">A section</h3>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-24"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-25"><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="cb270"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb270-1"><a href="#cb270-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb270-2"><a href="#cb270-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb270-3"><a href="#cb270-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{example.md}</span>
-<span id="cb270-4"><a href="#cb270-4" aria-hidden="true"></a>## A section</span>
-<span id="cb270-5"><a href="#cb270-5" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
-<span id="cb270-6"><a href="#cb270-6" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb270-7"><a href="#cb270-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=-1]{example.md}</span>
-<span id="cb270-8"><a href="#cb270-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb270-9"><a href="#cb270-9" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=+1]{example.md}</span>
-<span id="cb270-10"><a href="#cb270-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb275"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb275-1"><a href="#cb275-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb275-2"><a href="#cb275-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb275-3"><a href="#cb275-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{example.md}</span>
+<span id="cb275-4"><a href="#cb275-4" aria-hidden="true"></a>## A section</span>
+<span id="cb275-5"><a href="#cb275-5" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb275-6"><a href="#cb275-6" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb275-7"><a href="#cb275-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=-1]{example.md}</span>
+<span id="cb275-8"><a href="#cb275-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb275-9"><a href="#cb275-9" aria-hidden="true"></a><span class="fu">\markdownInput</span>[shiftHeadings=+1]{example.md}</span>
+<span id="cb275-10"><a href="#cb275-10" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb271"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb271-1"><a href="#cb271-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb276"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb276-1"><a href="#cb276-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section-3">A section</h1>
<h2 id="a-section-4">A section</h2>
<h3 id="a-section-5">A section</h3>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-19">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-20">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content:</p>
-<div class="sourceCode" id="cb272"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb272-1"><a href="#cb272-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
+<div class="sourceCode" id="cb277"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb277-1"><a href="#cb277-1" aria-hidden="true"></a><span class="fu">## A section</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb273"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb273-1"><a href="#cb273-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb273-2"><a href="#cb273-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb273-3"><a href="#cb273-3" aria-hidden="true"></a></span>
-<span id="cb273-4"><a href="#cb273-4" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{-1}</span>
-<span id="cb273-5"><a href="#cb273-5" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb273-6"><a href="#cb273-6" aria-hidden="true"></a></span>
-<span id="cb273-7"><a href="#cb273-7" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{0}</span>
-<span id="cb273-8"><a href="#cb273-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb273-9"><a href="#cb273-9" aria-hidden="true"></a></span>
-<span id="cb273-10"><a href="#cb273-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionShiftHeadings</span>{+1}</span>
-<span id="cb273-11"><a href="#cb273-11" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb273-12"><a href="#cb273-12" aria-hidden="true"></a></span>
-<span id="cb273-13"><a href="#cb273-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb278"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb278-1"><a href="#cb278-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb278-2"><a href="#cb278-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb278-3"><a href="#cb278-3" aria-hidden="true"></a></span>
+<span id="cb278-4"><a href="#cb278-4" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[shiftHeadings = -1]{example.md}</span>
+<span id="cb278-5"><a href="#cb278-5" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[shiftHeadings = 0]{example.md}</span>
+<span id="cb278-6"><a href="#cb278-6" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[shiftHeadings = +1]{example.md}</span>
+<span id="cb278-7"><a href="#cb278-7" aria-hidden="true"></a></span>
+<span id="cb278-8"><a href="#cb278-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb274"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb274-1"><a href="#cb274-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb279"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb279-1"><a href="#cb279-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="a-section-6">A section</h1>
<h2 id="a-section-7">A section</h2>
<h3 id="a-section-8">A section</h3>
</blockquote>
-<h4 data-number="2.2.1.30" id="slice"><span class="header-section-number">2.2.1.30</span> Option <code>slice</code></h4>
+<h4 data-number="2.2.1.31" id="slice"><span class="header-section-number">2.2.1.31</span> Option <code>slice</code></h4>
<dl>
<dt><code>slice</code> (default value: <code>^ $</code>)</dt>
<dd><p>Two space-separated selectors that specify the slice of a document that will be processed, whereas the remainder of the document will be ignored. The following selectors are recognized:</p>
@@ -3153,39 +3211,39 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="plain-tex-example-12">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
<p>Using a text editor, create a text document named <code>hamlet.md</code> with the following content:</p>
-<div class="sourceCode" id="cb275"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb275-1"><a href="#cb275-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
-<span id="cb275-2"><a href="#cb275-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
-<span id="cb275-3"><a href="#cb275-3" aria-hidden="true"></a></span>
-<span id="cb275-4"><a href="#cb275-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
-<span id="cb275-5"><a href="#cb275-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
-<span id="cb275-6"><a href="#cb275-6" aria-hidden="true"></a></span>
-<span id="cb275-7"><a href="#cb275-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
-<span id="cb275-8"><a href="#cb275-8" aria-hidden="true"></a>Hamlet dies.</span>
-<span id="cb275-9"><a href="#cb275-9" aria-hidden="true"></a></span>
-<span id="cb275-10"><a href="#cb275-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
-<span id="cb275-11"><a href="#cb275-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb276"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb276-1"><a href="#cb276-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb276-2"><a href="#cb276-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHeaderAttributes</span>{true}</span>
-<span id="cb276-3"><a href="#cb276-3" aria-hidden="true"></a></span>
-<span id="cb276-4"><a href="#cb276-4" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
-<span id="cb276-5"><a href="#cb276-5" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
-<span id="cb276-6"><a href="#cb276-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
-<span id="cb276-7"><a href="#cb276-7" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
-<span id="cb276-8"><a href="#cb276-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
-<span id="cb276-9"><a href="#cb276-9" aria-hidden="true"></a></span>
-<span id="cb276-10"><a href="#cb276-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{^ ^act-3}</span>
-<span id="cb276-11"><a href="#cb276-11" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb276-12"><a href="#cb276-12" aria-hidden="true"></a></span>
-<span id="cb276-13"><a href="#cb276-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-1}</span>
-<span id="cb276-14"><a href="#cb276-14" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb276-15"><a href="#cb276-15" aria-hidden="true"></a></span>
-<span id="cb276-16"><a href="#cb276-16" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-3 act-5}</span>
-<span id="cb276-17"><a href="#cb276-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb276-18"><a href="#cb276-18" aria-hidden="true"></a></span>
-<span id="cb276-19"><a href="#cb276-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb277"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb277-1"><a href="#cb277-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb280"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb280-1"><a href="#cb280-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
+<span id="cb280-2"><a href="#cb280-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb280-3"><a href="#cb280-3" aria-hidden="true"></a></span>
+<span id="cb280-4"><a href="#cb280-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
+<span id="cb280-5"><a href="#cb280-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb280-6"><a href="#cb280-6" aria-hidden="true"></a></span>
+<span id="cb280-7"><a href="#cb280-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
+<span id="cb280-8"><a href="#cb280-8" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb280-9"><a href="#cb280-9" aria-hidden="true"></a></span>
+<span id="cb280-10"><a href="#cb280-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
+<span id="cb280-11"><a href="#cb280-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb281"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb281-1"><a href="#cb281-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb281-2"><a href="#cb281-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHeaderAttributes</span>{true}</span>
+<span id="cb281-3"><a href="#cb281-3" aria-hidden="true"></a></span>
+<span id="cb281-4"><a href="#cb281-4" aria-hidden="true"></a><span class="fu">\font\normal</span>=cmr10<span class="fu">\normal</span></span>
+<span id="cb281-5"><a href="#cb281-5" aria-hidden="true"></a><span class="fu">\font\big</span>=cmr10 at 12pt</span>
+<span id="cb281-6"><a href="#cb281-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>#1{{<span class="fu">\big</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb281-7"><a href="#cb281-7" aria-hidden="true"></a><span class="fu">\font\bigger</span>=cmr10 scaled 1440</span>
+<span id="cb281-8"><a href="#cb281-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>#1{{<span class="fu">\bigger</span> #1<span class="fu">\par</span>}}</span>
+<span id="cb281-9"><a href="#cb281-9" aria-hidden="true"></a></span>
+<span id="cb281-10"><a href="#cb281-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{^ ^act-3}</span>
+<span id="cb281-11"><a href="#cb281-11" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb281-12"><a href="#cb281-12" aria-hidden="true"></a></span>
+<span id="cb281-13"><a href="#cb281-13" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-1}</span>
+<span id="cb281-14"><a href="#cb281-14" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb281-15"><a href="#cb281-15" aria-hidden="true"></a></span>
+<span id="cb281-16"><a href="#cb281-16" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-3 act-5}</span>
+<span id="cb281-17"><a href="#cb281-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
+<span id="cb281-18"><a href="#cb281-18" aria-hidden="true"></a></span>
+<span id="cb281-19"><a href="#cb281-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb282"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb282-1"><a href="#cb282-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet">The Tragedy of Hamlet</h1>
@@ -3197,30 +3255,30 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-25"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-26"><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="cb278"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb278-1"><a href="#cb278-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb278-2"><a href="#cb278-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</span>
-<span id="cb278-3"><a href="#cb278-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{hamlet.md}</span>
-<span id="cb278-4"><a href="#cb278-4" aria-hidden="true"></a># The Tragedy of Hamlet</span>
-<span id="cb278-5"><a href="#cb278-5" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
-<span id="cb278-6"><a href="#cb278-6" aria-hidden="true"></a></span>
-<span id="cb278-7"><a href="#cb278-7" aria-hidden="true"></a>## Act III {#act-3}</span>
-<span id="cb278-8"><a href="#cb278-8" aria-hidden="true"></a>Hamlet kills Polonius.</span>
-<span id="cb278-9"><a href="#cb278-9" aria-hidden="true"></a></span>
-<span id="cb278-10"><a href="#cb278-10" aria-hidden="true"></a>## Act V {#act-5}</span>
-<span id="cb278-11"><a href="#cb278-11" aria-hidden="true"></a>Hamlet dies.</span>
-<span id="cb278-12"><a href="#cb278-12" aria-hidden="true"></a></span>
-<span id="cb278-13"><a href="#cb278-13" aria-hidden="true"></a>## Act I {#act-1}</span>
-<span id="cb278-14"><a href="#cb278-14" aria-hidden="true"></a>Hamlet talks to ghost.</span>
-<span id="cb278-15"><a href="#cb278-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
-<span id="cb278-16"><a href="#cb278-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb278-17"><a href="#cb278-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=^ ^act-3]{hamlet.md}</span>
-<span id="cb278-18"><a href="#cb278-18" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-1]{hamlet.md}</span>
-<span id="cb278-19"><a href="#cb278-19" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-3 act-5]{hamlet.md}</span>
-<span id="cb278-20"><a href="#cb278-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb279"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb279-1"><a href="#cb279-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb283"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb283-1"><a href="#cb283-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb283-2"><a href="#cb283-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</span>
+<span id="cb283-3"><a href="#cb283-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{hamlet.md}</span>
+<span id="cb283-4"><a href="#cb283-4" aria-hidden="true"></a># The Tragedy of Hamlet</span>
+<span id="cb283-5"><a href="#cb283-5" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb283-6"><a href="#cb283-6" aria-hidden="true"></a></span>
+<span id="cb283-7"><a href="#cb283-7" aria-hidden="true"></a>## Act III {#act-3}</span>
+<span id="cb283-8"><a href="#cb283-8" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb283-9"><a href="#cb283-9" aria-hidden="true"></a></span>
+<span id="cb283-10"><a href="#cb283-10" aria-hidden="true"></a>## Act V {#act-5}</span>
+<span id="cb283-11"><a href="#cb283-11" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb283-12"><a href="#cb283-12" aria-hidden="true"></a></span>
+<span id="cb283-13"><a href="#cb283-13" aria-hidden="true"></a>## Act I {#act-1}</span>
+<span id="cb283-14"><a href="#cb283-14" aria-hidden="true"></a>Hamlet talks to ghost.</span>
+<span id="cb283-15"><a href="#cb283-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb283-16"><a href="#cb283-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb283-17"><a href="#cb283-17" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=^ ^act-3]{hamlet.md}</span>
+<span id="cb283-18"><a href="#cb283-18" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-1]{hamlet.md}</span>
+<span id="cb283-19"><a href="#cb283-19" aria-hidden="true"></a><span class="fu">\markdownInput</span>[slice=act-3 act-5]{hamlet.md}</span>
+<span id="cb283-20"><a href="#cb283-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb284"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb284-1"><a href="#cb284-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet-1">The Tragedy of Hamlet</h1>
@@ -3232,36 +3290,31 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v-1">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-20">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-21">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
<p>Using a text editor, create a text document named <code>hamlet.md</code> with the following content:</p>
-<div class="sourceCode" id="cb280"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb280-1"><a href="#cb280-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
-<span id="cb280-2"><a href="#cb280-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
-<span id="cb280-3"><a href="#cb280-3" aria-hidden="true"></a></span>
-<span id="cb280-4"><a href="#cb280-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
-<span id="cb280-5"><a href="#cb280-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
-<span id="cb280-6"><a href="#cb280-6" aria-hidden="true"></a></span>
-<span id="cb280-7"><a href="#cb280-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
-<span id="cb280-8"><a href="#cb280-8" aria-hidden="true"></a>Hamlet dies.</span>
-<span id="cb280-9"><a href="#cb280-9" aria-hidden="true"></a></span>
-<span id="cb280-10"><a href="#cb280-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
-<span id="cb280-11"><a href="#cb280-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb281"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb281-1"><a href="#cb281-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb281-2"><a href="#cb281-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHeaderAttributes</span>{true}</span>
-<span id="cb281-3"><a href="#cb281-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb281-4"><a href="#cb281-4" aria-hidden="true"></a></span>
-<span id="cb281-5"><a href="#cb281-5" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{^ ^act-3}</span>
-<span id="cb281-6"><a href="#cb281-6" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb281-7"><a href="#cb281-7" aria-hidden="true"></a></span>
-<span id="cb281-8"><a href="#cb281-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-1}</span>
-<span id="cb281-9"><a href="#cb281-9" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb281-10"><a href="#cb281-10" aria-hidden="true"></a></span>
-<span id="cb281-11"><a href="#cb281-11" aria-hidden="true"></a><span class="fu">\def\markdownOptionSlice</span>{act-3 act-5}</span>
-<span id="cb281-12"><a href="#cb281-12" aria-hidden="true"></a><span class="fu">\markdownInput</span>{hamlet.md}</span>
-<span id="cb281-13"><a href="#cb281-13" aria-hidden="true"></a></span>
-<span id="cb281-14"><a href="#cb281-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb282"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb282-1"><a href="#cb282-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb285"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb285-1"><a href="#cb285-1" aria-hidden="true"></a><span class="fu"># The Tragedy of Hamlet</span></span>
+<span id="cb285-2"><a href="#cb285-2" aria-hidden="true"></a>Shakespeare&#39;s longest play.</span>
+<span id="cb285-3"><a href="#cb285-3" aria-hidden="true"></a></span>
+<span id="cb285-4"><a href="#cb285-4" aria-hidden="true"></a><span class="fu">## Act III {#act-3}</span></span>
+<span id="cb285-5"><a href="#cb285-5" aria-hidden="true"></a>Hamlet kills Polonius.</span>
+<span id="cb285-6"><a href="#cb285-6" aria-hidden="true"></a></span>
+<span id="cb285-7"><a href="#cb285-7" aria-hidden="true"></a><span class="fu">## Act V {#act-5}</span></span>
+<span id="cb285-8"><a href="#cb285-8" aria-hidden="true"></a>Hamlet dies.</span>
+<span id="cb285-9"><a href="#cb285-9" aria-hidden="true"></a></span>
+<span id="cb285-10"><a href="#cb285-10" aria-hidden="true"></a><span class="fu">## Act I {#act-1}</span></span>
+<span id="cb285-11"><a href="#cb285-11" aria-hidden="true"></a>Hamlet talks to ghost.</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb286"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb286-1"><a href="#cb286-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb286-2"><a href="#cb286-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[headerAttributes = yes]</span>
+<span id="cb286-3"><a href="#cb286-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb286-4"><a href="#cb286-4" aria-hidden="true"></a></span>
+<span id="cb286-5"><a href="#cb286-5" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[slice = ^ ^act-3]{example.md}</span>
+<span id="cb286-6"><a href="#cb286-6" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[slice = act-1]{example.md}</span>
+<span id="cb286-7"><a href="#cb286-7" aria-hidden="true"></a><span class="fu">\inputmarkdown</span>[slice = act-3 act-5]{example.md}</span>
+<span id="cb286-8"><a href="#cb286-8" aria-hidden="true"></a></span>
+<span id="cb286-9"><a href="#cb286-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb287"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb287-1"><a href="#cb287-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="the-tragedy-of-hamlet-2">The Tragedy of Hamlet</h1>
@@ -3273,12 +3326,12 @@ Thomas,Edison,1847</code></pre>
<h2 id="act-v-2">Act V</h2>
<p>Hamlet dies.</p>
</blockquote>
-<h4 data-number="2.2.1.31" id="option-smartellipses"><span class="header-section-number">2.2.1.31</span> Option <code>smartEllipses</code></h4>
+<h4 data-number="2.2.1.32" id="option-smartellipses"><span class="header-section-number">2.2.1.32</span> Option <code>smartEllipses</code></h4>
<dl>
<dt><code>smartEllipses</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
-<dd><p>Convert any ellipses in the input to the <span class="tex">T<sub>e</sub>X</span> macro.</p>
+<dd><p>Convert any ellipses in the input to the <code>\markdownRendererEllipsis</code> <span class="tex">T<sub>e</sub>X</span> macro.</p>
</dd>
</dl>
</dd>
@@ -3291,23 +3344,23 @@ Thomas,Edison,1847</code></pre>
</dl>
<h5 class="unnumbered" data-number="" id="lua-module-example-11">Lua Module 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="cb283"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb283-1"><a href="#cb283-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb283-2"><a href="#cb283-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
-<span id="cb283-3"><a href="#cb283-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb283-4"><a href="#cb283-4" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb283-5"><a href="#cb283-5" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb283-6"><a href="#cb283-6" aria-hidden="true"></a> local convert = markdown.new()</span>
-<span id="cb283-7"><a href="#cb283-7" aria-hidden="true"></a> local input = &quot;These are just three regular dots ...&quot;</span>
-<span id="cb283-8"><a href="#cb283-8" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
-<span id="cb283-9"><a href="#cb283-9" aria-hidden="true"></a><span class="fu">\par</span></span>
-<span id="cb283-10"><a href="#cb283-10" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
-<span id="cb283-11"><a href="#cb283-11" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
-<span id="cb283-12"><a href="#cb283-12" aria-hidden="true"></a> local convert = markdown.new({smartEllipses = true})</span>
-<span id="cb283-13"><a href="#cb283-13" aria-hidden="true"></a> local input = &quot;... and this is a victorian ellipsis.&quot;</span>
-<span id="cb283-14"><a href="#cb283-14" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
-<span id="cb283-15"><a href="#cb283-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb288"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb288-1"><a href="#cb288-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb288-2"><a href="#cb288-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb288-3"><a href="#cb288-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb288-4"><a href="#cb288-4" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb288-5"><a href="#cb288-5" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb288-6"><a href="#cb288-6" aria-hidden="true"></a> local convert = markdown.new()</span>
+<span id="cb288-7"><a href="#cb288-7" aria-hidden="true"></a> local input = &quot;These are just three regular dots ...&quot;</span>
+<span id="cb288-8"><a href="#cb288-8" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb288-9"><a href="#cb288-9" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb288-10"><a href="#cb288-10" aria-hidden="true"></a><span class="fu">\directlua</span>{</span>
+<span id="cb288-11"><a href="#cb288-11" aria-hidden="true"></a> local markdown = require(&quot;markdown&quot;)</span>
+<span id="cb288-12"><a href="#cb288-12" aria-hidden="true"></a> local convert = markdown.new({smartEllipses = true})</span>
+<span id="cb288-13"><a href="#cb288-13" aria-hidden="true"></a> local input = &quot;... and this is a victorian ellipsis.&quot;</span>
+<span id="cb288-14"><a href="#cb288-14" aria-hidden="true"></a> tex.sprint(convert(input)) }</span>
+<span id="cb288-15"><a href="#cb288-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Then, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb284"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb284-1"><a href="#cb284-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb289"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb289-1"><a href="#cb289-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
@@ -3315,19 +3368,19 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="lua-cli-example-9">Lua CLI 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="cb285"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb285-1"><a href="#cb285-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb285-2"><a href="#cb285-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
-<span id="cb285-3"><a href="#cb285-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb285-4"><a href="#cb285-4" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
-<span id="cb285-5"><a href="#cb285-5" aria-hidden="true"></a><span class="fu">\par</span></span>
-<span id="cb285-6"><a href="#cb285-6" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
-<span id="cb285-7"><a href="#cb285-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb290"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb290-1"><a href="#cb290-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb290-2"><a href="#cb290-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb290-3"><a href="#cb290-3" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb290-4"><a href="#cb290-4" aria-hidden="true"></a><span class="fu">\input</span> optionfalse</span>
+<span id="cb290-5"><a href="#cb290-5" aria-hidden="true"></a><span class="fu">\par</span></span>
+<span id="cb290-6"><a href="#cb290-6" aria-hidden="true"></a><span class="fu">\input</span> optiontrue</span>
+<span id="cb290-7"><a href="#cb290-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>content.md</code> with the following content:</p>
-<div class="sourceCode" id="cb286"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb286-1"><a href="#cb286-1" aria-hidden="true"></a>Are these just three regular dots, a victorian ellipsis, or ... ?</span></code></pre></div>
+<div class="sourceCode" id="cb291"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb291-1"><a href="#cb291-1" aria-hidden="true"></a>Are these just three regular dots, a victorian ellipsis, or ... ?</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb287"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb287-1"><a href="#cb287-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
-<span id="cb287-2"><a href="#cb287-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ smartEllipses=true -- content.md optiontrue.tex</span>
-<span id="cb287-3"><a href="#cb287-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb292"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb292-1"><a href="#cb292-1" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ -- content.md optionfalse.tex</span>
+<span id="cb292-2"><a href="#cb292-2" aria-hidden="true"></a><span class="ex">texlua</span> ⟨CLI pathname⟩ smartEllipses=true -- content.md optiontrue.tex</span>
+<span id="cb292-3"><a href="#cb292-3" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>where ⟨<em>CLI pathname</em>⟩ corresponds to the location of the Lua CLI script file, such as <code>~/texmf/scripts/markdown/markdown-cli.lua</code> on UN*X systems or <code>C:\Users\</code>⟨<em>Your username</em>⟩<code>\texmf\scripts\markdown\markdown-cli.lua</code> on Windows systems. Use the command <code>kpsewhich -a markdown-cli.lua</code> to locate the Lua CLI script file using <a href="https://tug.org/kpathsea/" title="Kpathsea - TeX Users Group">Kpathsea</a>.</p>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
@@ -3336,118 +3389,118 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h5 class="unnumbered" data-number="" id="plain-tex-example-13">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="cb288"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb288-1"><a href="#cb288-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb288-2"><a href="#cb288-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
-<span id="cb288-3"><a href="#cb288-3" aria-hidden="true"></a></span>
-<span id="cb288-4"><a href="#cb288-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb288-5"><a href="#cb288-5" aria-hidden="true"></a>These are just three regular dots ...</span>
-<span id="cb288-6"><a href="#cb288-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb288-7"><a href="#cb288-7" aria-hidden="true"></a></span>
-<span id="cb288-8"><a href="#cb288-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
-<span id="cb288-9"><a href="#cb288-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb288-10"><a href="#cb288-10" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
-<span id="cb288-11"><a href="#cb288-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb288-12"><a href="#cb288-12" aria-hidden="true"></a></span>
-<span id="cb288-13"><a href="#cb288-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb293"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb293-1"><a href="#cb293-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb293-2"><a href="#cb293-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb293-3"><a href="#cb293-3" aria-hidden="true"></a></span>
+<span id="cb293-4"><a href="#cb293-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb293-5"><a href="#cb293-5" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb293-6"><a href="#cb293-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb293-7"><a href="#cb293-7" aria-hidden="true"></a></span>
+<span id="cb293-8"><a href="#cb293-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb293-9"><a href="#cb293-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb293-10"><a href="#cb293-10" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb293-11"><a href="#cb293-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb293-12"><a href="#cb293-12" aria-hidden="true"></a></span>
+<span id="cb293-13"><a href="#cb293-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb289"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb289-1"><a href="#cb289-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb294"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb294-1"><a href="#cb294-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-26"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-27"><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="cb290"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb290-1"><a href="#cb290-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb290-2"><a href="#cb290-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb290-3"><a href="#cb290-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb290-4"><a href="#cb290-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb290-5"><a href="#cb290-5" aria-hidden="true"></a> ellipsis = {. . .}</span>
-<span id="cb290-6"><a href="#cb290-6" aria-hidden="true"></a> }</span>
-<span id="cb290-7"><a href="#cb290-7" aria-hidden="true"></a>}</span>
-<span id="cb290-8"><a href="#cb290-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb290-9"><a href="#cb290-9" aria-hidden="true"></a></span>
-<span id="cb290-10"><a href="#cb290-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb290-11"><a href="#cb290-11" aria-hidden="true"></a>These are just three regular dots ...</span>
-<span id="cb290-12"><a href="#cb290-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb290-13"><a href="#cb290-13" aria-hidden="true"></a></span>
-<span id="cb290-14"><a href="#cb290-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{smartEllipses}</span>
-<span id="cb290-15"><a href="#cb290-15" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
-<span id="cb290-16"><a href="#cb290-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb290-17"><a href="#cb290-17" aria-hidden="true"></a></span>
-<span id="cb290-18"><a href="#cb290-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb291"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb291-1"><a href="#cb291-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb295"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb295-1"><a href="#cb295-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb295-2"><a href="#cb295-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb295-3"><a href="#cb295-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb295-4"><a href="#cb295-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb295-5"><a href="#cb295-5" aria-hidden="true"></a> ellipsis = {. . .}</span>
+<span id="cb295-6"><a href="#cb295-6" aria-hidden="true"></a> }</span>
+<span id="cb295-7"><a href="#cb295-7" aria-hidden="true"></a>}</span>
+<span id="cb295-8"><a href="#cb295-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb295-9"><a href="#cb295-9" aria-hidden="true"></a></span>
+<span id="cb295-10"><a href="#cb295-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb295-11"><a href="#cb295-11" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb295-12"><a href="#cb295-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb295-13"><a href="#cb295-13" aria-hidden="true"></a></span>
+<span id="cb295-14"><a href="#cb295-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{smartEllipses}</span>
+<span id="cb295-15"><a href="#cb295-15" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb295-16"><a href="#cb295-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb295-17"><a href="#cb295-17" aria-hidden="true"></a></span>
+<span id="cb295-18"><a href="#cb295-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb296"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb296-1"><a href="#cb296-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-21">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-22">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="cb292"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb292-1"><a href="#cb292-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb292-2"><a href="#cb292-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
-<span id="cb292-3"><a href="#cb292-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb292-4"><a href="#cb292-4" aria-hidden="true"></a></span>
-<span id="cb292-5"><a href="#cb292-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb292-6"><a href="#cb292-6" aria-hidden="true"></a>These are just three regular dots ...</span>
-<span id="cb292-7"><a href="#cb292-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb292-8"><a href="#cb292-8" aria-hidden="true"></a></span>
-<span id="cb292-9"><a href="#cb292-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
-<span id="cb292-10"><a href="#cb292-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb292-11"><a href="#cb292-11" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
-<span id="cb292-12"><a href="#cb292-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb292-13"><a href="#cb292-13" aria-hidden="true"></a></span>
-<span id="cb292-14"><a href="#cb292-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb297"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb297-1"><a href="#cb297-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb297-2"><a href="#cb297-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{. . .}</span>
+<span id="cb297-3"><a href="#cb297-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb297-4"><a href="#cb297-4" aria-hidden="true"></a></span>
+<span id="cb297-5"><a href="#cb297-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb297-6"><a href="#cb297-6" aria-hidden="true"></a>These are just three regular dots ...</span>
+<span id="cb297-7"><a href="#cb297-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb297-8"><a href="#cb297-8" aria-hidden="true"></a></span>
+<span id="cb297-9"><a href="#cb297-9" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[smartEllipses = yes]</span>
+<span id="cb297-10"><a href="#cb297-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb297-11"><a href="#cb297-11" aria-hidden="true"></a>... and this is a victorian ellipsis.</span>
+<span id="cb297-12"><a href="#cb297-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb297-13"><a href="#cb297-13" aria-hidden="true"></a></span>
+<span id="cb297-14"><a href="#cb297-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb293"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb293-1"><a href="#cb293-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb298"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb298-1"><a href="#cb298-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>These are just three regular dots …</p>
<p>. . . and this is a victorian ellipsis.</p>
</blockquote>
-<h4 data-number="2.2.1.32" id="option-startnumber"><span class="header-section-number">2.2.1.32</span> Option <code>startNumber</code></h4>
+<h4 data-number="2.2.1.33" id="option-startnumber"><span class="header-section-number">2.2.1.33</span> Option <code>startNumber</code></h4>
<dl>
<dt><code>startNumber</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
-<dd><p>Make the number in the first item of an ordered lists significant. The item numbers will be passed to the <span class="tex">T<sub>e</sub>X</span> macro.</p>
+<dd><p>Make the number in the first item of an ordered lists significant. The item numbers will be passed to the <code>\markdownRendererOlItemWithNumber</code> <span class="tex">T<sub>e</sub>X</span> macro.</p>
</dd>
</dl>
</dd>
<dd><dl>
<dt>false</dt>
-<dd><p>Ignore the numbers in the ordered list items. Each item will only produce a <span class="tex">T<sub>e</sub>X</span> macro.</p>
+<dd><p>Ignore the numbers in the ordered list items. Each item will only produce a <code>\markdownRendererOlItem</code> <span class="tex">T<sub>e</sub>X</span> macro.</p>
</dd>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-27"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-28"><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="cb294"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb294-1"><a href="#cb294-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb294-2"><a href="#cb294-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb294-3"><a href="#cb294-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb294-4"><a href="#cb294-4" aria-hidden="true"></a></span>
-<span id="cb294-5"><a href="#cb294-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb294-6"><a href="#cb294-6" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
-<span id="cb294-7"><a href="#cb294-7" aria-hidden="true"></a></span>
-<span id="cb294-8"><a href="#cb294-8" aria-hidden="true"></a>3. third item</span>
-<span id="cb294-9"><a href="#cb294-9" aria-hidden="true"></a>4. fourth item</span>
-<span id="cb294-10"><a href="#cb294-10" aria-hidden="true"></a>5. fifth item</span>
-<span id="cb294-11"><a href="#cb294-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb294-12"><a href="#cb294-12" aria-hidden="true"></a></span>
-<span id="cb294-13"><a href="#cb294-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{startNumber=false}</span>
-<span id="cb294-14"><a href="#cb294-14" aria-hidden="true"></a>The following list does not respect the numbers specified in the</span>
-<span id="cb294-15"><a href="#cb294-15" aria-hidden="true"></a>markup:</span>
-<span id="cb294-16"><a href="#cb294-16" aria-hidden="true"></a></span>
-<span id="cb294-17"><a href="#cb294-17" aria-hidden="true"></a>3. third item</span>
-<span id="cb294-18"><a href="#cb294-18" aria-hidden="true"></a>4. fourth item</span>
-<span id="cb294-19"><a href="#cb294-19" aria-hidden="true"></a>5. fifth item</span>
-<span id="cb294-20"><a href="#cb294-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb294-21"><a href="#cb294-21" aria-hidden="true"></a></span>
-<span id="cb294-22"><a href="#cb294-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb295"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb295-1"><a href="#cb295-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb299"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb299-1"><a href="#cb299-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb299-2"><a href="#cb299-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb299-3"><a href="#cb299-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb299-4"><a href="#cb299-4" aria-hidden="true"></a></span>
+<span id="cb299-5"><a href="#cb299-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb299-6"><a href="#cb299-6" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb299-7"><a href="#cb299-7" aria-hidden="true"></a></span>
+<span id="cb299-8"><a href="#cb299-8" aria-hidden="true"></a>3. third item</span>
+<span id="cb299-9"><a href="#cb299-9" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb299-10"><a href="#cb299-10" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb299-11"><a href="#cb299-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb299-12"><a href="#cb299-12" aria-hidden="true"></a></span>
+<span id="cb299-13"><a href="#cb299-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{startNumber=false}</span>
+<span id="cb299-14"><a href="#cb299-14" aria-hidden="true"></a>The following list does not respect the numbers specified in the</span>
+<span id="cb299-15"><a href="#cb299-15" aria-hidden="true"></a>markup:</span>
+<span id="cb299-16"><a href="#cb299-16" aria-hidden="true"></a></span>
+<span id="cb299-17"><a href="#cb299-17" aria-hidden="true"></a>3. third item</span>
+<span id="cb299-18"><a href="#cb299-18" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb299-19"><a href="#cb299-19" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb299-20"><a href="#cb299-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb299-21"><a href="#cb299-21" aria-hidden="true"></a></span>
+<span id="cb299-22"><a href="#cb299-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb300"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb300-1"><a href="#cb300-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list respects the numbers specified in the markup:</p>
@@ -3463,30 +3516,30 @@ Thomas,Edison,1847</code></pre>
<li>fifth item</li>
</ol>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-22">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-23">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="cb296"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb296-1"><a href="#cb296-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb296-2"><a href="#cb296-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb296-3"><a href="#cb296-3" aria-hidden="true"></a></span>
-<span id="cb296-4"><a href="#cb296-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb296-5"><a href="#cb296-5" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
-<span id="cb296-6"><a href="#cb296-6" aria-hidden="true"></a></span>
-<span id="cb296-7"><a href="#cb296-7" aria-hidden="true"></a>3. third item</span>
-<span id="cb296-8"><a href="#cb296-8" aria-hidden="true"></a>4. fourth item</span>
-<span id="cb296-9"><a href="#cb296-9" aria-hidden="true"></a>5. fifth item</span>
-<span id="cb296-10"><a href="#cb296-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb296-11"><a href="#cb296-11" aria-hidden="true"></a></span>
-<span id="cb296-12"><a href="#cb296-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{false}</span>
-<span id="cb296-13"><a href="#cb296-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb296-14"><a href="#cb296-14" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
-<span id="cb296-15"><a href="#cb296-15" aria-hidden="true"></a></span>
-<span id="cb296-16"><a href="#cb296-16" aria-hidden="true"></a>3. third item</span>
-<span id="cb296-17"><a href="#cb296-17" aria-hidden="true"></a>4. fourth item</span>
-<span id="cb296-18"><a href="#cb296-18" aria-hidden="true"></a>5. fifth item</span>
-<span id="cb296-19"><a href="#cb296-19" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb296-20"><a href="#cb296-20" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb297"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb297-1"><a href="#cb297-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb301"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb301-1"><a href="#cb301-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb301-2"><a href="#cb301-2" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb301-3"><a href="#cb301-3" aria-hidden="true"></a></span>
+<span id="cb301-4"><a href="#cb301-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb301-5"><a href="#cb301-5" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb301-6"><a href="#cb301-6" aria-hidden="true"></a></span>
+<span id="cb301-7"><a href="#cb301-7" aria-hidden="true"></a>3. third item</span>
+<span id="cb301-8"><a href="#cb301-8" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb301-9"><a href="#cb301-9" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb301-10"><a href="#cb301-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb301-11"><a href="#cb301-11" aria-hidden="true"></a></span>
+<span id="cb301-12"><a href="#cb301-12" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[startNumber = no]</span>
+<span id="cb301-13"><a href="#cb301-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb301-14"><a href="#cb301-14" aria-hidden="true"></a>The following list respects the numbers specified in the markup:</span>
+<span id="cb301-15"><a href="#cb301-15" aria-hidden="true"></a></span>
+<span id="cb301-16"><a href="#cb301-16" aria-hidden="true"></a>3. third item</span>
+<span id="cb301-17"><a href="#cb301-17" aria-hidden="true"></a>4. fourth item</span>
+<span id="cb301-18"><a href="#cb301-18" aria-hidden="true"></a>5. fifth item</span>
+<span id="cb301-19"><a href="#cb301-19" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb301-20"><a href="#cb301-20" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb302"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb302-1"><a href="#cb302-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list respects the numbers specified in the markup:</p>
@@ -3502,19 +3555,89 @@ Thomas,Edison,1847</code></pre>
<li>fifth item</li>
</ol>
</blockquote>
-<h4 data-number="2.2.1.33" id="option-stripindent"><span class="header-section-number">2.2.1.33</span> Option <code>stripIndent</code></h4>
+<h4 data-number="2.2.1.34" id="option-strikethrough"><span class="header-section-number">2.2.1.34</span> Option <code>strikeThrough</code></h4>
+<dl>
+<dt><code>strikeThrough</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Enable the Pandoc strike-through syntax extension:</p>
+<div class="sourceCode" id="cb303"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb303-1"><a href="#cb303-1" aria-hidden="true"></a>This ~~is deleted text.~~</span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Disable the Pandoc strike-through syntax extension.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-14">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="cb304"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb304-1"><a href="#cb304-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb304-2"><a href="#cb304-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStrikeThrough</span>{true}</span>
+<span id="cb304-3"><a href="#cb304-3" aria-hidden="true"></a><span class="fu">\input</span> soulutf8.sty</span>
+<span id="cb304-4"><a href="#cb304-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrikeThrough</span>#1{<span class="fu">\st</span>{#1}}</span>
+<span id="cb304-5"><a href="#cb304-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb304-6"><a href="#cb304-6" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb304-7"><a href="#cb304-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb304-8"><a href="#cb304-8" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb305"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb305-1"><a href="#cb305-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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 <del>a lunar roving vehicle</del> strike-through text.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="latex-example-29"><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"><span id="cb306-1"><a href="#cb306-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb306-2"><a href="#cb306-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[strikeThrough]{<span class="ex">markdown</span>}</span>
+<span id="cb306-3"><a href="#cb306-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">soulutf8</span>}</span>
+<span id="cb306-4"><a href="#cb306-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb306-5"><a href="#cb306-5" aria-hidden="true"></a> renderers = {</span>
+<span id="cb306-6"><a href="#cb306-6" aria-hidden="true"></a> strikeThrough = {<span class="fu">\st</span>{#1}},</span>
+<span id="cb306-7"><a href="#cb306-7" aria-hidden="true"></a> },</span>
+<span id="cb306-8"><a href="#cb306-8" aria-hidden="true"></a>}</span>
+<span id="cb306-9"><a href="#cb306-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb306-10"><a href="#cb306-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb306-11"><a href="#cb306-11" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb306-12"><a href="#cb306-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb306-13"><a href="#cb306-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb307"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb307-1"><a href="#cb307-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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 <del>a lunar roving vehicle</del> strike-through text.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-24">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"><span id="cb308-1"><a href="#cb308-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb308-2"><a href="#cb308-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[strikeThrough = yes]</span>
+<span id="cb308-3"><a href="#cb308-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrikeThrough</span>#1{<span class="fu">\overstrikes</span>{#1}}</span>
+<span id="cb308-4"><a href="#cb308-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb308-5"><a href="#cb308-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb308-6"><a href="#cb308-6" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb308-7"><a href="#cb308-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb308-8"><a href="#cb308-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb309"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb309-1"><a href="#cb309-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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 <del>a lunar roving vehicle</del> strike-through text.</p>
+</blockquote>
+<h4 data-number="2.2.1.35" id="option-stripindent"><span class="header-section-number">2.2.1.35</span> Option <code>stripIndent</code></h4>
<dl>
<dt><code>stripIndent</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
-<dd><p>Strip the minimal indentation of non-blank lines from all lines in a markdown document. Requires that the <strong><code>preserveTabs</code></strong> Lua option is :</p>
-<div class="sourceCode" id="cb298"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb298-1"><a href="#cb298-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb298-2"><a href="#cb298-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
-<span id="cb298-3"><a href="#cb298-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb298-4"><a href="#cb298-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb298-5"><a href="#cb298-5" aria-hidden="true"></a> Hello *world*!</span>
-<span id="cb298-6"><a href="#cb298-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb298-7"><a href="#cb298-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<dd><p>Strip the minimal indentation of non-blank lines from all lines in a markdown document. Requires that the <strong><code>preserveTabs</code></strong> Lua option is disabled:</p>
+<div class="sourceCode" id="cb310"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb310-1"><a href="#cb310-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb310-2"><a href="#cb310-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
+<span id="cb310-3"><a href="#cb310-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb310-4"><a href="#cb310-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb310-5"><a href="#cb310-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb310-6"><a href="#cb310-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb310-7"><a href="#cb310-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3525,54 +3648,148 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-14">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-15">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="cb299"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb299-1"><a href="#cb299-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb299-2"><a href="#cb299-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStripIndent</span>{true}</span>
-<span id="cb299-3"><a href="#cb299-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb299-4"><a href="#cb299-4" aria-hidden="true"></a> Hello *world*!</span>
-<span id="cb299-5"><a href="#cb299-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb299-6"><a href="#cb299-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb311"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb311-1"><a href="#cb311-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb311-2"><a href="#cb311-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStripIndent</span>{true}</span>
+<span id="cb311-3"><a href="#cb311-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb311-4"><a href="#cb311-4" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb311-5"><a href="#cb311-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb311-6"><a href="#cb311-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb300"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb300-1"><a href="#cb300-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb312"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb312-1"><a href="#cb312-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h5 class="unnumbered" data-number="" id="latex-example-28"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-30"><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="cb301"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb301-1"><a href="#cb301-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb301-2"><a href="#cb301-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
-<span id="cb301-3"><a href="#cb301-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb301-4"><a href="#cb301-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb301-5"><a href="#cb301-5" aria-hidden="true"></a> Hello *world*!</span>
-<span id="cb301-6"><a href="#cb301-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb301-7"><a href="#cb301-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb313"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb313-1"><a href="#cb313-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb313-2"><a href="#cb313-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripIndent]{<span class="ex">markdown</span>}</span>
+<span id="cb313-3"><a href="#cb313-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb313-4"><a href="#cb313-4" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb313-5"><a href="#cb313-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb313-6"><a href="#cb313-6" aria-hidden="true"></a> <span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb313-7"><a href="#cb313-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb302"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb302-1"><a href="#cb302-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb314"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb314-1"><a href="#cb314-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h5 class="unnumbered" data-number="" id="context-example-23">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-25">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="cb303"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb303-1"><a href="#cb303-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb303-2"><a href="#cb303-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStripIndent</span>{true}</span>
-<span id="cb303-3"><a href="#cb303-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb303-4"><a href="#cb303-4" aria-hidden="true"></a> <span class="fu">\startmarkdown</span></span>
-<span id="cb303-5"><a href="#cb303-5" aria-hidden="true"></a> Hello *world*!</span>
-<span id="cb303-6"><a href="#cb303-6" aria-hidden="true"></a> <span class="fu">\stopmarkdown</span></span>
-<span id="cb303-7"><a href="#cb303-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb315"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb315-1"><a href="#cb315-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb315-2"><a href="#cb315-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[stripIndent = yes]</span>
+<span id="cb315-3"><a href="#cb315-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb315-4"><a href="#cb315-4" aria-hidden="true"></a> <span class="fu">\startmarkdown</span></span>
+<span id="cb315-5"><a href="#cb315-5" aria-hidden="true"></a> Hello *world*!</span>
+<span id="cb315-6"><a href="#cb315-6" aria-hidden="true"></a> <span class="fu">\stopmarkdown</span></span>
+<span id="cb315-7"><a href="#cb315-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb304"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb304-1"><a href="#cb304-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb316"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb316-1"><a href="#cb316-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h4 data-number="2.2.1.34" id="option-tablecaptions"><span class="header-section-number">2.2.1.34</span> Option <code>tableCaptions</code></h4>
+<h4 data-number="2.2.1.36" id="option-subscripts"><span class="header-section-number">2.2.1.36</span> Option <code>subscripts</code></h4>
+<dl>
+<dt><code>subscripts</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Enable the Pandoc subscript syntax extension:</p>
+<div class="sourceCode" id="cb317"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb317-1"><a href="#cb317-1" aria-hidden="true"></a>H~2~O is a liquid.</span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Disable the Pandoc subscript syntax extension.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-31"><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="cb318"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb318-1"><a href="#cb318-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb318-2"><a href="#cb318-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[subscripts]{<span class="ex">markdown</span>}</span>
+<span id="cb318-3"><a href="#cb318-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb318-4"><a href="#cb318-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb318-5"><a href="#cb318-5" aria-hidden="true"></a>H~2~O is a liquid.</span>
+<span id="cb318-6"><a href="#cb318-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb318-7"><a href="#cb318-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb319"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb319-1"><a href="#cb319-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>H<sub>2</sub>O is a liquid.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-26">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="cb320"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb320-1"><a href="#cb320-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb320-2"><a href="#cb320-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[subscripts = yes]</span>
+<span id="cb320-3"><a href="#cb320-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb320-4"><a href="#cb320-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb320-5"><a href="#cb320-5" aria-hidden="true"></a>H~2~O is a liquid.</span>
+<span id="cb320-6"><a href="#cb320-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb320-7"><a href="#cb320-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb321"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb321-1"><a href="#cb321-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>H<sub>2</sub>O is a liquid.</p>
+</blockquote>
+<h4 data-number="2.2.1.37" id="option-superscripts"><span class="header-section-number">2.2.1.37</span> Option <code>superscripts</code></h4>
+<dl>
+<dt><code>superscripts</code> (default value: <code>false</code>)</dt>
+<dd><dl>
+<dt>true</dt>
+<dd><p>Enable the Pandoc superscript syntax extension:</p>
+<div class="sourceCode" id="cb322"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb322-1"><a href="#cb322-1" aria-hidden="true"></a>2^10^ is 1024.</span></code></pre></div>
+</dd>
+</dl>
+</dd>
+<dd><dl>
+<dt>false</dt>
+<dd><p>Disable the Pandoc superscript syntax extension.</p>
+</dd>
+</dl>
+</dd>
+</dl>
+<h5 class="unnumbered" data-number="" id="latex-example-32"><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="cb323"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb323-1"><a href="#cb323-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb323-2"><a href="#cb323-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[superscripts]{<span class="ex">markdown</span>}</span>
+<span id="cb323-3"><a href="#cb323-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb323-4"><a href="#cb323-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb323-5"><a href="#cb323-5" aria-hidden="true"></a>2^10^ is 1024.</span>
+<span id="cb323-6"><a href="#cb323-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb323-7"><a href="#cb323-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb324"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb324-1"><a href="#cb324-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>2<sup>10</sup> is 1024.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-27">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="cb325"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb325-1"><a href="#cb325-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb325-2"><a href="#cb325-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[superscripts = yes]</span>
+<span id="cb325-3"><a href="#cb325-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb325-4"><a href="#cb325-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb325-5"><a href="#cb325-5" aria-hidden="true"></a>2^10^ is 1024.</span>
+<span id="cb325-6"><a href="#cb325-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb325-7"><a href="#cb325-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb326"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb326-1"><a href="#cb326-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>2<sup>10</sup> is 1024.</p>
+</blockquote>
+<h4 data-number="2.2.1.38" id="option-tablecaptions"><span class="header-section-number">2.2.1.38</span> Option <code>tableCaptions</code></h4>
<dl>
<dt><code>tableCaptions</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc <code>table_captions</code> syntax extension for <a href="#pipe-tables">pipe tables</a>.</p>
-<div class="sourceCode" id="cb305"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb305-1"><a href="#cb305-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb305-2"><a href="#cb305-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb305-3"><a href="#cb305-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb305-4"><a href="#cb305-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb305-5"><a href="#cb305-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb305-6"><a href="#cb305-6" aria-hidden="true"></a></span>
-<span id="cb305-7"><a href="#cb305-7" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span></code></pre></div>
+<div class="sourceCode" id="cb327"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb327-1"><a href="#cb327-1" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb327-2"><a href="#cb327-2" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb327-3"><a href="#cb327-3" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb327-4"><a href="#cb327-4" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb327-5"><a href="#cb327-5" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb327-6"><a href="#cb327-6" aria-hidden="true"></a></span>
+<span id="cb327-7"><a href="#cb327-7" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3583,23 +3800,23 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-29"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-33"><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"><span id="cb306-1"><a href="#cb306-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb306-2"><a href="#cb306-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
-<span id="cb306-3"><a href="#cb306-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb306-4"><a href="#cb306-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb306-5"><a href="#cb306-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb306-6"><a href="#cb306-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb306-7"><a href="#cb306-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb306-8"><a href="#cb306-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb306-9"><a href="#cb306-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb306-10"><a href="#cb306-10" aria-hidden="true"></a></span>
-<span id="cb306-11"><a href="#cb306-11" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
-<span id="cb306-12"><a href="#cb306-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb306-13"><a href="#cb306-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb328"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb328-1"><a href="#cb328-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb328-2"><a href="#cb328-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
+<span id="cb328-3"><a href="#cb328-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb328-4"><a href="#cb328-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb328-5"><a href="#cb328-5" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb328-6"><a href="#cb328-6" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb328-7"><a href="#cb328-7" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb328-8"><a href="#cb328-8" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb328-9"><a href="#cb328-9" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb328-10"><a href="#cb328-10" aria-hidden="true"></a></span>
+<span id="cb328-11"><a href="#cb328-11" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
+<span id="cb328-12"><a href="#cb328-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb328-13"><a href="#cb328-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb307"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb307-1"><a href="#cb307-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb329"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb329-1"><a href="#cb329-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -3634,24 +3851,27 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-24">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-28">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"><span id="cb308-1"><a href="#cb308-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb308-2"><a href="#cb308-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionPipeTables</span>{true}</span>
-<span id="cb308-3"><a href="#cb308-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTableCaptions</span>{true}</span>
-<span id="cb308-4"><a href="#cb308-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb308-5"><a href="#cb308-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb308-6"><a href="#cb308-6" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb308-7"><a href="#cb308-7" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb308-8"><a href="#cb308-8" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb308-9"><a href="#cb308-9" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb308-10"><a href="#cb308-10" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb308-11"><a href="#cb308-11" aria-hidden="true"></a></span>
-<span id="cb308-12"><a href="#cb308-12" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
-<span id="cb308-13"><a href="#cb308-13" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb308-14"><a href="#cb308-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb330"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb330-1"><a href="#cb330-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb330-2"><a href="#cb330-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb330-3"><a href="#cb330-3" aria-hidden="true"></a> [</span>
+<span id="cb330-4"><a href="#cb330-4" aria-hidden="true"></a> pipeTables = yes,</span>
+<span id="cb330-5"><a href="#cb330-5" aria-hidden="true"></a> tableCaptions = yes,</span>
+<span id="cb330-6"><a href="#cb330-6" aria-hidden="true"></a> ]</span>
+<span id="cb330-7"><a href="#cb330-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb330-8"><a href="#cb330-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb330-9"><a href="#cb330-9" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb330-10"><a href="#cb330-10" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb330-11"><a href="#cb330-11" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb330-12"><a href="#cb330-12" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb330-13"><a href="#cb330-13" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb330-14"><a href="#cb330-14" aria-hidden="true"></a></span>
+<span id="cb330-15"><a href="#cb330-15" aria-hidden="true"></a> : Demonstration of pipe table syntax.</span>
+<span id="cb330-16"><a href="#cb330-16" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb330-17"><a href="#cb330-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb309"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb309-1"><a href="#cb309-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb331"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb331-1"><a href="#cb331-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<table>
@@ -3686,15 +3906,15 @@ Thomas,Edison,1847</code></pre>
</tbody>
</table>
</blockquote>
-<h4 data-number="2.2.1.35" id="option-tasklists"><span class="header-section-number">2.2.1.35</span> Option <code>taskLists</code></h4>
+<h4 data-number="2.2.1.39" id="option-tasklists"><span class="header-section-number">2.2.1.39</span> Option <code>taskLists</code></h4>
<dl>
<dt><code>taskLists</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Enable the Pandoc <code>task_lists</code> syntax extension.</p>
-<div class="sourceCode" id="cb310"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb310-1"><a href="#cb310-1" aria-hidden="true"></a><span class="ss">- </span><span class="va">[ ]</span> an unticked task list item</span>
-<span id="cb310-2"><a href="#cb310-2" aria-hidden="true"></a><span class="ss">- </span><span class="co">[</span><span class="ot">/</span><span class="co">]</span> a half-checked task list item</span>
-<span id="cb310-3"><a href="#cb310-3" aria-hidden="true"></a><span class="ss">- </span><span class="co">[</span><span class="ot">X</span><span class="co">]</span> a ticked task list item</span></code></pre></div>
+<div class="sourceCode" id="cb332"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb332-1"><a href="#cb332-1" aria-hidden="true"></a><span class="ss">- </span><span class="va">[ ]</span> an unticked task list item</span>
+<span id="cb332-2"><a href="#cb332-2" aria-hidden="true"></a><span class="ss">- </span><span class="co">[</span><span class="ot">/</span><span class="co">]</span> a half-checked task list item</span>
+<span id="cb332-3"><a href="#cb332-3" aria-hidden="true"></a><span class="ss">- </span><span class="co">[</span><span class="ot">X</span><span class="co">]</span> a ticked task list item</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3705,26 +3925,26 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-30"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-34"><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="cb311"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb311-1"><a href="#cb311-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb311-2"><a href="#cb311-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[taskLists]{<span class="ex">markdown</span>}</span>
-<span id="cb311-3"><a href="#cb311-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb311-4"><a href="#cb311-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb311-5"><a href="#cb311-5" aria-hidden="true"></a> untickedBox = No,</span>
-<span id="cb311-6"><a href="#cb311-6" aria-hidden="true"></a> halfTickedBox = Maybe,</span>
-<span id="cb311-7"><a href="#cb311-7" aria-hidden="true"></a> tickedBox = Yes,</span>
-<span id="cb311-8"><a href="#cb311-8" aria-hidden="true"></a> },</span>
-<span id="cb311-9"><a href="#cb311-9" aria-hidden="true"></a>}</span>
-<span id="cb311-10"><a href="#cb311-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb311-11"><a href="#cb311-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb311-12"><a href="#cb311-12" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
-<span id="cb311-13"><a href="#cb311-13" aria-hidden="true"></a>- [/] I can?</span>
-<span id="cb311-14"><a href="#cb311-14" aria-hidden="true"></a>- [X] I can!</span>
-<span id="cb311-15"><a href="#cb311-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb311-16"><a href="#cb311-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb312"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb312-1"><a href="#cb312-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb333"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb333-1"><a href="#cb333-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb333-2"><a href="#cb333-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[taskLists]{<span class="ex">markdown</span>}</span>
+<span id="cb333-3"><a href="#cb333-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb333-4"><a href="#cb333-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb333-5"><a href="#cb333-5" aria-hidden="true"></a> untickedBox = No,</span>
+<span id="cb333-6"><a href="#cb333-6" aria-hidden="true"></a> halfTickedBox = Maybe,</span>
+<span id="cb333-7"><a href="#cb333-7" aria-hidden="true"></a> tickedBox = Yes,</span>
+<span id="cb333-8"><a href="#cb333-8" aria-hidden="true"></a> },</span>
+<span id="cb333-9"><a href="#cb333-9" aria-hidden="true"></a>}</span>
+<span id="cb333-10"><a href="#cb333-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb333-11"><a href="#cb333-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb333-12"><a href="#cb333-12" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
+<span id="cb333-13"><a href="#cb333-13" aria-hidden="true"></a>- [/] I can?</span>
+<span id="cb333-14"><a href="#cb333-14" aria-hidden="true"></a>- [X] I can!</span>
+<span id="cb333-15"><a href="#cb333-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb333-16"><a href="#cb333-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb334"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb334-1"><a href="#cb334-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<ul>
@@ -3733,22 +3953,22 @@ Thomas,Edison,1847</code></pre>
<li>Yes I can!</li>
</ul>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-25">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-29">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="cb313"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb313-1"><a href="#cb313-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb313-2"><a href="#cb313-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTaskLists</span>{true}</span>
-<span id="cb313-3"><a href="#cb313-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererUntickedBox</span>{No}</span>
-<span id="cb313-4"><a href="#cb313-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHalftickedBox</span>{Maybe}</span>
-<span id="cb313-5"><a href="#cb313-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererTickedBox</span>{Yes}</span>
-<span id="cb313-6"><a href="#cb313-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb313-7"><a href="#cb313-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb313-8"><a href="#cb313-8" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
-<span id="cb313-9"><a href="#cb313-9" aria-hidden="true"></a>- [/] I can?</span>
-<span id="cb313-10"><a href="#cb313-10" aria-hidden="true"></a>- [X] I can!</span>
-<span id="cb313-11"><a href="#cb313-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb313-12"><a href="#cb313-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb335"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb335-1"><a href="#cb335-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb335-2"><a href="#cb335-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[taskLists = yes]</span>
+<span id="cb335-3"><a href="#cb335-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererUntickedBox</span>{No}</span>
+<span id="cb335-4"><a href="#cb335-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHalftickedBox</span>{Maybe}</span>
+<span id="cb335-5"><a href="#cb335-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererTickedBox</span>{Yes}</span>
+<span id="cb335-6"><a href="#cb335-6" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb335-7"><a href="#cb335-7" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb335-8"><a href="#cb335-8" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
+<span id="cb335-9"><a href="#cb335-9" aria-hidden="true"></a>- [/] I can?</span>
+<span id="cb335-10"><a href="#cb335-10" aria-hidden="true"></a>- [X] I can!</span>
+<span id="cb335-11"><a href="#cb335-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb335-12"><a href="#cb335-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb314"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb314-1"><a href="#cb314-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb336"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb336-1"><a href="#cb336-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<ul>
@@ -3757,20 +3977,20 @@ Thomas,Edison,1847</code></pre>
<li>Yes I can!</li>
</ul>
</blockquote>
-<h4 data-number="2.2.1.36" id="option-texcomments"><span class="header-section-number">2.2.1.36</span> Option <code>texComments</code></h4>
+<h4 data-number="2.2.1.40" id="option-texcomments"><span class="header-section-number">2.2.1.40</span> Option <code>texComments</code></h4>
<dl>
<dt><code>texComments</code> (default value: <code>false</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Strip <span class="tex">T<sub>e</sub>X</span>-style comments.</p>
-<div class="sourceCode" id="cb315"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb315-1"><a href="#cb315-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb315-2"><a href="#cb315-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
-<span id="cb315-3"><a href="#cb315-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb315-4"><a href="#cb315-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb315-5"><a href="#cb315-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
-<span id="cb315-6"><a href="#cb315-6" aria-hidden="true"></a> lo *world*!</span>
-<span id="cb315-7"><a href="#cb315-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb315-8"><a href="#cb315-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb337"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb337-1"><a href="#cb337-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb337-2"><a href="#cb337-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
+<span id="cb337-3"><a href="#cb337-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb337-4"><a href="#cb337-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb337-5"><a href="#cb337-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb337-6"><a href="#cb337-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb337-7"><a href="#cb337-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb337-8"><a href="#cb337-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Always enabled when <strong><code>hybrid</code></strong> is enabled.</p>
</dd>
</dl>
@@ -3782,59 +4002,59 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-15">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-16">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="cb316"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb316-1"><a href="#cb316-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb316-2"><a href="#cb316-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTexComments</span>{true}</span>
-<span id="cb316-3"><a href="#cb316-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb316-4"><a href="#cb316-4" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
-<span id="cb316-5"><a href="#cb316-5" aria-hidden="true"></a> lo *world*!</span>
-<span id="cb316-6"><a href="#cb316-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb316-7"><a href="#cb316-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb338"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb338-1"><a href="#cb338-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb338-2"><a href="#cb338-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTexComments</span>{true}</span>
+<span id="cb338-3"><a href="#cb338-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb338-4"><a href="#cb338-4" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb338-5"><a href="#cb338-5" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb338-6"><a href="#cb338-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb338-7"><a href="#cb338-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb317"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb317-1"><a href="#cb317-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb339"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb339-1"><a href="#cb339-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h5 class="unnumbered" data-number="" id="latex-example-31"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-35"><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="cb318"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb318-1"><a href="#cb318-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb318-2"><a href="#cb318-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
-<span id="cb318-3"><a href="#cb318-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb318-4"><a href="#cb318-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb318-5"><a href="#cb318-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
-<span id="cb318-6"><a href="#cb318-6" aria-hidden="true"></a> lo *world*!</span>
-<span id="cb318-7"><a href="#cb318-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb318-8"><a href="#cb318-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb340"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb340-1"><a href="#cb340-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb340-2"><a href="#cb340-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[texComments]{<span class="ex">markdown</span>}</span>
+<span id="cb340-3"><a href="#cb340-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb340-4"><a href="#cb340-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb340-5"><a href="#cb340-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb340-6"><a href="#cb340-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb340-7"><a href="#cb340-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb340-8"><a href="#cb340-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb319"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb319-1"><a href="#cb319-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb341"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb341-1"><a href="#cb341-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h5 class="unnumbered" data-number="" id="context-example-26">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-30">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="cb320"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb320-1"><a href="#cb320-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb320-2"><a href="#cb320-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTexComments</span>{true}</span>
-<span id="cb320-3"><a href="#cb320-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb320-4"><a href="#cb320-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb320-5"><a href="#cb320-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
-<span id="cb320-6"><a href="#cb320-6" aria-hidden="true"></a> lo *world*!</span>
-<span id="cb320-7"><a href="#cb320-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb320-8"><a href="#cb320-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb342"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb342-1"><a href="#cb342-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb342-2"><a href="#cb342-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[texComments = yes]</span>
+<span id="cb342-3"><a href="#cb342-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb342-4"><a href="#cb342-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb342-5"><a href="#cb342-5" aria-hidden="true"></a>Hel<span class="co">% this is a comment</span></span>
+<span id="cb342-6"><a href="#cb342-6" aria-hidden="true"></a> lo *world*!</span>
+<span id="cb342-7"><a href="#cb342-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb342-8"><a href="#cb342-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb321"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb321-1"><a href="#cb321-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb343"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb343-1"><a href="#cb343-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
-<h4 data-number="2.2.1.37" id="option-tightlists"><span class="header-section-number">2.2.1.37</span> Option <code>tightLists</code></h4>
+<h4 data-number="2.2.1.41" id="option-tightlists"><span class="header-section-number">2.2.1.41</span> Option <code>tightLists</code></h4>
<dl>
<dt><code>tightLists</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Unordered and ordered lists whose items do not consist of multiple paragraphs will be considered <em>tight</em>. Tight lists will produce tight renderers that may produce different output than lists that are not tight:</p>
-<div class="sourceCode" id="cb322"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb322-1"><a href="#cb322-1" aria-hidden="true"></a><span class="ss">- </span>This is</span>
-<span id="cb322-2"><a href="#cb322-2" aria-hidden="true"></a><span class="ss">- </span>a tight</span>
-<span id="cb322-3"><a href="#cb322-3" aria-hidden="true"></a><span class="ss">- </span>unordered list.</span>
-<span id="cb322-4"><a href="#cb322-4" aria-hidden="true"></a></span>
-<span id="cb322-5"><a href="#cb322-5" aria-hidden="true"></a><span class="ss">- </span>This is</span>
-<span id="cb322-6"><a href="#cb322-6" aria-hidden="true"></a></span>
-<span id="cb322-7"><a href="#cb322-7" aria-hidden="true"></a> not a tight</span>
-<span id="cb322-8"><a href="#cb322-8" aria-hidden="true"></a></span>
-<span id="cb322-9"><a href="#cb322-9" aria-hidden="true"></a><span class="ss">- </span>unordered list.</span></code></pre></div>
+<div class="sourceCode" id="cb344"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb344-1"><a href="#cb344-1" aria-hidden="true"></a><span class="ss">- </span>This is</span>
+<span id="cb344-2"><a href="#cb344-2" aria-hidden="true"></a><span class="ss">- </span>a tight</span>
+<span id="cb344-3"><a href="#cb344-3" aria-hidden="true"></a><span class="ss">- </span>unordered list.</span>
+<span id="cb344-4"><a href="#cb344-4" aria-hidden="true"></a></span>
+<span id="cb344-5"><a href="#cb344-5" aria-hidden="true"></a><span class="ss">- </span>This is</span>
+<span id="cb344-6"><a href="#cb344-6" aria-hidden="true"></a></span>
+<span id="cb344-7"><a href="#cb344-7" aria-hidden="true"></a> not a tight</span>
+<span id="cb344-8"><a href="#cb344-8" aria-hidden="true"></a></span>
+<span id="cb344-9"><a href="#cb344-9" aria-hidden="true"></a><span class="ss">- </span>unordered list.</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3845,39 +4065,39 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-32"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-36"><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="cb323"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb323-1"><a href="#cb323-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb323-2"><a href="#cb323-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb323-3"><a href="#cb323-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb323-4"><a href="#cb323-4" aria-hidden="true"></a></span>
-<span id="cb323-5"><a href="#cb323-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb323-6"><a href="#cb323-6" aria-hidden="true"></a>The following list is tight:</span>
-<span id="cb323-7"><a href="#cb323-7" aria-hidden="true"></a></span>
-<span id="cb323-8"><a href="#cb323-8" aria-hidden="true"></a> - first item</span>
-<span id="cb323-9"><a href="#cb323-9" aria-hidden="true"></a> - second item</span>
-<span id="cb323-10"><a href="#cb323-10" aria-hidden="true"></a> - third item</span>
-<span id="cb323-11"><a href="#cb323-11" aria-hidden="true"></a></span>
-<span id="cb323-12"><a href="#cb323-12" aria-hidden="true"></a>The following list is loose:</span>
-<span id="cb323-13"><a href="#cb323-13" aria-hidden="true"></a></span>
-<span id="cb323-14"><a href="#cb323-14" aria-hidden="true"></a> - first item</span>
-<span id="cb323-15"><a href="#cb323-15" aria-hidden="true"></a> - second item that spans</span>
-<span id="cb323-16"><a href="#cb323-16" aria-hidden="true"></a></span>
-<span id="cb323-17"><a href="#cb323-17" aria-hidden="true"></a> multiple paragraphs</span>
-<span id="cb323-18"><a href="#cb323-18" aria-hidden="true"></a> - third item</span>
-<span id="cb323-19"><a href="#cb323-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb323-20"><a href="#cb323-20" aria-hidden="true"></a></span>
-<span id="cb323-21"><a href="#cb323-21" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{tightLists=false}</span>
-<span id="cb323-22"><a href="#cb323-22" aria-hidden="true"></a>The following list is now also loose:</span>
-<span id="cb323-23"><a href="#cb323-23" aria-hidden="true"></a></span>
-<span id="cb323-24"><a href="#cb323-24" aria-hidden="true"></a> - first item</span>
-<span id="cb323-25"><a href="#cb323-25" aria-hidden="true"></a> - second item</span>
-<span id="cb323-26"><a href="#cb323-26" aria-hidden="true"></a> - third item</span>
-<span id="cb323-27"><a href="#cb323-27" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb323-28"><a href="#cb323-28" aria-hidden="true"></a></span>
-<span id="cb323-29"><a href="#cb323-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb324"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb324-1"><a href="#cb324-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb345"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb345-1"><a href="#cb345-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb345-2"><a href="#cb345-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb345-3"><a href="#cb345-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb345-4"><a href="#cb345-4" aria-hidden="true"></a></span>
+<span id="cb345-5"><a href="#cb345-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb345-6"><a href="#cb345-6" aria-hidden="true"></a>The following list is tight:</span>
+<span id="cb345-7"><a href="#cb345-7" aria-hidden="true"></a></span>
+<span id="cb345-8"><a href="#cb345-8" aria-hidden="true"></a> - first item</span>
+<span id="cb345-9"><a href="#cb345-9" aria-hidden="true"></a> - second item</span>
+<span id="cb345-10"><a href="#cb345-10" aria-hidden="true"></a> - third item</span>
+<span id="cb345-11"><a href="#cb345-11" aria-hidden="true"></a></span>
+<span id="cb345-12"><a href="#cb345-12" aria-hidden="true"></a>The following list is loose:</span>
+<span id="cb345-13"><a href="#cb345-13" aria-hidden="true"></a></span>
+<span id="cb345-14"><a href="#cb345-14" aria-hidden="true"></a> - first item</span>
+<span id="cb345-15"><a href="#cb345-15" aria-hidden="true"></a> - second item that spans</span>
+<span id="cb345-16"><a href="#cb345-16" aria-hidden="true"></a></span>
+<span id="cb345-17"><a href="#cb345-17" aria-hidden="true"></a> multiple paragraphs</span>
+<span id="cb345-18"><a href="#cb345-18" aria-hidden="true"></a> - third item</span>
+<span id="cb345-19"><a href="#cb345-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb345-20"><a href="#cb345-20" aria-hidden="true"></a></span>
+<span id="cb345-21"><a href="#cb345-21" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{tightLists=false}</span>
+<span id="cb345-22"><a href="#cb345-22" aria-hidden="true"></a>The following list is now also loose:</span>
+<span id="cb345-23"><a href="#cb345-23" aria-hidden="true"></a></span>
+<span id="cb345-24"><a href="#cb345-24" aria-hidden="true"></a> - first item</span>
+<span id="cb345-25"><a href="#cb345-25" aria-hidden="true"></a> - second item</span>
+<span id="cb345-26"><a href="#cb345-26" aria-hidden="true"></a> - third item</span>
+<span id="cb345-27"><a href="#cb345-27" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb345-28"><a href="#cb345-28" aria-hidden="true"></a></span>
+<span id="cb345-29"><a href="#cb345-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb346"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb346-1"><a href="#cb346-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The following list is tight:</p>
@@ -3900,16 +4120,16 @@ Thomas,Edison,1847</code></pre>
<li><p>third item</p></li>
</ul>
</blockquote>
-<h4 data-number="2.2.1.38" id="option-underscores"><span class="header-section-number">2.2.1.38</span> Option <code>underscores</code></h4>
+<h4 data-number="2.2.1.42" id="option-underscores"><span class="header-section-number">2.2.1.42</span> Option <code>underscores</code></h4>
<dl>
<dt><code>underscores</code> (default value: <code>true</code>)</dt>
<dd><dl>
<dt>true</dt>
<dd><p>Both underscores and asterisks can be used to denote emphasis and strong emphasis:</p>
-<div class="sourceCode" id="cb325"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb325-1"><a href="#cb325-1" aria-hidden="true"></a>*single asterisks*</span>
-<span id="cb325-2"><a href="#cb325-2" aria-hidden="true"></a>_single underscores_</span>
-<span id="cb325-3"><a href="#cb325-3" aria-hidden="true"></a>**double asterisks**</span>
-<span id="cb325-4"><a href="#cb325-4" aria-hidden="true"></a>__double underscores__</span></code></pre></div>
+<div class="sourceCode" id="cb347"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb347-1"><a href="#cb347-1" aria-hidden="true"></a>*single asterisks*</span>
+<span id="cb347-2"><a href="#cb347-2" aria-hidden="true"></a>_single underscores_</span>
+<span id="cb347-3"><a href="#cb347-3" aria-hidden="true"></a>**double asterisks**</span>
+<span id="cb347-4"><a href="#cb347-4" aria-hidden="true"></a>__double underscores__</span></code></pre></div>
</dd>
</dl>
</dd>
@@ -3920,68 +4140,68 @@ Thomas,Edison,1847</code></pre>
</dl>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-16">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-17">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="cb326"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb326-1"><a href="#cb326-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb326-2"><a href="#cb326-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb326-3"><a href="#cb326-3" aria-hidden="true"></a></span>
-<span id="cb326-4"><a href="#cb326-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb326-5"><a href="#cb326-5" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
-<span id="cb326-6"><a href="#cb326-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb326-7"><a href="#cb326-7" aria-hidden="true"></a></span>
-<span id="cb326-8"><a href="#cb326-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionUnderscores</span>{false}</span>
-<span id="cb326-9"><a href="#cb326-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb326-10"><a href="#cb326-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
-<span id="cb326-11"><a href="#cb326-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb326-12"><a href="#cb326-12" aria-hidden="true"></a></span>
-<span id="cb326-13"><a href="#cb326-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb348"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb348-1"><a href="#cb348-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb348-2"><a href="#cb348-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb348-3"><a href="#cb348-3" aria-hidden="true"></a></span>
+<span id="cb348-4"><a href="#cb348-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb348-5"><a href="#cb348-5" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb348-6"><a href="#cb348-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb348-7"><a href="#cb348-7" aria-hidden="true"></a></span>
+<span id="cb348-8"><a href="#cb348-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionUnderscores</span>{false}</span>
+<span id="cb348-9"><a href="#cb348-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb348-10"><a href="#cb348-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb348-11"><a href="#cb348-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb348-12"><a href="#cb348-12" aria-hidden="true"></a></span>
+<span id="cb348-13"><a href="#cb348-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb327"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb327-1"><a href="#cb327-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb349"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb349-1"><a href="#cb349-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-33"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-37"><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="cb328"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb328-1"><a href="#cb328-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb328-2"><a href="#cb328-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[hybrid]{<span class="ex">markdown</span>}</span>
-<span id="cb328-3"><a href="#cb328-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb328-4"><a href="#cb328-4" aria-hidden="true"></a></span>
-<span id="cb328-5"><a href="#cb328-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb328-6"><a href="#cb328-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
-<span id="cb328-7"><a href="#cb328-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb328-8"><a href="#cb328-8" aria-hidden="true"></a></span>
-<span id="cb328-9"><a href="#cb328-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{underscores=false}</span>
-<span id="cb328-10"><a href="#cb328-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
-<span id="cb328-11"><a href="#cb328-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb328-12"><a href="#cb328-12" aria-hidden="true"></a></span>
-<span id="cb328-13"><a href="#cb328-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb350"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb350-1"><a href="#cb350-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb350-2"><a href="#cb350-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[hybrid]{<span class="ex">markdown</span>}</span>
+<span id="cb350-3"><a href="#cb350-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb350-4"><a href="#cb350-4" aria-hidden="true"></a></span>
+<span id="cb350-5"><a href="#cb350-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb350-6"><a href="#cb350-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb350-7"><a href="#cb350-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb350-8"><a href="#cb350-8" aria-hidden="true"></a></span>
+<span id="cb350-9"><a href="#cb350-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{underscores=false}</span>
+<span id="cb350-10"><a href="#cb350-10" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb350-11"><a href="#cb350-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb350-12"><a href="#cb350-12" aria-hidden="true"></a></span>
+<span id="cb350-13"><a href="#cb350-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb329"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb329-1"><a href="#cb329-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb351"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb351-1"><a href="#cb351-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
<p>This is <em>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-27">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-31">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="cb330"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb330-1"><a href="#cb330-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb330-2"><a href="#cb330-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb330-3"><a href="#cb330-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb330-4"><a href="#cb330-4" aria-hidden="true"></a></span>
-<span id="cb330-5"><a href="#cb330-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb330-6"><a href="#cb330-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
-<span id="cb330-7"><a href="#cb330-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb330-8"><a href="#cb330-8" aria-hidden="true"></a></span>
-<span id="cb330-9"><a href="#cb330-9" aria-hidden="true"></a><span class="fu">\def\markdownOptionUnderscores</span>{false}</span>
-<span id="cb330-10"><a href="#cb330-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb330-11"><a href="#cb330-11" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
-<span id="cb330-12"><a href="#cb330-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb330-13"><a href="#cb330-13" aria-hidden="true"></a></span>
-<span id="cb330-14"><a href="#cb330-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb352"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb352-1"><a href="#cb352-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb352-2"><a href="#cb352-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[hybrid = yes]</span>
+<span id="cb352-3"><a href="#cb352-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb352-4"><a href="#cb352-4" aria-hidden="true"></a></span>
+<span id="cb352-5"><a href="#cb352-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb352-6"><a href="#cb352-6" aria-hidden="true"></a>This is _emphasized text_ and this is a math subscript: <span class="ss">$m</span><span class="sc">\_</span><span class="ss">n$</span>.</span>
+<span id="cb352-7"><a href="#cb352-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb352-8"><a href="#cb352-8" aria-hidden="true"></a></span>
+<span id="cb352-9"><a href="#cb352-9" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[underscores = yes]</span>
+<span id="cb352-10"><a href="#cb352-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb352-11"><a href="#cb352-11" aria-hidden="true"></a>This is *emphasized text* and this is a math subscript: <span class="ss">$m_n$</span>.</span>
+<span id="cb352-12"><a href="#cb352-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb352-13"><a href="#cb352-13" aria-hidden="true"></a></span>
+<span id="cb352-14"><a href="#cb352-14" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb331"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb331-1"><a href="#cb331-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb353"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb353-1"><a href="#cb353-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>emphasized text</em> and this is a math subscript: <em>mₙ</em>.</p>
@@ -3991,7 +4211,7 @@ Thomas,Edison,1847</code></pre>
<p>Plain <span class="tex">T<sub>e</sub>X</span> options control the communication between the <span class="tex">T<sub>e</sub>X</span> interface and the <code>markdown</code> Lua module. They are supported by all higher-level interfaces of the Markdown package, i.e. the 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 interfaces.</p>
<h4 data-number="2.2.2.1" id="setting-lua-options-from-plain-tex"><span class="header-section-number">2.2.2.1</span> Setting Lua options from plain <span class="tex">T<sub>e</sub>X</span></h4>
<p>As a rule of thumb, you can set all Lua options directly from plain <span class="tex">T<sub>e</sub>X</span>. For example, to set the <strong><code>taskLists</code></strong> Lua option to <code>true</code>, you would include the following code in your plain <span class="tex">T<sub>e</sub>X</span> document:</p>
-<div class="sourceCode" id="cb332"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb332-1"><a href="#cb332-1" aria-hidden="true"></a><span class="fu">\def\markdownOptionTaskLists</span>{true}</span></code></pre></div>
+<div class="sourceCode" id="cb354"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb354-1"><a href="#cb354-1" aria-hidden="true"></a><span class="fu">\def\markdownOptionTaskLists</span>{true}</span></code></pre></div>
<h4 data-number="2.2.2.2" id="finalizing-and-freezing-the-cache"><span class="header-section-number">2.2.2.2</span> Finalizing and Freezing the Cache</h4>
<p>The <code>\markdownOptionFrozenCache</code> option uses the mapping previously created by the Lua interface <strong><code>finalizeCache</code></strong> option, and uses it to typeset the plain <span class="tex">T<sub>e</sub>X</span> document without invoking Lua. As a result, the plain <span class="tex">T<sub>e</sub>X</span> document becomes more portable, but further changes in the order and the content of markdown documents will not be reflected. It defaults to <code>false</code>.</p>
<p>The standard usage of the <strong><code>finalizeCache</code></strong> and <strong><code>frozenCache</code></strong> options is as follows:</p>
@@ -3999,7 +4219,7 @@ Thomas,Edison,1847</code></pre>
<li>Remove the <strong><code>cacheDir</code></strong> cache directory with stale auxiliary cache files.</li>
<li>Enable the <strong><code>finalizeCache</code></strong> option.</li>
<li>Typeset the plain <span class="tex">T<sub>e</sub>X</span> document to populate and finalize the cache.</li>
-<li>Enable the option.</li>
+<li>Enable the <code>\markdownOptionFrozenCache</code> option.</li>
<li>Publish the source code of the plain <span class="tex">T<sub>e</sub>X</span> document and the <strong><code>cacheDir</code></strong> directory.</li>
</ol>
<p>For more information, see the examples for the <strong><code>finalizeCache</code></strong> option.</p>
@@ -4016,134 +4236,134 @@ Thomas,Edison,1847</code></pre>
</ul>
<p>The <code>\markdownOptionCacheDir</code> and <code>\markdownOptionFrozenCacheFileName</code> commands correspond to the <code>cacheDir</code> and <code>frozenCacheFileName</code> Lua options.</p>
<p>Using a text editor, create a folder named <code>output-directory</code> and 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"><span id="cb333-1"><a href="#cb333-1" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb333-2"><a href="#cb333-2" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb333-3"><a href="#cb333-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionHelperScriptFileName</span>{helper-script.lua}</span>
-<span id="cb333-4"><a href="#cb333-4" aria-hidden="true"></a><span class="fu">\def\markdownOptionInputTempFileName</span>{temporary-input.md}</span>
-<span id="cb333-5"><a href="#cb333-5" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputTempFileName</span>{temporary-output.tex}</span>
-<span id="cb333-6"><a href="#cb333-6" aria-hidden="true"></a><span class="fu">\def\markdownOptionErrorTempFileName</span>{error-output.txt}</span>
-<span id="cb333-7"><a href="#cb333-7" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputDir</span>{output-directory}</span>
-<span id="cb333-8"><a href="#cb333-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{output-directory/cache-directory}</span>
-<span id="cb333-9"><a href="#cb333-9" aria-hidden="true"></a><span class="fu">\markdownOptionFinalizeCachetrue</span></span>
-<span id="cb333-10"><a href="#cb333-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{output-directory/cache-directory/frozen-cache.tex}</span>
-<span id="cb333-11"><a href="#cb333-11" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb333-12"><a href="#cb333-12" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb333-13"><a href="#cb333-13" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb333-14"><a href="#cb333-14" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb334"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb334-1"><a href="#cb334-1" aria-hidden="true"></a><span class="ex">luatex</span> --output-directory output-directory document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb355"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb355-1"><a href="#cb355-1" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb355-2"><a href="#cb355-2" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb355-3"><a href="#cb355-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionHelperScriptFileName</span>{helper-script.lua}</span>
+<span id="cb355-4"><a href="#cb355-4" aria-hidden="true"></a><span class="fu">\def\markdownOptionInputTempFileName</span>{temporary-input.md}</span>
+<span id="cb355-5"><a href="#cb355-5" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputTempFileName</span>{temporary-output.tex}</span>
+<span id="cb355-6"><a href="#cb355-6" aria-hidden="true"></a><span class="fu">\def\markdownOptionErrorTempFileName</span>{error-output.txt}</span>
+<span id="cb355-7"><a href="#cb355-7" aria-hidden="true"></a><span class="fu">\def\markdownOptionOutputDir</span>{output-directory}</span>
+<span id="cb355-8"><a href="#cb355-8" aria-hidden="true"></a><span class="fu">\def\markdownOptionCacheDir</span>{output-directory/cache-directory}</span>
+<span id="cb355-9"><a href="#cb355-9" aria-hidden="true"></a><span class="fu">\markdownOptionFinalizeCachetrue</span></span>
+<span id="cb355-10"><a href="#cb355-10" aria-hidden="true"></a><span class="fu">\def\markdownOptionFrozenCacheFileName</span>{output-directory/cache-directory/frozen-cache.tex}</span>
+<span id="cb355-11"><a href="#cb355-11" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb355-12"><a href="#cb355-12" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb355-13"><a href="#cb355-13" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb355-14"><a href="#cb355-14" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb356"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb356-1"><a href="#cb356-1" aria-hidden="true"></a><span class="ex">luatex</span> --output-directory output-directory document.tex</span></code></pre></div>
<p>A text document named <code>temporary-input.md</code> should be produced in the folder named <code>output-directory</code> and contain the following text:</p>
<blockquote>
<p>Hello *world*!</p>
</blockquote>
<p>A folder named <code>output-directory/cache-directory</code> should also be produced and contain fragments of the converted markdown document. LuaTeX does not need other temporary files to perform the conversion from markdown to <span class="tex">T<sub>e</sub>X</span>. To produce the remaining temporary files, invoke pdfTeX from the terminal:</p>
-<div class="sourceCode" id="cb335"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb335-1"><a href="#cb335-1" aria-hidden="true"></a><span class="ex">pdftex</span> --output-directory output-directory --shell-escape document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb357"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb357-1"><a href="#cb357-1" aria-hidden="true"></a><span class="ex">pdftex</span> --output-directory output-directory --shell-escape document.tex</span></code></pre></div>
<p>Text documents named <code>helper-script.lua</code>, and <code>temporary-output.md</code> should be produced in the folder named <code>output-directory</code>. The document named <code>helper-script.lua</code> will contain Lua code that was executed to convert markdown to plain <span class="tex">T<sub>e</sub>X</span>. The document named <code>temporary-output.tex</code> will contain the input markdown document converted to <span class="tex">T<sub>e</sub>X</span>.</p>
<p>No document named <code>error-output.txt</code> should be produced in the folder named <code>output-directory</code>. This document would only be produced if an error had occured while executing the Lua code. If this happens, please <a href="https://github.com/witiko/markdown/issues">file a bug</a>.</p>
<h4 data-number="2.2.2.4" id="package-documentation"><span class="header-section-number">2.2.2.4</span> Package Documentation</h4>
<p>The <code>\markdownOptionStripPercentSigns</code> macro controls whether a percent sign (<code>\%</code>) at the beginning of a line will be discarded when reading Markdown input from a <span class="tex">T<sub>e</sub>X</span> document. This enables the use of markdown when writing <span class="tex">T<sub>e</sub>X</span> package documentation using the <a href="https://ctan.org/pkg/doc" title="doc – Format LaTeX documentation">Doc <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package</a> by Frank Mittelbach. The recognized values of the macro are <code>true</code> (discard) and <code>false</code> (retain). It defaults to <code>false</code>.</p>
<p>Using a text editor, create a text document named <code>document.dtx</code> with the following content:</p>
-<div class="sourceCode" id="cb336"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb336-1"><a href="#cb336-1" aria-hidden="true"></a><span class="co">% \iffalse</span></span>
-<span id="cb336-2"><a href="#cb336-2" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">ltxdoc</span>}</span>
-<span id="cb336-3"><a href="#cb336-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripPercentSigns]{<span class="ex">markdown</span>}</span>
-<span id="cb336-4"><a href="#cb336-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb336-5"><a href="#cb336-5" aria-hidden="true"></a><span class="fu">\DocInput</span>{document.dtx}</span>
-<span id="cb336-6"><a href="#cb336-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span>
-<span id="cb336-7"><a href="#cb336-7" aria-hidden="true"></a><span class="co">% \fi</span></span>
-<span id="cb336-8"><a href="#cb336-8" aria-hidden="true"></a><span class="co">%</span></span>
-<span id="cb336-9"><a href="#cb336-9" aria-hidden="true"></a><span class="co">% \begin{markdown}</span></span>
-<span id="cb336-10"><a href="#cb336-10" aria-hidden="true"></a><span class="co">% Hello *world*!</span></span>
-<span id="cb336-11"><a href="#cb336-11" aria-hidden="true"></a><span class="co">% \end{markdown}</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb337"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb337-1"><a href="#cb337-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.dtx</span></code></pre></div>
+<div class="sourceCode" id="cb358"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb358-1"><a href="#cb358-1" aria-hidden="true"></a><span class="co">% \iffalse</span></span>
+<span id="cb358-2"><a href="#cb358-2" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">ltxdoc</span>}</span>
+<span id="cb358-3"><a href="#cb358-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[stripPercentSigns]{<span class="ex">markdown</span>}</span>
+<span id="cb358-4"><a href="#cb358-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb358-5"><a href="#cb358-5" aria-hidden="true"></a><span class="fu">\DocInput</span>{document.dtx}</span>
+<span id="cb358-6"><a href="#cb358-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span>
+<span id="cb358-7"><a href="#cb358-7" aria-hidden="true"></a><span class="co">% \fi</span></span>
+<span id="cb358-8"><a href="#cb358-8" aria-hidden="true"></a><span class="co">%</span></span>
+<span id="cb358-9"><a href="#cb358-9" aria-hidden="true"></a><span class="co">% \begin{markdown}</span></span>
+<span id="cb358-10"><a href="#cb358-10" aria-hidden="true"></a><span class="co">% Hello *world*!</span></span>
+<span id="cb358-11"><a href="#cb358-11" aria-hidden="true"></a><span class="co">% \end{markdown}</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb359"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb359-1"><a href="#cb359-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.dtx</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the text “Hello <em>world</em>!”</p>
<h3 data-number="2.2.3" id="latex-1"><span class="header-section-number">2.2.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h3>
<p><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> options allow us to disable the redefinition of the default renderer prototypes from plain <span class="tex">T<sub>e</sub>X</span>, load user-contributed themes, and invoke user-defined setup snippets.</p>
<h4 data-number="2.2.3.1" id="setting-lua-and-plain-tex-options-from-latex"><span class="header-section-number">2.2.3.1</span> Setting Lua and plain <span class="tex">T<sub>e</sub>X</span> options from <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></h4>
<p>As a rule of thumb, we can set all Lua options directly from <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>. For example, to set the <strong><code>taskLists</code></strong> Lua option to <code>true</code>, we would include the following code in our <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document:</p>
-<div class="sourceCode" id="cb338"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb338-1"><a href="#cb338-1" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb338-2"><a href="#cb338-2" aria-hidden="true"></a> taskLists = true,</span>
-<span id="cb338-3"><a href="#cb338-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb360"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb360-1"><a href="#cb360-1" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb360-2"><a href="#cb360-2" aria-hidden="true"></a> taskLists = true,</span>
+<span id="cb360-3"><a href="#cb360-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>We can also set all plain <span class="tex">T<sub>e</sub>X</span> options directly from <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>. For example, to set the <code>\markdownOptionHelperScriptFileName</code> plain <span class="tex">T<sub>e</sub>X</span> option to <code>helper-script.lua</code>, we would inclde the following code in our <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document:</p>
-<div class="sourceCode" id="cb339"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb339-1"><a href="#cb339-1" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb339-2"><a href="#cb339-2" aria-hidden="true"></a> helperScriptFileName = helper-script.lua,</span>
-<span id="cb339-3"><a href="#cb339-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb361"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb361-1"><a href="#cb361-1" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb361-2"><a href="#cb361-2" aria-hidden="true"></a> helperScriptFileName = helper-script.lua,</span>
+<span id="cb361-3"><a href="#cb361-3" aria-hidden="true"></a>}</span></code></pre></div>
<h4 data-number="2.2.3.2" id="latexplain"><span class="header-section-number">2.2.3.2</span> No default token renderer prototypes</h4>
<p>Default token renderer prototypes require <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> packages that may clash with other packages used in a document. Additionally, if we redefine token renderers and renderer prototypes ourselves, the default definitions will bring no benefit to us. Using the <code>plain</code> package option, we can keep the default definitions from the plain <span class="tex">T<sub>e</sub>X</span> implementation and prevent the soft <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> prerequisites from being loaded: The plain option must be set before or when loading the package. Setting the option after loading the package will have no effect.</p>
-<div class="sourceCode" id="cb340"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb340-1"><a href="#cb340-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[plain]{<span class="ex">markdown</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb362"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb362-1"><a href="#cb362-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[plain]{<span class="ex">markdown</span>}</span></code></pre></div>
<h4 data-number="2.2.3.3" id="latexthemes"><span class="header-section-number">2.2.3.3</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes</h4>
<p>User-contributed <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes for the Markdown package provide a domain-specific interpretation of some Markdown tokens. Similarly to <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> packages, themes allow the authors to achieve a specific look and other high-level goals without low-level programming.</p>
<p>For example, to load themes named <code>witiko/beamer/MU</code> and <code>witiko/dot</code>, you would use the following code in the preamble of your document:</p>
-<div class="sourceCode" id="cb341"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb341-1"><a href="#cb341-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
-<span id="cb341-2"><a href="#cb341-2" aria-hidden="true"></a> theme = witiko/beamer/MU,</span>
-<span id="cb341-3"><a href="#cb341-3" aria-hidden="true"></a> theme = witiko/dot,</span>
-<span id="cb341-4"><a href="#cb341-4" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb363"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb363-1"><a href="#cb363-1" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
+<span id="cb363-2"><a href="#cb363-2" aria-hidden="true"></a> theme = witiko/beamer/MU,</span>
+<span id="cb363-3"><a href="#cb363-3" aria-hidden="true"></a> theme = witiko/dot,</span>
+<span id="cb363-4"><a href="#cb363-4" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span></code></pre></div>
<p>Due to limitations of <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, themes may not be loaded after the beginning of a <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> document.</p>
<p>Example themes provided with the Markdown package include:</p>
<dl>
<dt><strong><code>witiko/dot</code></strong></dt>
-<dd><p>A theme that typesets fenced code blocks with the <code>dot …</code> infostring as images of directed graphs rendered by the Graphviz tools. The right tail of the infostring is used as the image title. The theme requires a Unix-like operating system with GNU Diffutils and Graphviz installed. The theme also requires shell access unless the plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
+<dd><p>A theme that typesets fenced code blocks with the <code>dot …</code> infostring as images of directed graphs rendered by the Graphviz tools. The right tail of the infostring is used as the image title. The theme requires a Unix-like operating system with GNU Diffutils and Graphviz installed. The theme also requires shell access unless the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-34"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-38"><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="cb342"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb342-1"><a href="#cb342-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb342-2"><a href="#cb342-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/dot]{<span class="ex">markdown</span>}</span>
-<span id="cb342-3"><a href="#cb342-3" aria-hidden="true"></a><span class="fu">\setkeys</span>{Gin}{</span>
-<span id="cb342-4"><a href="#cb342-4" aria-hidden="true"></a> width=<span class="fu">\columnwidth</span>,</span>
-<span id="cb342-5"><a href="#cb342-5" aria-hidden="true"></a> height=0.65<span class="fu">\paperheight</span>,</span>
-<span id="cb342-6"><a href="#cb342-6" aria-hidden="true"></a> keepaspectratio}</span>
-<span id="cb342-7"><a href="#cb342-7" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb342-8"><a href="#cb342-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb342-9"><a href="#cb342-9" aria-hidden="true"></a>``` dot Various formats of mathemathical formulae</span>
-<span id="cb342-10"><a href="#cb342-10" aria-hidden="true"></a>digraph tree {</span>
-<span id="cb342-11"><a href="#cb342-11" aria-hidden="true"></a> margin = 0;</span>
-<span id="cb342-12"><a href="#cb342-12" aria-hidden="true"></a> rankdir = &quot;LR&quot;;</span>
-<span id="cb342-13"><a href="#cb342-13" aria-hidden="true"></a></span>
-<span id="cb342-14"><a href="#cb342-14" aria-hidden="true"></a> latex -&gt; pmml;</span>
-<span id="cb342-15"><a href="#cb342-15" aria-hidden="true"></a> latex -&gt; cmml;</span>
-<span id="cb342-16"><a href="#cb342-16" aria-hidden="true"></a> pmml -&gt; slt;</span>
-<span id="cb342-17"><a href="#cb342-17" aria-hidden="true"></a> cmml -&gt; opt;</span>
-<span id="cb342-18"><a href="#cb342-18" aria-hidden="true"></a> cmml -&gt; prefix;</span>
-<span id="cb342-19"><a href="#cb342-19" aria-hidden="true"></a> cmml -&gt; infix;</span>
-<span id="cb342-20"><a href="#cb342-20" aria-hidden="true"></a> pmml -&gt; mterms [style=dashed];</span>
-<span id="cb342-21"><a href="#cb342-21" aria-hidden="true"></a> cmml -&gt; mterms;</span>
-<span id="cb342-22"><a href="#cb342-22" aria-hidden="true"></a></span>
-<span id="cb342-23"><a href="#cb342-23" aria-hidden="true"></a> latex [label = &quot;LaTeX&quot;];</span>
-<span id="cb342-24"><a href="#cb342-24" aria-hidden="true"></a> pmml [label = &quot;Presentation MathML&quot;];</span>
-<span id="cb342-25"><a href="#cb342-25" aria-hidden="true"></a> cmml [label = &quot;Content MathML&quot;];</span>
-<span id="cb342-26"><a href="#cb342-26" aria-hidden="true"></a> slt [label = &quot;Symbol Layout Tree&quot;];</span>
-<span id="cb342-27"><a href="#cb342-27" aria-hidden="true"></a> opt [label = &quot;Operator Tree&quot;];</span>
-<span id="cb342-28"><a href="#cb342-28" aria-hidden="true"></a> prefix [label = &quot;Prefix&quot;];</span>
-<span id="cb342-29"><a href="#cb342-29" aria-hidden="true"></a> infix [label = &quot;Infix&quot;];</span>
-<span id="cb342-30"><a href="#cb342-30" aria-hidden="true"></a> mterms [label = &quot;M-Terms&quot;];</span>
-<span id="cb342-31"><a href="#cb342-31" aria-hidden="true"></a>}</span>
-<span id="cb342-32"><a href="#cb342-32" aria-hidden="true"></a>```</span>
-<span id="cb342-33"><a href="#cb342-33" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb342-34"><a href="#cb342-34" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb343"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb343-1"><a href="#cb343-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb364"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb364-1"><a href="#cb364-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb364-2"><a href="#cb364-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/dot]{<span class="ex">markdown</span>}</span>
+<span id="cb364-3"><a href="#cb364-3" aria-hidden="true"></a><span class="fu">\setkeys</span>{Gin}{</span>
+<span id="cb364-4"><a href="#cb364-4" aria-hidden="true"></a> width=<span class="fu">\columnwidth</span>,</span>
+<span id="cb364-5"><a href="#cb364-5" aria-hidden="true"></a> height=0.65<span class="fu">\paperheight</span>,</span>
+<span id="cb364-6"><a href="#cb364-6" aria-hidden="true"></a> keepaspectratio}</span>
+<span id="cb364-7"><a href="#cb364-7" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb364-8"><a href="#cb364-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb364-9"><a href="#cb364-9" aria-hidden="true"></a>``` dot Various formats of mathemathical formulae</span>
+<span id="cb364-10"><a href="#cb364-10" aria-hidden="true"></a>digraph tree {</span>
+<span id="cb364-11"><a href="#cb364-11" aria-hidden="true"></a> margin = 0;</span>
+<span id="cb364-12"><a href="#cb364-12" aria-hidden="true"></a> rankdir = &quot;LR&quot;;</span>
+<span id="cb364-13"><a href="#cb364-13" aria-hidden="true"></a></span>
+<span id="cb364-14"><a href="#cb364-14" aria-hidden="true"></a> latex -&gt; pmml;</span>
+<span id="cb364-15"><a href="#cb364-15" aria-hidden="true"></a> latex -&gt; cmml;</span>
+<span id="cb364-16"><a href="#cb364-16" aria-hidden="true"></a> pmml -&gt; slt;</span>
+<span id="cb364-17"><a href="#cb364-17" aria-hidden="true"></a> cmml -&gt; opt;</span>
+<span id="cb364-18"><a href="#cb364-18" aria-hidden="true"></a> cmml -&gt; prefix;</span>
+<span id="cb364-19"><a href="#cb364-19" aria-hidden="true"></a> cmml -&gt; infix;</span>
+<span id="cb364-20"><a href="#cb364-20" aria-hidden="true"></a> pmml -&gt; mterms [style=dashed];</span>
+<span id="cb364-21"><a href="#cb364-21" aria-hidden="true"></a> cmml -&gt; mterms;</span>
+<span id="cb364-22"><a href="#cb364-22" aria-hidden="true"></a></span>
+<span id="cb364-23"><a href="#cb364-23" aria-hidden="true"></a> latex [label = &quot;LaTeX&quot;];</span>
+<span id="cb364-24"><a href="#cb364-24" aria-hidden="true"></a> pmml [label = &quot;Presentation MathML&quot;];</span>
+<span id="cb364-25"><a href="#cb364-25" aria-hidden="true"></a> cmml [label = &quot;Content MathML&quot;];</span>
+<span id="cb364-26"><a href="#cb364-26" aria-hidden="true"></a> slt [label = &quot;Symbol Layout Tree&quot;];</span>
+<span id="cb364-27"><a href="#cb364-27" aria-hidden="true"></a> opt [label = &quot;Operator Tree&quot;];</span>
+<span id="cb364-28"><a href="#cb364-28" aria-hidden="true"></a> prefix [label = &quot;Prefix&quot;];</span>
+<span id="cb364-29"><a href="#cb364-29" aria-hidden="true"></a> infix [label = &quot;Infix&quot;];</span>
+<span id="cb364-30"><a href="#cb364-30" aria-hidden="true"></a> mterms [label = &quot;M-Terms&quot;];</span>
+<span id="cb364-31"><a href="#cb364-31" aria-hidden="true"></a>}</span>
+<span id="cb364-32"><a href="#cb364-32" aria-hidden="true"></a>```</span>
+<span id="cb364-33"><a href="#cb364-33" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb364-34"><a href="#cb364-34" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb365"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb365-1"><a href="#cb365-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain a drawing of a directed graph similar to Figure 1 from the following conference article:</p>
<blockquote>
<p>NOVOTNÝ, Vít, Petr SOJKA, Michal ŠTEFÁNIK and Dávid LUPTÁK. Three is Better than One: Ensembling Math Information Retrieval Systems. <em>CEUR Workshop Proceedings</em>. Thessaloniki, Greece: M. Jeusfeld c/o Redaktion Sun SITE, Informatik V, RWTH Aachen., 2020, vol. 2020, No 2696, p. 1-30. ISSN 1613-0073. <a href="http://ceur-ws.org/Vol-2696/paper_235.pdf" class="uri">http://ceur-ws.org/Vol-2696/paper_235.pdf</a></p>
</blockquote>
<dl>
<dt><strong><code>witiko/graphicx/http</code></strong></dt>
-<dd><p>A theme that adds support for downloading images whose URL has the http or https protocol. The theme requires the <strong><code>catchfile</code></strong> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package and a Unix-like operating system with GNU Coreutils <code>md5sum</code> and either GNU Wget or cURL installed. The theme also requires shell access unless the plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
+<dd><p>A theme that adds support for downloading images whose URL has the http or https protocol. The theme requires the <strong><code>catchfile</code></strong> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> package and a Unix-like operating system with GNU Coreutils <code>md5sum</code> and either GNU Wget or cURL installed. The theme also requires shell access unless the <code>\markdownOptionFrozenCache</code> plain <span class="tex">T<sub>e</sub>X</span> option is enabled.</p>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-35"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-39"><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="cb344"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb344-1"><a href="#cb344-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb344-2"><a href="#cb344-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/graphicx/http]{<span class="ex">markdown</span>}</span>
-<span id="cb344-3"><a href="#cb344-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb344-4"><a href="#cb344-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb344-5"><a href="#cb344-5" aria-hidden="true"></a>![img](https://github.com/witiko/markdown/raw/main/markdown.png</span>
-<span id="cb344-6"><a href="#cb344-6" aria-hidden="true"></a> &quot;The banner of the Markdown package&quot;)</span>
-<span id="cb344-7"><a href="#cb344-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb344-8"><a href="#cb344-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb366"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb366-1"><a href="#cb366-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb366-2"><a href="#cb366-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/graphicx/http]{<span class="ex">markdown</span>}</span>
+<span id="cb366-3"><a href="#cb366-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb366-4"><a href="#cb366-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb366-5"><a href="#cb366-5" aria-hidden="true"></a>![img](https://github.com/witiko/markdown/raw/main/markdown.png</span>
+<span id="cb366-6"><a href="#cb366-6" aria-hidden="true"></a> &quot;The banner of the Markdown package&quot;)</span>
+<span id="cb366-7"><a href="#cb366-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb366-8"><a href="#cb366-8" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb345"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb345-1"><a href="#cb345-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb367"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb367-1"><a href="#cb367-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following image:</p>
<blockquote>
<figure>
@@ -4152,20 +4372,20 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<dl>
<dt><strong><code>witiko/tilde</code></strong></dt>
-<dd><p>A theme that makes tilde (<code>~</code>) always typeset the non-breaking space even when the <strong><code>hybrid</code></strong> Lua option is <code>false</code>.</p>
+<dd><p>A theme that makes tilde (<code>~</code>) always typeset the non-breaking space even when the <strong><code>hybrid</code></strong> Lua option is disabled.</p>
</dd>
</dl>
-<h5 class="unnumbered" data-number="" id="latex-example-36"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-40"><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="cb346"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb346-1"><a href="#cb346-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb346-2"><a href="#cb346-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/tilde]{<span class="ex">markdown</span>}</span>
-<span id="cb346-3"><a href="#cb346-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb346-4"><a href="#cb346-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb346-5"><a href="#cb346-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
-<span id="cb346-6"><a href="#cb346-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb346-7"><a href="#cb346-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb368"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb368-1"><a href="#cb368-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb368-2"><a href="#cb368-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[theme=witiko/tilde]{<span class="ex">markdown</span>}</span>
+<span id="cb368-3"><a href="#cb368-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb368-4"><a href="#cb368-4" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb368-5"><a href="#cb368-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb368-6"><a href="#cb368-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb368-7"><a href="#cb368-7" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb347"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb347-1"><a href="#cb347-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb369"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb369-1"><a href="#cb369-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
@@ -4173,53 +4393,53 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.2.3.4" id="latexsetupsnippets"><span class="header-section-number">2.2.3.4</span> <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> setup snippets</h4>
<p>User-contributed <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> themes provide global control over high-level goals. However, it is often desirable to change only some local aspects of a document. <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> setup snippets provide syntactic sugar for defining and invoking various options locally.</p>
<p>Here is how we can use setup snippets to store options and invoke them later:</p>
-<div class="sourceCode" id="cb348"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb348-1"><a href="#cb348-1" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{romanNumerals}{</span>
-<span id="cb348-2"><a href="#cb348-2" aria-hidden="true"></a> renderers = {</span>
-<span id="cb348-3"><a href="#cb348-3" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
-<span id="cb348-4"><a href="#cb348-4" aria-hidden="true"></a> <span class="fu">\item</span>[<span class="fu">\romannumeral</span>#1<span class="fu">\relax</span>.]<span class="co">%</span></span>
-<span id="cb348-5"><a href="#cb348-5" aria-hidden="true"></a> },</span>
-<span id="cb348-6"><a href="#cb348-6" aria-hidden="true"></a> },</span>
-<span id="cb348-7"><a href="#cb348-7" aria-hidden="true"></a>}</span>
-<span id="cb348-8"><a href="#cb348-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb348-9"><a href="#cb348-9" aria-hidden="true"></a></span>
-<span id="cb348-10"><a href="#cb348-10" aria-hidden="true"></a>The following ordered list will be preceded by arabic numerals:</span>
-<span id="cb348-11"><a href="#cb348-11" aria-hidden="true"></a></span>
-<span id="cb348-12"><a href="#cb348-12" aria-hidden="true"></a>1. wahid</span>
-<span id="cb348-13"><a href="#cb348-13" aria-hidden="true"></a>2. aithnayn</span>
-<span id="cb348-14"><a href="#cb348-14" aria-hidden="true"></a></span>
-<span id="cb348-15"><a href="#cb348-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb348-16"><a href="#cb348-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{snippet=romanNumerals}</span>
-<span id="cb348-17"><a href="#cb348-17" aria-hidden="true"></a></span>
-<span id="cb348-18"><a href="#cb348-18" aria-hidden="true"></a>The following ordered list will be preceded by roman numerals:</span>
-<span id="cb348-19"><a href="#cb348-19" aria-hidden="true"></a></span>
-<span id="cb348-20"><a href="#cb348-20" aria-hidden="true"></a>3. tres</span>
-<span id="cb348-21"><a href="#cb348-21" aria-hidden="true"></a>4. quattuor</span>
-<span id="cb348-22"><a href="#cb348-22" aria-hidden="true"></a></span>
-<span id="cb348-23"><a href="#cb348-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb370"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb370-1"><a href="#cb370-1" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{romanNumerals}{</span>
+<span id="cb370-2"><a href="#cb370-2" aria-hidden="true"></a> renderers = {</span>
+<span id="cb370-3"><a href="#cb370-3" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb370-4"><a href="#cb370-4" aria-hidden="true"></a> <span class="fu">\item</span>[<span class="fu">\romannumeral</span>#1<span class="fu">\relax</span>.]<span class="co">%</span></span>
+<span id="cb370-5"><a href="#cb370-5" aria-hidden="true"></a> },</span>
+<span id="cb370-6"><a href="#cb370-6" aria-hidden="true"></a> },</span>
+<span id="cb370-7"><a href="#cb370-7" aria-hidden="true"></a>}</span>
+<span id="cb370-8"><a href="#cb370-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb370-9"><a href="#cb370-9" aria-hidden="true"></a></span>
+<span id="cb370-10"><a href="#cb370-10" aria-hidden="true"></a>The following ordered list will be preceded by arabic numerals:</span>
+<span id="cb370-11"><a href="#cb370-11" aria-hidden="true"></a></span>
+<span id="cb370-12"><a href="#cb370-12" aria-hidden="true"></a>1. wahid</span>
+<span id="cb370-13"><a href="#cb370-13" aria-hidden="true"></a>2. aithnayn</span>
+<span id="cb370-14"><a href="#cb370-14" aria-hidden="true"></a></span>
+<span id="cb370-15"><a href="#cb370-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb370-16"><a href="#cb370-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{snippet=romanNumerals}</span>
+<span id="cb370-17"><a href="#cb370-17" aria-hidden="true"></a></span>
+<span id="cb370-18"><a href="#cb370-18" aria-hidden="true"></a>The following ordered list will be preceded by roman numerals:</span>
+<span id="cb370-19"><a href="#cb370-19" aria-hidden="true"></a></span>
+<span id="cb370-20"><a href="#cb370-20" aria-hidden="true"></a>3. tres</span>
+<span id="cb370-21"><a href="#cb370-21" aria-hidden="true"></a>4. quattuor</span>
+<span id="cb370-22"><a href="#cb370-22" aria-hidden="true"></a></span>
+<span id="cb370-23"><a href="#cb370-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span></code></pre></div>
<h2 data-number="2.3" id="markdown-tokens"><span class="header-section-number">2.3</span> Markdown Tokens</h2>
<p>A key feature of the Markdown package is the support for manipulating markdown tokens, such as headings, emphasized text, links, and lists, in <span class="tex">T<sub>e</sub>X</span>. Instead of reducing <span class="tex">T<sub>e</sub>X</span> to a PDF document producer, the Markdown package allows the user to specify how every markdown token should be processed and rendered.</p>
<h3 data-number="2.3.1" id="texrenderersuser"><span class="header-section-number">2.3.1</span> Token Renderers</h3>
<p>Token renderers are user-defined <span class="tex">T<sub>e</sub>X</span> macros, which render markdown tokens. In this section, I will describe the individual token renderers.</p>
<h4 data-number="2.3.1.1" id="tickbox-renderers"><span class="header-section-number">2.3.1.1</span> Tickbox Renderers</h4>
<p>The macros named <code>\markdownRendererTickedBox</code>, <code>\markdownRendererHalfTickedBox</code>, and <code>\markdownRendererUntickedBox</code> represent ticked and unticked boxes, respectively. These macros will either be produced, when the <strong><code>taskLists</code></strong> option is enabled, or when the Ballot Box with X (☒, U+2612), Hourglass (⌛, U+231B) or Ballot Box (☐, U+2610) Unicode characters are encountered in the markdown input, respectively.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-37"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-41"><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="cb349"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb349-1"><a href="#cb349-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb349-2"><a href="#cb349-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[taskLists]{<span class="ex">markdown</span>}</span>
-<span id="cb349-3"><a href="#cb349-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb349-4"><a href="#cb349-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb349-5"><a href="#cb349-5" aria-hidden="true"></a> untickedBox = No,</span>
-<span id="cb349-6"><a href="#cb349-6" aria-hidden="true"></a> tickedBox = Yes,</span>
-<span id="cb349-7"><a href="#cb349-7" aria-hidden="true"></a> },</span>
-<span id="cb349-8"><a href="#cb349-8" aria-hidden="true"></a>}</span>
-<span id="cb349-9"><a href="#cb349-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb349-10"><a href="#cb349-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb349-11"><a href="#cb349-11" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
-<span id="cb349-12"><a href="#cb349-12" aria-hidden="true"></a>- [x] I can!</span>
-<span id="cb349-13"><a href="#cb349-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb349-14"><a href="#cb349-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb371"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb371-1"><a href="#cb371-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb371-2"><a href="#cb371-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[taskLists]{<span class="ex">markdown</span>}</span>
+<span id="cb371-3"><a href="#cb371-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb371-4"><a href="#cb371-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb371-5"><a href="#cb371-5" aria-hidden="true"></a> untickedBox = No,</span>
+<span id="cb371-6"><a href="#cb371-6" aria-hidden="true"></a> tickedBox = Yes,</span>
+<span id="cb371-7"><a href="#cb371-7" aria-hidden="true"></a> },</span>
+<span id="cb371-8"><a href="#cb371-8" aria-hidden="true"></a>}</span>
+<span id="cb371-9"><a href="#cb371-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb371-10"><a href="#cb371-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb371-11"><a href="#cb371-11" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
+<span id="cb371-12"><a href="#cb371-12" aria-hidden="true"></a>- [x] I can!</span>
+<span id="cb371-13"><a href="#cb371-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb371-14"><a href="#cb371-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb350"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb350-1"><a href="#cb350-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb372"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb372-1"><a href="#cb372-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<ul>
@@ -4227,20 +4447,20 @@ Thomas,Edison,1847</code></pre>
<li>Yes I can!</li>
</ul>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-28">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-32">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="cb351"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb351-1"><a href="#cb351-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb351-2"><a href="#cb351-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTaskLists</span>{true}</span>
-<span id="cb351-3"><a href="#cb351-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererUntickedBox</span>{No}</span>
-<span id="cb351-4"><a href="#cb351-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererTickedBox</span>{Yes}</span>
-<span id="cb351-5"><a href="#cb351-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb351-6"><a href="#cb351-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb351-7"><a href="#cb351-7" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
-<span id="cb351-8"><a href="#cb351-8" aria-hidden="true"></a>- [x] I can!</span>
-<span id="cb351-9"><a href="#cb351-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb351-10"><a href="#cb351-10" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb373"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb373-1"><a href="#cb373-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb373-2"><a href="#cb373-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[taskLists = yes]</span>
+<span id="cb373-3"><a href="#cb373-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererUntickedBox</span>{No}</span>
+<span id="cb373-4"><a href="#cb373-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererTickedBox</span>{Yes}</span>
+<span id="cb373-5"><a href="#cb373-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb373-6"><a href="#cb373-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb373-7"><a href="#cb373-7" aria-hidden="true"></a>- [ ] you can&#39;t.</span>
+<span id="cb373-8"><a href="#cb373-8" aria-hidden="true"></a>- [x] I can!</span>
+<span id="cb373-9"><a href="#cb373-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb373-10"><a href="#cb373-10" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb352"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb352-1"><a href="#cb352-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb374"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb374-1"><a href="#cb374-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<ul>
@@ -4251,75 +4471,75 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.2" id="markdown-document-renderers"><span class="header-section-number">2.3.1.2</span> Markdown Document Renderers</h4>
<p>The <code>\markdownRendererDocumentBegin</code> and <code>\markdownRendererDocumentEnd</code> macros represent the beginning and the end of a <em>markdown</em> document. The macros receive no arguments.</p>
<p>A <span class="tex">T<sub>e</sub>X</span> document may contain any number of markdown documents. Additionally, markdown documents may appear not only in a sequence, but several markdown documents may also be <em>nested</em>. Redefinitions of the macros should take this into account.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-38"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-42"><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>nested.md</code> with the following content:</p>
-<div class="sourceCode" id="cb353"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb353-1"><a href="#cb353-1" aria-hidden="true"></a>This is a *nested* markdown document.</span></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb354"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb354-1"><a href="#cb354-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb354-2"><a href="#cb354-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
-<span id="cb354-3"><a href="#cb354-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb354-4"><a href="#cb354-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb354-5"><a href="#cb354-5" aria-hidden="true"></a> contentBlock = {<span class="co">%</span></span>
-<span id="cb354-6"><a href="#cb354-6" aria-hidden="true"></a> <span class="fu">\markdownInput</span>{#3}<span class="co">%</span></span>
-<span id="cb354-7"><a href="#cb354-7" aria-hidden="true"></a> },</span>
-<span id="cb354-8"><a href="#cb354-8" aria-hidden="true"></a> documentBegin = {<span class="co">%</span></span>
-<span id="cb354-9"><a href="#cb354-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-10"><a href="#cb354-10" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a document)}</span>
-<span id="cb354-11"><a href="#cb354-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-12"><a href="#cb354-12" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
-<span id="cb354-13"><a href="#cb354-13" aria-hidden="true"></a> <span class="fu">\markdownSetup</span>{snippet=first-nesting-level}<span class="co">%</span></span>
-<span id="cb354-14"><a href="#cb354-14" aria-hidden="true"></a> },</span>
-<span id="cb354-15"><a href="#cb354-15" aria-hidden="true"></a> documentEnd = {<span class="co">%</span></span>
-<span id="cb354-16"><a href="#cb354-16" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
-<span id="cb354-17"><a href="#cb354-17" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-18"><a href="#cb354-18" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a document)}</span>
-<span id="cb354-19"><a href="#cb354-19" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-20"><a href="#cb354-20" aria-hidden="true"></a> },</span>
-<span id="cb354-21"><a href="#cb354-21" aria-hidden="true"></a> },</span>
-<span id="cb354-22"><a href="#cb354-22" aria-hidden="true"></a>}</span>
-<span id="cb354-23"><a href="#cb354-23" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{first-nesting-level}{</span>
-<span id="cb354-24"><a href="#cb354-24" aria-hidden="true"></a> renderers = {</span>
-<span id="cb354-25"><a href="#cb354-25" aria-hidden="true"></a> documentBegin = {</span>
-<span id="cb354-26"><a href="#cb354-26" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-27"><a href="#cb354-27" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a nested document)}</span>
-<span id="cb354-28"><a href="#cb354-28" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-29"><a href="#cb354-29" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
-<span id="cb354-30"><a href="#cb354-30" aria-hidden="true"></a> <span class="fu">\markdownSetup</span>{snippet=second-nesting-level-and-below}</span>
-<span id="cb354-31"><a href="#cb354-31" aria-hidden="true"></a> },</span>
-<span id="cb354-32"><a href="#cb354-32" aria-hidden="true"></a> },</span>
-<span id="cb354-33"><a href="#cb354-33" aria-hidden="true"></a>}</span>
-<span id="cb354-34"><a href="#cb354-34" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{second-nesting-level-and-below}{</span>
-<span id="cb354-35"><a href="#cb354-35" aria-hidden="true"></a> renderers = {</span>
-<span id="cb354-36"><a href="#cb354-36" aria-hidden="true"></a> documentBegin = {</span>
-<span id="cb354-37"><a href="#cb354-37" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-38"><a href="#cb354-38" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a nested document)}</span>
-<span id="cb354-39"><a href="#cb354-39" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-40"><a href="#cb354-40" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
-<span id="cb354-41"><a href="#cb354-41" aria-hidden="true"></a> },</span>
-<span id="cb354-42"><a href="#cb354-42" aria-hidden="true"></a> documentEnd = {</span>
-<span id="cb354-43"><a href="#cb354-43" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
-<span id="cb354-44"><a href="#cb354-44" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-45"><a href="#cb354-45" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a nested document)}</span>
-<span id="cb354-46"><a href="#cb354-46" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb354-47"><a href="#cb354-47" aria-hidden="true"></a> },</span>
-<span id="cb354-48"><a href="#cb354-48" aria-hidden="true"></a> },</span>
-<span id="cb354-49"><a href="#cb354-49" aria-hidden="true"></a>}</span>
-<span id="cb354-50"><a href="#cb354-50" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb354-51"><a href="#cb354-51" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb354-52"><a href="#cb354-52" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb354-53"><a href="#cb354-53" aria-hidden="true"></a></span>
-<span id="cb354-54"><a href="#cb354-54" aria-hidden="true"></a>/nested.md</span>
-<span id="cb354-55"><a href="#cb354-55" aria-hidden="true"></a></span>
-<span id="cb354-56"><a href="#cb354-56" aria-hidden="true"></a>_Foo_ bar!</span>
-<span id="cb354-57"><a href="#cb354-57" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb354-58"><a href="#cb354-58" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb354-59"><a href="#cb354-59" aria-hidden="true"></a></span>
-<span id="cb354-60"><a href="#cb354-60" aria-hidden="true"></a>Bar baz!</span>
-<span id="cb354-61"><a href="#cb354-61" aria-hidden="true"></a></span>
-<span id="cb354-62"><a href="#cb354-62" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb354-63"><a href="#cb354-63" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb355"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb355-1"><a href="#cb355-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb375"><pre class="sourceCode md"><code class="sourceCode markdown"><span id="cb375-1"><a href="#cb375-1" aria-hidden="true"></a>This is a *nested* markdown document.</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb376"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb376-1"><a href="#cb376-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb376-2"><a href="#cb376-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
+<span id="cb376-3"><a href="#cb376-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb376-4"><a href="#cb376-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb376-5"><a href="#cb376-5" aria-hidden="true"></a> contentBlock = {<span class="co">%</span></span>
+<span id="cb376-6"><a href="#cb376-6" aria-hidden="true"></a> <span class="fu">\markdownInput</span>{#3}<span class="co">%</span></span>
+<span id="cb376-7"><a href="#cb376-7" aria-hidden="true"></a> },</span>
+<span id="cb376-8"><a href="#cb376-8" aria-hidden="true"></a> documentBegin = {<span class="co">%</span></span>
+<span id="cb376-9"><a href="#cb376-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-10"><a href="#cb376-10" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a document)}</span>
+<span id="cb376-11"><a href="#cb376-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-12"><a href="#cb376-12" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb376-13"><a href="#cb376-13" aria-hidden="true"></a> <span class="fu">\markdownSetup</span>{snippet=first-nesting-level}<span class="co">%</span></span>
+<span id="cb376-14"><a href="#cb376-14" aria-hidden="true"></a> },</span>
+<span id="cb376-15"><a href="#cb376-15" aria-hidden="true"></a> documentEnd = {<span class="co">%</span></span>
+<span id="cb376-16"><a href="#cb376-16" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
+<span id="cb376-17"><a href="#cb376-17" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-18"><a href="#cb376-18" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a document)}</span>
+<span id="cb376-19"><a href="#cb376-19" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-20"><a href="#cb376-20" aria-hidden="true"></a> },</span>
+<span id="cb376-21"><a href="#cb376-21" aria-hidden="true"></a> },</span>
+<span id="cb376-22"><a href="#cb376-22" aria-hidden="true"></a>}</span>
+<span id="cb376-23"><a href="#cb376-23" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{first-nesting-level}{</span>
+<span id="cb376-24"><a href="#cb376-24" aria-hidden="true"></a> renderers = {</span>
+<span id="cb376-25"><a href="#cb376-25" aria-hidden="true"></a> documentBegin = {</span>
+<span id="cb376-26"><a href="#cb376-26" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-27"><a href="#cb376-27" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a nested document)}</span>
+<span id="cb376-28"><a href="#cb376-28" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-29"><a href="#cb376-29" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb376-30"><a href="#cb376-30" aria-hidden="true"></a> <span class="fu">\markdownSetup</span>{snippet=second-nesting-level-and-below}</span>
+<span id="cb376-31"><a href="#cb376-31" aria-hidden="true"></a> },</span>
+<span id="cb376-32"><a href="#cb376-32" aria-hidden="true"></a> },</span>
+<span id="cb376-33"><a href="#cb376-33" aria-hidden="true"></a>}</span>
+<span id="cb376-34"><a href="#cb376-34" aria-hidden="true"></a><span class="fu">\markdownSetupSnippet</span>{second-nesting-level-and-below}{</span>
+<span id="cb376-35"><a href="#cb376-35" aria-hidden="true"></a> renderers = {</span>
+<span id="cb376-36"><a href="#cb376-36" aria-hidden="true"></a> documentBegin = {</span>
+<span id="cb376-37"><a href="#cb376-37" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-38"><a href="#cb376-38" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a nested document)}</span>
+<span id="cb376-39"><a href="#cb376-39" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-40"><a href="#cb376-40" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb376-41"><a href="#cb376-41" aria-hidden="true"></a> },</span>
+<span id="cb376-42"><a href="#cb376-42" aria-hidden="true"></a> documentEnd = {</span>
+<span id="cb376-43"><a href="#cb376-43" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
+<span id="cb376-44"><a href="#cb376-44" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-45"><a href="#cb376-45" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a nested document)}</span>
+<span id="cb376-46"><a href="#cb376-46" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb376-47"><a href="#cb376-47" aria-hidden="true"></a> },</span>
+<span id="cb376-48"><a href="#cb376-48" aria-hidden="true"></a> },</span>
+<span id="cb376-49"><a href="#cb376-49" aria-hidden="true"></a>}</span>
+<span id="cb376-50"><a href="#cb376-50" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb376-51"><a href="#cb376-51" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb376-52"><a href="#cb376-52" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb376-53"><a href="#cb376-53" aria-hidden="true"></a></span>
+<span id="cb376-54"><a href="#cb376-54" aria-hidden="true"></a>/nested.md</span>
+<span id="cb376-55"><a href="#cb376-55" aria-hidden="true"></a></span>
+<span id="cb376-56"><a href="#cb376-56" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb376-57"><a href="#cb376-57" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb376-58"><a href="#cb376-58" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb376-59"><a href="#cb376-59" aria-hidden="true"></a></span>
+<span id="cb376-60"><a href="#cb376-60" aria-hidden="true"></a>Bar baz!</span>
+<span id="cb376-61"><a href="#cb376-61" aria-hidden="true"></a></span>
+<span id="cb376-62"><a href="#cb376-62" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb376-63"><a href="#cb376-63" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb377"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb377-1"><a href="#cb377-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p><em>(The beginning of a document)</em></p>
@@ -4335,73 +4555,73 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.3" id="interblock-separator-renderer"><span class="header-section-number">2.3.1.3</span> Interblock Separator Renderer</h4>
<p>The <code>\markdownRendererInterblockSeparator</code> macro represents a separator between two markdown block elements. The macro receives no arguments.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-17">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-18">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="cb356"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb356-1"><a href="#cb356-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb356-2"><a href="#cb356-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb356-3"><a href="#cb356-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb356-4"><a href="#cb356-4" aria-hidden="true"></a> {<span class="fu">\it</span>(The end of a block)}<span class="co">%</span></span>
-<span id="cb356-5"><a href="#cb356-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb356-6"><a href="#cb356-6" aria-hidden="true"></a>}</span>
-<span id="cb356-7"><a href="#cb356-7" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb356-8"><a href="#cb356-8" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb356-9"><a href="#cb356-9" aria-hidden="true"></a></span>
-<span id="cb356-10"><a href="#cb356-10" aria-hidden="true"></a>_Foo_ bar!</span>
-<span id="cb356-11"><a href="#cb356-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb356-12"><a href="#cb356-12" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb378"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb378-1"><a href="#cb378-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb378-2"><a href="#cb378-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb378-3"><a href="#cb378-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb378-4"><a href="#cb378-4" aria-hidden="true"></a> {<span class="fu">\it</span>(The end of a block)}<span class="co">%</span></span>
+<span id="cb378-5"><a href="#cb378-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb378-6"><a href="#cb378-6" aria-hidden="true"></a>}</span>
+<span id="cb378-7"><a href="#cb378-7" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb378-8"><a href="#cb378-8" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb378-9"><a href="#cb378-9" aria-hidden="true"></a></span>
+<span id="cb378-10"><a href="#cb378-10" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb378-11"><a href="#cb378-11" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb378-12"><a href="#cb378-12" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb357"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb357-1"><a href="#cb357-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb379"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb379-1"><a href="#cb379-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-39"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-43"><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="cb358"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb358-1"><a href="#cb358-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb358-2"><a href="#cb358-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb358-3"><a href="#cb358-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb358-4"><a href="#cb358-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb358-5"><a href="#cb358-5" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
-<span id="cb358-6"><a href="#cb358-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb358-7"><a href="#cb358-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
-<span id="cb358-8"><a href="#cb358-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb358-9"><a href="#cb358-9" aria-hidden="true"></a> },</span>
-<span id="cb358-10"><a href="#cb358-10" aria-hidden="true"></a> },</span>
-<span id="cb358-11"><a href="#cb358-11" aria-hidden="true"></a>}</span>
-<span id="cb358-12"><a href="#cb358-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb358-13"><a href="#cb358-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb358-14"><a href="#cb358-14" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb358-15"><a href="#cb358-15" aria-hidden="true"></a></span>
-<span id="cb358-16"><a href="#cb358-16" aria-hidden="true"></a>_Foo_ bar!</span>
-<span id="cb358-17"><a href="#cb358-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb358-18"><a href="#cb358-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb359"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb359-1"><a href="#cb359-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb380"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb380-1"><a href="#cb380-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb380-2"><a href="#cb380-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb380-3"><a href="#cb380-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb380-4"><a href="#cb380-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb380-5"><a href="#cb380-5" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb380-6"><a href="#cb380-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb380-7"><a href="#cb380-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
+<span id="cb380-8"><a href="#cb380-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb380-9"><a href="#cb380-9" aria-hidden="true"></a> },</span>
+<span id="cb380-10"><a href="#cb380-10" aria-hidden="true"></a> },</span>
+<span id="cb380-11"><a href="#cb380-11" aria-hidden="true"></a>}</span>
+<span id="cb380-12"><a href="#cb380-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb380-13"><a href="#cb380-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb380-14"><a href="#cb380-14" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb380-15"><a href="#cb380-15" aria-hidden="true"></a></span>
+<span id="cb380-16"><a href="#cb380-16" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb380-17"><a href="#cb380-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb380-18"><a href="#cb380-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb381"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb381-1"><a href="#cb381-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(The end of a block)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-29">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-33">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="cb360"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb360-1"><a href="#cb360-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb360-2"><a href="#cb360-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb360-3"><a href="#cb360-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb360-4"><a href="#cb360-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
-<span id="cb360-5"><a href="#cb360-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb360-6"><a href="#cb360-6" aria-hidden="true"></a>}</span>
-<span id="cb360-7"><a href="#cb360-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb360-8"><a href="#cb360-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb360-9"><a href="#cb360-9" aria-hidden="true"></a>Hello *world*!</span>
-<span id="cb360-10"><a href="#cb360-10" aria-hidden="true"></a></span>
-<span id="cb360-11"><a href="#cb360-11" aria-hidden="true"></a>_Foo_ bar!</span>
-<span id="cb360-12"><a href="#cb360-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb360-13"><a href="#cb360-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb382"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb382-1"><a href="#cb382-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb382-2"><a href="#cb382-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb382-3"><a href="#cb382-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb382-4"><a href="#cb382-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a block)}<span class="co">%</span></span>
+<span id="cb382-5"><a href="#cb382-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb382-6"><a href="#cb382-6" aria-hidden="true"></a>}</span>
+<span id="cb382-7"><a href="#cb382-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb382-8"><a href="#cb382-8" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb382-9"><a href="#cb382-9" aria-hidden="true"></a>Hello *world*!</span>
+<span id="cb382-10"><a href="#cb382-10" aria-hidden="true"></a></span>
+<span id="cb382-11"><a href="#cb382-11" aria-hidden="true"></a>_Foo_ bar!</span>
+<span id="cb382-12"><a href="#cb382-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb382-13"><a href="#cb382-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb361"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb361-1"><a href="#cb361-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb383"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb383-1"><a href="#cb383-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
@@ -4410,67 +4630,67 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.4" id="line-break-renderer"><span class="header-section-number">2.3.1.4</span> Line Break Renderer</h4>
<p>The <code>\markdownRendererLineBreak</code> macro represents a forced line break. The macro receives no arguments.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-18">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-19">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="cb362"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb362-1"><a href="#cb362-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb362-2"><a href="#cb362-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
-<span id="cb362-3"><a href="#cb362-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb362-4"><a href="#cb362-4" aria-hidden="true"></a> {<span class="fu">\it</span>(A forced linebreak)}<span class="co">%</span></span>
-<span id="cb362-5"><a href="#cb362-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb362-6"><a href="#cb362-6" aria-hidden="true"></a>}</span>
-<span id="cb362-7"><a href="#cb362-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb362-8"><a href="#cb362-8" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb384"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb384-1"><a href="#cb384-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb384-2"><a href="#cb384-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
+<span id="cb384-3"><a href="#cb384-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb384-4"><a href="#cb384-4" aria-hidden="true"></a> {<span class="fu">\it</span>(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb384-5"><a href="#cb384-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb384-6"><a href="#cb384-6" aria-hidden="true"></a>}</span>
+<span id="cb384-7"><a href="#cb384-7" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb384-8"><a href="#cb384-8" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb363"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb363-1"><a href="#cb363-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb385"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb385-1"><a href="#cb385-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(A forced linebreak)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-40"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-44"><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="cb364"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb364-1"><a href="#cb364-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb364-2"><a href="#cb364-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb364-3"><a href="#cb364-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb364-4"><a href="#cb364-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb364-5"><a href="#cb364-5" aria-hidden="true"></a> lineBreak = {<span class="co">%</span></span>
-<span id="cb364-6"><a href="#cb364-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb364-7"><a href="#cb364-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
-<span id="cb364-8"><a href="#cb364-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb364-9"><a href="#cb364-9" aria-hidden="true"></a> },</span>
-<span id="cb364-10"><a href="#cb364-10" aria-hidden="true"></a> },</span>
-<span id="cb364-11"><a href="#cb364-11" aria-hidden="true"></a>}</span>
-<span id="cb364-12"><a href="#cb364-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb364-13"><a href="#cb364-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb364-14"><a href="#cb364-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb386"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb386-1"><a href="#cb386-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb386-2"><a href="#cb386-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb386-3"><a href="#cb386-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb386-4"><a href="#cb386-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb386-5"><a href="#cb386-5" aria-hidden="true"></a> lineBreak = {<span class="co">%</span></span>
+<span id="cb386-6"><a href="#cb386-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb386-7"><a href="#cb386-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb386-8"><a href="#cb386-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb386-9"><a href="#cb386-9" aria-hidden="true"></a> },</span>
+<span id="cb386-10"><a href="#cb386-10" aria-hidden="true"></a> },</span>
+<span id="cb386-11"><a href="#cb386-11" aria-hidden="true"></a>}</span>
+<span id="cb386-12"><a href="#cb386-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb386-13"><a href="#cb386-13" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb386-14"><a href="#cb386-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb365"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb365-1"><a href="#cb365-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb387"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb387-1"><a href="#cb387-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
<p><em>(A forced linebreak)</em></p>
<p><em>Foo</em> bar!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-30">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-34">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="cb366"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb366-1"><a href="#cb366-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb366-2"><a href="#cb366-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
-<span id="cb366-3"><a href="#cb366-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb366-4"><a href="#cb366-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
-<span id="cb366-5"><a href="#cb366-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb366-6"><a href="#cb366-6" aria-hidden="true"></a>}</span>
-<span id="cb366-7"><a href="#cb366-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb366-8"><a href="#cb366-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
-<span id="cb366-9"><a href="#cb366-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb388"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb388-1"><a href="#cb388-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb388-2"><a href="#cb388-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLineBreak</span>{<span class="co">%</span></span>
+<span id="cb388-3"><a href="#cb388-3" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb388-4"><a href="#cb388-4" aria-hidden="true"></a> <span class="fu">\emph</span>{(A forced linebreak)}<span class="co">%</span></span>
+<span id="cb388-5"><a href="#cb388-5" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb388-6"><a href="#cb388-6" aria-hidden="true"></a>}</span>
+<span id="cb388-7"><a href="#cb388-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb388-8"><a href="#cb388-8" aria-hidden="true"></a><span class="fu">\markdownInput</span>{example.md}</span>
+<span id="cb388-9"><a href="#cb388-9" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Using a text editor, create a text document named <code>example.md</code> with the following content. Note the two spaces at the end of the first line, which specify a hard linebreak. Due to the limitations of the <span class="tex">T<sub>e</sub>X</span> input processor, hard linebreaks would be ignored if we typed them directly into the <code>document.tex</code> document.</p>
<pre><code>Hello world! <br/>_Foo_ bar!</code></pre>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb367"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb367-1"><a href="#cb367-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb389"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb389-1"><a href="#cb389-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
@@ -4479,53 +4699,53 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.5" id="ellipsis-renderer"><span class="header-section-number">2.3.1.5</span> Ellipsis Renderer</h4>
<p>The <code>\markdownRendererEllipsis</code> macro replaces any occurance of ASCII ellipses in the input text. This macro will only be produced, when the <strong><code>smartEllipses</code></strong> option is enabled. The macro receives no arguments.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-19">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-20">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="cb368"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb368-1"><a href="#cb368-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb368-2"><a href="#cb368-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
-<span id="cb368-3"><a href="#cb368-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{{<span class="fu">\it</span> SHAZAM}!}</span>
-<span id="cb368-4"><a href="#cb368-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb368-5"><a href="#cb368-5" aria-hidden="true"></a>The secret word is ...</span>
-<span id="cb368-6"><a href="#cb368-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb368-7"><a href="#cb368-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb390"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb390-1"><a href="#cb390-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb390-2"><a href="#cb390-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
+<span id="cb390-3"><a href="#cb390-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{{<span class="fu">\it</span> SHAZAM}!}</span>
+<span id="cb390-4"><a href="#cb390-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb390-5"><a href="#cb390-5" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb390-6"><a href="#cb390-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb390-7"><a href="#cb390-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb369"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb369-1"><a href="#cb369-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb391"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb391-1"><a href="#cb391-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The secret word is <em>SHAZAM</em>!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-41"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-45"><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="cb370"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb370-1"><a href="#cb370-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb370-2"><a href="#cb370-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
-<span id="cb370-3"><a href="#cb370-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb370-4"><a href="#cb370-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb370-5"><a href="#cb370-5" aria-hidden="true"></a> ellipsis = <span class="fu">\emph</span>{SHAZAM}!,</span>
-<span id="cb370-6"><a href="#cb370-6" aria-hidden="true"></a> },</span>
-<span id="cb370-7"><a href="#cb370-7" aria-hidden="true"></a>}</span>
-<span id="cb370-8"><a href="#cb370-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb370-9"><a href="#cb370-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb370-10"><a href="#cb370-10" aria-hidden="true"></a>The secret word is ...</span>
-<span id="cb370-11"><a href="#cb370-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb370-12"><a href="#cb370-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb392"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb392-1"><a href="#cb392-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb392-2"><a href="#cb392-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
+<span id="cb392-3"><a href="#cb392-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb392-4"><a href="#cb392-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb392-5"><a href="#cb392-5" aria-hidden="true"></a> ellipsis = <span class="fu">\emph</span>{SHAZAM}!,</span>
+<span id="cb392-6"><a href="#cb392-6" aria-hidden="true"></a> },</span>
+<span id="cb392-7"><a href="#cb392-7" aria-hidden="true"></a>}</span>
+<span id="cb392-8"><a href="#cb392-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb392-9"><a href="#cb392-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb392-10"><a href="#cb392-10" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb392-11"><a href="#cb392-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb392-12"><a href="#cb392-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb371"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb371-1"><a href="#cb371-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb393"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb393-1"><a href="#cb393-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The secret word is <em>SHAZAM</em>!</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-31">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-35">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="cb372"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb372-1"><a href="#cb372-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb372-2"><a href="#cb372-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSmartEllipses</span>{true}</span>
-<span id="cb372-3"><a href="#cb372-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{<span class="fu">\emph</span>{SHAZAM}!}</span>
-<span id="cb372-4"><a href="#cb372-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb372-5"><a href="#cb372-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb372-6"><a href="#cb372-6" aria-hidden="true"></a>The secret word is ...</span>
-<span id="cb372-7"><a href="#cb372-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb372-8"><a href="#cb372-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb394"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb394-1"><a href="#cb394-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb394-2"><a href="#cb394-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[smartEllipses = yes]</span>
+<span id="cb394-3"><a href="#cb394-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererEllipsis</span>{<span class="fu">\emph</span>{SHAZAM}!}</span>
+<span id="cb394-4"><a href="#cb394-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb394-5"><a href="#cb394-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb394-6"><a href="#cb394-6" aria-hidden="true"></a>The secret word is ...</span>
+<span id="cb394-7"><a href="#cb394-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb394-8"><a href="#cb394-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb373"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb373-1"><a href="#cb373-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb395"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb395-1"><a href="#cb395-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Hello <em>world</em>!</p>
@@ -4534,40 +4754,40 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.6" id="non-breaking-space-renderer"><span class="header-section-number">2.3.1.6</span> Non-Breaking Space Renderer</h4>
<p>The <code>\markdownRendererNbsp</code> macro represents a non-breaking space.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-42"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-46"><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.bib</code> with the following content:</p>
-<div class="sourceCode" id="cb374"><pre class="sourceCode bib"><code class="sourceCode bibtex"><span id="cb374-1"><a href="#cb374-1" aria-hidden="true"></a><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</span>
-<span id="cb374-2"><a href="#cb374-2" aria-hidden="true"></a> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</span>
-<span id="cb374-3"><a href="#cb374-3" aria-hidden="true"></a> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</span>
-<span id="cb374-4"><a href="#cb374-4" aria-hidden="true"></a> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</span>
-<span id="cb374-5"><a href="#cb374-5" aria-hidden="true"></a> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</span>
-<span id="cb374-6"><a href="#cb374-6" aria-hidden="true"></a>}</span></code></pre></div>
-<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
-<div class="sourceCode" id="cb375"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb375-1"><a href="#cb375-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb375-2"><a href="#cb375-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
-<span id="cb375-3"><a href="#cb375-3" aria-hidden="true"></a> citations,</span>
-<span id="cb375-4"><a href="#cb375-4" aria-hidden="true"></a> citationNbsps,</span>
-<span id="cb375-5"><a href="#cb375-5" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span>
-<span id="cb375-6"><a href="#cb375-6" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb375-7"><a href="#cb375-7" aria-hidden="true"></a> renderers = {</span>
-<span id="cb375-8"><a href="#cb375-8" aria-hidden="true"></a> nbsp = {<span class="ss">$</span><span class="sc">\cdot</span><span class="ss">$</span>},</span>
-<span id="cb375-9"><a href="#cb375-9" aria-hidden="true"></a> },</span>
-<span id="cb375-10"><a href="#cb375-10" aria-hidden="true"></a>}</span>
-<span id="cb375-11"><a href="#cb375-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb375-12"><a href="#cb375-12" aria-hidden="true"></a></span>
-<span id="cb375-13"><a href="#cb375-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb375-14"><a href="#cb375-14" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] is good.</span>
-<span id="cb375-15"><a href="#cb375-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb375-16"><a href="#cb375-16" aria-hidden="true"></a></span>
-<span id="cb375-17"><a href="#cb375-17" aria-hidden="true"></a><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</span>
-<span id="cb375-18"><a href="#cb375-18" aria-hidden="true"></a><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</span>
-<span id="cb375-19"><a href="#cb375-19" aria-hidden="true"></a></span>
-<span id="cb375-20"><a href="#cb375-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb396"><pre class="sourceCode bib"><code class="sourceCode bibtex"><span id="cb396-1"><a href="#cb396-1" aria-hidden="true"></a><span class="va">@book</span>{<span class="ot">knuth:tex</span>,</span>
+<span id="cb396-2"><a href="#cb396-2" aria-hidden="true"></a> <span class="dt">author</span> = &quot;<span class="st">Knuth, Donald Ervin</span>&quot;,</span>
+<span id="cb396-3"><a href="#cb396-3" aria-hidden="true"></a> <span class="dt">title</span> = &quot;<span class="st">The </span><span class="ch">\TeX</span><span class="st"> book, volume A of Computers and typesetting</span>&quot;,</span>
+<span id="cb396-4"><a href="#cb396-4" aria-hidden="true"></a> <span class="dt">publisher</span> = &quot;<span class="st">Addison-Wesley</span>&quot;,</span>
+<span id="cb396-5"><a href="#cb396-5" aria-hidden="true"></a> <span class="dt">year</span> = &quot;<span class="st">1984</span>&quot;</span>
+<span id="cb396-6"><a href="#cb396-6" aria-hidden="true"></a>}</span></code></pre></div>
+<p>Using a text editor, create a text document named <code>document.tex</code> with the following content:</p>
+<div class="sourceCode" id="cb397"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb397-1"><a href="#cb397-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb397-2"><a href="#cb397-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[</span>
+<span id="cb397-3"><a href="#cb397-3" aria-hidden="true"></a> citations,</span>
+<span id="cb397-4"><a href="#cb397-4" aria-hidden="true"></a> citationNbsps,</span>
+<span id="cb397-5"><a href="#cb397-5" aria-hidden="true"></a>]{<span class="ex">markdown</span>}</span>
+<span id="cb397-6"><a href="#cb397-6" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb397-7"><a href="#cb397-7" aria-hidden="true"></a> renderers = {</span>
+<span id="cb397-8"><a href="#cb397-8" aria-hidden="true"></a> nbsp = {<span class="ss">$</span><span class="sc">\cdot</span><span class="ss">$</span>},</span>
+<span id="cb397-9"><a href="#cb397-9" aria-hidden="true"></a> },</span>
+<span id="cb397-10"><a href="#cb397-10" aria-hidden="true"></a>}</span>
+<span id="cb397-11"><a href="#cb397-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb397-12"><a href="#cb397-12" aria-hidden="true"></a></span>
+<span id="cb397-13"><a href="#cb397-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb397-14"><a href="#cb397-14" aria-hidden="true"></a>The TeXbook [@knuth:tex, p. 123 and 130] is good.</span>
+<span id="cb397-15"><a href="#cb397-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb397-16"><a href="#cb397-16" aria-hidden="true"></a></span>
+<span id="cb397-17"><a href="#cb397-17" aria-hidden="true"></a><span class="bu">\bibliographystyle</span>{<span class="ex">plain</span>}</span>
+<span id="cb397-18"><a href="#cb397-18" aria-hidden="true"></a><span class="bu">\bibliography</span>{<span class="ex">document.bib</span>}</span>
+<span id="cb397-19"><a href="#cb397-19" aria-hidden="true"></a></span>
+<span id="cb397-20"><a href="#cb397-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX and BibTeX from the terminal:</p>
-<div class="sourceCode" id="cb376"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb376-1"><a href="#cb376-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
-<span id="cb376-2"><a href="#cb376-2" aria-hidden="true"></a><span class="ex">bibtex</span> document.aux</span>
-<span id="cb376-3"><a href="#cb376-3" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
-<span id="cb376-4"><a href="#cb376-4" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb398"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb398-1"><a href="#cb398-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb398-2"><a href="#cb398-2" aria-hidden="true"></a><span class="ex">bibtex</span> document.aux</span>
+<span id="cb398-3"><a href="#cb398-3" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb398-4"><a href="#cb398-4" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>The TeXbook [1, p.·123·and·130] is good.</p>
@@ -4589,134 +4809,134 @@ Thomas,Edison,1847</code></pre>
<li><code>\markdownRendererTilde</code> replaces the tilde (<code>~</code>).</li>
<li><code>\markdownRendererUnderscore</code> replaces the underscore (<code>_</code>).</li>
</ul>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-20">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-21">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. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb377"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb377-1"><a href="#cb377-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb377-2"><a href="#cb377-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
-<span id="cb377-3"><a href="#cb377-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb377-4"><a href="#cb377-4" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
-<span id="cb377-5"><a href="#cb377-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb377-6"><a href="#cb377-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb378"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb378-1"><a href="#cb378-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb399"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb399-1"><a href="#cb399-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb399-2"><a href="#cb399-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
+<span id="cb399-3"><a href="#cb399-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb399-4"><a href="#cb399-4" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb399-5"><a href="#cb399-5" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb399-6"><a href="#cb399-6" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb400"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb400-1"><a href="#cb400-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-43"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-47"><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. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb379"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb379-1"><a href="#cb379-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb379-2"><a href="#cb379-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb379-3"><a href="#cb379-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb379-4"><a href="#cb379-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb379-5"><a href="#cb379-5" aria-hidden="true"></a> tilde = ~,</span>
-<span id="cb379-6"><a href="#cb379-6" aria-hidden="true"></a> },</span>
-<span id="cb379-7"><a href="#cb379-7" aria-hidden="true"></a>}</span>
-<span id="cb379-8"><a href="#cb379-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb379-9"><a href="#cb379-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb379-10"><a href="#cb379-10" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
-<span id="cb379-11"><a href="#cb379-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb379-12"><a href="#cb379-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb380"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb380-1"><a href="#cb380-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb401"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb401-1"><a href="#cb401-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb401-2"><a href="#cb401-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb401-3"><a href="#cb401-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb401-4"><a href="#cb401-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb401-5"><a href="#cb401-5" aria-hidden="true"></a> tilde = ~,</span>
+<span id="cb401-6"><a href="#cb401-6" aria-hidden="true"></a> },</span>
+<span id="cb401-7"><a href="#cb401-7" aria-hidden="true"></a>}</span>
+<span id="cb401-8"><a href="#cb401-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb401-9"><a href="#cb401-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb401-10"><a href="#cb401-10" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb401-11"><a href="#cb401-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb401-12"><a href="#cb401-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb402"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb402-1"><a href="#cb402-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-32">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-36">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. We will make the tilde behave as if it were written in <span class="tex">T<sub>e</sub>X</span>, where it represents a non-breaking space.</p>
-<div class="sourceCode" id="cb381"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb381-1"><a href="#cb381-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb381-2"><a href="#cb381-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
-<span id="cb381-3"><a href="#cb381-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb381-4"><a href="#cb381-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb381-5"><a href="#cb381-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
-<span id="cb381-6"><a href="#cb381-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb381-7"><a href="#cb381-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb382"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb382-1"><a href="#cb382-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb403"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb403-1"><a href="#cb403-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb403-2"><a href="#cb403-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{~}</span>
+<span id="cb403-3"><a href="#cb403-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb403-4"><a href="#cb403-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb403-5"><a href="#cb403-5" aria-hidden="true"></a>Bartel~Leendert van~der~Waerden</span>
+<span id="cb403-6"><a href="#cb403-6" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb403-7"><a href="#cb403-7" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb404"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb404-1"><a href="#cb404-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text, where the middot (<code>·</code>) denotes a non-breaking space:</p>
<blockquote>
<p>Bartel·Leendert van·der·Waerden</p>
</blockquote>
<h4 data-number="2.3.1.8" id="code-span-renderer"><span class="header-section-number">2.3.1.8</span> Code Span Renderer</h4>
<p>The <code>\markdownRendererCodeSpan</code> macro represents inlined code span in the input text. It receives a single argument that corresponds to the inlined code span.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-21">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-22">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="cb383"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb383-1"><a href="#cb383-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb383-2"><a href="#cb383-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
-<span id="cb383-3"><a href="#cb383-3" aria-hidden="true"></a></span>
-<span id="cb383-4"><a href="#cb383-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
-<span id="cb383-5"><a href="#cb383-5" aria-hidden="true"></a></span>
-<span id="cb383-6"><a href="#cb383-6" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb383-7"><a href="#cb383-7" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
-<span id="cb383-8"><a href="#cb383-8" aria-hidden="true"></a></span>
-<span id="cb383-9"><a href="#cb383-9" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb383-10"><a href="#cb383-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb383-11"><a href="#cb383-11" aria-hidden="true"></a></span>
-<span id="cb383-12"><a href="#cb383-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb383-13"><a href="#cb383-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb383-14"><a href="#cb383-14" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb383-15"><a href="#cb383-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb383-16"><a href="#cb383-16" aria-hidden="true"></a></span>
-<span id="cb383-17"><a href="#cb383-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb384"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb384-1"><a href="#cb384-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb405"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb405-1"><a href="#cb405-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb405-2"><a href="#cb405-2" aria-hidden="true"></a><span class="fu">\input</span> lmfonts</span>
+<span id="cb405-3"><a href="#cb405-3" aria-hidden="true"></a></span>
+<span id="cb405-4"><a href="#cb405-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
+<span id="cb405-5"><a href="#cb405-5" aria-hidden="true"></a></span>
+<span id="cb405-6"><a href="#cb405-6" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb405-7"><a href="#cb405-7" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb405-8"><a href="#cb405-8" aria-hidden="true"></a></span>
+<span id="cb405-9"><a href="#cb405-9" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb405-10"><a href="#cb405-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb405-11"><a href="#cb405-11" aria-hidden="true"></a></span>
+<span id="cb405-12"><a href="#cb405-12" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
+<span id="cb405-13"><a href="#cb405-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb405-14"><a href="#cb405-14" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb405-15"><a href="#cb405-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb405-16"><a href="#cb405-16" aria-hidden="true"></a></span>
+<span id="cb405-17"><a href="#cb405-17" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb406"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb406-1"><a href="#cb406-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-44"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-48"><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="cb385"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb385-1"><a href="#cb385-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb385-2"><a href="#cb385-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
-<span id="cb385-3"><a href="#cb385-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb385-4"><a href="#cb385-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb385-5"><a href="#cb385-5" aria-hidden="true"></a> codeSpan = {#1},</span>
-<span id="cb385-6"><a href="#cb385-6" aria-hidden="true"></a> },</span>
-<span id="cb385-7"><a href="#cb385-7" aria-hidden="true"></a>}</span>
-<span id="cb385-8"><a href="#cb385-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb385-9"><a href="#cb385-9" aria-hidden="true"></a></span>
-<span id="cb385-10"><a href="#cb385-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb385-11"><a href="#cb385-11" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
-<span id="cb385-12"><a href="#cb385-12" aria-hidden="true"></a></span>
-<span id="cb385-13"><a href="#cb385-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb385-14"><a href="#cb385-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb385-15"><a href="#cb385-15" aria-hidden="true"></a></span>
-<span id="cb385-16"><a href="#cb385-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
-<span id="cb385-17"><a href="#cb385-17" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb385-18"><a href="#cb385-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb385-19"><a href="#cb385-19" aria-hidden="true"></a></span>
-<span id="cb385-20"><a href="#cb385-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb386"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb386-1"><a href="#cb386-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb407"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb407-1"><a href="#cb407-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb407-2"><a href="#cb407-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[smartEllipses]{<span class="ex">markdown</span>}</span>
+<span id="cb407-3"><a href="#cb407-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb407-4"><a href="#cb407-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb407-5"><a href="#cb407-5" aria-hidden="true"></a> codeSpan = {#1},</span>
+<span id="cb407-6"><a href="#cb407-6" aria-hidden="true"></a> },</span>
+<span id="cb407-7"><a href="#cb407-7" aria-hidden="true"></a>}</span>
+<span id="cb407-8"><a href="#cb407-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb407-9"><a href="#cb407-9" aria-hidden="true"></a></span>
+<span id="cb407-10"><a href="#cb407-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb407-11"><a href="#cb407-11" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb407-12"><a href="#cb407-12" aria-hidden="true"></a></span>
+<span id="cb407-13"><a href="#cb407-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb407-14"><a href="#cb407-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb407-15"><a href="#cb407-15" aria-hidden="true"></a></span>
+<span id="cb407-16"><a href="#cb407-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{hybrid}</span>
+<span id="cb407-17"><a href="#cb407-17" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb407-18"><a href="#cb407-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb407-19"><a href="#cb407-19" aria-hidden="true"></a></span>
+<span id="cb407-20"><a href="#cb407-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb408"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb408-1"><a href="#cb408-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
<p>$\sqrt{-1}$ <em>equals</em> $i$.</p>
<p>√-̅1̅ <em>equals</em> <span class="math inline"><em>i</em></span>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-33">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-37">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="cb387"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb387-1"><a href="#cb387-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb387-2"><a href="#cb387-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
-<span id="cb387-3"><a href="#cb387-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb387-4"><a href="#cb387-4" aria-hidden="true"></a></span>
-<span id="cb387-5"><a href="#cb387-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb387-6"><a href="#cb387-6" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
-<span id="cb387-7"><a href="#cb387-7" aria-hidden="true"></a></span>
-<span id="cb387-8"><a href="#cb387-8" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb387-9"><a href="#cb387-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb387-10"><a href="#cb387-10" aria-hidden="true"></a></span>
-<span id="cb387-11"><a href="#cb387-11" aria-hidden="true"></a><span class="fu">\def\markdownOptionHybrid</span>{true}</span>
-<span id="cb387-12"><a href="#cb387-12" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb387-13"><a href="#cb387-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
-<span id="cb387-14"><a href="#cb387-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb387-15"><a href="#cb387-15" aria-hidden="true"></a></span>
-<span id="cb387-16"><a href="#cb387-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb388"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb388-1"><a href="#cb388-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb409"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb409-1"><a href="#cb409-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb409-2"><a href="#cb409-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererCodeSpan</span>#1{#1}</span>
+<span id="cb409-3"><a href="#cb409-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb409-4"><a href="#cb409-4" aria-hidden="true"></a></span>
+<span id="cb409-5"><a href="#cb409-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb409-6"><a href="#cb409-6" aria-hidden="true"></a>`<span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span>`</span>
+<span id="cb409-7"><a href="#cb409-7" aria-hidden="true"></a></span>
+<span id="cb409-8"><a href="#cb409-8" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb409-9"><a href="#cb409-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb409-10"><a href="#cb409-10" aria-hidden="true"></a></span>
+<span id="cb409-11"><a href="#cb409-11" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[hybrid = yes]</span>
+<span id="cb409-12"><a href="#cb409-12" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb409-13"><a href="#cb409-13" aria-hidden="true"></a><span class="ss">$</span><span class="sc">\sqrt</span><span class="ss">{-1}$</span> *equals* <span class="ss">$i$</span></span>
+<span id="cb409-14"><a href="#cb409-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb409-15"><a href="#cb409-15" aria-hidden="true"></a></span>
+<span id="cb409-16"><a href="#cb409-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb410"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb410-1"><a href="#cb410-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>$\sqrt{-1}$ *equals* $i$.</p>
@@ -4725,210 +4945,210 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.9" id="link-renderer"><span class="header-section-number">2.3.1.9</span> Link Renderer</h4>
<p>The <code>\markdownRendererLink</code> macro represents a hyperlink. It receives four arguments: the label, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the link.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-22">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-23">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="cb389"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb389-1"><a href="#cb389-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb389-2"><a href="#cb389-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb389-3"><a href="#cb389-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled {<span class="fu">\it</span>#4}<span class="co">%</span></span>
-<span id="cb389-4"><a href="#cb389-4" aria-hidden="true"></a>}</span>
-<span id="cb389-5"><a href="#cb389-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb389-6"><a href="#cb389-6" aria-hidden="true"></a>Please visit [the link][ctan].</span>
-<span id="cb389-7"><a href="#cb389-7" aria-hidden="true"></a></span>
-<span id="cb389-8"><a href="#cb389-8" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
-<span id="cb389-9"><a href="#cb389-9" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
-<span id="cb389-10"><a href="#cb389-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb389-11"><a href="#cb389-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb411"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb411-1"><a href="#cb411-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb411-2"><a href="#cb411-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb411-3"><a href="#cb411-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled {<span class="fu">\it</span>#4}<span class="co">%</span></span>
+<span id="cb411-4"><a href="#cb411-4" aria-hidden="true"></a>}</span>
+<span id="cb411-5"><a href="#cb411-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb411-6"><a href="#cb411-6" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb411-7"><a href="#cb411-7" aria-hidden="true"></a></span>
+<span id="cb411-8"><a href="#cb411-8" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb411-9"><a href="#cb411-9" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb411-10"><a href="#cb411-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb411-11"><a href="#cb411-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb390"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb390-1"><a href="#cb390-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb412"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb412-1"><a href="#cb412-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-45"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-49"><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="cb391"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb391-1"><a href="#cb391-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb391-2"><a href="#cb391-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb391-3"><a href="#cb391-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb391-4"><a href="#cb391-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb391-5"><a href="#cb391-5" aria-hidden="true"></a> link = {<span class="co">%</span></span>
-<span id="cb391-6"><a href="#cb391-6" aria-hidden="true"></a> #1 <span class="fu">\texttt</span>{#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
-<span id="cb391-7"><a href="#cb391-7" aria-hidden="true"></a> },</span>
-<span id="cb391-8"><a href="#cb391-8" aria-hidden="true"></a> },</span>
-<span id="cb391-9"><a href="#cb391-9" aria-hidden="true"></a>}</span>
-<span id="cb391-10"><a href="#cb391-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb391-11"><a href="#cb391-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb391-12"><a href="#cb391-12" aria-hidden="true"></a>Please visit [the link][ctan].</span>
-<span id="cb391-13"><a href="#cb391-13" aria-hidden="true"></a></span>
-<span id="cb391-14"><a href="#cb391-14" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
-<span id="cb391-15"><a href="#cb391-15" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
-<span id="cb391-16"><a href="#cb391-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb391-17"><a href="#cb391-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb392"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb392-1"><a href="#cb392-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb413"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb413-1"><a href="#cb413-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb413-2"><a href="#cb413-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb413-3"><a href="#cb413-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb413-4"><a href="#cb413-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb413-5"><a href="#cb413-5" aria-hidden="true"></a> link = {<span class="co">%</span></span>
+<span id="cb413-6"><a href="#cb413-6" aria-hidden="true"></a> #1 <span class="fu">\texttt</span>{#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
+<span id="cb413-7"><a href="#cb413-7" aria-hidden="true"></a> },</span>
+<span id="cb413-8"><a href="#cb413-8" aria-hidden="true"></a> },</span>
+<span id="cb413-9"><a href="#cb413-9" aria-hidden="true"></a>}</span>
+<span id="cb413-10"><a href="#cb413-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb413-11"><a href="#cb413-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb413-12"><a href="#cb413-12" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb413-13"><a href="#cb413-13" aria-hidden="true"></a></span>
+<span id="cb413-14"><a href="#cb413-14" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb413-15"><a href="#cb413-15" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb413-16"><a href="#cb413-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb413-17"><a href="#cb413-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb414"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb414-1"><a href="#cb414-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-34">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-38">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="cb393"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb393-1"><a href="#cb393-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb393-2"><a href="#cb393-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb393-3"><a href="#cb393-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
-<span id="cb393-4"><a href="#cb393-4" aria-hidden="true"></a>}</span>
-<span id="cb393-5"><a href="#cb393-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb393-6"><a href="#cb393-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb393-7"><a href="#cb393-7" aria-hidden="true"></a>Please visit [the link][ctan].</span>
-<span id="cb393-8"><a href="#cb393-8" aria-hidden="true"></a></span>
-<span id="cb393-9"><a href="#cb393-9" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
-<span id="cb393-10"><a href="#cb393-10" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
-<span id="cb393-11"><a href="#cb393-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb393-12"><a href="#cb393-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb415"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb415-1"><a href="#cb415-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb415-2"><a href="#cb415-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererLink</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb415-3"><a href="#cb415-3" aria-hidden="true"></a> #1 {<span class="fu">\tt</span>#2} titled <span class="fu">\emph</span>{#4}<span class="co">%</span></span>
+<span id="cb415-4"><a href="#cb415-4" aria-hidden="true"></a>}</span>
+<span id="cb415-5"><a href="#cb415-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb415-6"><a href="#cb415-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb415-7"><a href="#cb415-7" aria-hidden="true"></a>Please visit [the link][ctan].</span>
+<span id="cb415-8"><a href="#cb415-8" aria-hidden="true"></a></span>
+<span id="cb415-9"><a href="#cb415-9" aria-hidden="true"></a> [ctan]: https://ctan.org/</span>
+<span id="cb415-10"><a href="#cb415-10" aria-hidden="true"></a> (the Comprehensive TeX Archive Network)</span>
+<span id="cb415-11"><a href="#cb415-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb415-12"><a href="#cb415-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb394"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb394-1"><a href="#cb394-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb416"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb416-1"><a href="#cb416-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Please visit the link <a href="https://ctan.org/" class="uri">https://ctan.org/</a> titled <em>the Comprehensive TeX Archive Network</em>.</p>
</blockquote>
<h4 data-number="2.3.1.10" id="image-renderer"><span class="header-section-number">2.3.1.10</span> Image Renderer</h4>
<p>The <code>\markdownRendererImage</code> macro represents an image. It receives four arguments: the label, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the link.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-46"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-50"><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="cb395"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb395-1"><a href="#cb395-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb395-2"><a href="#cb395-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb395-3"><a href="#cb395-3" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
-<span id="cb395-4"><a href="#cb395-4" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\@</span>=11</span>
-<span id="cb395-5"><a href="#cb395-5" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
-<span id="cb395-6"><a href="#cb395-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\^</span>^A=14</span>
-<span id="cb395-7"><a href="#cb395-7" aria-hidden="true"></a><span class="fu">\global\def\markdownRendererImage</span>#1#2#3#4{^^A</span>
-<span id="cb395-8"><a href="#cb395-8" aria-hidden="true"></a> <span class="fu">\immediate\write</span>18{^^A</span></code></pre></div>
-<div class="sourceCode" id="cb396"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb396-1"><a href="#cb396-1" aria-hidden="true"></a> <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></span>
-<span id="cb396-2"><a href="#cb396-2" aria-hidden="true"></a> <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></span>
-<span id="cb396-3"><a href="#cb396-3" aria-hidden="true"></a><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>;</span>
-<span id="cb396-4"><a href="#cb396-4" aria-hidden="true"></a> <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></span>
-<span id="cb396-5"><a href="#cb396-5" aria-hidden="true"></a> <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></span>
-<span id="cb396-6"><a href="#cb396-6" aria-hidden="true"></a> <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></span>
-<span id="cb396-7"><a href="#cb396-7" aria-hidden="true"></a> <span class="kw">fi</span>;</span>
-<span id="cb396-8"><a href="#cb396-8" aria-hidden="true"></a> <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></span>
-<span id="cb396-9"><a href="#cb396-9" aria-hidden="true"></a> <span class="kw">else</span></span>
-<span id="cb396-10"><a href="#cb396-10" aria-hidden="true"></a> <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></span>
-<span id="cb396-11"><a href="#cb396-11" aria-hidden="true"></a> <span class="kw">fi</span>^^<span class="ex">A</span></span></code></pre></div>
-<div class="sourceCode" id="cb397"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb397-1"><a href="#cb397-1" aria-hidden="true"></a> }^^A</span>
-<span id="cb397-2"><a href="#cb397-2" aria-hidden="true"></a> {^^A</span>
-<span id="cb397-3"><a href="#cb397-3" aria-hidden="true"></a> <span class="fu">\everyeof</span>={<span class="fu">\noexpand</span>}^^A</span>
-<span id="cb397-4"><a href="#cb397-4" aria-hidden="true"></a> <span class="fu">\edef\filename</span>{<span class="fu">\_</span>_markdowninput&quot;<span class="fu">\jobname</span>.fetched&quot; }^^A</span>
-<span id="cb397-5"><a href="#cb397-5" aria-hidden="true"></a> <span class="bu">\includegraphics</span>[width=<span class="fu">\textwidth</span>]{<span class="fu">\filename</span>}^^A</span>
-<span id="cb397-6"><a href="#cb397-6" aria-hidden="true"></a> }^^A</span>
-<span id="cb397-7"><a href="#cb397-7" aria-hidden="true"></a>}</span>
-<span id="cb397-8"><a href="#cb397-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
-<span id="cb397-9"><a href="#cb397-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb397-10"><a href="#cb397-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb397-11"><a href="#cb397-11" aria-hidden="true"></a>![TUGboat](https://tug.org/tugboat/noword.jpg)</span>
-<span id="cb397-12"><a href="#cb397-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb397-13"><a href="#cb397-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb398"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb398-1"><a href="#cb398-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb417"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb417-1"><a href="#cb417-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb417-2"><a href="#cb417-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb417-3"><a href="#cb417-3" aria-hidden="true"></a><span class="fu">\begingroup</span></span>
+<span id="cb417-4"><a href="#cb417-4" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\@</span>=11</span>
+<span id="cb417-5"><a href="#cb417-5" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\%</span>=12</span>
+<span id="cb417-6"><a href="#cb417-6" aria-hidden="true"></a><span class="fu">\catcode</span>`<span class="fu">\^</span>^A=14</span>
+<span id="cb417-7"><a href="#cb417-7" aria-hidden="true"></a><span class="fu">\global\def\markdownRendererImage</span>#1#2#3#4{^^A</span>
+<span id="cb417-8"><a href="#cb417-8" aria-hidden="true"></a> <span class="fu">\immediate\write</span>18{^^A</span></code></pre></div>
+<div class="sourceCode" id="cb418"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb418-1"><a href="#cb418-1" aria-hidden="true"></a> <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></span>
+<span id="cb418-2"><a href="#cb418-2" aria-hidden="true"></a> <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></span>
+<span id="cb418-3"><a href="#cb418-3" aria-hidden="true"></a><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>;</span>
+<span id="cb418-4"><a href="#cb418-4" aria-hidden="true"></a> <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></span>
+<span id="cb418-5"><a href="#cb418-5" aria-hidden="true"></a> <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></span>
+<span id="cb418-6"><a href="#cb418-6" aria-hidden="true"></a> <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></span>
+<span id="cb418-7"><a href="#cb418-7" aria-hidden="true"></a> <span class="kw">fi</span>;</span>
+<span id="cb418-8"><a href="#cb418-8" aria-hidden="true"></a> <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></span>
+<span id="cb418-9"><a href="#cb418-9" aria-hidden="true"></a> <span class="kw">else</span></span>
+<span id="cb418-10"><a href="#cb418-10" aria-hidden="true"></a> <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></span>
+<span id="cb418-11"><a href="#cb418-11" aria-hidden="true"></a> <span class="kw">fi</span>^^<span class="ex">A</span></span></code></pre></div>
+<div class="sourceCode" id="cb419"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb419-1"><a href="#cb419-1" aria-hidden="true"></a> }^^A</span>
+<span id="cb419-2"><a href="#cb419-2" aria-hidden="true"></a> {^^A</span>
+<span id="cb419-3"><a href="#cb419-3" aria-hidden="true"></a> <span class="fu">\everyeof</span>={<span class="fu">\noexpand</span>}^^A</span>
+<span id="cb419-4"><a href="#cb419-4" aria-hidden="true"></a> <span class="fu">\edef\filename</span>{<span class="fu">\_</span>_markdowninput&quot;<span class="fu">\jobname</span>.fetched&quot; }^^A</span>
+<span id="cb419-5"><a href="#cb419-5" aria-hidden="true"></a> <span class="bu">\includegraphics</span>[width=<span class="fu">\textwidth</span>]{<span class="fu">\filename</span>}^^A</span>
+<span id="cb419-6"><a href="#cb419-6" aria-hidden="true"></a> }^^A</span>
+<span id="cb419-7"><a href="#cb419-7" aria-hidden="true"></a>}</span>
+<span id="cb419-8"><a href="#cb419-8" aria-hidden="true"></a><span class="fu">\endgroup</span></span>
+<span id="cb419-9"><a href="#cb419-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb419-10"><a href="#cb419-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb419-11"><a href="#cb419-11" aria-hidden="true"></a>![TUGboat](https://tug.org/tugboat/noword.jpg)</span>
+<span id="cb419-12"><a href="#cb419-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb419-13"><a href="#cb419-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb420"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb420-1"><a href="#cb420-1" aria-hidden="true"></a><span class="ex">lualatex</span> --shell-escape document.tex</span></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>
</blockquote>
<h4 data-number="2.3.1.11" id="texcontentblockrenderers"><span class="header-section-number">2.3.1.11</span> Content Block Renderers</h4>
<p>The <code>\markdownRendererContentBlock</code> macro represents an iA Writer content block. It receives four arguments: the local file or online image filename extension cast to the lower case, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the content block.</p>
-<p>The <code>\markdownRendererContentBlockOnlineImage</code> macro represents an iA Writer online image content block. The macro receives the same arguments as .</p>
+<p>The <code>\markdownRendererContentBlockOnlineImage</code> macro represents an iA Writer online image content block. The macro receives the same arguments as <code>\markdownRendererContentBlock</code>.</p>
<p>The <code>\markdownRendererContentBlockCode</code> macro represents an iA Writer content block that was recognized as a file in a known programming language by its filename extension <span class="math inline"><em>s</em></span>. If any <code>markdown-languages.json</code> file found by <strong><code>kpathsea</code></strong> contains a record <span class="math inline">(<em>k</em>, <em>v</em>)</span>, then a non-online-image content block with the filename extension <span class="math inline"><em>s</em>, <em>s</em></span><code>:lower()</code><span class="math inline"> = <em>k</em></span> is considered to be in a known programming language <span class="math inline"><em>v</em></span>. The macro receives five arguments: the local file name extension <span class="math inline"><em>s</em></span> cast to the lower case, the language <span class="math inline"><em>v</em></span>, the fully escaped <abbr>uri</abbr> that can be directly typeset, the raw <abbr>uri</abbr> that can be used outside typesetting, and the title of the content block.</p>
<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 class="unnumbered" data-number="" id="plain-tex-example-23">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-24">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="cb399"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb399-1"><a href="#cb399-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb399-2"><a href="#cb399-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
-<span id="cb399-3"><a href="#cb399-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb399-4"><a href="#cb399-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
-<span id="cb399-5"><a href="#cb399-5" aria-hidden="true"></a>}</span>
-<span id="cb399-6"><a href="#cb399-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb399-7"><a href="#cb399-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
-<span id="cb399-8"><a href="#cb399-8" aria-hidden="true"></a>}</span>
-<span id="cb399-9"><a href="#cb399-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
-<span id="cb399-10"><a href="#cb399-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
-<span id="cb399-11"><a href="#cb399-11" aria-hidden="true"></a>}</span>
-<span id="cb399-12"><a href="#cb399-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb399-13"><a href="#cb399-13" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
-<span id="cb399-14"><a href="#cb399-14" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
-<span id="cb399-15"><a href="#cb399-15" aria-hidden="true"></a> and programming language names)</span>
-<span id="cb399-16"><a href="#cb399-16" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
-<span id="cb399-17"><a href="#cb399-17" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb399-18"><a href="#cb399-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb421"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb421-1"><a href="#cb421-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb421-2"><a href="#cb421-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
+<span id="cb421-3"><a href="#cb421-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb421-4"><a href="#cb421-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb421-5"><a href="#cb421-5" aria-hidden="true"></a>}</span>
+<span id="cb421-6"><a href="#cb421-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb421-7"><a href="#cb421-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb421-8"><a href="#cb421-8" aria-hidden="true"></a>}</span>
+<span id="cb421-9"><a href="#cb421-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
+<span id="cb421-10"><a href="#cb421-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
+<span id="cb421-11"><a href="#cb421-11" aria-hidden="true"></a>}</span>
+<span id="cb421-12"><a href="#cb421-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb421-13"><a href="#cb421-13" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb421-14"><a href="#cb421-14" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb421-15"><a href="#cb421-15" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb421-16"><a href="#cb421-16" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb421-17"><a href="#cb421-17" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb421-18"><a href="#cb421-18" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb400"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb400-1"><a href="#cb400-1" aria-hidden="true"></a>{</span>
-<span id="cb400-2"><a href="#cb400-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
-<span id="cb400-3"><a href="#cb400-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb422"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb422-1"><a href="#cb422-1" aria-hidden="true"></a>{</span>
+<span id="cb422-2"><a href="#cb422-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
+<span id="cb422-3"><a href="#cb422-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb401"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb401-1"><a href="#cb401-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb423"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb423-1"><a href="#cb423-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
<p>This is the JavaScript Object Notation (JSON) document <code>markdown-languages.json</code>, the mapping between filename extensions and programming language names.</p>
<p>This is the image <code>https://tug.org/tugboat/noword.jpg</code>, the logotype of TUGboat.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-47"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-51"><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="cb402"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb402-1"><a href="#cb402-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb402-2"><a href="#cb402-2" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{markdown-languages.json}</span>
-<span id="cb402-3"><a href="#cb402-3" aria-hidden="true"></a>{</span>
-<span id="cb402-4"><a href="#cb402-4" aria-hidden="true"></a> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</span>
-<span id="cb402-5"><a href="#cb402-5" aria-hidden="true"></a>}</span>
-<span id="cb402-6"><a href="#cb402-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
-<span id="cb402-7"><a href="#cb402-7" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
-<span id="cb402-8"><a href="#cb402-8" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb402-9"><a href="#cb402-9" aria-hidden="true"></a> renderers = {</span>
-<span id="cb402-10"><a href="#cb402-10" aria-hidden="true"></a> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</span>
-<span id="cb402-11"><a href="#cb402-11" aria-hidden="true"></a> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</span>
-<span id="cb402-12"><a href="#cb402-12" aria-hidden="true"></a> contentBlockCode = {<span class="co">%</span></span>
-<span id="cb402-13"><a href="#cb402-13" aria-hidden="true"></a> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</span>
-<span id="cb402-14"><a href="#cb402-14" aria-hidden="true"></a> },</span>
-<span id="cb402-15"><a href="#cb402-15" aria-hidden="true"></a> },</span>
-<span id="cb402-16"><a href="#cb402-16" aria-hidden="true"></a>}</span>
-<span id="cb402-17"><a href="#cb402-17" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb402-18"><a href="#cb402-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb402-19"><a href="#cb402-19" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
-<span id="cb402-20"><a href="#cb402-20" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
-<span id="cb402-21"><a href="#cb402-21" aria-hidden="true"></a> and programming language names)</span>
-<span id="cb402-22"><a href="#cb402-22" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
-<span id="cb402-23"><a href="#cb402-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb402-24"><a href="#cb402-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb403"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb403-1"><a href="#cb403-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb424"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb424-1"><a href="#cb424-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb424-2"><a href="#cb424-2" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">filecontents</span>}[overwrite,nosearch,noheader]{markdown-languages.json}</span>
+<span id="cb424-3"><a href="#cb424-3" aria-hidden="true"></a>{</span>
+<span id="cb424-4"><a href="#cb424-4" aria-hidden="true"></a> &quot;json&quot;: &quot;JavaScript Object Notation&quot;,</span>
+<span id="cb424-5"><a href="#cb424-5" aria-hidden="true"></a>}</span>
+<span id="cb424-6"><a href="#cb424-6" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">filecontents</span>}</span>
+<span id="cb424-7"><a href="#cb424-7" aria-hidden="true"></a><span class="bu">\usepackage</span>[contentBlocks]{<span class="ex">markdown</span>}</span>
+<span id="cb424-8"><a href="#cb424-8" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb424-9"><a href="#cb424-9" aria-hidden="true"></a> renderers = {</span>
+<span id="cb424-10"><a href="#cb424-10" aria-hidden="true"></a> contentBlock = {This is <span class="fu">\texttt</span>{#2}, #4.},</span>
+<span id="cb424-11"><a href="#cb424-11" aria-hidden="true"></a> contentBlockOnlineImage = {This is the image <span class="fu">\texttt</span>{#2}, #4.},</span>
+<span id="cb424-12"><a href="#cb424-12" aria-hidden="true"></a> contentBlockCode = {<span class="co">%</span></span>
+<span id="cb424-13"><a href="#cb424-13" aria-hidden="true"></a> This is the #2 (<span class="fu">\MakeUppercase</span>{#1}) document <span class="fu">\texttt</span>{#3}, #5.</span>
+<span id="cb424-14"><a href="#cb424-14" aria-hidden="true"></a> },</span>
+<span id="cb424-15"><a href="#cb424-15" aria-hidden="true"></a> },</span>
+<span id="cb424-16"><a href="#cb424-16" aria-hidden="true"></a>}</span>
+<span id="cb424-17"><a href="#cb424-17" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb424-18"><a href="#cb424-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb424-19"><a href="#cb424-19" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb424-20"><a href="#cb424-20" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb424-21"><a href="#cb424-21" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb424-22"><a href="#cb424-22" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb424-23"><a href="#cb424-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb424-24"><a href="#cb424-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb425"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb425-1"><a href="#cb425-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
<p>This is the JavaScript Object Notation (JSON) document <code>markdown-languages.json</code>, the mapping between filename extensions and programming language names.</p>
<p>This is the image <code>https://tug.org/tugboat/noword.jpg</code>, the logotype of TUGboat.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-35">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-39">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="cb404"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb404-1"><a href="#cb404-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb404-2"><a href="#cb404-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionContentBlocks</span>{true}</span>
-<span id="cb404-3"><a href="#cb404-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb404-4"><a href="#cb404-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
-<span id="cb404-5"><a href="#cb404-5" aria-hidden="true"></a>}</span>
-<span id="cb404-6"><a href="#cb404-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb404-7"><a href="#cb404-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
-<span id="cb404-8"><a href="#cb404-8" aria-hidden="true"></a>}</span>
-<span id="cb404-9"><a href="#cb404-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
-<span id="cb404-10"><a href="#cb404-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
-<span id="cb404-11"><a href="#cb404-11" aria-hidden="true"></a>}</span>
-<span id="cb404-12"><a href="#cb404-12" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb404-13"><a href="#cb404-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb404-14"><a href="#cb404-14" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
-<span id="cb404-15"><a href="#cb404-15" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
-<span id="cb404-16"><a href="#cb404-16" aria-hidden="true"></a> and programming language names)</span>
-<span id="cb404-17"><a href="#cb404-17" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
-<span id="cb404-18"><a href="#cb404-18" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb404-19"><a href="#cb404-19" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb426"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb426-1"><a href="#cb426-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb426-2"><a href="#cb426-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[contentBlocks = yes]</span>
+<span id="cb426-3"><a href="#cb426-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlock</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb426-4"><a href="#cb426-4" aria-hidden="true"></a> This is {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb426-5"><a href="#cb426-5" aria-hidden="true"></a>}</span>
+<span id="cb426-6"><a href="#cb426-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockOnlineImage</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb426-7"><a href="#cb426-7" aria-hidden="true"></a> This is the image {<span class="fu">\tt</span> #2}, #4.</span>
+<span id="cb426-8"><a href="#cb426-8" aria-hidden="true"></a>}</span>
+<span id="cb426-9"><a href="#cb426-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererContentBlockCode</span>#1#2#3#4#5{<span class="co">%</span></span>
+<span id="cb426-10"><a href="#cb426-10" aria-hidden="true"></a> This is the #2 (<span class="fu">\uppercase</span>{#1}) document {<span class="fu">\tt</span> #3}, #5.</span>
+<span id="cb426-11"><a href="#cb426-11" aria-hidden="true"></a>}</span>
+<span id="cb426-12"><a href="#cb426-12" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb426-13"><a href="#cb426-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb426-14"><a href="#cb426-14" aria-hidden="true"></a>/document.tex (the document that we are currently typesetting)</span>
+<span id="cb426-15"><a href="#cb426-15" aria-hidden="true"></a>/markdown-languages.json (the mapping between filename extensions</span>
+<span id="cb426-16"><a href="#cb426-16" aria-hidden="true"></a> and programming language names)</span>
+<span id="cb426-17"><a href="#cb426-17" aria-hidden="true"></a>https://tug.org/tugboat/noword.jpg (the logotype of TUGboat)</span>
+<span id="cb426-18"><a href="#cb426-18" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb426-19"><a href="#cb426-19" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Create also a text document named <code>markdown-languages.json</code> with the following content:</p>
-<div class="sourceCode" id="cb405"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb405-1"><a href="#cb405-1" aria-hidden="true"></a>{</span>
-<span id="cb405-2"><a href="#cb405-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
-<span id="cb405-3"><a href="#cb405-3" aria-hidden="true"></a>}</span></code></pre></div>
+<div class="sourceCode" id="cb427"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb427-1"><a href="#cb427-1" aria-hidden="true"></a>{</span>
+<span id="cb427-2"><a href="#cb427-2" aria-hidden="true"></a> <span class="st">&quot;json&quot;</span><span class="op">:</span> <span class="st">&quot;JavaScript Object Notation&quot;</span><span class="op">,</span></span>
+<span id="cb427-3"><a href="#cb427-3" aria-hidden="true"></a>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb406"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb406-1"><a href="#cb406-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb428"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb428-1"><a href="#cb428-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -4937,57 +5157,57 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.12" id="bullet-list-renderers"><span class="header-section-number">2.3.1.12</span> Bullet List Renderers</h4>
<p>The <code>\markdownRendererUlBegin</code> macro represents the beginning of a bulleted list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<p>The <code>\markdownRendererUlBeginTight</code> macro represents the beginning 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>
+<p>The <code>\markdownRendererUlBeginTight</code> macro represents the beginning 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 disabled. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlItem</code> macro represents an item in a bulleted list. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlItemEnd</code> macro represents the end of an item in a bulleted list. The macro receives no arguments.</p>
<p>The <code>\markdownRendererUlEnd</code> macro represents the end of a bulleted list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<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 class="unnumbered" data-number="" id="plain-tex-example-24">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<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 disabled. The macro receives no arguments.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-25">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="cb407"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb407-1"><a href="#cb407-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb407-2"><a href="#cb407-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb407-3"><a href="#cb407-3" aria-hidden="true"></a></span>
-<span id="cb407-4"><a href="#cb407-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb407-5"><a href="#cb407-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
-<span id="cb407-6"><a href="#cb407-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
-<span id="cb407-7"><a href="#cb407-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
-<span id="cb407-8"><a href="#cb407-8" aria-hidden="true"></a> ,</span>
-<span id="cb407-9"><a href="#cb407-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
-<span id="cb407-10"><a href="#cb407-10" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb407-11"><a href="#cb407-11" aria-hidden="true"></a>}</span>
-<span id="cb407-12"><a href="#cb407-12" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
-<span id="cb407-13"><a href="#cb407-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
-<span id="cb407-14"><a href="#cb407-14" aria-hidden="true"></a></span>
-<span id="cb407-15"><a href="#cb407-15" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb407-16"><a href="#cb407-16" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb407-17"><a href="#cb407-17" aria-hidden="true"></a></span>
-<span id="cb407-18"><a href="#cb407-18" aria-hidden="true"></a>- the first item</span>
-<span id="cb407-19"><a href="#cb407-19" aria-hidden="true"></a>- the second item</span>
-<span id="cb407-20"><a href="#cb407-20" aria-hidden="true"></a>- the third item</span>
-<span id="cb407-21"><a href="#cb407-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb407-22"><a href="#cb407-22" aria-hidden="true"></a></span>
-<span id="cb407-23"><a href="#cb407-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb407-24"><a href="#cb407-24" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb407-25"><a href="#cb407-25" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb407-26"><a href="#cb407-26" aria-hidden="true"></a>}</span>
-<span id="cb407-27"><a href="#cb407-27" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{}</span>
-<span id="cb407-28"><a href="#cb407-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{--<span class="fu">\kern</span> 0.5em}</span>
-<span id="cb407-29"><a href="#cb407-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.<span class="fu">\par</span>}</span>
-<span id="cb407-30"><a href="#cb407-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{}</span>
-<span id="cb407-31"><a href="#cb407-31" aria-hidden="true"></a></span>
-<span id="cb407-32"><a href="#cb407-32" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb407-33"><a href="#cb407-33" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb407-34"><a href="#cb407-34" aria-hidden="true"></a></span>
-<span id="cb407-35"><a href="#cb407-35" aria-hidden="true"></a>- This is the first item</span>
-<span id="cb407-36"><a href="#cb407-36" aria-hidden="true"></a></span>
-<span id="cb407-37"><a href="#cb407-37" aria-hidden="true"></a>- This is the second item</span>
-<span id="cb407-38"><a href="#cb407-38" aria-hidden="true"></a></span>
-<span id="cb407-39"><a href="#cb407-39" aria-hidden="true"></a>- This is the third item</span>
-<span id="cb407-40"><a href="#cb407-40" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb407-41"><a href="#cb407-41" aria-hidden="true"></a></span>
-<span id="cb407-42"><a href="#cb407-42" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb408"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb408-1"><a href="#cb408-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb429"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb429-1"><a href="#cb429-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb429-2"><a href="#cb429-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb429-3"><a href="#cb429-3" aria-hidden="true"></a></span>
+<span id="cb429-4"><a href="#cb429-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb429-5"><a href="#cb429-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
+<span id="cb429-6"><a href="#cb429-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb429-7"><a href="#cb429-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb429-8"><a href="#cb429-8" aria-hidden="true"></a> ,</span>
+<span id="cb429-9"><a href="#cb429-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb429-10"><a href="#cb429-10" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb429-11"><a href="#cb429-11" aria-hidden="true"></a>}</span>
+<span id="cb429-12"><a href="#cb429-12" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
+<span id="cb429-13"><a href="#cb429-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
+<span id="cb429-14"><a href="#cb429-14" aria-hidden="true"></a></span>
+<span id="cb429-15"><a href="#cb429-15" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb429-16"><a href="#cb429-16" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb429-17"><a href="#cb429-17" aria-hidden="true"></a></span>
+<span id="cb429-18"><a href="#cb429-18" aria-hidden="true"></a>- the first item</span>
+<span id="cb429-19"><a href="#cb429-19" aria-hidden="true"></a>- the second item</span>
+<span id="cb429-20"><a href="#cb429-20" aria-hidden="true"></a>- the third item</span>
+<span id="cb429-21"><a href="#cb429-21" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb429-22"><a href="#cb429-22" aria-hidden="true"></a></span>
+<span id="cb429-23"><a href="#cb429-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb429-24"><a href="#cb429-24" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb429-25"><a href="#cb429-25" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb429-26"><a href="#cb429-26" aria-hidden="true"></a>}</span>
+<span id="cb429-27"><a href="#cb429-27" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{}</span>
+<span id="cb429-28"><a href="#cb429-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{--<span class="fu">\kern</span> 0.5em}</span>
+<span id="cb429-29"><a href="#cb429-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb429-30"><a href="#cb429-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{}</span>
+<span id="cb429-31"><a href="#cb429-31" aria-hidden="true"></a></span>
+<span id="cb429-32"><a href="#cb429-32" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb429-33"><a href="#cb429-33" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb429-34"><a href="#cb429-34" aria-hidden="true"></a></span>
+<span id="cb429-35"><a href="#cb429-35" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb429-36"><a href="#cb429-36" aria-hidden="true"></a></span>
+<span id="cb429-37"><a href="#cb429-37" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb429-38"><a href="#cb429-38" aria-hidden="true"></a></span>
+<span id="cb429-39"><a href="#cb429-39" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb429-40"><a href="#cb429-40" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb429-41"><a href="#cb429-41" aria-hidden="true"></a></span>
+<span id="cb429-42"><a href="#cb429-42" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb430"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb430-1"><a href="#cb430-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
@@ -4998,57 +5218,57 @@ Thomas,Edison,1847</code></pre>
<li><p>This is the third item.</p></li>
</ul>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-48"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-52"><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="cb409"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb409-1"><a href="#cb409-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb409-2"><a href="#cb409-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</span>
-<span id="cb409-3"><a href="#cb409-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb409-4"><a href="#cb409-4" aria-hidden="true"></a></span>
-<span id="cb409-5"><a href="#cb409-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb409-6"><a href="#cb409-6" aria-hidden="true"></a> renderers = {</span>
-<span id="cb409-7"><a href="#cb409-7" aria-hidden="true"></a> interblockSeparator = {},</span>
-<span id="cb409-8"><a href="#cb409-8" aria-hidden="true"></a> ulBeginTight = { (},</span>
-<span id="cb409-9"><a href="#cb409-9" aria-hidden="true"></a> ulItem = {<span class="co">%</span></span>
-<span id="cb409-10"><a href="#cb409-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
-<span id="cb409-11"><a href="#cb409-11" aria-hidden="true"></a> ,</span>
-<span id="cb409-12"><a href="#cb409-12" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
-<span id="cb409-13"><a href="#cb409-13" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb409-14"><a href="#cb409-14" aria-hidden="true"></a> },</span>
-<span id="cb409-15"><a href="#cb409-15" aria-hidden="true"></a> ulItemEnd = {},</span>
-<span id="cb409-16"><a href="#cb409-16" aria-hidden="true"></a> ulEndTight = {).},</span>
-<span id="cb409-17"><a href="#cb409-17" aria-hidden="true"></a> },</span>
-<span id="cb409-18"><a href="#cb409-18" aria-hidden="true"></a>}</span>
-<span id="cb409-19"><a href="#cb409-19" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb409-20"><a href="#cb409-20" aria-hidden="true"></a></span>
-<span id="cb409-21"><a href="#cb409-21" aria-hidden="true"></a>- the first item</span>
-<span id="cb409-22"><a href="#cb409-22" aria-hidden="true"></a>- the second item</span>
-<span id="cb409-23"><a href="#cb409-23" aria-hidden="true"></a>- the third item</span>
-<span id="cb409-24"><a href="#cb409-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb409-25"><a href="#cb409-25" aria-hidden="true"></a></span>
-<span id="cb409-26"><a href="#cb409-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb409-27"><a href="#cb409-27" aria-hidden="true"></a> renderers = {</span>
-<span id="cb409-28"><a href="#cb409-28" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
-<span id="cb409-29"><a href="#cb409-29" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb409-30"><a href="#cb409-30" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb409-31"><a href="#cb409-31" aria-hidden="true"></a> },</span>
-<span id="cb409-32"><a href="#cb409-32" aria-hidden="true"></a> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</span>
-<span id="cb409-33"><a href="#cb409-33" aria-hidden="true"></a> ulItem = {<span class="fu">\item</span>},</span>
-<span id="cb409-34"><a href="#cb409-34" aria-hidden="true"></a> ulItemEnd = {.},</span>
-<span id="cb409-35"><a href="#cb409-35" aria-hidden="true"></a> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
-<span id="cb409-36"><a href="#cb409-36" aria-hidden="true"></a> },</span>
-<span id="cb409-37"><a href="#cb409-37" aria-hidden="true"></a>}</span>
-<span id="cb409-38"><a href="#cb409-38" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb409-39"><a href="#cb409-39" aria-hidden="true"></a></span>
-<span id="cb409-40"><a href="#cb409-40" aria-hidden="true"></a>- This is the first item</span>
-<span id="cb409-41"><a href="#cb409-41" aria-hidden="true"></a></span>
-<span id="cb409-42"><a href="#cb409-42" aria-hidden="true"></a>- This is the second item</span>
-<span id="cb409-43"><a href="#cb409-43" aria-hidden="true"></a></span>
-<span id="cb409-44"><a href="#cb409-44" aria-hidden="true"></a>- This is the third item</span>
-<span id="cb409-45"><a href="#cb409-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb409-46"><a href="#cb409-46" aria-hidden="true"></a></span>
-<span id="cb409-47"><a href="#cb409-47" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb410"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb410-1"><a href="#cb410-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb431"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb431-1"><a href="#cb431-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb431-2"><a href="#cb431-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists]{<span class="ex">markdown</span>}</span>
+<span id="cb431-3"><a href="#cb431-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb431-4"><a href="#cb431-4" aria-hidden="true"></a></span>
+<span id="cb431-5"><a href="#cb431-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb431-6"><a href="#cb431-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb431-7"><a href="#cb431-7" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb431-8"><a href="#cb431-8" aria-hidden="true"></a> ulBeginTight = { (},</span>
+<span id="cb431-9"><a href="#cb431-9" aria-hidden="true"></a> ulItem = {<span class="co">%</span></span>
+<span id="cb431-10"><a href="#cb431-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb431-11"><a href="#cb431-11" aria-hidden="true"></a> ,</span>
+<span id="cb431-12"><a href="#cb431-12" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb431-13"><a href="#cb431-13" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb431-14"><a href="#cb431-14" aria-hidden="true"></a> },</span>
+<span id="cb431-15"><a href="#cb431-15" aria-hidden="true"></a> ulItemEnd = {},</span>
+<span id="cb431-16"><a href="#cb431-16" aria-hidden="true"></a> ulEndTight = {).},</span>
+<span id="cb431-17"><a href="#cb431-17" aria-hidden="true"></a> },</span>
+<span id="cb431-18"><a href="#cb431-18" aria-hidden="true"></a>}</span>
+<span id="cb431-19"><a href="#cb431-19" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb431-20"><a href="#cb431-20" aria-hidden="true"></a></span>
+<span id="cb431-21"><a href="#cb431-21" aria-hidden="true"></a>- the first item</span>
+<span id="cb431-22"><a href="#cb431-22" aria-hidden="true"></a>- the second item</span>
+<span id="cb431-23"><a href="#cb431-23" aria-hidden="true"></a>- the third item</span>
+<span id="cb431-24"><a href="#cb431-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb431-25"><a href="#cb431-25" aria-hidden="true"></a></span>
+<span id="cb431-26"><a href="#cb431-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb431-27"><a href="#cb431-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb431-28"><a href="#cb431-28" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb431-29"><a href="#cb431-29" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb431-30"><a href="#cb431-30" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb431-31"><a href="#cb431-31" aria-hidden="true"></a> },</span>
+<span id="cb431-32"><a href="#cb431-32" aria-hidden="true"></a> ulBeginTight = {<span class="kw">\begin</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb431-33"><a href="#cb431-33" aria-hidden="true"></a> ulItem = {<span class="fu">\item</span>},</span>
+<span id="cb431-34"><a href="#cb431-34" aria-hidden="true"></a> ulItemEnd = {.},</span>
+<span id="cb431-35"><a href="#cb431-35" aria-hidden="true"></a> ulEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb431-36"><a href="#cb431-36" aria-hidden="true"></a> },</span>
+<span id="cb431-37"><a href="#cb431-37" aria-hidden="true"></a>}</span>
+<span id="cb431-38"><a href="#cb431-38" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb431-39"><a href="#cb431-39" aria-hidden="true"></a></span>
+<span id="cb431-40"><a href="#cb431-40" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb431-41"><a href="#cb431-41" aria-hidden="true"></a></span>
+<span id="cb431-42"><a href="#cb431-42" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb431-43"><a href="#cb431-43" aria-hidden="true"></a></span>
+<span id="cb431-44"><a href="#cb431-44" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb431-45"><a href="#cb431-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb431-46"><a href="#cb431-46" aria-hidden="true"></a></span>
+<span id="cb431-47"><a href="#cb431-47" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb432"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb432-1"><a href="#cb432-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -5059,53 +5279,53 @@ Thomas,Edison,1847</code></pre>
<li><p>This is the third item.</p></li>
</ul>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-36">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-40">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="cb411"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb411-1"><a href="#cb411-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb411-2"><a href="#cb411-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb411-3"><a href="#cb411-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb411-4"><a href="#cb411-4" aria-hidden="true"></a></span>
-<span id="cb411-5"><a href="#cb411-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb411-6"><a href="#cb411-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
-<span id="cb411-7"><a href="#cb411-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
-<span id="cb411-8"><a href="#cb411-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
-<span id="cb411-9"><a href="#cb411-9" aria-hidden="true"></a> ,</span>
-<span id="cb411-10"><a href="#cb411-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
-<span id="cb411-11"><a href="#cb411-11" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb411-12"><a href="#cb411-12" aria-hidden="true"></a>}</span>
-<span id="cb411-13"><a href="#cb411-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
-<span id="cb411-14"><a href="#cb411-14" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
-<span id="cb411-15"><a href="#cb411-15" aria-hidden="true"></a></span>
-<span id="cb411-16"><a href="#cb411-16" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb411-17"><a href="#cb411-17" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb411-18"><a href="#cb411-18" aria-hidden="true"></a></span>
-<span id="cb411-19"><a href="#cb411-19" aria-hidden="true"></a>- the first item</span>
-<span id="cb411-20"><a href="#cb411-20" aria-hidden="true"></a>- the second item</span>
-<span id="cb411-21"><a href="#cb411-21" aria-hidden="true"></a>- the third item</span>
-<span id="cb411-22"><a href="#cb411-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb411-23"><a href="#cb411-23" aria-hidden="true"></a></span>
-<span id="cb411-24"><a href="#cb411-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb411-25"><a href="#cb411-25" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb411-26"><a href="#cb411-26" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb411-27"><a href="#cb411-27" aria-hidden="true"></a>}</span>
-<span id="cb411-28"><a href="#cb411-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{<span class="fu">\startitemize</span>}</span>
-<span id="cb411-29"><a href="#cb411-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="fu">\item</span>}</span>
-<span id="cb411-30"><a href="#cb411-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.}</span>
-<span id="cb411-31"><a href="#cb411-31" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{<span class="fu">\stopitemize</span>}</span>
-<span id="cb411-32"><a href="#cb411-32" aria-hidden="true"></a></span>
-<span id="cb411-33"><a href="#cb411-33" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb411-34"><a href="#cb411-34" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb411-35"><a href="#cb411-35" aria-hidden="true"></a></span>
-<span id="cb411-36"><a href="#cb411-36" aria-hidden="true"></a>- This is the first item</span>
-<span id="cb411-37"><a href="#cb411-37" aria-hidden="true"></a></span>
-<span id="cb411-38"><a href="#cb411-38" aria-hidden="true"></a>- This is the second item</span>
-<span id="cb411-39"><a href="#cb411-39" aria-hidden="true"></a></span>
-<span id="cb411-40"><a href="#cb411-40" aria-hidden="true"></a>- This is the third item</span>
-<span id="cb411-41"><a href="#cb411-41" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb411-42"><a href="#cb411-42" aria-hidden="true"></a></span>
-<span id="cb411-43"><a href="#cb411-43" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb412"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb412-1"><a href="#cb412-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb433"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb433-1"><a href="#cb433-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb433-2"><a href="#cb433-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[tightLists = yes]</span>
+<span id="cb433-3"><a href="#cb433-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb433-4"><a href="#cb433-4" aria-hidden="true"></a></span>
+<span id="cb433-5"><a href="#cb433-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb433-6"><a href="#cb433-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBeginTight</span>{ (}</span>
+<span id="cb433-7"><a href="#cb433-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb433-8"><a href="#cb433-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{<span class="co">%</span></span>
+<span id="cb433-9"><a href="#cb433-9" aria-hidden="true"></a> ,</span>
+<span id="cb433-10"><a href="#cb433-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererUlItem</span>{, and }<span class="co">%</span></span>
+<span id="cb433-11"><a href="#cb433-11" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb433-12"><a href="#cb433-12" aria-hidden="true"></a>}</span>
+<span id="cb433-13"><a href="#cb433-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{}</span>
+<span id="cb433-14"><a href="#cb433-14" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEndTight</span>{).}</span>
+<span id="cb433-15"><a href="#cb433-15" aria-hidden="true"></a></span>
+<span id="cb433-16"><a href="#cb433-16" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb433-17"><a href="#cb433-17" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb433-18"><a href="#cb433-18" aria-hidden="true"></a></span>
+<span id="cb433-19"><a href="#cb433-19" aria-hidden="true"></a>- the first item</span>
+<span id="cb433-20"><a href="#cb433-20" aria-hidden="true"></a>- the second item</span>
+<span id="cb433-21"><a href="#cb433-21" aria-hidden="true"></a>- the third item</span>
+<span id="cb433-22"><a href="#cb433-22" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb433-23"><a href="#cb433-23" aria-hidden="true"></a></span>
+<span id="cb433-24"><a href="#cb433-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb433-25"><a href="#cb433-25" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb433-26"><a href="#cb433-26" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb433-27"><a href="#cb433-27" aria-hidden="true"></a>}</span>
+<span id="cb433-28"><a href="#cb433-28" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlBegin</span>{<span class="fu">\startitemize</span>}</span>
+<span id="cb433-29"><a href="#cb433-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItem</span>{<span class="fu">\item</span>}</span>
+<span id="cb433-30"><a href="#cb433-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlItemEnd</span>{.}</span>
+<span id="cb433-31"><a href="#cb433-31" aria-hidden="true"></a><span class="fu">\def\markdownRendererUlEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb433-32"><a href="#cb433-32" aria-hidden="true"></a></span>
+<span id="cb433-33"><a href="#cb433-33" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb433-34"><a href="#cb433-34" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb433-35"><a href="#cb433-35" aria-hidden="true"></a></span>
+<span id="cb433-36"><a href="#cb433-36" aria-hidden="true"></a>- This is the first item</span>
+<span id="cb433-37"><a href="#cb433-37" aria-hidden="true"></a></span>
+<span id="cb433-38"><a href="#cb433-38" aria-hidden="true"></a>- This is the second item</span>
+<span id="cb433-39"><a href="#cb433-39" aria-hidden="true"></a></span>
+<span id="cb433-40"><a href="#cb433-40" aria-hidden="true"></a>- This is the third item</span>
+<span id="cb433-41"><a href="#cb433-41" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb433-42"><a href="#cb433-42" aria-hidden="true"></a></span>
+<span id="cb433-43"><a href="#cb433-43" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb434"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb434-1"><a href="#cb434-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -5117,77 +5337,84 @@ Thomas,Edison,1847</code></pre>
</ul>
</blockquote>
<h4 data-number="2.3.1.13" id="ordered-list-renderers"><span class="header-section-number">2.3.1.13</span> Ordered List Renderers</h4>
-<p>The <code>\markdownRendererOlBegin</code> macro represents the beginning of an ordered list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<p>The <code>\markdownRendererOlBeginTight</code> macro represents the beginning 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>
-<p>The <code>\markdownRendererOlItem</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is <code>false</code>. The macro receives no arguments.</p>
-<p>The <code>\markdownRendererOlItemEnd</code> macro represents the end of an item in an ordered list. The macro receives no arguments.</p>
-<p>The <code>\markdownRendererOlItemWithNumber</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is enabled. The macro receives a single numeric argument that corresponds to the item number.</p>
-<p>The <code>\markdownRendererOlEnd</code> macro represents the end of an ordered list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<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 class="unnumbered" data-number="" id="plain-tex-example-25">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<p>The <code>\markdownRendererOlBegin</code> macro represents the beginning of an ordered list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererOlBeginTight</code> macro represents the beginning 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 enabled and the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererFancyOlBegin</code> macro represents the beginning of a fancy ordered list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is enabled. The macro receives two arguments: the style of the list item labels (<code>Decimal</code>, <code>LowerRoman</code>, <code>UpperRoman</code>, <code>LowerAlpha</code>, and <code>UpperAlpha</code>), and the style of delimiters between list item labels and texts (<code>Default</code>, <code>OneParen</code>, and <code>Period</code>).</p>
+<p>The <code>\markdownRendererFancyOlBeginTight</code> macro represents the beginning of a fancy 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>fancyLists</code></strong> and <strong><code>tightLists</code></strong> options are enabled. The macro receives two arguments: the style of the list item labels, and the style of delimiters between list item labels and texts. See the <code>\markdownRendererFancyOlBegin</code> macro for the valid style values.</p>
+<p>The <code>\markdownRendererOlItem</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is disabled and the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererOlItemEnd</code> macro represents the end of an item in an ordered list. This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererOlItemWithNumber</code> macro represents an item in an ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is enabled and the <strong><code>fancyLists</code></strong> option is disabled. The macro receives a single numeric argument that corresponds to the item number.</p>
+<p>The <code>\markdownRendererFancyOlItem</code> macro represents an item in a fancy ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> option is disabled and the <strong><code>fancyLists</code></strong> option is enabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererFancyOlItemEnd</code> macro represents the end of an item in a fancy ordered list. This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is enabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererFancyOlItemWithNumber</code> macro represents an item in a fancy ordered list. This macro will only be produced, when the <strong><code>startNumber</code></strong> and <strong><code>fancyLists</code></strong> options are enabled. The macro receives a single numeric argument that corresponds to the item number.</p>
+<p>The <code>\markdownRendererOlEnd</code> macro represents the end of an ordered list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<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 enabled and the <strong><code>fancyLists</code></strong> option is disabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererFancyOlEnd</code> macro represents the end of a fancy ordered list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>fancyLists</code></strong> option is enabled. The macro receives no arguments.</p>
+<p>The <code>\markdownRendererFancyOlEndTight</code> macro represents the end of a fancy 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>fancyLists</code></strong> and <strong><code>tightLists</code></strong> options are enabled. The macro receives no arguments.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-26">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="cb413"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb413-1"><a href="#cb413-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb413-2"><a href="#cb413-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb413-3"><a href="#cb413-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{true}</span>
-<span id="cb413-4"><a href="#cb413-4" aria-hidden="true"></a></span>
-<span id="cb413-5"><a href="#cb413-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb413-6"><a href="#cb413-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
-<span id="cb413-7"><a href="#cb413-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
-<span id="cb413-8"><a href="#cb413-8" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb413-9"><a href="#cb413-9" aria-hidden="true"></a> the first</span>
-<span id="cb413-10"><a href="#cb413-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb413-11"><a href="#cb413-11" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb413-12"><a href="#cb413-12" aria-hidden="true"></a> , the second</span>
-<span id="cb413-13"><a href="#cb413-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb413-14"><a href="#cb413-14" aria-hidden="true"></a> , and the third</span>
-<span id="cb413-15"><a href="#cb413-15" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb413-16"><a href="#cb413-16" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb413-17"><a href="#cb413-17" aria-hidden="true"></a>}</span>
-<span id="cb413-18"><a href="#cb413-18" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
-<span id="cb413-19"><a href="#cb413-19" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
-<span id="cb413-20"><a href="#cb413-20" aria-hidden="true"></a></span>
-<span id="cb413-21"><a href="#cb413-21" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb413-22"><a href="#cb413-22" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb413-23"><a href="#cb413-23" aria-hidden="true"></a></span>
-<span id="cb413-24"><a href="#cb413-24" aria-hidden="true"></a>1. item</span>
-<span id="cb413-25"><a href="#cb413-25" aria-hidden="true"></a>2. item</span>
-<span id="cb413-26"><a href="#cb413-26" aria-hidden="true"></a>3. item</span>
-<span id="cb413-27"><a href="#cb413-27" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb413-28"><a href="#cb413-28" aria-hidden="true"></a></span>
-<span id="cb413-29"><a href="#cb413-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb413-30"><a href="#cb413-30" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb413-31"><a href="#cb413-31" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb413-32"><a href="#cb413-32" aria-hidden="true"></a>}</span>
-<span id="cb413-33"><a href="#cb413-33" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{}</span>
-<span id="cb413-34"><a href="#cb413-34" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
-<span id="cb413-35"><a href="#cb413-35" aria-hidden="true"></a> #1.<span class="fu">\kern</span> 0.5em<span class="co">%</span></span>
-<span id="cb413-36"><a href="#cb413-36" aria-hidden="true"></a> This is the</span>
-<span id="cb413-37"><a href="#cb413-37" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb413-38"><a href="#cb413-38" aria-hidden="true"></a> first</span>
-<span id="cb413-39"><a href="#cb413-39" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb413-40"><a href="#cb413-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb413-41"><a href="#cb413-41" aria-hidden="true"></a> second</span>
-<span id="cb413-42"><a href="#cb413-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb413-43"><a href="#cb413-43" aria-hidden="true"></a> third</span>
-<span id="cb413-44"><a href="#cb413-44" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb413-45"><a href="#cb413-45" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb413-46"><a href="#cb413-46" aria-hidden="true"></a>}</span>
-<span id="cb413-47"><a href="#cb413-47" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
-<span id="cb413-48"><a href="#cb413-48" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{}</span>
-<span id="cb413-49"><a href="#cb413-49" aria-hidden="true"></a></span>
-<span id="cb413-50"><a href="#cb413-50" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb413-51"><a href="#cb413-51" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb413-52"><a href="#cb413-52" aria-hidden="true"></a></span>
-<span id="cb413-53"><a href="#cb413-53" aria-hidden="true"></a>1. item</span>
-<span id="cb413-54"><a href="#cb413-54" aria-hidden="true"></a></span>
-<span id="cb413-55"><a href="#cb413-55" aria-hidden="true"></a>2. item</span>
-<span id="cb413-56"><a href="#cb413-56" aria-hidden="true"></a></span>
-<span id="cb413-57"><a href="#cb413-57" aria-hidden="true"></a>3. item</span>
-<span id="cb413-58"><a href="#cb413-58" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb413-59"><a href="#cb413-59" aria-hidden="true"></a></span>
-<span id="cb413-60"><a href="#cb413-60" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb414"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb414-1"><a href="#cb414-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb435"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb435-1"><a href="#cb435-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb435-2"><a href="#cb435-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb435-3"><a href="#cb435-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{true}</span>
+<span id="cb435-4"><a href="#cb435-4" aria-hidden="true"></a></span>
+<span id="cb435-5"><a href="#cb435-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb435-6"><a href="#cb435-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
+<span id="cb435-7"><a href="#cb435-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb435-8"><a href="#cb435-8" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb435-9"><a href="#cb435-9" aria-hidden="true"></a> the first</span>
+<span id="cb435-10"><a href="#cb435-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb435-11"><a href="#cb435-11" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb435-12"><a href="#cb435-12" aria-hidden="true"></a> , the second</span>
+<span id="cb435-13"><a href="#cb435-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb435-14"><a href="#cb435-14" aria-hidden="true"></a> , and the third</span>
+<span id="cb435-15"><a href="#cb435-15" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb435-16"><a href="#cb435-16" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb435-17"><a href="#cb435-17" aria-hidden="true"></a>}</span>
+<span id="cb435-18"><a href="#cb435-18" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
+<span id="cb435-19"><a href="#cb435-19" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
+<span id="cb435-20"><a href="#cb435-20" aria-hidden="true"></a></span>
+<span id="cb435-21"><a href="#cb435-21" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb435-22"><a href="#cb435-22" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb435-23"><a href="#cb435-23" aria-hidden="true"></a></span>
+<span id="cb435-24"><a href="#cb435-24" aria-hidden="true"></a>1. item</span>
+<span id="cb435-25"><a href="#cb435-25" aria-hidden="true"></a>2. item</span>
+<span id="cb435-26"><a href="#cb435-26" aria-hidden="true"></a>3. item</span>
+<span id="cb435-27"><a href="#cb435-27" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb435-28"><a href="#cb435-28" aria-hidden="true"></a></span>
+<span id="cb435-29"><a href="#cb435-29" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb435-30"><a href="#cb435-30" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb435-31"><a href="#cb435-31" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb435-32"><a href="#cb435-32" aria-hidden="true"></a>}</span>
+<span id="cb435-33"><a href="#cb435-33" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{}</span>
+<span id="cb435-34"><a href="#cb435-34" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb435-35"><a href="#cb435-35" aria-hidden="true"></a> #1.<span class="fu">\kern</span> 0.5em<span class="co">%</span></span>
+<span id="cb435-36"><a href="#cb435-36" aria-hidden="true"></a> This is the</span>
+<span id="cb435-37"><a href="#cb435-37" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb435-38"><a href="#cb435-38" aria-hidden="true"></a> first</span>
+<span id="cb435-39"><a href="#cb435-39" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb435-40"><a href="#cb435-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb435-41"><a href="#cb435-41" aria-hidden="true"></a> second</span>
+<span id="cb435-42"><a href="#cb435-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb435-43"><a href="#cb435-43" aria-hidden="true"></a> third</span>
+<span id="cb435-44"><a href="#cb435-44" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb435-45"><a href="#cb435-45" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb435-46"><a href="#cb435-46" aria-hidden="true"></a>}</span>
+<span id="cb435-47"><a href="#cb435-47" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb435-48"><a href="#cb435-48" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{}</span>
+<span id="cb435-49"><a href="#cb435-49" aria-hidden="true"></a></span>
+<span id="cb435-50"><a href="#cb435-50" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb435-51"><a href="#cb435-51" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb435-52"><a href="#cb435-52" aria-hidden="true"></a></span>
+<span id="cb435-53"><a href="#cb435-53" aria-hidden="true"></a>1. item</span>
+<span id="cb435-54"><a href="#cb435-54" aria-hidden="true"></a></span>
+<span id="cb435-55"><a href="#cb435-55" aria-hidden="true"></a>2. item</span>
+<span id="cb435-56"><a href="#cb435-56" aria-hidden="true"></a></span>
+<span id="cb435-57"><a href="#cb435-57" aria-hidden="true"></a>3. item</span>
+<span id="cb435-58"><a href="#cb435-58" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb435-59"><a href="#cb435-59" aria-hidden="true"></a></span>
+<span id="cb435-60"><a href="#cb435-60" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb436"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb436-1"><a href="#cb436-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
@@ -5198,73 +5425,73 @@ Thomas,Edison,1847</code></pre>
<li><p>This is the third item.</p></li>
</ol>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-49"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-53"><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="cb415"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb415-1"><a href="#cb415-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb415-2"><a href="#cb415-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</span>
-<span id="cb415-3"><a href="#cb415-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb415-4"><a href="#cb415-4" aria-hidden="true"></a></span>
-<span id="cb415-5"><a href="#cb415-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb415-6"><a href="#cb415-6" aria-hidden="true"></a> renderers = {</span>
-<span id="cb415-7"><a href="#cb415-7" aria-hidden="true"></a> interblockSeparator = {},</span>
-<span id="cb415-8"><a href="#cb415-8" aria-hidden="true"></a> olBeginTight = { (},</span>
-<span id="cb415-9"><a href="#cb415-9" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
-<span id="cb415-10"><a href="#cb415-10" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb415-11"><a href="#cb415-11" aria-hidden="true"></a> the first</span>
-<span id="cb415-12"><a href="#cb415-12" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb415-13"><a href="#cb415-13" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb415-14"><a href="#cb415-14" aria-hidden="true"></a> , the second</span>
-<span id="cb415-15"><a href="#cb415-15" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb415-16"><a href="#cb415-16" aria-hidden="true"></a> , and the third</span>
-<span id="cb415-17"><a href="#cb415-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb415-18"><a href="#cb415-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb415-19"><a href="#cb415-19" aria-hidden="true"></a> },</span>
-<span id="cb415-20"><a href="#cb415-20" aria-hidden="true"></a> olItemEnd = {},</span>
-<span id="cb415-21"><a href="#cb415-21" aria-hidden="true"></a> olEndTight = {).},</span>
-<span id="cb415-22"><a href="#cb415-22" aria-hidden="true"></a> },</span>
-<span id="cb415-23"><a href="#cb415-23" aria-hidden="true"></a>}</span>
-<span id="cb415-24"><a href="#cb415-24" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb415-25"><a href="#cb415-25" aria-hidden="true"></a></span>
-<span id="cb415-26"><a href="#cb415-26" aria-hidden="true"></a>1. item</span>
-<span id="cb415-27"><a href="#cb415-27" aria-hidden="true"></a>2. item</span>
-<span id="cb415-28"><a href="#cb415-28" aria-hidden="true"></a>3. item</span>
-<span id="cb415-29"><a href="#cb415-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb415-30"><a href="#cb415-30" aria-hidden="true"></a></span>
-<span id="cb415-31"><a href="#cb415-31" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb415-32"><a href="#cb415-32" aria-hidden="true"></a> renderers = {</span>
-<span id="cb415-33"><a href="#cb415-33" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
-<span id="cb415-34"><a href="#cb415-34" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb415-35"><a href="#cb415-35" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb415-36"><a href="#cb415-36" aria-hidden="true"></a> },</span>
-<span id="cb415-37"><a href="#cb415-37" aria-hidden="true"></a> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</span>
-<span id="cb415-38"><a href="#cb415-38" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
-<span id="cb415-39"><a href="#cb415-39" aria-hidden="true"></a> <span class="fu">\item</span> This is the</span>
-<span id="cb415-40"><a href="#cb415-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb415-41"><a href="#cb415-41" aria-hidden="true"></a> first</span>
-<span id="cb415-42"><a href="#cb415-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb415-43"><a href="#cb415-43" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb415-44"><a href="#cb415-44" aria-hidden="true"></a> second</span>
-<span id="cb415-45"><a href="#cb415-45" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb415-46"><a href="#cb415-46" aria-hidden="true"></a> third</span>
-<span id="cb415-47"><a href="#cb415-47" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb415-48"><a href="#cb415-48" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb415-49"><a href="#cb415-49" aria-hidden="true"></a> },</span>
-<span id="cb415-50"><a href="#cb415-50" aria-hidden="true"></a> olItemEnd = {.},</span>
-<span id="cb415-51"><a href="#cb415-51" aria-hidden="true"></a> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</span>
-<span id="cb415-52"><a href="#cb415-52" aria-hidden="true"></a> },</span>
-<span id="cb415-53"><a href="#cb415-53" aria-hidden="true"></a>}</span>
-<span id="cb415-54"><a href="#cb415-54" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb415-55"><a href="#cb415-55" aria-hidden="true"></a></span>
-<span id="cb415-56"><a href="#cb415-56" aria-hidden="true"></a>1. item</span>
-<span id="cb415-57"><a href="#cb415-57" aria-hidden="true"></a></span>
-<span id="cb415-58"><a href="#cb415-58" aria-hidden="true"></a>2. item</span>
-<span id="cb415-59"><a href="#cb415-59" aria-hidden="true"></a></span>
-<span id="cb415-60"><a href="#cb415-60" aria-hidden="true"></a>3. item</span>
-<span id="cb415-61"><a href="#cb415-61" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb415-62"><a href="#cb415-62" aria-hidden="true"></a></span>
-<span id="cb415-63"><a href="#cb415-63" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb416"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb416-1"><a href="#cb416-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb437"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb437-1"><a href="#cb437-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb437-2"><a href="#cb437-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[tightLists, startNumber]{<span class="ex">markdown</span>}</span>
+<span id="cb437-3"><a href="#cb437-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb437-4"><a href="#cb437-4" aria-hidden="true"></a></span>
+<span id="cb437-5"><a href="#cb437-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb437-6"><a href="#cb437-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb437-7"><a href="#cb437-7" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb437-8"><a href="#cb437-8" aria-hidden="true"></a> olBeginTight = { (},</span>
+<span id="cb437-9"><a href="#cb437-9" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb437-10"><a href="#cb437-10" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb437-11"><a href="#cb437-11" aria-hidden="true"></a> the first</span>
+<span id="cb437-12"><a href="#cb437-12" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb437-13"><a href="#cb437-13" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb437-14"><a href="#cb437-14" aria-hidden="true"></a> , the second</span>
+<span id="cb437-15"><a href="#cb437-15" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb437-16"><a href="#cb437-16" aria-hidden="true"></a> , and the third</span>
+<span id="cb437-17"><a href="#cb437-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb437-18"><a href="#cb437-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb437-19"><a href="#cb437-19" aria-hidden="true"></a> },</span>
+<span id="cb437-20"><a href="#cb437-20" aria-hidden="true"></a> olItemEnd = {},</span>
+<span id="cb437-21"><a href="#cb437-21" aria-hidden="true"></a> olEndTight = {).},</span>
+<span id="cb437-22"><a href="#cb437-22" aria-hidden="true"></a> },</span>
+<span id="cb437-23"><a href="#cb437-23" aria-hidden="true"></a>}</span>
+<span id="cb437-24"><a href="#cb437-24" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb437-25"><a href="#cb437-25" aria-hidden="true"></a></span>
+<span id="cb437-26"><a href="#cb437-26" aria-hidden="true"></a>1. item</span>
+<span id="cb437-27"><a href="#cb437-27" aria-hidden="true"></a>2. item</span>
+<span id="cb437-28"><a href="#cb437-28" aria-hidden="true"></a>3. item</span>
+<span id="cb437-29"><a href="#cb437-29" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb437-30"><a href="#cb437-30" aria-hidden="true"></a></span>
+<span id="cb437-31"><a href="#cb437-31" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb437-32"><a href="#cb437-32" aria-hidden="true"></a> renderers = {</span>
+<span id="cb437-33"><a href="#cb437-33" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb437-34"><a href="#cb437-34" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb437-35"><a href="#cb437-35" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb437-36"><a href="#cb437-36" aria-hidden="true"></a> },</span>
+<span id="cb437-37"><a href="#cb437-37" aria-hidden="true"></a> olBeginTight = {<span class="kw">\begin</span>{<span class="ex">enumerate</span>}},</span>
+<span id="cb437-38"><a href="#cb437-38" aria-hidden="true"></a> olItemWithNumber = {<span class="co">%</span></span>
+<span id="cb437-39"><a href="#cb437-39" aria-hidden="true"></a> <span class="fu">\item</span> This is the</span>
+<span id="cb437-40"><a href="#cb437-40" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb437-41"><a href="#cb437-41" aria-hidden="true"></a> first</span>
+<span id="cb437-42"><a href="#cb437-42" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb437-43"><a href="#cb437-43" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb437-44"><a href="#cb437-44" aria-hidden="true"></a> second</span>
+<span id="cb437-45"><a href="#cb437-45" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb437-46"><a href="#cb437-46" aria-hidden="true"></a> third</span>
+<span id="cb437-47"><a href="#cb437-47" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb437-48"><a href="#cb437-48" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb437-49"><a href="#cb437-49" aria-hidden="true"></a> },</span>
+<span id="cb437-50"><a href="#cb437-50" aria-hidden="true"></a> olItemEnd = {.},</span>
+<span id="cb437-51"><a href="#cb437-51" aria-hidden="true"></a> olEnd = {<span class="kw">\end</span>{<span class="ex">enumerate</span>}},</span>
+<span id="cb437-52"><a href="#cb437-52" aria-hidden="true"></a> },</span>
+<span id="cb437-53"><a href="#cb437-53" aria-hidden="true"></a>}</span>
+<span id="cb437-54"><a href="#cb437-54" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb437-55"><a href="#cb437-55" aria-hidden="true"></a></span>
+<span id="cb437-56"><a href="#cb437-56" aria-hidden="true"></a>1. item</span>
+<span id="cb437-57"><a href="#cb437-57" aria-hidden="true"></a></span>
+<span id="cb437-58"><a href="#cb437-58" aria-hidden="true"></a>2. item</span>
+<span id="cb437-59"><a href="#cb437-59" aria-hidden="true"></a></span>
+<span id="cb437-60"><a href="#cb437-60" aria-hidden="true"></a>3. item</span>
+<span id="cb437-61"><a href="#cb437-61" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb437-62"><a href="#cb437-62" aria-hidden="true"></a></span>
+<span id="cb437-63"><a href="#cb437-63" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb438"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb438-1"><a href="#cb438-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -5275,71 +5502,74 @@ Thomas,Edison,1847</code></pre>
<li><p>This is the third item.</p></li>
</ol>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-37">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-41">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="cb417"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb417-1"><a href="#cb417-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb417-2"><a href="#cb417-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb417-3"><a href="#cb417-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionStartNumber</span>{true}</span>
-<span id="cb417-4"><a href="#cb417-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb417-5"><a href="#cb417-5" aria-hidden="true"></a></span>
-<span id="cb417-6"><a href="#cb417-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb417-7"><a href="#cb417-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
-<span id="cb417-8"><a href="#cb417-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
-<span id="cb417-9"><a href="#cb417-9" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb417-10"><a href="#cb417-10" aria-hidden="true"></a> the first</span>
-<span id="cb417-11"><a href="#cb417-11" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb417-12"><a href="#cb417-12" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb417-13"><a href="#cb417-13" aria-hidden="true"></a> , the second</span>
-<span id="cb417-14"><a href="#cb417-14" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb417-15"><a href="#cb417-15" aria-hidden="true"></a> , and the third</span>
-<span id="cb417-16"><a href="#cb417-16" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb417-17"><a href="#cb417-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb417-18"><a href="#cb417-18" aria-hidden="true"></a>}</span>
-<span id="cb417-19"><a href="#cb417-19" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
-<span id="cb417-20"><a href="#cb417-20" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
-<span id="cb417-21"><a href="#cb417-21" aria-hidden="true"></a></span>
-<span id="cb417-22"><a href="#cb417-22" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb417-23"><a href="#cb417-23" aria-hidden="true"></a>This is a tight list</span>
-<span id="cb417-24"><a href="#cb417-24" aria-hidden="true"></a></span>
-<span id="cb417-25"><a href="#cb417-25" aria-hidden="true"></a>1. item</span>
-<span id="cb417-26"><a href="#cb417-26" aria-hidden="true"></a>2. item</span>
-<span id="cb417-27"><a href="#cb417-27" aria-hidden="true"></a>3. item</span>
-<span id="cb417-28"><a href="#cb417-28" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb417-29"><a href="#cb417-29" aria-hidden="true"></a></span>
-<span id="cb417-30"><a href="#cb417-30" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb417-31"><a href="#cb417-31" aria-hidden="true"></a> :<span class="fu">\par</span></span>
-<span id="cb417-32"><a href="#cb417-32" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb417-33"><a href="#cb417-33" aria-hidden="true"></a>}</span>
-<span id="cb417-34"><a href="#cb417-34" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{<span class="fu">\startitemize</span>}</span>
-<span id="cb417-35"><a href="#cb417-35" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
-<span id="cb417-36"><a href="#cb417-36" aria-hidden="true"></a> <span class="fu">\sym</span>{#1.}</span>
-<span id="cb417-37"><a href="#cb417-37" aria-hidden="true"></a> This is the</span>
-<span id="cb417-38"><a href="#cb417-38" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
-<span id="cb417-39"><a href="#cb417-39" aria-hidden="true"></a> first</span>
-<span id="cb417-40"><a href="#cb417-40" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb417-41"><a href="#cb417-41" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
-<span id="cb417-42"><a href="#cb417-42" aria-hidden="true"></a> second</span>
-<span id="cb417-43"><a href="#cb417-43" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb417-44"><a href="#cb417-44" aria-hidden="true"></a> third</span>
-<span id="cb417-45"><a href="#cb417-45" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb417-46"><a href="#cb417-46" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb417-47"><a href="#cb417-47" aria-hidden="true"></a>}</span>
-<span id="cb417-48"><a href="#cb417-48" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
-<span id="cb417-49"><a href="#cb417-49" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{<span class="fu">\stopitemize</span>}</span>
-<span id="cb417-50"><a href="#cb417-50" aria-hidden="true"></a></span>
-<span id="cb417-51"><a href="#cb417-51" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb417-52"><a href="#cb417-52" aria-hidden="true"></a>This is a loose list</span>
-<span id="cb417-53"><a href="#cb417-53" aria-hidden="true"></a></span>
-<span id="cb417-54"><a href="#cb417-54" aria-hidden="true"></a>1. item</span>
-<span id="cb417-55"><a href="#cb417-55" aria-hidden="true"></a></span>
-<span id="cb417-56"><a href="#cb417-56" aria-hidden="true"></a>2. item</span>
-<span id="cb417-57"><a href="#cb417-57" aria-hidden="true"></a></span>
-<span id="cb417-58"><a href="#cb417-58" aria-hidden="true"></a>3. item</span>
-<span id="cb417-59"><a href="#cb417-59" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb417-60"><a href="#cb417-60" aria-hidden="true"></a></span>
-<span id="cb417-61"><a href="#cb417-61" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb418"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb418-1"><a href="#cb418-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb439"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb439-1"><a href="#cb439-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb439-2"><a href="#cb439-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb439-3"><a href="#cb439-3" aria-hidden="true"></a> [</span>
+<span id="cb439-4"><a href="#cb439-4" aria-hidden="true"></a> tightLists = yes,</span>
+<span id="cb439-5"><a href="#cb439-5" aria-hidden="true"></a> startNumber = yes,</span>
+<span id="cb439-6"><a href="#cb439-6" aria-hidden="true"></a> ]</span>
+<span id="cb439-7"><a href="#cb439-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb439-8"><a href="#cb439-8" aria-hidden="true"></a></span>
+<span id="cb439-9"><a href="#cb439-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb439-10"><a href="#cb439-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBeginTight</span>{ (}</span>
+<span id="cb439-11"><a href="#cb439-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb439-12"><a href="#cb439-12" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb439-13"><a href="#cb439-13" aria-hidden="true"></a> the first</span>
+<span id="cb439-14"><a href="#cb439-14" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb439-15"><a href="#cb439-15" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb439-16"><a href="#cb439-16" aria-hidden="true"></a> , the second</span>
+<span id="cb439-17"><a href="#cb439-17" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb439-18"><a href="#cb439-18" aria-hidden="true"></a> , and the third</span>
+<span id="cb439-19"><a href="#cb439-19" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb439-20"><a href="#cb439-20" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb439-21"><a href="#cb439-21" aria-hidden="true"></a>}</span>
+<span id="cb439-22"><a href="#cb439-22" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{}</span>
+<span id="cb439-23"><a href="#cb439-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEndTight</span>{).}</span>
+<span id="cb439-24"><a href="#cb439-24" aria-hidden="true"></a></span>
+<span id="cb439-25"><a href="#cb439-25" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb439-26"><a href="#cb439-26" aria-hidden="true"></a>This is a tight list</span>
+<span id="cb439-27"><a href="#cb439-27" aria-hidden="true"></a></span>
+<span id="cb439-28"><a href="#cb439-28" aria-hidden="true"></a>1. item</span>
+<span id="cb439-29"><a href="#cb439-29" aria-hidden="true"></a>2. item</span>
+<span id="cb439-30"><a href="#cb439-30" aria-hidden="true"></a>3. item</span>
+<span id="cb439-31"><a href="#cb439-31" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb439-32"><a href="#cb439-32" aria-hidden="true"></a></span>
+<span id="cb439-33"><a href="#cb439-33" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb439-34"><a href="#cb439-34" aria-hidden="true"></a> :<span class="fu">\par</span></span>
+<span id="cb439-35"><a href="#cb439-35" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb439-36"><a href="#cb439-36" aria-hidden="true"></a>}</span>
+<span id="cb439-37"><a href="#cb439-37" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlBegin</span>{<span class="fu">\startitemize</span>}</span>
+<span id="cb439-38"><a href="#cb439-38" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemWithNumber</span>#1{<span class="co">%</span></span>
+<span id="cb439-39"><a href="#cb439-39" aria-hidden="true"></a> <span class="fu">\sym</span>{#1.}</span>
+<span id="cb439-40"><a href="#cb439-40" aria-hidden="true"></a> This is the</span>
+<span id="cb439-41"><a href="#cb439-41" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=1<span class="fu">\relax</span></span>
+<span id="cb439-42"><a href="#cb439-42" aria-hidden="true"></a> first</span>
+<span id="cb439-43"><a href="#cb439-43" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb439-44"><a href="#cb439-44" aria-hidden="true"></a> <span class="fu">\ifnum</span> #1=2<span class="fu">\relax</span></span>
+<span id="cb439-45"><a href="#cb439-45" aria-hidden="true"></a> second</span>
+<span id="cb439-46"><a href="#cb439-46" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb439-47"><a href="#cb439-47" aria-hidden="true"></a> third</span>
+<span id="cb439-48"><a href="#cb439-48" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb439-49"><a href="#cb439-49" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb439-50"><a href="#cb439-50" aria-hidden="true"></a>}</span>
+<span id="cb439-51"><a href="#cb439-51" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlItemEnd</span>{.<span class="fu">\par</span>}</span>
+<span id="cb439-52"><a href="#cb439-52" aria-hidden="true"></a><span class="fu">\def\markdownRendererOlEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb439-53"><a href="#cb439-53" aria-hidden="true"></a></span>
+<span id="cb439-54"><a href="#cb439-54" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb439-55"><a href="#cb439-55" aria-hidden="true"></a>This is a loose list</span>
+<span id="cb439-56"><a href="#cb439-56" aria-hidden="true"></a></span>
+<span id="cb439-57"><a href="#cb439-57" aria-hidden="true"></a>1. item</span>
+<span id="cb439-58"><a href="#cb439-58" aria-hidden="true"></a></span>
+<span id="cb439-59"><a href="#cb439-59" aria-hidden="true"></a>2. item</span>
+<span id="cb439-60"><a href="#cb439-60" aria-hidden="true"></a></span>
+<span id="cb439-61"><a href="#cb439-61" aria-hidden="true"></a>3. item</span>
+<span id="cb439-62"><a href="#cb439-62" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb439-63"><a href="#cb439-63" aria-hidden="true"></a></span>
+<span id="cb439-64"><a href="#cb439-64" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb440"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb440-1"><a href="#cb440-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -5353,95 +5583,95 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.14" id="definition-list-renderers"><span class="header-section-number">2.3.1.14</span> Definition List Renderers</h4>
<p>The following macros are only produced, when the <strong><code>definitionLists</code></strong> option is enabled.</p>
<p>The <code>\markdownRendererDlBegin</code> macro represents the beginning of a definition list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<p>The <code>\markdownRendererDlBeginTight</code> macro represents the beginning of a definition list that contains an item with several paragraphs of text (the list is not 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>
+<p>The <code>\markdownRendererDlBeginTight</code> macro represents the beginning of a definition list that contains an item with several paragraphs of text (the list is not tight). This macro will only be produced, when the <strong><code>tightLists</code></strong> option is disabled. The macro receives no arguments.</p>
<p>The <code>\markdownRendererDlItem</code> macro represents a term in a definition list. The macro receives a single argument that corresponds to the term being defined.</p>
<p>The <code>\markdownRendererDlItemEnd</code> macro represents the end of a list of definitions for a single term.</p>
<p>The <code>\markdownRendererDlDefinitionBegin</code> macro represents the beginning of a definition in a definition list. There can be several definitions for a single term.</p>
<p>The <code>\markdownRendererDlDefinitionEnd</code> macro represents the end of a definition in a definition list. There can be several definitions for a single term.</p>
<p>The <code>\markdownRendererDlEnd</code> macro represents the end of a definition list that contains an item with several paragraphs of text (the list is not tight). The macro receives no arguments.</p>
-<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 class="unnumbered" data-number="" id="plain-tex-example-26">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<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 disabled. The macro receives no arguments.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-27">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="cb419"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb419-1"><a href="#cb419-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb419-2"><a href="#cb419-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
-<span id="cb419-3"><a href="#cb419-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb419-4"><a href="#cb419-4" aria-hidden="true"></a></span>
-<span id="cb419-5"><a href="#cb419-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb419-6"><a href="#cb419-6" aria-hidden="true"></a> :<span class="co">%</span></span>
-<span id="cb419-7"><a href="#cb419-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb419-8"><a href="#cb419-8" aria-hidden="true"></a>}</span>
-<span id="cb419-9"><a href="#cb419-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{<span class="co">%</span></span>
-<span id="cb419-10"><a href="#cb419-10" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
-<span id="cb419-11"><a href="#cb419-11" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
-<span id="cb419-12"><a href="#cb419-12" aria-hidden="true"></a>}</span>
-<span id="cb419-13"><a href="#cb419-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
-<span id="cb419-14"><a href="#cb419-14" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
-<span id="cb419-15"><a href="#cb419-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb419-16"><a href="#cb419-16" aria-hidden="true"></a> ,</span>
-<span id="cb419-17"><a href="#cb419-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb419-18"><a href="#cb419-18" aria-hidden="true"></a> , and</span>
-<span id="cb419-19"><a href="#cb419-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
-<span id="cb419-20"><a href="#cb419-20" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb419-21"><a href="#cb419-21" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb419-22"><a href="#cb419-22" aria-hidden="true"></a>}</span>
-<span id="cb419-23"><a href="#cb419-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
-<span id="cb419-24"><a href="#cb419-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\par</span>--<span class="fu">\kern</span> 0.5em}</span>
-<span id="cb419-25"><a href="#cb419-25" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{<span class="fu">\endgroup</span>}</span>
-<span id="cb419-26"><a href="#cb419-26" aria-hidden="true"></a></span>
-<span id="cb419-27"><a href="#cb419-27" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb419-28"><a href="#cb419-28" aria-hidden="true"></a>This is a tight definition list</span>
-<span id="cb419-29"><a href="#cb419-29" aria-hidden="true"></a></span>
-<span id="cb419-30"><a href="#cb419-30" aria-hidden="true"></a>Coffee</span>
-<span id="cb419-31"><a href="#cb419-31" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb419-32"><a href="#cb419-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb419-33"><a href="#cb419-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb419-34"><a href="#cb419-34" aria-hidden="true"></a></span>
-<span id="cb419-35"><a href="#cb419-35" aria-hidden="true"></a>Milk</span>
-<span id="cb419-36"><a href="#cb419-36" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb419-37"><a href="#cb419-37" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb419-38"><a href="#cb419-38" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb419-39"><a href="#cb419-39" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb419-40"><a href="#cb419-40" aria-hidden="true"></a></span>
-<span id="cb419-41"><a href="#cb419-41" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb419-42"><a href="#cb419-42" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb419-43"><a href="#cb419-43" aria-hidden="true"></a>}</span>
-<span id="cb419-44"><a href="#cb419-44" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
-<span id="cb419-45"><a href="#cb419-45" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
-<span id="cb419-46"><a href="#cb419-46" aria-hidden="true"></a> . #1 is a</span>
-<span id="cb419-47"><a href="#cb419-47" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb419-48"><a href="#cb419-48" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb419-49"><a href="#cb419-49" aria-hidden="true"></a> ,</span>
-<span id="cb419-50"><a href="#cb419-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
-<span id="cb419-51"><a href="#cb419-51" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb419-52"><a href="#cb419-52" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb419-53"><a href="#cb419-53" aria-hidden="true"></a>}</span>
-<span id="cb419-54"><a href="#cb419-54" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
-<span id="cb419-55"><a href="#cb419-55" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
-<span id="cb419-56"><a href="#cb419-56" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
-<span id="cb419-57"><a href="#cb419-57" aria-hidden="true"></a></span>
-<span id="cb419-58"><a href="#cb419-58" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb419-59"><a href="#cb419-59" aria-hidden="true"></a>This is a loose definition list</span>
-<span id="cb419-60"><a href="#cb419-60" aria-hidden="true"></a></span>
-<span id="cb419-61"><a href="#cb419-61" aria-hidden="true"></a>Coffee</span>
-<span id="cb419-62"><a href="#cb419-62" aria-hidden="true"></a></span>
-<span id="cb419-63"><a href="#cb419-63" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb419-64"><a href="#cb419-64" aria-hidden="true"></a></span>
-<span id="cb419-65"><a href="#cb419-65" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb419-66"><a href="#cb419-66" aria-hidden="true"></a></span>
-<span id="cb419-67"><a href="#cb419-67" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb419-68"><a href="#cb419-68" aria-hidden="true"></a></span>
-<span id="cb419-69"><a href="#cb419-69" aria-hidden="true"></a>Milk</span>
-<span id="cb419-70"><a href="#cb419-70" aria-hidden="true"></a></span>
-<span id="cb419-71"><a href="#cb419-71" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb419-72"><a href="#cb419-72" aria-hidden="true"></a></span>
-<span id="cb419-73"><a href="#cb419-73" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb419-74"><a href="#cb419-74" aria-hidden="true"></a></span>
-<span id="cb419-75"><a href="#cb419-75" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb419-76"><a href="#cb419-76" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb419-77"><a href="#cb419-77" aria-hidden="true"></a></span>
-<span id="cb419-78"><a href="#cb419-78" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb420"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb420-1"><a href="#cb420-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb441"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb441-1"><a href="#cb441-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb441-2"><a href="#cb441-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
+<span id="cb441-3"><a href="#cb441-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
+<span id="cb441-4"><a href="#cb441-4" aria-hidden="true"></a></span>
+<span id="cb441-5"><a href="#cb441-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb441-6"><a href="#cb441-6" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb441-7"><a href="#cb441-7" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb441-8"><a href="#cb441-8" aria-hidden="true"></a>}</span>
+<span id="cb441-9"><a href="#cb441-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{<span class="co">%</span></span>
+<span id="cb441-10"><a href="#cb441-10" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb441-11"><a href="#cb441-11" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
+<span id="cb441-12"><a href="#cb441-12" aria-hidden="true"></a>}</span>
+<span id="cb441-13"><a href="#cb441-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb441-14"><a href="#cb441-14" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
+<span id="cb441-15"><a href="#cb441-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb441-16"><a href="#cb441-16" aria-hidden="true"></a> ,</span>
+<span id="cb441-17"><a href="#cb441-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb441-18"><a href="#cb441-18" aria-hidden="true"></a> , and</span>
+<span id="cb441-19"><a href="#cb441-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb441-20"><a href="#cb441-20" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb441-21"><a href="#cb441-21" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb441-22"><a href="#cb441-22" aria-hidden="true"></a>}</span>
+<span id="cb441-23"><a href="#cb441-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb441-24"><a href="#cb441-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\par</span>--<span class="fu">\kern</span> 0.5em}</span>
+<span id="cb441-25"><a href="#cb441-25" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{<span class="fu">\endgroup</span>}</span>
+<span id="cb441-26"><a href="#cb441-26" aria-hidden="true"></a></span>
+<span id="cb441-27"><a href="#cb441-27" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb441-28"><a href="#cb441-28" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb441-29"><a href="#cb441-29" aria-hidden="true"></a></span>
+<span id="cb441-30"><a href="#cb441-30" aria-hidden="true"></a>Coffee</span>
+<span id="cb441-31"><a href="#cb441-31" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb441-32"><a href="#cb441-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb441-33"><a href="#cb441-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb441-34"><a href="#cb441-34" aria-hidden="true"></a></span>
+<span id="cb441-35"><a href="#cb441-35" aria-hidden="true"></a>Milk</span>
+<span id="cb441-36"><a href="#cb441-36" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb441-37"><a href="#cb441-37" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb441-38"><a href="#cb441-38" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb441-39"><a href="#cb441-39" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb441-40"><a href="#cb441-40" aria-hidden="true"></a></span>
+<span id="cb441-41"><a href="#cb441-41" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb441-42"><a href="#cb441-42" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb441-43"><a href="#cb441-43" aria-hidden="true"></a>}</span>
+<span id="cb441-44"><a href="#cb441-44" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
+<span id="cb441-45"><a href="#cb441-45" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb441-46"><a href="#cb441-46" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb441-47"><a href="#cb441-47" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb441-48"><a href="#cb441-48" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb441-49"><a href="#cb441-49" aria-hidden="true"></a> ,</span>
+<span id="cb441-50"><a href="#cb441-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb441-51"><a href="#cb441-51" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb441-52"><a href="#cb441-52" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb441-53"><a href="#cb441-53" aria-hidden="true"></a>}</span>
+<span id="cb441-54"><a href="#cb441-54" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb441-55"><a href="#cb441-55" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
+<span id="cb441-56"><a href="#cb441-56" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
+<span id="cb441-57"><a href="#cb441-57" aria-hidden="true"></a></span>
+<span id="cb441-58"><a href="#cb441-58" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb441-59"><a href="#cb441-59" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb441-60"><a href="#cb441-60" aria-hidden="true"></a></span>
+<span id="cb441-61"><a href="#cb441-61" aria-hidden="true"></a>Coffee</span>
+<span id="cb441-62"><a href="#cb441-62" aria-hidden="true"></a></span>
+<span id="cb441-63"><a href="#cb441-63" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb441-64"><a href="#cb441-64" aria-hidden="true"></a></span>
+<span id="cb441-65"><a href="#cb441-65" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb441-66"><a href="#cb441-66" aria-hidden="true"></a></span>
+<span id="cb441-67"><a href="#cb441-67" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb441-68"><a href="#cb441-68" aria-hidden="true"></a></span>
+<span id="cb441-69"><a href="#cb441-69" aria-hidden="true"></a>Milk</span>
+<span id="cb441-70"><a href="#cb441-70" aria-hidden="true"></a></span>
+<span id="cb441-71"><a href="#cb441-71" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb441-72"><a href="#cb441-72" aria-hidden="true"></a></span>
+<span id="cb441-73"><a href="#cb441-73" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb441-74"><a href="#cb441-74" aria-hidden="true"></a></span>
+<span id="cb441-75"><a href="#cb441-75" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb441-76"><a href="#cb441-76" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb441-77"><a href="#cb441-77" aria-hidden="true"></a></span>
+<span id="cb441-78"><a href="#cb441-78" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb442"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb442-1"><a href="#cb442-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
@@ -5459,90 +5689,90 @@ Thomas,Edison,1847</code></pre>
</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 class="unnumbered" data-number="" id="latex-example-50"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-54"><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="cb421"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb421-1"><a href="#cb421-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb421-2"><a href="#cb421-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</span>
-<span id="cb421-3"><a href="#cb421-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb421-4"><a href="#cb421-4" aria-hidden="true"></a></span>
-<span id="cb421-5"><a href="#cb421-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb421-6"><a href="#cb421-6" aria-hidden="true"></a> renderers = {</span>
-<span id="cb421-7"><a href="#cb421-7" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
-<span id="cb421-8"><a href="#cb421-8" aria-hidden="true"></a> :<span class="co">%</span></span>
-<span id="cb421-9"><a href="#cb421-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb421-10"><a href="#cb421-10" aria-hidden="true"></a> },</span>
-<span id="cb421-11"><a href="#cb421-11" aria-hidden="true"></a> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</span>
-<span id="cb421-12"><a href="#cb421-12" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
-<span id="cb421-13"><a href="#cb421-13" aria-hidden="true"></a> <span class="fu">\item</span>[#1]</span>
-<span id="cb421-14"><a href="#cb421-14" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</span>
-<span id="cb421-15"><a href="#cb421-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb421-16"><a href="#cb421-16" aria-hidden="true"></a> ,</span>
-<span id="cb421-17"><a href="#cb421-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb421-18"><a href="#cb421-18" aria-hidden="true"></a> , and</span>
-<span id="cb421-19"><a href="#cb421-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
-<span id="cb421-20"><a href="#cb421-20" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb421-21"><a href="#cb421-21" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb421-22"><a href="#cb421-22" aria-hidden="true"></a> },</span>
-<span id="cb421-23"><a href="#cb421-23" aria-hidden="true"></a> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
-<span id="cb421-24"><a href="#cb421-24" aria-hidden="true"></a> dlDefinitionBegin = <span class="fu">\item</span>,</span>
-<span id="cb421-25"><a href="#cb421-25" aria-hidden="true"></a> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</span>
-<span id="cb421-26"><a href="#cb421-26" aria-hidden="true"></a> },</span>
-<span id="cb421-27"><a href="#cb421-27" aria-hidden="true"></a>}</span>
-<span id="cb421-28"><a href="#cb421-28" aria-hidden="true"></a>This is a tight definition list</span>
-<span id="cb421-29"><a href="#cb421-29" aria-hidden="true"></a></span>
-<span id="cb421-30"><a href="#cb421-30" aria-hidden="true"></a>Coffee</span>
-<span id="cb421-31"><a href="#cb421-31" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb421-32"><a href="#cb421-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb421-33"><a href="#cb421-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb421-34"><a href="#cb421-34" aria-hidden="true"></a></span>
-<span id="cb421-35"><a href="#cb421-35" aria-hidden="true"></a>Milk</span>
-<span id="cb421-36"><a href="#cb421-36" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb421-37"><a href="#cb421-37" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb421-38"><a href="#cb421-38" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb421-39"><a href="#cb421-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb421-40"><a href="#cb421-40" aria-hidden="true"></a></span>
-<span id="cb421-41"><a href="#cb421-41" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb421-42"><a href="#cb421-42" aria-hidden="true"></a> renderers = {</span>
-<span id="cb421-43"><a href="#cb421-43" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
-<span id="cb421-44"><a href="#cb421-44" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb421-45"><a href="#cb421-45" aria-hidden="true"></a> },</span>
-<span id="cb421-46"><a href="#cb421-46" aria-hidden="true"></a> dlBegin = {},</span>
-<span id="cb421-47"><a href="#cb421-47" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
-<span id="cb421-48"><a href="#cb421-48" aria-hidden="true"></a> . #1 is a</span>
-<span id="cb421-49"><a href="#cb421-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb421-50"><a href="#cb421-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb421-51"><a href="#cb421-51" aria-hidden="true"></a> ,</span>
-<span id="cb421-52"><a href="#cb421-52" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
-<span id="cb421-53"><a href="#cb421-53" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb421-54"><a href="#cb421-54" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb421-55"><a href="#cb421-55" aria-hidden="true"></a> },</span>
-<span id="cb421-56"><a href="#cb421-56" aria-hidden="true"></a> dlItemEnd = {},</span>
-<span id="cb421-57"><a href="#cb421-57" aria-hidden="true"></a> dlDefinitionEnd = {},</span>
-<span id="cb421-58"><a href="#cb421-58" aria-hidden="true"></a> dlEnd = {.},</span>
-<span id="cb421-59"><a href="#cb421-59" aria-hidden="true"></a> },</span>
-<span id="cb421-60"><a href="#cb421-60" aria-hidden="true"></a>}</span>
-<span id="cb421-61"><a href="#cb421-61" aria-hidden="true"></a>This is a loose definition list</span>
-<span id="cb421-62"><a href="#cb421-62" aria-hidden="true"></a></span>
-<span id="cb421-63"><a href="#cb421-63" aria-hidden="true"></a>Coffee</span>
-<span id="cb421-64"><a href="#cb421-64" aria-hidden="true"></a></span>
-<span id="cb421-65"><a href="#cb421-65" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb421-66"><a href="#cb421-66" aria-hidden="true"></a></span>
-<span id="cb421-67"><a href="#cb421-67" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb421-68"><a href="#cb421-68" aria-hidden="true"></a></span>
-<span id="cb421-69"><a href="#cb421-69" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb421-70"><a href="#cb421-70" aria-hidden="true"></a></span>
-<span id="cb421-71"><a href="#cb421-71" aria-hidden="true"></a>Milk</span>
-<span id="cb421-72"><a href="#cb421-72" aria-hidden="true"></a></span>
-<span id="cb421-73"><a href="#cb421-73" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb421-74"><a href="#cb421-74" aria-hidden="true"></a></span>
-<span id="cb421-75"><a href="#cb421-75" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb421-76"><a href="#cb421-76" aria-hidden="true"></a></span>
-<span id="cb421-77"><a href="#cb421-77" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb421-78"><a href="#cb421-78" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb421-79"><a href="#cb421-79" aria-hidden="true"></a></span>
-<span id="cb421-80"><a href="#cb421-80" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb422"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb422-1"><a href="#cb422-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb443"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb443-1"><a href="#cb443-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb443-2"><a href="#cb443-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[definitionLists, tightLists]{<span class="ex">markdown</span>}</span>
+<span id="cb443-3"><a href="#cb443-3" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb443-4"><a href="#cb443-4" aria-hidden="true"></a></span>
+<span id="cb443-5"><a href="#cb443-5" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb443-6"><a href="#cb443-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb443-7"><a href="#cb443-7" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb443-8"><a href="#cb443-8" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb443-9"><a href="#cb443-9" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb443-10"><a href="#cb443-10" aria-hidden="true"></a> },</span>
+<span id="cb443-11"><a href="#cb443-11" aria-hidden="true"></a> dlBeginTight = {<span class="kw">\begin</span>{<span class="ex">description</span>}},</span>
+<span id="cb443-12"><a href="#cb443-12" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
+<span id="cb443-13"><a href="#cb443-13" aria-hidden="true"></a> <span class="fu">\item</span>[#1]</span>
+<span id="cb443-14"><a href="#cb443-14" aria-hidden="true"></a> <span class="kw">\begin</span>{<span class="ex">itemize</span>}</span>
+<span id="cb443-15"><a href="#cb443-15" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb443-16"><a href="#cb443-16" aria-hidden="true"></a> ,</span>
+<span id="cb443-17"><a href="#cb443-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb443-18"><a href="#cb443-18" aria-hidden="true"></a> , and</span>
+<span id="cb443-19"><a href="#cb443-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb443-20"><a href="#cb443-20" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb443-21"><a href="#cb443-21" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb443-22"><a href="#cb443-22" aria-hidden="true"></a> },</span>
+<span id="cb443-23"><a href="#cb443-23" aria-hidden="true"></a> dlItemEnd = {<span class="kw">\end</span>{<span class="ex">itemize</span>}},</span>
+<span id="cb443-24"><a href="#cb443-24" aria-hidden="true"></a> dlDefinitionBegin = <span class="fu">\item</span>,</span>
+<span id="cb443-25"><a href="#cb443-25" aria-hidden="true"></a> dlEndTight = {<span class="kw">\end</span>{<span class="ex">description</span>}},</span>
+<span id="cb443-26"><a href="#cb443-26" aria-hidden="true"></a> },</span>
+<span id="cb443-27"><a href="#cb443-27" aria-hidden="true"></a>}</span>
+<span id="cb443-28"><a href="#cb443-28" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb443-29"><a href="#cb443-29" aria-hidden="true"></a></span>
+<span id="cb443-30"><a href="#cb443-30" aria-hidden="true"></a>Coffee</span>
+<span id="cb443-31"><a href="#cb443-31" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb443-32"><a href="#cb443-32" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb443-33"><a href="#cb443-33" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb443-34"><a href="#cb443-34" aria-hidden="true"></a></span>
+<span id="cb443-35"><a href="#cb443-35" aria-hidden="true"></a>Milk</span>
+<span id="cb443-36"><a href="#cb443-36" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb443-37"><a href="#cb443-37" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb443-38"><a href="#cb443-38" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb443-39"><a href="#cb443-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb443-40"><a href="#cb443-40" aria-hidden="true"></a></span>
+<span id="cb443-41"><a href="#cb443-41" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb443-42"><a href="#cb443-42" aria-hidden="true"></a> renderers = {</span>
+<span id="cb443-43"><a href="#cb443-43" aria-hidden="true"></a> interblockSeparator = {<span class="co">%</span></span>
+<span id="cb443-44"><a href="#cb443-44" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb443-45"><a href="#cb443-45" aria-hidden="true"></a> },</span>
+<span id="cb443-46"><a href="#cb443-46" aria-hidden="true"></a> dlBegin = {},</span>
+<span id="cb443-47"><a href="#cb443-47" aria-hidden="true"></a> dlItem = {<span class="co">%</span></span>
+<span id="cb443-48"><a href="#cb443-48" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb443-49"><a href="#cb443-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb443-50"><a href="#cb443-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb443-51"><a href="#cb443-51" aria-hidden="true"></a> ,</span>
+<span id="cb443-52"><a href="#cb443-52" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb443-53"><a href="#cb443-53" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb443-54"><a href="#cb443-54" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb443-55"><a href="#cb443-55" aria-hidden="true"></a> },</span>
+<span id="cb443-56"><a href="#cb443-56" aria-hidden="true"></a> dlItemEnd = {},</span>
+<span id="cb443-57"><a href="#cb443-57" aria-hidden="true"></a> dlDefinitionEnd = {},</span>
+<span id="cb443-58"><a href="#cb443-58" aria-hidden="true"></a> dlEnd = {.},</span>
+<span id="cb443-59"><a href="#cb443-59" aria-hidden="true"></a> },</span>
+<span id="cb443-60"><a href="#cb443-60" aria-hidden="true"></a>}</span>
+<span id="cb443-61"><a href="#cb443-61" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb443-62"><a href="#cb443-62" aria-hidden="true"></a></span>
+<span id="cb443-63"><a href="#cb443-63" aria-hidden="true"></a>Coffee</span>
+<span id="cb443-64"><a href="#cb443-64" aria-hidden="true"></a></span>
+<span id="cb443-65"><a href="#cb443-65" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb443-66"><a href="#cb443-66" aria-hidden="true"></a></span>
+<span id="cb443-67"><a href="#cb443-67" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb443-68"><a href="#cb443-68" aria-hidden="true"></a></span>
+<span id="cb443-69"><a href="#cb443-69" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb443-70"><a href="#cb443-70" aria-hidden="true"></a></span>
+<span id="cb443-71"><a href="#cb443-71" aria-hidden="true"></a>Milk</span>
+<span id="cb443-72"><a href="#cb443-72" aria-hidden="true"></a></span>
+<span id="cb443-73"><a href="#cb443-73" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb443-74"><a href="#cb443-74" aria-hidden="true"></a></span>
+<span id="cb443-75"><a href="#cb443-75" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb443-76"><a href="#cb443-76" aria-hidden="true"></a></span>
+<span id="cb443-77"><a href="#cb443-77" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb443-78"><a href="#cb443-78" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb443-79"><a href="#cb443-79" aria-hidden="true"></a></span>
+<span id="cb443-80"><a href="#cb443-80" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb444"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb444-1"><a href="#cb444-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -5560,87 +5790,90 @@ Thomas,Edison,1847</code></pre>
</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 class="unnumbered" data-number="" id="context-example-38">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-42">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="cb423"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb423-1"><a href="#cb423-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb423-2"><a href="#cb423-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionDefinitionLists</span>{true}</span>
-<span id="cb423-3"><a href="#cb423-3" aria-hidden="true"></a><span class="fu">\def\markdownOptionTightLists</span>{true}</span>
-<span id="cb423-4"><a href="#cb423-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb423-5"><a href="#cb423-5" aria-hidden="true"></a></span>
-<span id="cb423-6"><a href="#cb423-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb423-7"><a href="#cb423-7" aria-hidden="true"></a> :<span class="co">%</span></span>
-<span id="cb423-8"><a href="#cb423-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb423-9"><a href="#cb423-9" aria-hidden="true"></a>}</span>
-<span id="cb423-10"><a href="#cb423-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{}</span>
-<span id="cb423-11"><a href="#cb423-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
-<span id="cb423-12"><a href="#cb423-12" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
-<span id="cb423-13"><a href="#cb423-13" aria-hidden="true"></a> <span class="fu">\startitemize</span></span>
-<span id="cb423-14"><a href="#cb423-14" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb423-15"><a href="#cb423-15" aria-hidden="true"></a> ,</span>
-<span id="cb423-16"><a href="#cb423-16" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
-<span id="cb423-17"><a href="#cb423-17" aria-hidden="true"></a> , and</span>
-<span id="cb423-18"><a href="#cb423-18" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
-<span id="cb423-19"><a href="#cb423-19" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb423-20"><a href="#cb423-20" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb423-21"><a href="#cb423-21" aria-hidden="true"></a>}</span>
-<span id="cb423-22"><a href="#cb423-22" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{<span class="fu">\stopitemize</span>}</span>
-<span id="cb423-23"><a href="#cb423-23" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\item</span>}</span>
-<span id="cb423-24"><a href="#cb423-24" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{}</span>
-<span id="cb423-25"><a href="#cb423-25" aria-hidden="true"></a></span>
-<span id="cb423-26"><a href="#cb423-26" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb423-27"><a href="#cb423-27" aria-hidden="true"></a>This is a tight definition list</span>
-<span id="cb423-28"><a href="#cb423-28" aria-hidden="true"></a></span>
-<span id="cb423-29"><a href="#cb423-29" aria-hidden="true"></a>Coffee</span>
-<span id="cb423-30"><a href="#cb423-30" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb423-31"><a href="#cb423-31" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb423-32"><a href="#cb423-32" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb423-33"><a href="#cb423-33" aria-hidden="true"></a></span>
-<span id="cb423-34"><a href="#cb423-34" aria-hidden="true"></a>Milk</span>
-<span id="cb423-35"><a href="#cb423-35" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb423-36"><a href="#cb423-36" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb423-37"><a href="#cb423-37" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb423-38"><a href="#cb423-38" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb423-39"><a href="#cb423-39" aria-hidden="true"></a></span>
-<span id="cb423-40"><a href="#cb423-40" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb423-41"><a href="#cb423-41" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
-<span id="cb423-42"><a href="#cb423-42" aria-hidden="true"></a>}</span>
-<span id="cb423-43"><a href="#cb423-43" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
-<span id="cb423-44"><a href="#cb423-44" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
-<span id="cb423-45"><a href="#cb423-45" aria-hidden="true"></a> . #1 is a</span>
-<span id="cb423-46"><a href="#cb423-46" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb423-47"><a href="#cb423-47" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
-<span id="cb423-48"><a href="#cb423-48" aria-hidden="true"></a> ,</span>
-<span id="cb423-49"><a href="#cb423-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
-<span id="cb423-50"><a href="#cb423-50" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb423-51"><a href="#cb423-51" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb423-52"><a href="#cb423-52" aria-hidden="true"></a>}</span>
-<span id="cb423-53"><a href="#cb423-53" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
-<span id="cb423-54"><a href="#cb423-54" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
-<span id="cb423-55"><a href="#cb423-55" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
-<span id="cb423-56"><a href="#cb423-56" aria-hidden="true"></a></span>
-<span id="cb423-57"><a href="#cb423-57" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb423-58"><a href="#cb423-58" aria-hidden="true"></a>This is a loose definition list</span>
-<span id="cb423-59"><a href="#cb423-59" aria-hidden="true"></a></span>
-<span id="cb423-60"><a href="#cb423-60" aria-hidden="true"></a>Coffee</span>
-<span id="cb423-61"><a href="#cb423-61" aria-hidden="true"></a></span>
-<span id="cb423-62"><a href="#cb423-62" aria-hidden="true"></a>: black hot drink</span>
-<span id="cb423-63"><a href="#cb423-63" aria-hidden="true"></a></span>
-<span id="cb423-64"><a href="#cb423-64" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
-<span id="cb423-65"><a href="#cb423-65" aria-hidden="true"></a></span>
-<span id="cb423-66"><a href="#cb423-66" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
-<span id="cb423-67"><a href="#cb423-67" aria-hidden="true"></a></span>
-<span id="cb423-68"><a href="#cb423-68" aria-hidden="true"></a>Milk</span>
-<span id="cb423-69"><a href="#cb423-69" aria-hidden="true"></a></span>
-<span id="cb423-70"><a href="#cb423-70" aria-hidden="true"></a>: white cold drink</span>
-<span id="cb423-71"><a href="#cb423-71" aria-hidden="true"></a></span>
-<span id="cb423-72"><a href="#cb423-72" aria-hidden="true"></a>: nutrient-rich</span>
-<span id="cb423-73"><a href="#cb423-73" aria-hidden="true"></a></span>
-<span id="cb423-74"><a href="#cb423-74" aria-hidden="true"></a>: produced on an industrial scale</span>
-<span id="cb423-75"><a href="#cb423-75" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb423-76"><a href="#cb423-76" aria-hidden="true"></a></span>
-<span id="cb423-77"><a href="#cb423-77" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb424"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb424-1"><a href="#cb424-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb445"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb445-1"><a href="#cb445-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb445-2"><a href="#cb445-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span></span>
+<span id="cb445-3"><a href="#cb445-3" aria-hidden="true"></a> [</span>
+<span id="cb445-4"><a href="#cb445-4" aria-hidden="true"></a> definitionLists = yes,</span>
+<span id="cb445-5"><a href="#cb445-5" aria-hidden="true"></a> tightLists = yes,</span>
+<span id="cb445-6"><a href="#cb445-6" aria-hidden="true"></a> ]</span>
+<span id="cb445-7"><a href="#cb445-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb445-8"><a href="#cb445-8" aria-hidden="true"></a></span>
+<span id="cb445-9"><a href="#cb445-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb445-10"><a href="#cb445-10" aria-hidden="true"></a> :<span class="co">%</span></span>
+<span id="cb445-11"><a href="#cb445-11" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb445-12"><a href="#cb445-12" aria-hidden="true"></a>}</span>
+<span id="cb445-13"><a href="#cb445-13" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBeginTight</span>{}</span>
+<span id="cb445-14"><a href="#cb445-14" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb445-15"><a href="#cb445-15" aria-hidden="true"></a> <span class="fu">\par</span>{<span class="fu">\bf</span>#1}<span class="co">%</span></span>
+<span id="cb445-16"><a href="#cb445-16" aria-hidden="true"></a> <span class="fu">\startitemize</span></span>
+<span id="cb445-17"><a href="#cb445-17" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb445-18"><a href="#cb445-18" aria-hidden="true"></a> ,</span>
+<span id="cb445-19"><a href="#cb445-19" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{<span class="co">%</span></span>
+<span id="cb445-20"><a href="#cb445-20" aria-hidden="true"></a> , and</span>
+<span id="cb445-21"><a href="#cb445-21" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionEnd</span>{.}<span class="co">%</span></span>
+<span id="cb445-22"><a href="#cb445-22" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb445-23"><a href="#cb445-23" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb445-24"><a href="#cb445-24" aria-hidden="true"></a>}</span>
+<span id="cb445-25"><a href="#cb445-25" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{<span class="fu">\stopitemize</span>}</span>
+<span id="cb445-26"><a href="#cb445-26" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="fu">\item</span>}</span>
+<span id="cb445-27"><a href="#cb445-27" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEndTight</span>{}</span>
+<span id="cb445-28"><a href="#cb445-28" aria-hidden="true"></a></span>
+<span id="cb445-29"><a href="#cb445-29" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb445-30"><a href="#cb445-30" aria-hidden="true"></a>This is a tight definition list</span>
+<span id="cb445-31"><a href="#cb445-31" aria-hidden="true"></a></span>
+<span id="cb445-32"><a href="#cb445-32" aria-hidden="true"></a>Coffee</span>
+<span id="cb445-33"><a href="#cb445-33" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb445-34"><a href="#cb445-34" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb445-35"><a href="#cb445-35" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb445-36"><a href="#cb445-36" aria-hidden="true"></a></span>
+<span id="cb445-37"><a href="#cb445-37" aria-hidden="true"></a>Milk</span>
+<span id="cb445-38"><a href="#cb445-38" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb445-39"><a href="#cb445-39" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb445-40"><a href="#cb445-40" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb445-41"><a href="#cb445-41" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb445-42"><a href="#cb445-42" aria-hidden="true"></a></span>
+<span id="cb445-43"><a href="#cb445-43" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb445-44"><a href="#cb445-44" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="fu">\par</span>}<span class="co">%</span></span>
+<span id="cb445-45"><a href="#cb445-45" aria-hidden="true"></a>}</span>
+<span id="cb445-46"><a href="#cb445-46" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlBegin</span>{}</span>
+<span id="cb445-47"><a href="#cb445-47" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItem</span>#1{<span class="co">%</span></span>
+<span id="cb445-48"><a href="#cb445-48" aria-hidden="true"></a> . #1 is a</span>
+<span id="cb445-49"><a href="#cb445-49" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb445-50"><a href="#cb445-50" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{<span class="co">%</span></span>
+<span id="cb445-51"><a href="#cb445-51" aria-hidden="true"></a> ,</span>
+<span id="cb445-52"><a href="#cb445-52" aria-hidden="true"></a> <span class="fu">\def\markdownRendererDlDefinitionBegin</span>{, and }<span class="co">%</span></span>
+<span id="cb445-53"><a href="#cb445-53" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb445-54"><a href="#cb445-54" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb445-55"><a href="#cb445-55" aria-hidden="true"></a>}</span>
+<span id="cb445-56"><a href="#cb445-56" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlItemEnd</span>{}</span>
+<span id="cb445-57"><a href="#cb445-57" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlDefinitionEnd</span>{}</span>
+<span id="cb445-58"><a href="#cb445-58" aria-hidden="true"></a><span class="fu">\def\markdownRendererDlEnd</span>{.}</span>
+<span id="cb445-59"><a href="#cb445-59" aria-hidden="true"></a></span>
+<span id="cb445-60"><a href="#cb445-60" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb445-61"><a href="#cb445-61" aria-hidden="true"></a>This is a loose definition list</span>
+<span id="cb445-62"><a href="#cb445-62" aria-hidden="true"></a></span>
+<span id="cb445-63"><a href="#cb445-63" aria-hidden="true"></a>Coffee</span>
+<span id="cb445-64"><a href="#cb445-64" aria-hidden="true"></a></span>
+<span id="cb445-65"><a href="#cb445-65" aria-hidden="true"></a>: black hot drink</span>
+<span id="cb445-66"><a href="#cb445-66" aria-hidden="true"></a></span>
+<span id="cb445-67"><a href="#cb445-67" aria-hidden="true"></a>: prepared from roasted coffee beans</span>
+<span id="cb445-68"><a href="#cb445-68" aria-hidden="true"></a></span>
+<span id="cb445-69"><a href="#cb445-69" aria-hidden="true"></a>: one of the most traded agricultural commodities in the world</span>
+<span id="cb445-70"><a href="#cb445-70" aria-hidden="true"></a></span>
+<span id="cb445-71"><a href="#cb445-71" aria-hidden="true"></a>Milk</span>
+<span id="cb445-72"><a href="#cb445-72" aria-hidden="true"></a></span>
+<span id="cb445-73"><a href="#cb445-73" aria-hidden="true"></a>: white cold drink</span>
+<span id="cb445-74"><a href="#cb445-74" aria-hidden="true"></a></span>
+<span id="cb445-75"><a href="#cb445-75" aria-hidden="true"></a>: nutrient-rich</span>
+<span id="cb445-76"><a href="#cb445-76" aria-hidden="true"></a></span>
+<span id="cb445-77"><a href="#cb445-77" aria-hidden="true"></a>: produced on an industrial scale</span>
+<span id="cb445-78"><a href="#cb445-78" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb445-79"><a href="#cb445-79" aria-hidden="true"></a></span>
+<span id="cb445-80"><a href="#cb445-80" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb446"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb446-1"><a href="#cb446-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -5660,62 +5893,62 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.15" id="emphasis-renderers"><span class="header-section-number">2.3.1.15</span> Emphasis Renderers</h4>
<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 class="unnumbered" data-number="" id="plain-tex-example-27">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-28">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="cb425"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb425-1"><a href="#cb425-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb425-2"><a href="#cb425-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{{<span class="fu">\it</span>#1}}</span>
-<span id="cb425-3"><a href="#cb425-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{{<span class="fu">\bf</span>#1}}</span>
-<span id="cb425-4"><a href="#cb425-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb425-5"><a href="#cb425-5" aria-hidden="true"></a>This is *emphasis*.</span>
-<span id="cb425-6"><a href="#cb425-6" aria-hidden="true"></a></span>
-<span id="cb425-7"><a href="#cb425-7" aria-hidden="true"></a>This is **strong emphasis**.</span>
-<span id="cb425-8"><a href="#cb425-8" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb425-9"><a href="#cb425-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb447"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb447-1"><a href="#cb447-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb447-2"><a href="#cb447-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{{<span class="fu">\it</span>#1}}</span>
+<span id="cb447-3"><a href="#cb447-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{{<span class="fu">\bf</span>#1}}</span>
+<span id="cb447-4"><a href="#cb447-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb447-5"><a href="#cb447-5" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb447-6"><a href="#cb447-6" aria-hidden="true"></a></span>
+<span id="cb447-7"><a href="#cb447-7" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb447-8"><a href="#cb447-8" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb447-9"><a href="#cb447-9" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb426"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb426-1"><a href="#cb426-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb448"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb448-1"><a href="#cb448-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
<p>This is <strong>strong emphasis</strong>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-51"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-55"><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="cb427"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb427-1"><a href="#cb427-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb427-2"><a href="#cb427-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb427-3"><a href="#cb427-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb427-4"><a href="#cb427-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb427-5"><a href="#cb427-5" aria-hidden="true"></a> emphasis = {<span class="fu">\emph</span>{#1}},</span>
-<span id="cb427-6"><a href="#cb427-6" aria-hidden="true"></a> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</span>
-<span id="cb427-7"><a href="#cb427-7" aria-hidden="true"></a> },</span>
-<span id="cb427-8"><a href="#cb427-8" aria-hidden="true"></a>}</span>
-<span id="cb427-9"><a href="#cb427-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb427-10"><a href="#cb427-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb427-11"><a href="#cb427-11" aria-hidden="true"></a>This is *emphasis*.</span>
-<span id="cb427-12"><a href="#cb427-12" aria-hidden="true"></a></span>
-<span id="cb427-13"><a href="#cb427-13" aria-hidden="true"></a>This is **strong emphasis**.</span>
-<span id="cb427-14"><a href="#cb427-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb427-15"><a href="#cb427-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb428"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb428-1"><a href="#cb428-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb449"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb449-1"><a href="#cb449-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb449-2"><a href="#cb449-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb449-3"><a href="#cb449-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb449-4"><a href="#cb449-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb449-5"><a href="#cb449-5" aria-hidden="true"></a> emphasis = {<span class="fu">\emph</span>{#1}},</span>
+<span id="cb449-6"><a href="#cb449-6" aria-hidden="true"></a> strongEmphasis = {<span class="fu">\textbf</span>{#1}},</span>
+<span id="cb449-7"><a href="#cb449-7" aria-hidden="true"></a> },</span>
+<span id="cb449-8"><a href="#cb449-8" aria-hidden="true"></a>}</span>
+<span id="cb449-9"><a href="#cb449-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb449-10"><a href="#cb449-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb449-11"><a href="#cb449-11" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb449-12"><a href="#cb449-12" aria-hidden="true"></a></span>
+<span id="cb449-13"><a href="#cb449-13" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb449-14"><a href="#cb449-14" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb449-15"><a href="#cb449-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb450"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb450-1"><a href="#cb450-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
<p>This is <strong>strong emphasis</strong>.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-39">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-43">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="cb429"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb429-1"><a href="#cb429-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb429-2"><a href="#cb429-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{<span class="fu">\emph</span>{#1}}</span>
-<span id="cb429-3"><a href="#cb429-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{<span class="fu">\bold</span>{#1}}</span>
-<span id="cb429-4"><a href="#cb429-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb429-5"><a href="#cb429-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb429-6"><a href="#cb429-6" aria-hidden="true"></a>This is *emphasis*.</span>
-<span id="cb429-7"><a href="#cb429-7" aria-hidden="true"></a></span>
-<span id="cb429-8"><a href="#cb429-8" aria-hidden="true"></a>This is **strong emphasis**.</span>
-<span id="cb429-9"><a href="#cb429-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb429-10"><a href="#cb429-10" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb451"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb451-1"><a href="#cb451-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb451-2"><a href="#cb451-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererEmphasis</span>#1{<span class="fu">\emph</span>{#1}}</span>
+<span id="cb451-3"><a href="#cb451-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrongEmphasis</span>#1{<span class="fu">\bold</span>{#1}}</span>
+<span id="cb451-4"><a href="#cb451-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb451-5"><a href="#cb451-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb451-6"><a href="#cb451-6" aria-hidden="true"></a>This is *emphasis*.</span>
+<span id="cb451-7"><a href="#cb451-7" aria-hidden="true"></a></span>
+<span id="cb451-8"><a href="#cb451-8" aria-hidden="true"></a>This is **strong emphasis**.</span>
+<span id="cb451-9"><a href="#cb451-9" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb451-10"><a href="#cb451-10" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb430"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb430-1"><a href="#cb430-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb452"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb452-1"><a href="#cb452-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -5725,31 +5958,31 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.16" id="block-quote-renderers"><span class="header-section-number">2.3.1.16</span> Block Quote Renderers</h4>
<p>The <code>\markdownRendererBlockQuoteBegin</code> macro represents the beginning of a block quote. The macro receives no arguments.</p>
<p>The <code>\markdownRendererBlockQuoteEnd</code> macro represents the end of a block quote. The macro receives no arguments.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-28">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-29">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="cb431"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb431-1"><a href="#cb431-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb431-2"><a href="#cb431-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="co">%</span></span>
-<span id="cb431-3"><a href="#cb431-3" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
-<span id="cb431-4"><a href="#cb431-4" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
-<span id="cb431-5"><a href="#cb431-5" aria-hidden="true"></a> <span class="fu">\leftskip</span>=2<span class="fu">\parindent</span></span>
-<span id="cb431-6"><a href="#cb431-6" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
-<span id="cb431-7"><a href="#cb431-7" aria-hidden="true"></a>}</span>
-<span id="cb431-8"><a href="#cb431-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="co">%</span></span>
-<span id="cb431-9"><a href="#cb431-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb431-10"><a href="#cb431-10" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
-<span id="cb431-11"><a href="#cb431-11" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
-<span id="cb431-12"><a href="#cb431-12" aria-hidden="true"></a>}</span>
-<span id="cb431-13"><a href="#cb431-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb431-14"><a href="#cb431-14" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
-<span id="cb431-15"><a href="#cb431-15" aria-hidden="true"></a></span>
-<span id="cb431-16"><a href="#cb431-16" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
-<span id="cb431-17"><a href="#cb431-17" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
-<span id="cb431-18"><a href="#cb431-18" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
-<span id="cb431-19"><a href="#cb431-19" aria-hidden="true"></a>&gt; stars [...]</span>
-<span id="cb431-20"><a href="#cb431-20" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb431-21"><a href="#cb431-21" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb432"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb432-1"><a href="#cb432-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb453"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb453-1"><a href="#cb453-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb453-2"><a href="#cb453-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="co">%</span></span>
+<span id="cb453-3"><a href="#cb453-3" aria-hidden="true"></a> <span class="fu">\begingroup</span></span>
+<span id="cb453-4"><a href="#cb453-4" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
+<span id="cb453-5"><a href="#cb453-5" aria-hidden="true"></a> <span class="fu">\leftskip</span>=2<span class="fu">\parindent</span></span>
+<span id="cb453-6"><a href="#cb453-6" aria-hidden="true"></a> <span class="fu">\parindent</span>=0pt</span>
+<span id="cb453-7"><a href="#cb453-7" aria-hidden="true"></a>}</span>
+<span id="cb453-8"><a href="#cb453-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="co">%</span></span>
+<span id="cb453-9"><a href="#cb453-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb453-10"><a href="#cb453-10" aria-hidden="true"></a> <span class="fu">\vskip\parindent</span></span>
+<span id="cb453-11"><a href="#cb453-11" aria-hidden="true"></a> <span class="fu">\endgroup</span></span>
+<span id="cb453-12"><a href="#cb453-12" aria-hidden="true"></a>}</span>
+<span id="cb453-13"><a href="#cb453-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb453-14"><a href="#cb453-14" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb453-15"><a href="#cb453-15" aria-hidden="true"></a></span>
+<span id="cb453-16"><a href="#cb453-16" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb453-17"><a href="#cb453-17" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb453-18"><a href="#cb453-18" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb453-19"><a href="#cb453-19" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb453-20"><a href="#cb453-20" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb453-21"><a href="#cb453-21" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb454"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb454-1"><a href="#cb454-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
@@ -5757,28 +5990,28 @@ Thomas,Edison,1847</code></pre>
<p>This is the excellent foppery of the world that when we are sick in fortune—often the surfeit of our own behavior—we make guilty of our disasters the sun, the moon, and the stars […]</p>
</blockquote>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-52"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-56"><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="cb433"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb433-1"><a href="#cb433-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb433-2"><a href="#cb433-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb433-3"><a href="#cb433-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb433-4"><a href="#cb433-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb433-5"><a href="#cb433-5" aria-hidden="true"></a> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</span>
-<span id="cb433-6"><a href="#cb433-6" aria-hidden="true"></a> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</span>
-<span id="cb433-7"><a href="#cb433-7" aria-hidden="true"></a> },</span>
-<span id="cb433-8"><a href="#cb433-8" aria-hidden="true"></a>}</span>
-<span id="cb433-9"><a href="#cb433-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb433-10"><a href="#cb433-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb433-11"><a href="#cb433-11" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
-<span id="cb433-12"><a href="#cb433-12" aria-hidden="true"></a></span>
-<span id="cb433-13"><a href="#cb433-13" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
-<span id="cb433-14"><a href="#cb433-14" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
-<span id="cb433-15"><a href="#cb433-15" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
-<span id="cb433-16"><a href="#cb433-16" aria-hidden="true"></a>&gt; stars [...]</span>
-<span id="cb433-17"><a href="#cb433-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb433-18"><a href="#cb433-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb434"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb434-1"><a href="#cb434-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb455"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb455-1"><a href="#cb455-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb455-2"><a href="#cb455-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb455-3"><a href="#cb455-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb455-4"><a href="#cb455-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb455-5"><a href="#cb455-5" aria-hidden="true"></a> blockQuoteBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</span>
+<span id="cb455-6"><a href="#cb455-6" aria-hidden="true"></a> blockQuoteEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</span>
+<span id="cb455-7"><a href="#cb455-7" aria-hidden="true"></a> },</span>
+<span id="cb455-8"><a href="#cb455-8" aria-hidden="true"></a>}</span>
+<span id="cb455-9"><a href="#cb455-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb455-10"><a href="#cb455-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb455-11"><a href="#cb455-11" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb455-12"><a href="#cb455-12" aria-hidden="true"></a></span>
+<span id="cb455-13"><a href="#cb455-13" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb455-14"><a href="#cb455-14" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb455-15"><a href="#cb455-15" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb455-16"><a href="#cb455-16" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb455-17"><a href="#cb455-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb455-18"><a href="#cb455-18" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb456"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb456-1"><a href="#cb456-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -5786,23 +6019,23 @@ Thomas,Edison,1847</code></pre>
<p>This is the excellent foppery of the world that when we are sick in fortune—often the surfeit of our own behavior—we make guilty of our disasters the sun, the moon, and the stars […]</p>
</blockquote>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-40">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-44">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="cb435"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb435-1"><a href="#cb435-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb435-2"><a href="#cb435-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="fu">\startquotation</span>}</span>
-<span id="cb435-3"><a href="#cb435-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="fu">\stopquotation</span>}</span>
-<span id="cb435-4"><a href="#cb435-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb435-5"><a href="#cb435-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb435-6"><a href="#cb435-6" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
-<span id="cb435-7"><a href="#cb435-7" aria-hidden="true"></a></span>
-<span id="cb435-8"><a href="#cb435-8" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
-<span id="cb435-9"><a href="#cb435-9" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
-<span id="cb435-10"><a href="#cb435-10" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
-<span id="cb435-11"><a href="#cb435-11" aria-hidden="true"></a>&gt; stars [...]</span>
-<span id="cb435-12"><a href="#cb435-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb435-13"><a href="#cb435-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb457"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb457-1"><a href="#cb457-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb457-2"><a href="#cb457-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteBegin</span>{<span class="fu">\startquotation</span>}</span>
+<span id="cb457-3"><a href="#cb457-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererBlockQuoteEnd</span>{<span class="fu">\stopquotation</span>}</span>
+<span id="cb457-4"><a href="#cb457-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb457-5"><a href="#cb457-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb457-6"><a href="#cb457-6" aria-hidden="true"></a>A quote from William Shakespeare&#39;s King Lear:</span>
+<span id="cb457-7"><a href="#cb457-7" aria-hidden="true"></a></span>
+<span id="cb457-8"><a href="#cb457-8" aria-hidden="true"></a>&gt; This is the excellent foppery of the world that when we are</span>
+<span id="cb457-9"><a href="#cb457-9" aria-hidden="true"></a>&gt; sick in fortune---often the surfeit of our own behavior---we</span>
+<span id="cb457-10"><a href="#cb457-10" aria-hidden="true"></a>&gt; make guilty of our disasters the sun, the moon, and the</span>
+<span id="cb457-11"><a href="#cb457-11" aria-hidden="true"></a>&gt; stars [...]</span>
+<span id="cb457-12"><a href="#cb457-12" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb457-13"><a href="#cb457-13" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb436"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb436-1"><a href="#cb436-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb458"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb458-1"><a href="#cb458-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -5813,73 +6046,73 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.17" id="code-block-renderers"><span class="header-section-number">2.3.1.17</span> Code Block Renderers</h4>
<p>The <code>\markdownRendererInputVerbatim</code> macro represents a code block. The macro receives a single argument that corresponds to the filename of a file contaning the code block contents.</p>
<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 enabled. 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 class="unnumbered" data-number="" id="latex-example-53"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-57"><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="cb437"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb437-1"><a href="#cb437-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb437-2"><a href="#cb437-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</span>
-<span id="cb437-3"><a href="#cb437-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</span>
-<span id="cb437-4"><a href="#cb437-4" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
-<span id="cb437-5"><a href="#cb437-5" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb437-6"><a href="#cb437-6" aria-hidden="true"></a> renderers = {</span>
-<span id="cb437-7"><a href="#cb437-7" aria-hidden="true"></a> interblockSeparator = {</span>
-<span id="cb437-8"><a href="#cb437-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb437-9"><a href="#cb437-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb437-10"><a href="#cb437-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb437-11"><a href="#cb437-11" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
-<span id="cb437-12"><a href="#cb437-12" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb437-13"><a href="#cb437-13" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb437-14"><a href="#cb437-14" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb437-15"><a href="#cb437-15" aria-hidden="true"></a> }<span class="co">%</span></span>
-<span id="cb437-16"><a href="#cb437-16" aria-hidden="true"></a> },</span>
-<span id="cb437-17"><a href="#cb437-17" aria-hidden="true"></a> inputVerbatim = {</span>
-<span id="cb437-18"><a href="#cb437-18" aria-hidden="true"></a> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></span>
-<span id="cb437-19"><a href="#cb437-19" aria-hidden="true"></a> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></span>
-<span id="cb437-20"><a href="#cb437-20" aria-hidden="true"></a> },</span>
-<span id="cb437-21"><a href="#cb437-21" aria-hidden="true"></a> inputFencedCode = {</span>
-<span id="cb437-22"><a href="#cb437-22" aria-hidden="true"></a> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></span>
-<span id="cb437-23"><a href="#cb437-23" aria-hidden="true"></a> },</span>
-<span id="cb437-24"><a href="#cb437-24" aria-hidden="true"></a> },</span>
-<span id="cb437-25"><a href="#cb437-25" aria-hidden="true"></a>}</span>
-<span id="cb437-26"><a href="#cb437-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb437-27"><a href="#cb437-27" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb437-28"><a href="#cb437-28" aria-hidden="true"></a>The following code</span>
-<span id="cb437-29"><a href="#cb437-29" aria-hidden="true"></a></span>
-<span id="cb437-30"><a href="#cb437-30" aria-hidden="true"></a> def foo(bar):</span>
-<span id="cb437-31"><a href="#cb437-31" aria-hidden="true"></a> if len(bar) &lt;= 1:</span>
-<span id="cb437-32"><a href="#cb437-32" aria-hidden="true"></a> return bar[0]</span>
-<span id="cb437-33"><a href="#cb437-33" aria-hidden="true"></a> elif len(bar) == 2:</span>
-<span id="cb437-34"><a href="#cb437-34" aria-hidden="true"></a> return sorted(bar)</span>
-<span id="cb437-35"><a href="#cb437-35" aria-hidden="true"></a> else:</span>
-<span id="cb437-36"><a href="#cb437-36" aria-hidden="true"></a> baz = len(bar) // 2</span>
-<span id="cb437-37"><a href="#cb437-37" aria-hidden="true"></a> return foo(bar[baz:], bar[:baz])</span>
-<span id="cb437-38"><a href="#cb437-38" aria-hidden="true"></a></span>
-<span id="cb437-39"><a href="#cb437-39" aria-hidden="true"></a>The following code</span>
-<span id="cb437-40"><a href="#cb437-40" aria-hidden="true"></a></span>
-<span id="cb437-41"><a href="#cb437-41" aria-hidden="true"></a>~~~ Python</span>
-<span id="cb437-42"><a href="#cb437-42" aria-hidden="true"></a>&gt;&gt;&gt; foo([4, 2, 1, 3])</span>
-<span id="cb437-43"><a href="#cb437-43" aria-hidden="true"></a>[1, 2, 3, 4]</span>
-<span id="cb437-44"><a href="#cb437-44" aria-hidden="true"></a>~~~~~~~~~~</span>
-<span id="cb437-45"><a href="#cb437-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb437-46"><a href="#cb437-46" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb438"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb438-1"><a href="#cb438-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb459"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb459-1"><a href="#cb459-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb459-2"><a href="#cb459-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</span>
+<span id="cb459-3"><a href="#cb459-3" aria-hidden="true"></a><span class="bu">\usepackage</span>[hyphens]{<span class="ex">url</span>}</span>
+<span id="cb459-4"><a href="#cb459-4" aria-hidden="true"></a><span class="bu">\usepackage</span>[fencedCode]{<span class="ex">markdown</span>}</span>
+<span id="cb459-5"><a href="#cb459-5" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb459-6"><a href="#cb459-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb459-7"><a href="#cb459-7" aria-hidden="true"></a> interblockSeparator = {</span>
+<span id="cb459-8"><a href="#cb459-8" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb459-9"><a href="#cb459-9" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb459-10"><a href="#cb459-10" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb459-11"><a href="#cb459-11" aria-hidden="true"></a> <span class="fu">\def\markdownRendererInterblockSeparator</span>{<span class="co">%</span></span>
+<span id="cb459-12"><a href="#cb459-12" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb459-13"><a href="#cb459-13" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb459-14"><a href="#cb459-14" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb459-15"><a href="#cb459-15" aria-hidden="true"></a> }<span class="co">%</span></span>
+<span id="cb459-16"><a href="#cb459-16" aria-hidden="true"></a> },</span>
+<span id="cb459-17"><a href="#cb459-17" aria-hidden="true"></a> inputVerbatim = {</span>
+<span id="cb459-18"><a href="#cb459-18" aria-hidden="true"></a> is contained in file <span class="fu">\url</span>{#1}:<span class="co">%</span></span>
+<span id="cb459-19"><a href="#cb459-19" aria-hidden="true"></a> <span class="fu">\verbatiminput</span>{#1}<span class="co">%</span></span>
+<span id="cb459-20"><a href="#cb459-20" aria-hidden="true"></a> },</span>
+<span id="cb459-21"><a href="#cb459-21" aria-hidden="true"></a> inputFencedCode = {</span>
+<span id="cb459-22"><a href="#cb459-22" aria-hidden="true"></a> in #2 <span class="fu">\markdownRendererInputVerbatim</span>{#1}<span class="co">%</span></span>
+<span id="cb459-23"><a href="#cb459-23" aria-hidden="true"></a> },</span>
+<span id="cb459-24"><a href="#cb459-24" aria-hidden="true"></a> },</span>
+<span id="cb459-25"><a href="#cb459-25" aria-hidden="true"></a>}</span>
+<span id="cb459-26"><a href="#cb459-26" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb459-27"><a href="#cb459-27" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb459-28"><a href="#cb459-28" aria-hidden="true"></a>The following code</span>
+<span id="cb459-29"><a href="#cb459-29" aria-hidden="true"></a></span>
+<span id="cb459-30"><a href="#cb459-30" aria-hidden="true"></a> def foo(bar):</span>
+<span id="cb459-31"><a href="#cb459-31" aria-hidden="true"></a> if len(bar) &lt;= 1:</span>
+<span id="cb459-32"><a href="#cb459-32" aria-hidden="true"></a> return bar[0]</span>
+<span id="cb459-33"><a href="#cb459-33" aria-hidden="true"></a> elif len(bar) == 2:</span>
+<span id="cb459-34"><a href="#cb459-34" aria-hidden="true"></a> return sorted(bar)</span>
+<span id="cb459-35"><a href="#cb459-35" aria-hidden="true"></a> else:</span>
+<span id="cb459-36"><a href="#cb459-36" aria-hidden="true"></a> baz = len(bar) // 2</span>
+<span id="cb459-37"><a href="#cb459-37" aria-hidden="true"></a> return foo(bar[baz:], bar[:baz])</span>
+<span id="cb459-38"><a href="#cb459-38" aria-hidden="true"></a></span>
+<span id="cb459-39"><a href="#cb459-39" aria-hidden="true"></a>The following code</span>
+<span id="cb459-40"><a href="#cb459-40" aria-hidden="true"></a></span>
+<span id="cb459-41"><a href="#cb459-41" aria-hidden="true"></a>~~~ Python</span>
+<span id="cb459-42"><a href="#cb459-42" aria-hidden="true"></a>&gt;&gt;&gt; foo([4, 2, 1, 3])</span>
+<span id="cb459-43"><a href="#cb459-43" aria-hidden="true"></a>[1, 2, 3, 4]</span>
+<span id="cb459-44"><a href="#cb459-44" aria-hidden="true"></a>~~~~~~~~~~</span>
+<span id="cb459-45"><a href="#cb459-45" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb459-46"><a href="#cb459-46" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb460"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb460-1"><a href="#cb460-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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="cb439"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb439-1"><a href="#cb439-1" aria-hidden="true"></a><span class="kw">def</span> foo(bar):</span>
-<span id="cb439-2"><a href="#cb439-2" aria-hidden="true"></a> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</span>
-<span id="cb439-3"><a href="#cb439-3" aria-hidden="true"></a> <span class="cf">return</span> bar[:<span class="dv">1</span>]</span>
-<span id="cb439-4"><a href="#cb439-4" aria-hidden="true"></a> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</span>
-<span id="cb439-5"><a href="#cb439-5" aria-hidden="true"></a> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</span>
-<span id="cb439-6"><a href="#cb439-6" aria-hidden="true"></a> <span class="cf">else</span>:</span>
-<span id="cb439-7"><a href="#cb439-7" aria-hidden="true"></a> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</span>
-<span id="cb439-8"><a href="#cb439-8" aria-hidden="true"></a> <span class="cf">return</span> (</span>
-<span id="cb439-9"><a href="#cb439-9" aria-hidden="true"></a> 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></span>
-<span id="cb439-10"><a href="#cb439-10" aria-hidden="true"></a> 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])</span>
-<span id="cb439-11"><a href="#cb439-11" aria-hidden="true"></a> )</span></code></pre></div>
+<div class="sourceCode" id="cb461"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb461-1"><a href="#cb461-1" aria-hidden="true"></a><span class="kw">def</span> foo(bar):</span>
+<span id="cb461-2"><a href="#cb461-2" aria-hidden="true"></a> <span class="cf">if</span> <span class="bu">len</span>(bar) <span class="op">&lt;=</span> <span class="dv">1</span>:</span>
+<span id="cb461-3"><a href="#cb461-3" aria-hidden="true"></a> <span class="cf">return</span> bar[:<span class="dv">1</span>]</span>
+<span id="cb461-4"><a href="#cb461-4" aria-hidden="true"></a> <span class="cf">elif</span> <span class="bu">len</span>(bar) <span class="op">==</span> <span class="dv">2</span>:</span>
+<span id="cb461-5"><a href="#cb461-5" aria-hidden="true"></a> <span class="cf">return</span> <span class="bu">sorted</span>(bar)</span>
+<span id="cb461-6"><a href="#cb461-6" aria-hidden="true"></a> <span class="cf">else</span>:</span>
+<span id="cb461-7"><a href="#cb461-7" aria-hidden="true"></a> baz <span class="op">=</span> bar[<span class="bu">len</span>(bar) <span class="op">//</span> <span class="dv">2</span>]</span>
+<span id="cb461-8"><a href="#cb461-8" aria-hidden="true"></a> <span class="cf">return</span> (</span>
+<span id="cb461-9"><a href="#cb461-9" aria-hidden="true"></a> 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></span>
+<span id="cb461-10"><a href="#cb461-10" aria-hidden="true"></a> 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])</span>
+<span id="cb461-11"><a href="#cb461-11" aria-hidden="true"></a> )</span></code></pre></div>
<p>The following code in Python contained in file <code>./_markdown_document/cf2a96e2120cef5b1fae5fea36fcc27b.verbatim</code>:</p>
-<div class="sourceCode" id="cb440"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb440-1"><a href="#cb440-1" aria-hidden="true"></a><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>])</span>
-<span id="cb440-2"><a href="#cb440-2" aria-hidden="true"></a>[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</span></code></pre></div>
+<div class="sourceCode" id="cb462"><pre class="sourceCode py"><code class="sourceCode python"><span id="cb462-1"><a href="#cb462-1" aria-hidden="true"></a><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>])</span>
+<span id="cb462-2"><a href="#cb462-2" aria-hidden="true"></a>[<span class="dv">1</span>, <span class="dv">2</span>, <span class="dv">3</span>, <span class="dv">4</span>]</span></code></pre></div>
</blockquote>
<h4 data-number="2.3.1.18" id="yamlmetadatarenderers"><span class="header-section-number">2.3.1.18</span> YAML Metadata Renderers</h4>
<p>The <code>\markdownRendererJekyllDataBegin</code> macro represents the beginning of a <abbr>yaml</abbr> document. This macro will only be produced when the <strong><code>jekyllData</code></strong> option is enabled. The macro receives no arguments.</p>
@@ -5892,74 +6125,74 @@ Thomas,Edison,1847</code></pre>
<p>The <code>\markdownRendererJekyllDataNumber</code> macro represents a numeric scalar value in a <abbr>yaml</abbr> document. This macro will only be produced when the <strong><code>jekyllData</code></strong> option is enabled. The macro receives two arguments: the scalar key in the parent structure, and the scalar value, both cast to a string following <abbr>yaml</abbr> serialization rules.</p>
<p>The <code>\markdownRendererJekyllDataString</code> macro represents a string scalar value in a <abbr>yaml</abbr> document. This macro will only be produced when the <strong><code>jekyllData</code></strong> option is enabled. The macro receives two arguments: the scalar key in the parent structure, cast to a string following <abbr>yaml</abbr> serialization rules, and the scalar value.</p>
<p>The <code>\markdownRendererJekyllDataEmpty</code> macro represents an empty scalar value in a <abbr>yaml</abbr> document. This macro will only be produced when the <strong><code>jekyllData</code></strong> option is enabled. The macro receives one argument: the scalar key in the parent structure, cast to a string following <abbr>yaml</abbr> serialization rules.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-29">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-30">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="cb441"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb441-1"><a href="#cb441-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb441-2"><a href="#cb441-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb441-3"><a href="#cb441-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataString</span>#1#2{<span class="fu">\gdef\name</span>{#2}}</span>
-<span id="cb441-4"><a href="#cb441-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataNumber</span>#1#2{<span class="fu">\gdef\age</span>{#2}}</span>
-<span id="cb441-5"><a href="#cb441-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb441-6"><a href="#cb441-6" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb441-7"><a href="#cb441-7" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb441-8"><a href="#cb441-8" aria-hidden="true"></a>---</span>
-<span id="cb441-9"><a href="#cb441-9" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb441-10"><a href="#cb441-10" aria-hidden="true"></a>age: 99</span>
-<span id="cb441-11"><a href="#cb441-11" aria-hidden="true"></a>---</span>
-<span id="cb441-12"><a href="#cb441-12" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb441-13"><a href="#cb441-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb463"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb463-1"><a href="#cb463-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb463-2"><a href="#cb463-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
+<span id="cb463-3"><a href="#cb463-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataString</span>#1#2{<span class="fu">\gdef\name</span>{#2}}</span>
+<span id="cb463-4"><a href="#cb463-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataNumber</span>#1#2{<span class="fu">\gdef\age</span>{#2}}</span>
+<span id="cb463-5"><a href="#cb463-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb463-6"><a href="#cb463-6" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb463-7"><a href="#cb463-7" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb463-8"><a href="#cb463-8" aria-hidden="true"></a>---</span>
+<span id="cb463-9"><a href="#cb463-9" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb463-10"><a href="#cb463-10" aria-hidden="true"></a>age: 99</span>
+<span id="cb463-11"><a href="#cb463-11" aria-hidden="true"></a>---</span>
+<span id="cb463-12"><a href="#cb463-12" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb463-13"><a href="#cb463-13" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb442"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb442-1"><a href="#cb442-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb464"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb464-1"><a href="#cb464-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-54"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-58"><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="cb443"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb443-1"><a href="#cb443-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb443-2"><a href="#cb443-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
-<span id="cb443-3"><a href="#cb443-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb443-4"><a href="#cb443-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb443-5"><a href="#cb443-5" aria-hidden="true"></a> jekyllDataString = {<span class="fu">\gdef\name</span>{#2}},</span>
-<span id="cb443-6"><a href="#cb443-6" aria-hidden="true"></a> jekyllDataNumber = {<span class="fu">\gdef\age</span>{#2}},</span>
-<span id="cb443-7"><a href="#cb443-7" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
-<span id="cb443-8"><a href="#cb443-8" aria-hidden="true"></a> }</span>
-<span id="cb443-9"><a href="#cb443-9" aria-hidden="true"></a>}</span>
-<span id="cb443-10"><a href="#cb443-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb443-11"><a href="#cb443-11" aria-hidden="true"></a></span>
-<span id="cb443-12"><a href="#cb443-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb443-13"><a href="#cb443-13" aria-hidden="true"></a>---</span>
-<span id="cb443-14"><a href="#cb443-14" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb443-15"><a href="#cb443-15" aria-hidden="true"></a>age: 99</span>
-<span id="cb443-16"><a href="#cb443-16" aria-hidden="true"></a>---</span>
-<span id="cb443-17"><a href="#cb443-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb443-18"><a href="#cb443-18" aria-hidden="true"></a></span>
-<span id="cb443-19"><a href="#cb443-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb465"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb465-1"><a href="#cb465-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb465-2"><a href="#cb465-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
+<span id="cb465-3"><a href="#cb465-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb465-4"><a href="#cb465-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb465-5"><a href="#cb465-5" aria-hidden="true"></a> jekyllDataString = {<span class="fu">\gdef\name</span>{#2}},</span>
+<span id="cb465-6"><a href="#cb465-6" aria-hidden="true"></a> jekyllDataNumber = {<span class="fu">\gdef\age</span>{#2}},</span>
+<span id="cb465-7"><a href="#cb465-7" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
+<span id="cb465-8"><a href="#cb465-8" aria-hidden="true"></a> }</span>
+<span id="cb465-9"><a href="#cb465-9" aria-hidden="true"></a>}</span>
+<span id="cb465-10"><a href="#cb465-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb465-11"><a href="#cb465-11" aria-hidden="true"></a></span>
+<span id="cb465-12"><a href="#cb465-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb465-13"><a href="#cb465-13" aria-hidden="true"></a>---</span>
+<span id="cb465-14"><a href="#cb465-14" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb465-15"><a href="#cb465-15" aria-hidden="true"></a>age: 99</span>
+<span id="cb465-16"><a href="#cb465-16" aria-hidden="true"></a>---</span>
+<span id="cb465-17"><a href="#cb465-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb465-18"><a href="#cb465-18" aria-hidden="true"></a></span>
+<span id="cb465-19"><a href="#cb465-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb444"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb444-1"><a href="#cb444-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb466"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb466-1"><a href="#cb466-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-41">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-45">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="cb445"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb445-1"><a href="#cb445-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb445-2"><a href="#cb445-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb445-3"><a href="#cb445-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataString</span>#1#2{<span class="fu">\gdef\name</span>{#2}}</span>
-<span id="cb445-4"><a href="#cb445-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataNumber</span>#1#2{<span class="fu">\gdef\age</span>{#2}}</span>
-<span id="cb445-5"><a href="#cb445-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb445-6"><a href="#cb445-6" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb445-7"><a href="#cb445-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb445-8"><a href="#cb445-8" aria-hidden="true"></a></span>
-<span id="cb445-9"><a href="#cb445-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb445-10"><a href="#cb445-10" aria-hidden="true"></a>---</span>
-<span id="cb445-11"><a href="#cb445-11" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb445-12"><a href="#cb445-12" aria-hidden="true"></a>age: 99</span>
-<span id="cb445-13"><a href="#cb445-13" aria-hidden="true"></a>---</span>
-<span id="cb445-14"><a href="#cb445-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb445-15"><a href="#cb445-15" aria-hidden="true"></a></span>
-<span id="cb445-16"><a href="#cb445-16" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb446"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb446-1"><a href="#cb446-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb467"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb467-1"><a href="#cb467-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb467-2"><a href="#cb467-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[jekyllData = yes]</span>
+<span id="cb467-3"><a href="#cb467-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataString</span>#1#2{<span class="fu">\gdef\name</span>{#2}}</span>
+<span id="cb467-4"><a href="#cb467-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataNumber</span>#1#2{<span class="fu">\gdef\age</span>{#2}}</span>
+<span id="cb467-5"><a href="#cb467-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb467-6"><a href="#cb467-6" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb467-7"><a href="#cb467-7" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb467-8"><a href="#cb467-8" aria-hidden="true"></a></span>
+<span id="cb467-9"><a href="#cb467-9" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb467-10"><a href="#cb467-10" aria-hidden="true"></a>---</span>
+<span id="cb467-11"><a href="#cb467-11" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb467-12"><a href="#cb467-12" aria-hidden="true"></a>age: 99</span>
+<span id="cb467-13"><a href="#cb467-13" aria-hidden="true"></a>---</span>
+<span id="cb467-14"><a href="#cb467-14" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb467-15"><a href="#cb467-15" aria-hidden="true"></a></span>
+<span id="cb467-16"><a href="#cb467-16" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb468"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb468-1"><a href="#cb468-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
@@ -5971,148 +6204,148 @@ Thomas,Edison,1847</code></pre>
<p>The <code>\markdownRendererHeadingFour</code> macro represents a fourth level heading. The macro receives a single argument that corresponds to the heading text.</p>
<p>The <code>\markdownRendererHeadingFive</code> macro represents a fifth level heading. The macro receives a single argument that corresponds to the heading text.</p>
<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 class="unnumbered" data-number="" id="plain-tex-example-30">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-31">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="cb447"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb447-1"><a href="#cb447-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb447-2"><a href="#cb447-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb447-3"><a href="#cb447-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
-<span id="cb447-4"><a href="#cb447-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
-<span id="cb447-5"><a href="#cb447-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
-<span id="cb447-6"><a href="#cb447-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
-<span id="cb447-7"><a href="#cb447-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
-<span id="cb447-8"><a href="#cb447-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
-<span id="cb447-9"><a href="#cb447-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb447-10"><a href="#cb447-10" aria-hidden="true"></a>######</span>
-<span id="cb447-11"><a href="#cb447-11" aria-hidden="true"></a>#####</span>
-<span id="cb447-12"><a href="#cb447-12" aria-hidden="true"></a>#####</span>
-<span id="cb447-13"><a href="#cb447-13" aria-hidden="true"></a>###</span>
-<span id="cb447-14"><a href="#cb447-14" aria-hidden="true"></a>######</span>
-<span id="cb447-15"><a href="#cb447-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb447-16"><a href="#cb447-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb448"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb448-1"><a href="#cb448-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb469"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb469-1"><a href="#cb469-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb469-2"><a href="#cb469-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb469-3"><a href="#cb469-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
+<span id="cb469-4"><a href="#cb469-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
+<span id="cb469-5"><a href="#cb469-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
+<span id="cb469-6"><a href="#cb469-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
+<span id="cb469-7"><a href="#cb469-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
+<span id="cb469-8"><a href="#cb469-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
+<span id="cb469-9"><a href="#cb469-9" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb469-10"><a href="#cb469-10" aria-hidden="true"></a>######</span>
+<span id="cb469-11"><a href="#cb469-11" aria-hidden="true"></a>#####</span>
+<span id="cb469-12"><a href="#cb469-12" aria-hidden="true"></a>#####</span>
+<span id="cb469-13"><a href="#cb469-13" aria-hidden="true"></a>###</span>
+<span id="cb469-14"><a href="#cb469-14" aria-hidden="true"></a>######</span>
+<span id="cb469-15"><a href="#cb469-15" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb469-16"><a href="#cb469-16" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb470"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb470-1"><a href="#cb470-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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 class="unnumbered" data-number="" id="latex-example-55"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-59"><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="cb449"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb449-1"><a href="#cb449-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb449-2"><a href="#cb449-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb449-3"><a href="#cb449-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb449-4"><a href="#cb449-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb449-5"><a href="#cb449-5" aria-hidden="true"></a> interblockSeparator = {},</span>
-<span id="cb449-6"><a href="#cb449-6" aria-hidden="true"></a> headingOne = 1,</span>
-<span id="cb449-7"><a href="#cb449-7" aria-hidden="true"></a> headingTwo = 2,</span>
-<span id="cb449-8"><a href="#cb449-8" aria-hidden="true"></a> headingThree = 3,</span>
-<span id="cb449-9"><a href="#cb449-9" aria-hidden="true"></a> headingFour = 4,</span>
-<span id="cb449-10"><a href="#cb449-10" aria-hidden="true"></a> headingFive = 5,</span>
-<span id="cb449-11"><a href="#cb449-11" aria-hidden="true"></a> headingSix = 6,</span>
-<span id="cb449-12"><a href="#cb449-12" aria-hidden="true"></a> },</span>
-<span id="cb449-13"><a href="#cb449-13" aria-hidden="true"></a>}</span>
-<span id="cb449-14"><a href="#cb449-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb449-15"><a href="#cb449-15" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb449-16"><a href="#cb449-16" aria-hidden="true"></a>######</span>
-<span id="cb449-17"><a href="#cb449-17" aria-hidden="true"></a>#####</span>
-<span id="cb449-18"><a href="#cb449-18" aria-hidden="true"></a>#####</span>
-<span id="cb449-19"><a href="#cb449-19" aria-hidden="true"></a>###</span>
-<span id="cb449-20"><a href="#cb449-20" aria-hidden="true"></a>######</span>
-<span id="cb449-21"><a href="#cb449-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb449-22"><a href="#cb449-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb450"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb450-1"><a href="#cb450-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb471"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb471-1"><a href="#cb471-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb471-2"><a href="#cb471-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb471-3"><a href="#cb471-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb471-4"><a href="#cb471-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb471-5"><a href="#cb471-5" aria-hidden="true"></a> interblockSeparator = {},</span>
+<span id="cb471-6"><a href="#cb471-6" aria-hidden="true"></a> headingOne = 1,</span>
+<span id="cb471-7"><a href="#cb471-7" aria-hidden="true"></a> headingTwo = 2,</span>
+<span id="cb471-8"><a href="#cb471-8" aria-hidden="true"></a> headingThree = 3,</span>
+<span id="cb471-9"><a href="#cb471-9" aria-hidden="true"></a> headingFour = 4,</span>
+<span id="cb471-10"><a href="#cb471-10" aria-hidden="true"></a> headingFive = 5,</span>
+<span id="cb471-11"><a href="#cb471-11" aria-hidden="true"></a> headingSix = 6,</span>
+<span id="cb471-12"><a href="#cb471-12" aria-hidden="true"></a> },</span>
+<span id="cb471-13"><a href="#cb471-13" aria-hidden="true"></a>}</span>
+<span id="cb471-14"><a href="#cb471-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb471-15"><a href="#cb471-15" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb471-16"><a href="#cb471-16" aria-hidden="true"></a>######</span>
+<span id="cb471-17"><a href="#cb471-17" aria-hidden="true"></a>#####</span>
+<span id="cb471-18"><a href="#cb471-18" aria-hidden="true"></a>#####</span>
+<span id="cb471-19"><a href="#cb471-19" aria-hidden="true"></a>###</span>
+<span id="cb471-20"><a href="#cb471-20" aria-hidden="true"></a>######</span>
+<span id="cb471-21"><a href="#cb471-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb471-22"><a href="#cb471-22" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb472"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb472-1"><a href="#cb472-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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 class="unnumbered" data-number="" id="context-example-42">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-46">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="cb451"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb451-1"><a href="#cb451-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb451-2"><a href="#cb451-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
-<span id="cb451-3"><a href="#cb451-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
-<span id="cb451-4"><a href="#cb451-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
-<span id="cb451-5"><a href="#cb451-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
-<span id="cb451-6"><a href="#cb451-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
-<span id="cb451-7"><a href="#cb451-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
-<span id="cb451-8"><a href="#cb451-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
-<span id="cb451-9"><a href="#cb451-9" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb451-10"><a href="#cb451-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb451-11"><a href="#cb451-11" aria-hidden="true"></a>######</span>
-<span id="cb451-12"><a href="#cb451-12" aria-hidden="true"></a>#####</span>
-<span id="cb451-13"><a href="#cb451-13" aria-hidden="true"></a>#####</span>
-<span id="cb451-14"><a href="#cb451-14" aria-hidden="true"></a>###</span>
-<span id="cb451-15"><a href="#cb451-15" aria-hidden="true"></a>######</span>
-<span id="cb451-16"><a href="#cb451-16" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb451-17"><a href="#cb451-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb452"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb452-1"><a href="#cb452-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb473"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb473-1"><a href="#cb473-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb473-2"><a href="#cb473-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererInterblockSeparator</span>{}</span>
+<span id="cb473-3"><a href="#cb473-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingOne</span>{1}</span>
+<span id="cb473-4"><a href="#cb473-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingTwo</span>{2}</span>
+<span id="cb473-5"><a href="#cb473-5" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingThree</span>{3}</span>
+<span id="cb473-6"><a href="#cb473-6" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFour</span>{4}</span>
+<span id="cb473-7"><a href="#cb473-7" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingFive</span>{5}</span>
+<span id="cb473-8"><a href="#cb473-8" aria-hidden="true"></a><span class="fu">\def\markdownRendererHeadingSix</span>{6}</span>
+<span id="cb473-9"><a href="#cb473-9" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb473-10"><a href="#cb473-10" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb473-11"><a href="#cb473-11" aria-hidden="true"></a>######</span>
+<span id="cb473-12"><a href="#cb473-12" aria-hidden="true"></a>#####</span>
+<span id="cb473-13"><a href="#cb473-13" aria-hidden="true"></a>#####</span>
+<span id="cb473-14"><a href="#cb473-14" aria-hidden="true"></a>###</span>
+<span id="cb473-15"><a href="#cb473-15" aria-hidden="true"></a>######</span>
+<span id="cb473-16"><a href="#cb473-16" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb473-17"><a href="#cb473-17" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb474"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb474-1"><a href="#cb474-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
<h4 data-number="2.3.1.20" id="horizontal-rule-renderer"><span class="header-section-number">2.3.1.20</span> Horizontal Rule Renderer</h4>
<p>The <code>\markdownRendererHorizontalRule</code> macro represents a horizontal rule. The macro receives no arguments.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-31">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-32">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="cb453"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb453-1"><a href="#cb453-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb453-2"><a href="#cb453-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\vfil\break</span>}</span>
-<span id="cb453-3"><a href="#cb453-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb453-4"><a href="#cb453-4" aria-hidden="true"></a>This is the first page.</span>
-<span id="cb453-5"><a href="#cb453-5" aria-hidden="true"></a></span>
-<span id="cb453-6"><a href="#cb453-6" aria-hidden="true"></a>***</span>
-<span id="cb453-7"><a href="#cb453-7" aria-hidden="true"></a></span>
-<span id="cb453-8"><a href="#cb453-8" aria-hidden="true"></a>This is the second page.</span>
-<span id="cb453-9"><a href="#cb453-9" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb453-10"><a href="#cb453-10" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb475"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb475-1"><a href="#cb475-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb475-2"><a href="#cb475-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\vfil\break</span>}</span>
+<span id="cb475-3"><a href="#cb475-3" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb475-4"><a href="#cb475-4" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb475-5"><a href="#cb475-5" aria-hidden="true"></a></span>
+<span id="cb475-6"><a href="#cb475-6" aria-hidden="true"></a>***</span>
+<span id="cb475-7"><a href="#cb475-7" aria-hidden="true"></a></span>
+<span id="cb475-8"><a href="#cb475-8" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb475-9"><a href="#cb475-9" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb475-10"><a href="#cb475-10" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb454"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb454-1"><a href="#cb454-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb476"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb476-1"><a href="#cb476-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
<hr />
<p>This is the second page.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-56"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-60"><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="cb455"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb455-1"><a href="#cb455-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb455-2"><a href="#cb455-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb455-3"><a href="#cb455-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb455-4"><a href="#cb455-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb455-5"><a href="#cb455-5" aria-hidden="true"></a> horizontalRule = <span class="fu">\newpage</span>,</span>
-<span id="cb455-6"><a href="#cb455-6" aria-hidden="true"></a> },</span>
-<span id="cb455-7"><a href="#cb455-7" aria-hidden="true"></a>}</span>
-<span id="cb455-8"><a href="#cb455-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb455-9"><a href="#cb455-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb455-10"><a href="#cb455-10" aria-hidden="true"></a>This is the first page.</span>
-<span id="cb455-11"><a href="#cb455-11" aria-hidden="true"></a></span>
-<span id="cb455-12"><a href="#cb455-12" aria-hidden="true"></a>***</span>
-<span id="cb455-13"><a href="#cb455-13" aria-hidden="true"></a></span>
-<span id="cb455-14"><a href="#cb455-14" aria-hidden="true"></a>This is the second page.</span>
-<span id="cb455-15"><a href="#cb455-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb455-16"><a href="#cb455-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb477"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb477-1"><a href="#cb477-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb477-2"><a href="#cb477-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb477-3"><a href="#cb477-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb477-4"><a href="#cb477-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb477-5"><a href="#cb477-5" aria-hidden="true"></a> horizontalRule = <span class="fu">\newpage</span>,</span>
+<span id="cb477-6"><a href="#cb477-6" aria-hidden="true"></a> },</span>
+<span id="cb477-7"><a href="#cb477-7" aria-hidden="true"></a>}</span>
+<span id="cb477-8"><a href="#cb477-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb477-9"><a href="#cb477-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb477-10"><a href="#cb477-10" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb477-11"><a href="#cb477-11" aria-hidden="true"></a></span>
+<span id="cb477-12"><a href="#cb477-12" aria-hidden="true"></a>***</span>
+<span id="cb477-13"><a href="#cb477-13" aria-hidden="true"></a></span>
+<span id="cb477-14"><a href="#cb477-14" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb477-15"><a href="#cb477-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb477-16"><a href="#cb477-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb456"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb456-1"><a href="#cb456-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb478"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb478-1"><a href="#cb478-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
<hr />
<p>This is the second page.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-43">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-47">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="cb457"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb457-1"><a href="#cb457-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb457-2"><a href="#cb457-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\page</span>[yes]}</span>
-<span id="cb457-3"><a href="#cb457-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb457-4"><a href="#cb457-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb457-5"><a href="#cb457-5" aria-hidden="true"></a>This is the first page.</span>
-<span id="cb457-6"><a href="#cb457-6" aria-hidden="true"></a></span>
-<span id="cb457-7"><a href="#cb457-7" aria-hidden="true"></a>***</span>
-<span id="cb457-8"><a href="#cb457-8" aria-hidden="true"></a></span>
-<span id="cb457-9"><a href="#cb457-9" aria-hidden="true"></a>This is the second page.</span>
-<span id="cb457-10"><a href="#cb457-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb457-11"><a href="#cb457-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb479"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb479-1"><a href="#cb479-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb479-2"><a href="#cb479-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererHorizontalRule</span>{<span class="fu">\page</span>[yes]}</span>
+<span id="cb479-3"><a href="#cb479-3" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb479-4"><a href="#cb479-4" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb479-5"><a href="#cb479-5" aria-hidden="true"></a>This is the first page.</span>
+<span id="cb479-6"><a href="#cb479-6" aria-hidden="true"></a></span>
+<span id="cb479-7"><a href="#cb479-7" aria-hidden="true"></a>***</span>
+<span id="cb479-8"><a href="#cb479-8" aria-hidden="true"></a></span>
+<span id="cb479-9"><a href="#cb479-9" aria-hidden="true"></a>This is the second page.</span>
+<span id="cb479-10"><a href="#cb479-10" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb479-11"><a href="#cb479-11" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb458"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb458-1"><a href="#cb458-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb480"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb480-1"><a href="#cb480-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -6121,165 +6354,165 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.1.21" id="footnote-renderer"><span class="header-section-number">2.3.1.21</span> Footnote Renderer</h4>
<p>The <code>\markdownRendererFootnote</code> macro represents a footnote. This macro will only be produced, when the <strong><code>footnotes</code></strong> option is enabled. The macro receives a single argument that corresponds to the footnote text.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-32">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-33">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="cb459"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb459-1"><a href="#cb459-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb459-2"><a href="#cb459-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
-<span id="cb459-3"><a href="#cb459-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
-<span id="cb459-4"><a href="#cb459-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb459-5"><a href="#cb459-5" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
-<span id="cb459-6"><a href="#cb459-6" aria-hidden="true"></a></span>
-<span id="cb459-7"><a href="#cb459-7" aria-hidden="true"></a> [^1]: this is a footnote</span>
-<span id="cb459-8"><a href="#cb459-8" aria-hidden="true"></a></span>
-<span id="cb459-9"><a href="#cb459-9" aria-hidden="true"></a> [^2]: this is some other footnote</span>
-<span id="cb459-10"><a href="#cb459-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb459-11"><a href="#cb459-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb481"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb481-1"><a href="#cb481-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb481-2"><a href="#cb481-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
+<span id="cb481-3"><a href="#cb481-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
+<span id="cb481-4"><a href="#cb481-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb481-5"><a href="#cb481-5" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb481-6"><a href="#cb481-6" aria-hidden="true"></a></span>
+<span id="cb481-7"><a href="#cb481-7" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb481-8"><a href="#cb481-8" aria-hidden="true"></a></span>
+<span id="cb481-9"><a href="#cb481-9" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb481-10"><a href="#cb481-10" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb481-11"><a href="#cb481-11" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb460"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb460-1"><a href="#cb460-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb482"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb482-1"><a href="#cb482-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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 class="unnumbered" data-number="" id="latex-example-57"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-61"><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="cb461"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb461-1"><a href="#cb461-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb461-2"><a href="#cb461-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
-<span id="cb461-3"><a href="#cb461-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb461-4"><a href="#cb461-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb461-5"><a href="#cb461-5" aria-hidden="true"></a> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</span>
-<span id="cb461-6"><a href="#cb461-6" aria-hidden="true"></a> },</span>
-<span id="cb461-7"><a href="#cb461-7" aria-hidden="true"></a>}</span>
-<span id="cb461-8"><a href="#cb461-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb461-9"><a href="#cb461-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb461-10"><a href="#cb461-10" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
-<span id="cb461-11"><a href="#cb461-11" aria-hidden="true"></a></span>
-<span id="cb461-12"><a href="#cb461-12" aria-hidden="true"></a> [^1]: this is a footnote</span>
-<span id="cb461-13"><a href="#cb461-13" aria-hidden="true"></a></span>
-<span id="cb461-14"><a href="#cb461-14" aria-hidden="true"></a> [^2]: this is some other footnote</span>
-<span id="cb461-15"><a href="#cb461-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb461-16"><a href="#cb461-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb462"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb462-1"><a href="#cb462-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb483"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb483-1"><a href="#cb483-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb483-2"><a href="#cb483-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[footnotes]{<span class="ex">markdown</span>}</span>
+<span id="cb483-3"><a href="#cb483-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb483-4"><a href="#cb483-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb483-5"><a href="#cb483-5" aria-hidden="true"></a> footnote = { (and <span class="fu">\MakeLowercase</span>{#1})},</span>
+<span id="cb483-6"><a href="#cb483-6" aria-hidden="true"></a> },</span>
+<span id="cb483-7"><a href="#cb483-7" aria-hidden="true"></a>}</span>
+<span id="cb483-8"><a href="#cb483-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb483-9"><a href="#cb483-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb483-10"><a href="#cb483-10" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb483-11"><a href="#cb483-11" aria-hidden="true"></a></span>
+<span id="cb483-12"><a href="#cb483-12" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb483-13"><a href="#cb483-13" aria-hidden="true"></a></span>
+<span id="cb483-14"><a href="#cb483-14" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb483-15"><a href="#cb483-15" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb483-16"><a href="#cb483-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb484"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb484-1"><a href="#cb484-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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 class="unnumbered" data-number="" id="context-example-44">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="context-example-48">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="cb463"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb463-1"><a href="#cb463-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb463-2"><a href="#cb463-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionFootnotes</span>{true}</span>
-<span id="cb463-3"><a href="#cb463-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
-<span id="cb463-4"><a href="#cb463-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb463-5"><a href="#cb463-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb463-6"><a href="#cb463-6" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
-<span id="cb463-7"><a href="#cb463-7" aria-hidden="true"></a></span>
-<span id="cb463-8"><a href="#cb463-8" aria-hidden="true"></a> [^1]: this is a footnote</span>
-<span id="cb463-9"><a href="#cb463-9" aria-hidden="true"></a></span>
-<span id="cb463-10"><a href="#cb463-10" aria-hidden="true"></a> [^2]: this is some other footnote</span>
-<span id="cb463-11"><a href="#cb463-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb463-12"><a href="#cb463-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb485"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb485-1"><a href="#cb485-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb485-2"><a href="#cb485-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[footnotes = yes]</span>
+<span id="cb485-3"><a href="#cb485-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererFootnote</span>#1{ (and <span class="fu">\lowercase</span>{#1})}</span>
+<span id="cb485-4"><a href="#cb485-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb485-5"><a href="#cb485-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb485-6"><a href="#cb485-6" aria-hidden="true"></a>This is some text[^1] and this is some other text[^2].</span>
+<span id="cb485-7"><a href="#cb485-7" aria-hidden="true"></a></span>
+<span id="cb485-8"><a href="#cb485-8" aria-hidden="true"></a> [^1]: this is a footnote</span>
+<span id="cb485-9"><a href="#cb485-9" aria-hidden="true"></a></span>
+<span id="cb485-10"><a href="#cb485-10" aria-hidden="true"></a> [^2]: this is some other footnote</span>
+<span id="cb485-11"><a href="#cb485-11" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb485-12"><a href="#cb485-12" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb464"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb464-1"><a href="#cb464-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb486"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb486-1"><a href="#cb486-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
<h4 data-number="2.3.1.22" id="parenthesized-citations-renderer"><span class="header-section-number">2.3.1.22</span> Parenthesized Citations Renderer</h4>
<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 enabled. The macro receives the parameter <code>{</code>⟨<em>number of citations</em>⟩<code>}</code> followed by ⟨<em>suppress author</em>⟩ <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 class="unnumbered" data-number="" id="latex-example-58"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-62"><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="cb465"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb465-1"><a href="#cb465-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb465-2"><a href="#cb465-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
-<span id="cb465-3"><a href="#cb465-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
-<span id="cb465-4"><a href="#cb465-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
-<span id="cb465-5"><a href="#cb465-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
-<span id="cb465-6"><a href="#cb465-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb465-7"><a href="#cb465-7" aria-hidden="true"></a> a parenthesized citation <span class="fu">\emph</span>{#4}</span>
-<span id="cb465-8"><a href="#cb465-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
-<span id="cb465-9"><a href="#cb465-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
-<span id="cb465-10"><a href="#cb465-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
-<span id="cb465-11"><a href="#cb465-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
-<span id="cb465-12"><a href="#cb465-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb465-13"><a href="#cb465-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb465-14"><a href="#cb465-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
-<span id="cb465-15"><a href="#cb465-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
-<span id="cb465-16"><a href="#cb465-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
-<span id="cb465-17"><a href="#cb465-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb465-18"><a href="#cb465-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb465-19"><a href="#cb465-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
-<span id="cb465-20"><a href="#cb465-20" aria-hidden="true"></a> .<span class="co">%</span></span>
-<span id="cb465-21"><a href="#cb465-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
-<span id="cb465-22"><a href="#cb465-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb465-23"><a href="#cb465-23" aria-hidden="true"></a> , and</span>
-<span id="cb465-24"><a href="#cb465-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
-<span id="cb465-25"><a href="#cb465-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
-<span id="cb465-26"><a href="#cb465-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb465-27"><a href="#cb465-27" aria-hidden="true"></a> renderers = {</span>
-<span id="cb465-28"><a href="#cb465-28" aria-hidden="true"></a> cite = {<span class="co">%</span></span>
-<span id="cb465-29"><a href="#cb465-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
-<span id="cb465-30"><a href="#cb465-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
-<span id="cb465-31"><a href="#cb465-31" aria-hidden="true"></a> This is</span>
-<span id="cb465-32"><a href="#cb465-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
-<span id="cb465-33"><a href="#cb465-33" aria-hidden="true"></a> },</span>
-<span id="cb465-34"><a href="#cb465-34" aria-hidden="true"></a> },</span>
-<span id="cb465-35"><a href="#cb465-35" aria-hidden="true"></a>}</span>
-<span id="cb465-36"><a href="#cb465-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb465-37"><a href="#cb465-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb465-38"><a href="#cb465-38" aria-hidden="true"></a>[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</span>
-<span id="cb465-39"><a href="#cb465-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb465-40"><a href="#cb465-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb466"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb466-1"><a href="#cb466-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb487"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb487-1"><a href="#cb487-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb487-2"><a href="#cb487-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb487-3"><a href="#cb487-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
+<span id="cb487-4"><a href="#cb487-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
+<span id="cb487-5"><a href="#cb487-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb487-6"><a href="#cb487-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb487-7"><a href="#cb487-7" aria-hidden="true"></a> a parenthesized citation <span class="fu">\emph</span>{#4}</span>
+<span id="cb487-8"><a href="#cb487-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb487-9"><a href="#cb487-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
+<span id="cb487-10"><a href="#cb487-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb487-11"><a href="#cb487-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb487-12"><a href="#cb487-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb487-13"><a href="#cb487-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb487-14"><a href="#cb487-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
+<span id="cb487-15"><a href="#cb487-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb487-16"><a href="#cb487-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb487-17"><a href="#cb487-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb487-18"><a href="#cb487-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb487-19"><a href="#cb487-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
+<span id="cb487-20"><a href="#cb487-20" aria-hidden="true"></a> .<span class="co">%</span></span>
+<span id="cb487-21"><a href="#cb487-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb487-22"><a href="#cb487-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb487-23"><a href="#cb487-23" aria-hidden="true"></a> , and</span>
+<span id="cb487-24"><a href="#cb487-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
+<span id="cb487-25"><a href="#cb487-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb487-26"><a href="#cb487-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb487-27"><a href="#cb487-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb487-28"><a href="#cb487-28" aria-hidden="true"></a> cite = {<span class="co">%</span></span>
+<span id="cb487-29"><a href="#cb487-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
+<span id="cb487-30"><a href="#cb487-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
+<span id="cb487-31"><a href="#cb487-31" aria-hidden="true"></a> This is</span>
+<span id="cb487-32"><a href="#cb487-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
+<span id="cb487-33"><a href="#cb487-33" aria-hidden="true"></a> },</span>
+<span id="cb487-34"><a href="#cb487-34" aria-hidden="true"></a> },</span>
+<span id="cb487-35"><a href="#cb487-35" aria-hidden="true"></a>}</span>
+<span id="cb487-36"><a href="#cb487-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb487-37"><a href="#cb487-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb487-38"><a href="#cb487-38" aria-hidden="true"></a>[see @abrahams90, pp. 12; @eijkhout91, pp. 34]</span>
+<span id="cb487-39"><a href="#cb487-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb487-40"><a href="#cb487-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb488"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb488-1"><a href="#cb488-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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. 12</em>, and a citation <em>eijkhout91</em> with a postfix <em>pp. 34</em>.</p>
</blockquote>
<h4 data-number="2.3.1.23" id="text-citations-renderer"><span class="header-section-number">2.3.1.23</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 enabled. The macro receives parameters in the same format as the macro.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-59"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<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 enabled. The macro receives parameters in the same format as the <code>\markdownRendererCite</code> macro.</p>
+<h5 class="unnumbered" data-number="" id="latex-example-63"><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="cb467"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb467-1"><a href="#cb467-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb467-2"><a href="#cb467-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
-<span id="cb467-3"><a href="#cb467-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
-<span id="cb467-4"><a href="#cb467-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
-<span id="cb467-5"><a href="#cb467-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
-<span id="cb467-6"><a href="#cb467-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
-<span id="cb467-7"><a href="#cb467-7" aria-hidden="true"></a> a text citation <span class="fu">\emph</span>{#4}</span>
-<span id="cb467-8"><a href="#cb467-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
-<span id="cb467-9"><a href="#cb467-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
-<span id="cb467-10"><a href="#cb467-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
-<span id="cb467-11"><a href="#cb467-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
-<span id="cb467-12"><a href="#cb467-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb467-13"><a href="#cb467-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb467-14"><a href="#cb467-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
-<span id="cb467-15"><a href="#cb467-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
-<span id="cb467-16"><a href="#cb467-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
-<span id="cb467-17"><a href="#cb467-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb467-18"><a href="#cb467-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb467-19"><a href="#cb467-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
-<span id="cb467-20"><a href="#cb467-20" aria-hidden="true"></a> .<span class="co">%</span></span>
-<span id="cb467-21"><a href="#cb467-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
-<span id="cb467-22"><a href="#cb467-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb467-23"><a href="#cb467-23" aria-hidden="true"></a> , and</span>
-<span id="cb467-24"><a href="#cb467-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
-<span id="cb467-25"><a href="#cb467-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
-<span id="cb467-26"><a href="#cb467-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb467-27"><a href="#cb467-27" aria-hidden="true"></a> renderers = {</span>
-<span id="cb467-28"><a href="#cb467-28" aria-hidden="true"></a> textCite = {<span class="co">%</span></span>
-<span id="cb467-29"><a href="#cb467-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
-<span id="cb467-30"><a href="#cb467-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
-<span id="cb467-31"><a href="#cb467-31" aria-hidden="true"></a> This is</span>
-<span id="cb467-32"><a href="#cb467-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
-<span id="cb467-33"><a href="#cb467-33" aria-hidden="true"></a> },</span>
-<span id="cb467-34"><a href="#cb467-34" aria-hidden="true"></a> },</span>
-<span id="cb467-35"><a href="#cb467-35" aria-hidden="true"></a>}</span>
-<span id="cb467-36"><a href="#cb467-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb467-37"><a href="#cb467-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb467-38"><a href="#cb467-38" aria-hidden="true"></a>@abrahams90 [pp. 12; also @eijkhout91]</span>
-<span id="cb467-39"><a href="#cb467-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb467-40"><a href="#cb467-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb468"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb468-1"><a href="#cb468-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb489"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb489-1"><a href="#cb489-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb489-2"><a href="#cb489-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[citations]{<span class="ex">markdown</span>}</span>
+<span id="cb489-3"><a href="#cb489-3" aria-hidden="true"></a><span class="fu">\newcount\citationsCounter</span></span>
+<span id="cb489-4"><a href="#cb489-4" aria-hidden="true"></a><span class="fu">\newcount\citationsTotal</span></span>
+<span id="cb489-5"><a href="#cb489-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb489-6"><a href="#cb489-6" aria-hidden="true"></a><span class="fu">\def\citations</span>#1#2#3#4{<span class="co">%</span></span>
+<span id="cb489-7"><a href="#cb489-7" aria-hidden="true"></a> a text citation <span class="fu">\emph</span>{#4}</span>
+<span id="cb489-8"><a href="#cb489-8" aria-hidden="true"></a> <span class="fu">\advance\citationsCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb489-9"><a href="#cb489-9" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#2<span class="fu">\relax</span></span>
+<span id="cb489-10"><a href="#cb489-10" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb489-11"><a href="#cb489-11" aria-hidden="true"></a> with a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb489-12"><a href="#cb489-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb489-13"><a href="#cb489-13" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb489-14"><a href="#cb489-14" aria-hidden="true"></a> with a prefix <span class="fu">\emph</span>{#2}<span class="co">%</span></span>
+<span id="cb489-15"><a href="#cb489-15" aria-hidden="true"></a> <span class="fu">\ifx\relax</span>#3<span class="fu">\relax\else</span></span>
+<span id="cb489-16"><a href="#cb489-16" aria-hidden="true"></a> <span class="fu">\ </span>and a postfix <span class="fu">\emph</span>{#3}<span class="co">%</span></span>
+<span id="cb489-17"><a href="#cb489-17" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb489-18"><a href="#cb489-18" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb489-19"><a href="#cb489-19" aria-hidden="true"></a> <span class="fu">\ifnum\citationsCounter</span>&gt;<span class="fu">\citationsTotal\relax</span></span>
+<span id="cb489-20"><a href="#cb489-20" aria-hidden="true"></a> .<span class="co">%</span></span>
+<span id="cb489-21"><a href="#cb489-21" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb489-22"><a href="#cb489-22" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb489-23"><a href="#cb489-23" aria-hidden="true"></a> , and</span>
+<span id="cb489-24"><a href="#cb489-24" aria-hidden="true"></a> <span class="fu">\fi\citations</span>}</span>
+<span id="cb489-25"><a href="#cb489-25" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb489-26"><a href="#cb489-26" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb489-27"><a href="#cb489-27" aria-hidden="true"></a> renderers = {</span>
+<span id="cb489-28"><a href="#cb489-28" aria-hidden="true"></a> textCite = {<span class="co">%</span></span>
+<span id="cb489-29"><a href="#cb489-29" aria-hidden="true"></a> <span class="fu">\citationsCounter</span>=1<span class="co">%</span></span>
+<span id="cb489-30"><a href="#cb489-30" aria-hidden="true"></a> <span class="fu">\citationsTotal</span>=#1<span class="co">%</span></span>
+<span id="cb489-31"><a href="#cb489-31" aria-hidden="true"></a> This is</span>
+<span id="cb489-32"><a href="#cb489-32" aria-hidden="true"></a> <span class="fu">\expandafter\citations</span></span>
+<span id="cb489-33"><a href="#cb489-33" aria-hidden="true"></a> },</span>
+<span id="cb489-34"><a href="#cb489-34" aria-hidden="true"></a> },</span>
+<span id="cb489-35"><a href="#cb489-35" aria-hidden="true"></a>}</span>
+<span id="cb489-36"><a href="#cb489-36" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb489-37"><a href="#cb489-37" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb489-38"><a href="#cb489-38" aria-hidden="true"></a>@abrahams90 [pp. 12; also @eijkhout91]</span>
+<span id="cb489-39"><a href="#cb489-39" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb489-40"><a href="#cb489-40" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb490"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb490-1"><a href="#cb490-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -6292,67 +6525,67 @@ Thomas,Edison,1847</code></pre>
<li><code>c</code> – The corresponding column is centered.</li>
<li><code>r</code> – The corresponding column is right-aligned.</li>
</ul>
-<h5 class="unnumbered" data-number="" id="latex-example-60"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-64"><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="cb469"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb469-1"><a href="#cb469-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb469-2"><a href="#cb469-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
-<span id="cb469-3"><a href="#cb469-3" aria-hidden="true"></a><span class="fu">\newcount\rowCounter</span></span>
-<span id="cb469-4"><a href="#cb469-4" aria-hidden="true"></a><span class="fu">\newcount\columnCounter</span></span>
-<span id="cb469-5"><a href="#cb469-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
-<span id="cb469-6"><a href="#cb469-6" aria-hidden="true"></a><span class="fu">\def\processRow</span>#1{<span class="co">%</span></span>
-<span id="cb469-7"><a href="#cb469-7" aria-hidden="true"></a> <span class="fu">\columnCounter</span>=1<span class="co">%</span></span>
-<span id="cb469-8"><a href="#cb469-8" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
-<span id="cb469-9"><a href="#cb469-9" aria-hidden="true"></a> As for the alignment,</span>
-<span id="cb469-10"><a href="#cb469-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb469-11"><a href="#cb469-11" aria-hidden="true"></a> In row <span class="fu">\the\rowCounter</span>,</span>
-<span id="cb469-12"><a href="#cb469-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb469-13"><a href="#cb469-13" aria-hidden="true"></a> <span class="fu">\processColumn</span>#1</span>
-<span id="cb469-14"><a href="#cb469-14" aria-hidden="true"></a> <span class="fu">\advance\rowCounter</span> by 1<span class="fu">\relax</span></span>
-<span id="cb469-15"><a href="#cb469-15" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>&gt;<span class="fu">\rowTotal\relax</span></span>
-<span id="cb469-16"><a href="#cb469-16" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
-<span id="cb469-17"><a href="#cb469-17" aria-hidden="true"></a> <span class="fu">\fi\processRow</span>}<span class="co">%</span></span>
-<span id="cb469-18"><a href="#cb469-18" aria-hidden="true"></a><span class="fu">\def\processColumn</span>#1{<span class="co">%</span></span>
-<span id="cb469-19"><a href="#cb469-19" aria-hidden="true"></a> column number <span class="fu">\the\columnCounter</span>{}</span>
-<span id="cb469-20"><a href="#cb469-20" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
-<span id="cb469-21"><a href="#cb469-21" aria-hidden="true"></a> <span class="fu">\if</span>#1d{}has default alignment<span class="fu">\fi</span></span>
-<span id="cb469-22"><a href="#cb469-22" aria-hidden="true"></a> <span class="fu">\if</span>#1l{}is left-aligned<span class="fu">\fi</span></span>
-<span id="cb469-23"><a href="#cb469-23" aria-hidden="true"></a> <span class="fu">\if</span>#1c{}is centered<span class="fu">\fi</span></span>
-<span id="cb469-24"><a href="#cb469-24" aria-hidden="true"></a> <span class="fu">\if</span>#1r{}is right-aligned<span class="fu">\fi</span></span>
-<span id="cb469-25"><a href="#cb469-25" aria-hidden="true"></a> <span class="fu">\else</span></span>
-<span id="cb469-26"><a href="#cb469-26" aria-hidden="true"></a> says <span class="fu">\emph</span>{#1}<span class="co">%</span></span>
-<span id="cb469-27"><a href="#cb469-27" aria-hidden="true"></a> <span class="fu">\fi</span></span>
-<span id="cb469-28"><a href="#cb469-28" aria-hidden="true"></a> <span class="fu">\advance\columnCounter</span> by 1<span class="fu">\relax</span></span>
-<span id="cb469-29"><a href="#cb469-29" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&lt;<span class="fu">\columnTotal\relax</span>, <span class="fu">\fi</span></span>
-<span id="cb469-30"><a href="#cb469-30" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>=<span class="fu">\columnTotal\relax</span>, and <span class="fu">\fi</span></span>
-<span id="cb469-31"><a href="#cb469-31" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&gt;<span class="fu">\columnTotal\relax</span></span>
-<span id="cb469-32"><a href="#cb469-32" aria-hidden="true"></a> .<span class="fu">\expandafter\@gobble</span></span>
-<span id="cb469-33"><a href="#cb469-33" aria-hidden="true"></a> <span class="fu">\fi\processColumn</span>}<span class="co">%</span></span>
-<span id="cb469-34"><a href="#cb469-34" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
-<span id="cb469-35"><a href="#cb469-35" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb469-36"><a href="#cb469-36" aria-hidden="true"></a> renderers = {</span>
-<span id="cb469-37"><a href="#cb469-37" aria-hidden="true"></a> table = {<span class="co">%</span></span>
-<span id="cb469-38"><a href="#cb469-38" aria-hidden="true"></a> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</span>
-<span id="cb469-39"><a href="#cb469-39" aria-hidden="true"></a> and #2 rows long.</span>
-<span id="cb469-40"><a href="#cb469-40" aria-hidden="true"></a> <span class="fu">\rowCounter</span>=0<span class="co">%</span></span>
-<span id="cb469-41"><a href="#cb469-41" aria-hidden="true"></a> <span class="fu">\def\rowTotal</span>{#2}<span class="co">%</span></span>
-<span id="cb469-42"><a href="#cb469-42" aria-hidden="true"></a> <span class="fu">\def\columnTotal</span>{#3}<span class="co">%</span></span>
-<span id="cb469-43"><a href="#cb469-43" aria-hidden="true"></a> <span class="fu">\processRow</span></span>
-<span id="cb469-44"><a href="#cb469-44" aria-hidden="true"></a> },</span>
-<span id="cb469-45"><a href="#cb469-45" aria-hidden="true"></a> },</span>
-<span id="cb469-46"><a href="#cb469-46" aria-hidden="true"></a>}</span>
-<span id="cb469-47"><a href="#cb469-47" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb469-48"><a href="#cb469-48" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb469-49"><a href="#cb469-49" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
-<span id="cb469-50"><a href="#cb469-50" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
-<span id="cb469-51"><a href="#cb469-51" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
-<span id="cb469-52"><a href="#cb469-52" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
-<span id="cb469-53"><a href="#cb469-53" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
-<span id="cb469-54"><a href="#cb469-54" aria-hidden="true"></a></span>
-<span id="cb469-55"><a href="#cb469-55" aria-hidden="true"></a> : Demonstration of pipe table syntax</span>
-<span id="cb469-56"><a href="#cb469-56" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb469-57"><a href="#cb469-57" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb470"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb470-1"><a href="#cb470-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb491"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb491-1"><a href="#cb491-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb491-2"><a href="#cb491-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[pipeTables, tableCaptions]{<span class="ex">markdown</span>}</span>
+<span id="cb491-3"><a href="#cb491-3" aria-hidden="true"></a><span class="fu">\newcount\rowCounter</span></span>
+<span id="cb491-4"><a href="#cb491-4" aria-hidden="true"></a><span class="fu">\newcount\columnCounter</span></span>
+<span id="cb491-5"><a href="#cb491-5" aria-hidden="true"></a><span class="fu">\makeatletter</span></span>
+<span id="cb491-6"><a href="#cb491-6" aria-hidden="true"></a><span class="fu">\def\processRow</span>#1{<span class="co">%</span></span>
+<span id="cb491-7"><a href="#cb491-7" aria-hidden="true"></a> <span class="fu">\columnCounter</span>=1<span class="co">%</span></span>
+<span id="cb491-8"><a href="#cb491-8" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
+<span id="cb491-9"><a href="#cb491-9" aria-hidden="true"></a> As for the alignment,</span>
+<span id="cb491-10"><a href="#cb491-10" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb491-11"><a href="#cb491-11" aria-hidden="true"></a> In row <span class="fu">\the\rowCounter</span>,</span>
+<span id="cb491-12"><a href="#cb491-12" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb491-13"><a href="#cb491-13" aria-hidden="true"></a> <span class="fu">\processColumn</span>#1</span>
+<span id="cb491-14"><a href="#cb491-14" aria-hidden="true"></a> <span class="fu">\advance\rowCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb491-15"><a href="#cb491-15" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>&gt;<span class="fu">\rowTotal\relax</span></span>
+<span id="cb491-16"><a href="#cb491-16" aria-hidden="true"></a> <span class="fu">\expandafter\@gobble</span></span>
+<span id="cb491-17"><a href="#cb491-17" aria-hidden="true"></a> <span class="fu">\fi\processRow</span>}<span class="co">%</span></span>
+<span id="cb491-18"><a href="#cb491-18" aria-hidden="true"></a><span class="fu">\def\processColumn</span>#1{<span class="co">%</span></span>
+<span id="cb491-19"><a href="#cb491-19" aria-hidden="true"></a> column number <span class="fu">\the\columnCounter</span>{}</span>
+<span id="cb491-20"><a href="#cb491-20" aria-hidden="true"></a> <span class="fu">\ifnum\rowCounter</span>=0<span class="fu">\relax</span></span>
+<span id="cb491-21"><a href="#cb491-21" aria-hidden="true"></a> <span class="fu">\if</span>#1d{}has default alignment<span class="fu">\fi</span></span>
+<span id="cb491-22"><a href="#cb491-22" aria-hidden="true"></a> <span class="fu">\if</span>#1l{}is left-aligned<span class="fu">\fi</span></span>
+<span id="cb491-23"><a href="#cb491-23" aria-hidden="true"></a> <span class="fu">\if</span>#1c{}is centered<span class="fu">\fi</span></span>
+<span id="cb491-24"><a href="#cb491-24" aria-hidden="true"></a> <span class="fu">\if</span>#1r{}is right-aligned<span class="fu">\fi</span></span>
+<span id="cb491-25"><a href="#cb491-25" aria-hidden="true"></a> <span class="fu">\else</span></span>
+<span id="cb491-26"><a href="#cb491-26" aria-hidden="true"></a> says <span class="fu">\emph</span>{#1}<span class="co">%</span></span>
+<span id="cb491-27"><a href="#cb491-27" aria-hidden="true"></a> <span class="fu">\fi</span></span>
+<span id="cb491-28"><a href="#cb491-28" aria-hidden="true"></a> <span class="fu">\advance\columnCounter</span> by 1<span class="fu">\relax</span></span>
+<span id="cb491-29"><a href="#cb491-29" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&lt;<span class="fu">\columnTotal\relax</span>, <span class="fu">\fi</span></span>
+<span id="cb491-30"><a href="#cb491-30" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>=<span class="fu">\columnTotal\relax</span>, and <span class="fu">\fi</span></span>
+<span id="cb491-31"><a href="#cb491-31" aria-hidden="true"></a> <span class="fu">\ifnum\columnCounter</span>&gt;<span class="fu">\columnTotal\relax</span></span>
+<span id="cb491-32"><a href="#cb491-32" aria-hidden="true"></a> .<span class="fu">\expandafter\@gobble</span></span>
+<span id="cb491-33"><a href="#cb491-33" aria-hidden="true"></a> <span class="fu">\fi\processColumn</span>}<span class="co">%</span></span>
+<span id="cb491-34"><a href="#cb491-34" aria-hidden="true"></a><span class="fu">\makeatother</span></span>
+<span id="cb491-35"><a href="#cb491-35" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb491-36"><a href="#cb491-36" aria-hidden="true"></a> renderers = {</span>
+<span id="cb491-37"><a href="#cb491-37" aria-hidden="true"></a> table = {<span class="co">%</span></span>
+<span id="cb491-38"><a href="#cb491-38" aria-hidden="true"></a> This is a table with caption <span class="fu">\emph</span>{#1} that is #3 colums wide</span>
+<span id="cb491-39"><a href="#cb491-39" aria-hidden="true"></a> and #2 rows long.</span>
+<span id="cb491-40"><a href="#cb491-40" aria-hidden="true"></a> <span class="fu">\rowCounter</span>=0<span class="co">%</span></span>
+<span id="cb491-41"><a href="#cb491-41" aria-hidden="true"></a> <span class="fu">\def\rowTotal</span>{#2}<span class="co">%</span></span>
+<span id="cb491-42"><a href="#cb491-42" aria-hidden="true"></a> <span class="fu">\def\columnTotal</span>{#3}<span class="co">%</span></span>
+<span id="cb491-43"><a href="#cb491-43" aria-hidden="true"></a> <span class="fu">\processRow</span></span>
+<span id="cb491-44"><a href="#cb491-44" aria-hidden="true"></a> },</span>
+<span id="cb491-45"><a href="#cb491-45" aria-hidden="true"></a> },</span>
+<span id="cb491-46"><a href="#cb491-46" aria-hidden="true"></a>}</span>
+<span id="cb491-47"><a href="#cb491-47" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb491-48"><a href="#cb491-48" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb491-49"><a href="#cb491-49" aria-hidden="true"></a>| Right | Left | Default | Center |</span>
+<span id="cb491-50"><a href="#cb491-50" aria-hidden="true"></a>|------:|:-----|---------|:------:|</span>
+<span id="cb491-51"><a href="#cb491-51" aria-hidden="true"></a>| 12 | 12 | 12 | 12 |</span>
+<span id="cb491-52"><a href="#cb491-52" aria-hidden="true"></a>| 123 | 123 | 123 | 123 |</span>
+<span id="cb491-53"><a href="#cb491-53" aria-hidden="true"></a>| 1 | 1 | 1 | 1 |</span>
+<span id="cb491-54"><a href="#cb491-54" aria-hidden="true"></a></span>
+<span id="cb491-55"><a href="#cb491-55" aria-hidden="true"></a> : Demonstration of pipe table syntax</span>
+<span id="cb491-56"><a href="#cb491-56" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb491-57"><a href="#cb491-57" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb492"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb492-1"><a href="#cb492-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
@@ -6360,36 +6593,36 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.25" id="html-comment-renderers"><span class="header-section-number">2.3.1.25</span> HTML Comment Renderers</h4>
<p>The <code>\markdownRendererInlineHtmlComment</code> macro represents the contents of an inline <abbr>HTML</abbr> comment. This macro will only be produced, when the <strong><code>html</code></strong> option is enabled. The macro receives a single argument that corresponds to the contents of the <abbr>HTML</abbr> comment.</p>
<p>The <code>\markdownRendererBlockHtmlCommentBegin</code> and <code>\markdownRendererBlockHtmlCommentEnd</code> macros represent the beginning and the end of a block <abbr>HTML</abbr> comment. The macros receive no arguments.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-61"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-65"><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="cb471"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb471-1"><a href="#cb471-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb471-2"><a href="#cb471-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[html]{<span class="ex">markdown</span>}</span>
-<span id="cb471-3"><a href="#cb471-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">marginnote</span>}</span>
-<span id="cb471-4"><a href="#cb471-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb471-5"><a href="#cb471-5" aria-hidden="true"></a> renderers = {</span>
-<span id="cb471-6"><a href="#cb471-6" aria-hidden="true"></a> inlineHtmlComment = {<span class="fu">\marginnote</span>{#1}},</span>
-<span id="cb471-7"><a href="#cb471-7" aria-hidden="true"></a> blockHtmlCommentBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</span>
-<span id="cb471-8"><a href="#cb471-8" aria-hidden="true"></a> blockHtmlCommentEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</span>
-<span id="cb471-9"><a href="#cb471-9" aria-hidden="true"></a> },</span>
-<span id="cb471-10"><a href="#cb471-10" aria-hidden="true"></a>}</span>
-<span id="cb471-11"><a href="#cb471-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb471-12"><a href="#cb471-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb471-13"><a href="#cb471-13" aria-hidden="true"></a>A useful use of inline HTML comments are side notes.</span>
-<span id="cb471-14"><a href="#cb471-14" aria-hidden="true"></a>&lt;!-- Side notes are displayed in the horizontal margins next to the relevant</span>
-<span id="cb471-15"><a href="#cb471-15" aria-hidden="true"></a>passages, which makes them *easier for the reader to find* than footnotes. --&gt;</span>
-<span id="cb471-16"><a href="#cb471-16" aria-hidden="true"></a></span>
-<span id="cb471-17"><a href="#cb471-17" aria-hidden="true"></a>We can render block HTML comments as blockquotes:</span>
-<span id="cb471-18"><a href="#cb471-18" aria-hidden="true"></a></span>
-<span id="cb471-19"><a href="#cb471-19" aria-hidden="true"></a>&lt;!--</span>
-<span id="cb471-20"><a href="#cb471-20" aria-hidden="true"></a>Here is a block HTML comment with a code example that a programmer might understand:</span>
-<span id="cb471-21"><a href="#cb471-21" aria-hidden="true"></a></span>
-<span id="cb471-22"><a href="#cb471-22" aria-hidden="true"></a> foo = bar + baz - 42</span>
-<span id="cb471-23"><a href="#cb471-23" aria-hidden="true"></a>--&gt;</span>
-<span id="cb471-24"><a href="#cb471-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb471-25"><a href="#cb471-25" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb472"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb472-1"><a href="#cb472-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
-<span id="cb472-2"><a href="#cb472-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb493"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb493-1"><a href="#cb493-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb493-2"><a href="#cb493-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[html]{<span class="ex">markdown</span>}</span>
+<span id="cb493-3"><a href="#cb493-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">marginnote</span>}</span>
+<span id="cb493-4"><a href="#cb493-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb493-5"><a href="#cb493-5" aria-hidden="true"></a> renderers = {</span>
+<span id="cb493-6"><a href="#cb493-6" aria-hidden="true"></a> inlineHtmlComment = {<span class="fu">\marginnote</span>{#1}},</span>
+<span id="cb493-7"><a href="#cb493-7" aria-hidden="true"></a> blockHtmlCommentBegin = {<span class="kw">\begin</span>{<span class="ex">quote</span>}},</span>
+<span id="cb493-8"><a href="#cb493-8" aria-hidden="true"></a> blockHtmlCommentEnd = {<span class="kw">\end</span>{<span class="ex">quote</span>}},</span>
+<span id="cb493-9"><a href="#cb493-9" aria-hidden="true"></a> },</span>
+<span id="cb493-10"><a href="#cb493-10" aria-hidden="true"></a>}</span>
+<span id="cb493-11"><a href="#cb493-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb493-12"><a href="#cb493-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb493-13"><a href="#cb493-13" aria-hidden="true"></a>A useful use of inline HTML comments are side notes.</span>
+<span id="cb493-14"><a href="#cb493-14" aria-hidden="true"></a>&lt;!-- Side notes are displayed in the horizontal margins next to the relevant</span>
+<span id="cb493-15"><a href="#cb493-15" aria-hidden="true"></a>passages, which makes them *easier for the reader to find* than footnotes. --&gt;</span>
+<span id="cb493-16"><a href="#cb493-16" aria-hidden="true"></a></span>
+<span id="cb493-17"><a href="#cb493-17" aria-hidden="true"></a>We can render block HTML comments as blockquotes:</span>
+<span id="cb493-18"><a href="#cb493-18" aria-hidden="true"></a></span>
+<span id="cb493-19"><a href="#cb493-19" aria-hidden="true"></a>&lt;!--</span>
+<span id="cb493-20"><a href="#cb493-20" aria-hidden="true"></a>Here is a block HTML comment with a code example that a programmer might understand:</span>
+<span id="cb493-21"><a href="#cb493-21" aria-hidden="true"></a></span>
+<span id="cb493-22"><a href="#cb493-22" aria-hidden="true"></a> foo = bar + baz - 42</span>
+<span id="cb493-23"><a href="#cb493-23" aria-hidden="true"></a>--&gt;</span>
+<span id="cb493-24"><a href="#cb493-24" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb493-25"><a href="#cb493-25" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb494"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb494-1"><a href="#cb494-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb494-2"><a href="#cb494-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following body text:</p>
<blockquote>
<p>A useful use of HTML comments are side notes.</p>
@@ -6406,28 +6639,28 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.26" id="html-tag-and-element-renderers"><span class="header-section-number">2.3.1.26</span> HTML Tag and Element Renderers</h4>
<p>The <code>\markdownRendererInlineHtmlTag</code> macro represents an opening, closing, or empty inline <abbr>HTML</abbr> tag. This macro will only be produced, when the <strong><code>html</code></strong> option is enabled. The macro receives a single argument that corresponds to the contents of the <abbr>HTML</abbr> tag.</p>
<p>The <code>\markdownRendererInputBlockHtmlElement</code> macro represents a block <abbr>HTML</abbr> element. This macro will only be produced, when the <strong><code>html</code></strong> option is enabled. The macro receives a single argument that filename of a file containing the contents of the <abbr>HTML</abbr> element.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-62"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-66"><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="cb474"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb474-1"><a href="#cb474-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb474-2"><a href="#cb474-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[html]{<span class="ex">markdown</span>}</span>
-<span id="cb474-3"><a href="#cb474-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">marginnote</span>}</span>
-<span id="cb474-4"><a href="#cb474-4" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</span>
-<span id="cb474-5"><a href="#cb474-5" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb474-6"><a href="#cb474-6" aria-hidden="true"></a> renderers = {</span>
-<span id="cb474-7"><a href="#cb474-7" aria-hidden="true"></a> inlineHtmlTag = {<span class="fu">\textbf</span>{#1}},</span>
-<span id="cb474-8"><a href="#cb474-8" aria-hidden="true"></a> inputBlockHtmlElement = {<span class="fu">\verbatiminput</span>{#1}},</span>
-<span id="cb474-9"><a href="#cb474-9" aria-hidden="true"></a> },</span>
-<span id="cb474-10"><a href="#cb474-10" aria-hidden="true"></a>}</span>
-<span id="cb474-11"><a href="#cb474-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb474-12"><a href="#cb474-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb474-13"><a href="#cb474-13" aria-hidden="true"></a>&lt;b&gt;_Hello,_ world!&lt;/b&gt;&lt;br/&gt;</span>
-<span id="cb474-14"><a href="#cb474-14" aria-hidden="true"></a></span>
-<span id="cb474-15"><a href="#cb474-15" aria-hidden="true"></a>&lt;div&gt;_Hello,_ world!&lt;/div&gt;</span>
-<span id="cb474-16"><a href="#cb474-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb474-17"><a href="#cb474-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb475"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb475-1"><a href="#cb475-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
-<span id="cb475-2"><a href="#cb475-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb496"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb496-1"><a href="#cb496-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb496-2"><a href="#cb496-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[html]{<span class="ex">markdown</span>}</span>
+<span id="cb496-3"><a href="#cb496-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">marginnote</span>}</span>
+<span id="cb496-4"><a href="#cb496-4" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">verbatim</span>}</span>
+<span id="cb496-5"><a href="#cb496-5" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb496-6"><a href="#cb496-6" aria-hidden="true"></a> renderers = {</span>
+<span id="cb496-7"><a href="#cb496-7" aria-hidden="true"></a> inlineHtmlTag = {<span class="fu">\textbf</span>{#1}},</span>
+<span id="cb496-8"><a href="#cb496-8" aria-hidden="true"></a> inputBlockHtmlElement = {<span class="fu">\verbatiminput</span>{#1}},</span>
+<span id="cb496-9"><a href="#cb496-9" aria-hidden="true"></a> },</span>
+<span id="cb496-10"><a href="#cb496-10" aria-hidden="true"></a>}</span>
+<span id="cb496-11"><a href="#cb496-11" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb496-12"><a href="#cb496-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb496-13"><a href="#cb496-13" aria-hidden="true"></a>&lt;b&gt;_Hello,_ world!&lt;/b&gt;&lt;br/&gt;</span>
+<span id="cb496-14"><a href="#cb496-14" aria-hidden="true"></a></span>
+<span id="cb496-15"><a href="#cb496-15" aria-hidden="true"></a>&lt;div&gt;_Hello,_ world!&lt;/div&gt;</span>
+<span id="cb496-16"><a href="#cb496-16" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb496-17"><a href="#cb496-17" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb497"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb497-1"><a href="#cb497-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span>
+<span id="cb497-2"><a href="#cb497-2" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following body text:</p>
<blockquote>
<p><strong><b></strong>_Hello,_ world!<strong></b><br/></strong></p>
@@ -6438,42 +6671,42 @@ Thomas,Edison,1847</code></pre>
<p><code>\markdownRendererAttributeIdentifier</code> represents the ⟨<em>identifier</em>⟩ of a markdown element (<code>id="</code>⟨<em>identifier</em>⟩<code>"</code> in HTML and <code>#</code>⟨<em>identifier</em>⟩ in Markdown’s <strong><code>headerAttributes</code></strong> syntax extension). The macro receives a single attribute that corresponds to the ⟨<em>identifier</em>⟩.</p>
<p><code>\markdownRendererAttributeClassName</code> represents the ⟨<em>class name</em>⟩ of a markdown element (<code>class="</code>⟨<em>class name</em>⟩ …<code>"</code> in HTML and <code>.</code>⟨<em>class name</em>⟩ in Markdown’s <strong><code>headerAttributes</code></strong> syntax extension). The macro receives a single attribute that corresponds to the .</p>
<p><code>\markdownRendererAttributeKeyValue</code> represents a HTML attribute in the form ⟨<em>key</em>⟩<code>=</code>⟨<em>value</em>⟩ that is neither an identifier nor a class name. The macro receives two attributes that correspond to the ⟨<em>key</em>⟩ and the ⟨<em>value</em>⟩, respectively.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-63"><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="cb477"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb477-1"><a href="#cb477-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb477-2"><a href="#cb477-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes, underscores=false]{<span class="ex">markdown</span>}</span>
-<span id="cb477-3"><a href="#cb477-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb477-4"><a href="#cb477-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb477-5"><a href="#cb477-5" aria-hidden="true"></a> attributeIdentifier = {<span class="co">%</span></span>
-<span id="cb477-6"><a href="#cb477-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-7"><a href="#cb477-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(Identifier: #1)}</span>
-<span id="cb477-8"><a href="#cb477-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-9"><a href="#cb477-9" aria-hidden="true"></a> },</span>
-<span id="cb477-10"><a href="#cb477-10" aria-hidden="true"></a> attributeClassName = {<span class="co">%</span></span>
-<span id="cb477-11"><a href="#cb477-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-12"><a href="#cb477-12" aria-hidden="true"></a> <span class="fu">\emph</span>{(Class name: #1)}</span>
-<span id="cb477-13"><a href="#cb477-13" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-14"><a href="#cb477-14" aria-hidden="true"></a> },</span>
-<span id="cb477-15"><a href="#cb477-15" aria-hidden="true"></a> attributeKeyValue = {<span class="co">%</span></span>
-<span id="cb477-16"><a href="#cb477-16" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-17"><a href="#cb477-17" aria-hidden="true"></a> <span class="fu">\emph</span>{(Key: #1, Value: #2)}</span>
-<span id="cb477-18"><a href="#cb477-18" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb477-19"><a href="#cb477-19" aria-hidden="true"></a> },</span>
-<span id="cb477-20"><a href="#cb477-20" aria-hidden="true"></a> },</span>
-<span id="cb477-21"><a href="#cb477-21" aria-hidden="true"></a>}</span>
-<span id="cb477-22"><a href="#cb477-22" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb477-23"><a href="#cb477-23" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb477-24"><a href="#cb477-24" aria-hidden="true"></a></span>
-<span id="cb477-25"><a href="#cb477-25" aria-hidden="true"></a># First top-level heading {jane=doe}</span>
-<span id="cb477-26"><a href="#cb477-26" aria-hidden="true"></a></span>
-<span id="cb477-27"><a href="#cb477-27" aria-hidden="true"></a>## A subheading {#identifier}</span>
-<span id="cb477-28"><a href="#cb477-28" aria-hidden="true"></a></span>
-<span id="cb477-29"><a href="#cb477-29" aria-hidden="true"></a># Second top-level heading {.class_name}</span>
-<span id="cb477-30"><a href="#cb477-30" aria-hidden="true"></a></span>
-<span id="cb477-31"><a href="#cb477-31" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb477-32"><a href="#cb477-32" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb478"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb478-1"><a href="#cb478-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-67"><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="cb499"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb499-1"><a href="#cb499-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb499-2"><a href="#cb499-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes, underscores=false]{<span class="ex">markdown</span>}</span>
+<span id="cb499-3"><a href="#cb499-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb499-4"><a href="#cb499-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb499-5"><a href="#cb499-5" aria-hidden="true"></a> attributeIdentifier = {<span class="co">%</span></span>
+<span id="cb499-6"><a href="#cb499-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-7"><a href="#cb499-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(Identifier: #1)}</span>
+<span id="cb499-8"><a href="#cb499-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-9"><a href="#cb499-9" aria-hidden="true"></a> },</span>
+<span id="cb499-10"><a href="#cb499-10" aria-hidden="true"></a> attributeClassName = {<span class="co">%</span></span>
+<span id="cb499-11"><a href="#cb499-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-12"><a href="#cb499-12" aria-hidden="true"></a> <span class="fu">\emph</span>{(Class name: #1)}</span>
+<span id="cb499-13"><a href="#cb499-13" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-14"><a href="#cb499-14" aria-hidden="true"></a> },</span>
+<span id="cb499-15"><a href="#cb499-15" aria-hidden="true"></a> attributeKeyValue = {<span class="co">%</span></span>
+<span id="cb499-16"><a href="#cb499-16" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-17"><a href="#cb499-17" aria-hidden="true"></a> <span class="fu">\emph</span>{(Key: #1, Value: #2)}</span>
+<span id="cb499-18"><a href="#cb499-18" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb499-19"><a href="#cb499-19" aria-hidden="true"></a> },</span>
+<span id="cb499-20"><a href="#cb499-20" aria-hidden="true"></a> },</span>
+<span id="cb499-21"><a href="#cb499-21" aria-hidden="true"></a>}</span>
+<span id="cb499-22"><a href="#cb499-22" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb499-23"><a href="#cb499-23" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb499-24"><a href="#cb499-24" aria-hidden="true"></a></span>
+<span id="cb499-25"><a href="#cb499-25" aria-hidden="true"></a># First top-level heading {jane=doe}</span>
+<span id="cb499-26"><a href="#cb499-26" aria-hidden="true"></a></span>
+<span id="cb499-27"><a href="#cb499-27" aria-hidden="true"></a>## A subheading {#identifier}</span>
+<span id="cb499-28"><a href="#cb499-28" aria-hidden="true"></a></span>
+<span id="cb499-29"><a href="#cb499-29" aria-hidden="true"></a># Second top-level heading {.class_name}</span>
+<span id="cb499-30"><a href="#cb499-30" aria-hidden="true"></a></span>
+<span id="cb499-31"><a href="#cb499-31" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb499-32"><a href="#cb499-32" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb500"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb500-1"><a href="#cb500-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="first-top-level-heading">First top-level heading</h1>
@@ -6486,37 +6719,37 @@ Thomas,Edison,1847</code></pre>
<h4 data-number="2.3.1.28" id="header-attribute-context-renderers"><span class="header-section-number">2.3.1.28</span> Header Attribute Context Renderers</h4>
<p>The following macros are only produced, when the <strong><code>headerAttributes</code></strong> option is enabled.</p>
<p>The <code>\markdownRendererHeaderAttributeContextBegin</code> and <code>\markdownRendererHeaderAttributeContextEnd</code> macros represent the beginning and the end of a section in which the attributes of a heading apply. The macros receive no arguments.</p>
-<h5 class="unnumbered" data-number="" id="latex-example-64"><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="cb479"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb479-1"><a href="#cb479-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb479-2"><a href="#cb479-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</span>
-<span id="cb479-3"><a href="#cb479-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb479-4"><a href="#cb479-4" aria-hidden="true"></a> renderers = {</span>
-<span id="cb479-5"><a href="#cb479-5" aria-hidden="true"></a> headerAttributeContextBegin = {<span class="co">%</span></span>
-<span id="cb479-6"><a href="#cb479-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb479-7"><a href="#cb479-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a header attribute context)}</span>
-<span id="cb479-8"><a href="#cb479-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb479-9"><a href="#cb479-9" aria-hidden="true"></a> },</span>
-<span id="cb479-10"><a href="#cb479-10" aria-hidden="true"></a> headerAttributeContextBegin = {<span class="co">%</span></span>
-<span id="cb479-11"><a href="#cb479-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb479-12"><a href="#cb479-12" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a header attribute context)}</span>
-<span id="cb479-13"><a href="#cb479-13" aria-hidden="true"></a> <span class="fu">\par</span></span>
-<span id="cb479-14"><a href="#cb479-14" aria-hidden="true"></a> },</span>
-<span id="cb479-15"><a href="#cb479-15" aria-hidden="true"></a> },</span>
-<span id="cb479-16"><a href="#cb479-16" aria-hidden="true"></a>}</span>
-<span id="cb479-17"><a href="#cb479-17" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb479-18"><a href="#cb479-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb479-19"><a href="#cb479-19" aria-hidden="true"></a></span>
-<span id="cb479-20"><a href="#cb479-20" aria-hidden="true"></a># First top-level heading</span>
-<span id="cb479-21"><a href="#cb479-21" aria-hidden="true"></a></span>
-<span id="cb479-22"><a href="#cb479-22" aria-hidden="true"></a>## A subheading {#identifier}</span>
-<span id="cb479-23"><a href="#cb479-23" aria-hidden="true"></a></span>
-<span id="cb479-24"><a href="#cb479-24" aria-hidden="true"></a># Second top-level heading {.class_name}</span>
-<span id="cb479-25"><a href="#cb479-25" aria-hidden="true"></a></span>
-<span id="cb479-26"><a href="#cb479-26" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb479-27"><a href="#cb479-27" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb480"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb480-1"><a href="#cb480-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-68"><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="cb501"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb501-1"><a href="#cb501-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb501-2"><a href="#cb501-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[headerAttributes]{<span class="ex">markdown</span>}</span>
+<span id="cb501-3"><a href="#cb501-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb501-4"><a href="#cb501-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb501-5"><a href="#cb501-5" aria-hidden="true"></a> headerAttributeContextBegin = {<span class="co">%</span></span>
+<span id="cb501-6"><a href="#cb501-6" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb501-7"><a href="#cb501-7" aria-hidden="true"></a> <span class="fu">\emph</span>{(The beginning of a header attribute context)}</span>
+<span id="cb501-8"><a href="#cb501-8" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb501-9"><a href="#cb501-9" aria-hidden="true"></a> },</span>
+<span id="cb501-10"><a href="#cb501-10" aria-hidden="true"></a> headerAttributeContextBegin = {<span class="co">%</span></span>
+<span id="cb501-11"><a href="#cb501-11" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb501-12"><a href="#cb501-12" aria-hidden="true"></a> <span class="fu">\emph</span>{(The end of a header attribute context)}</span>
+<span id="cb501-13"><a href="#cb501-13" aria-hidden="true"></a> <span class="fu">\par</span></span>
+<span id="cb501-14"><a href="#cb501-14" aria-hidden="true"></a> },</span>
+<span id="cb501-15"><a href="#cb501-15" aria-hidden="true"></a> },</span>
+<span id="cb501-16"><a href="#cb501-16" aria-hidden="true"></a>}</span>
+<span id="cb501-17"><a href="#cb501-17" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb501-18"><a href="#cb501-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb501-19"><a href="#cb501-19" aria-hidden="true"></a></span>
+<span id="cb501-20"><a href="#cb501-20" aria-hidden="true"></a># First top-level heading</span>
+<span id="cb501-21"><a href="#cb501-21" aria-hidden="true"></a></span>
+<span id="cb501-22"><a href="#cb501-22" aria-hidden="true"></a>## A subheading {#identifier}</span>
+<span id="cb501-23"><a href="#cb501-23" aria-hidden="true"></a></span>
+<span id="cb501-24"><a href="#cb501-24" aria-hidden="true"></a># Second top-level heading {.class_name}</span>
+<span id="cb501-25"><a href="#cb501-25" aria-hidden="true"></a></span>
+<span id="cb501-26"><a href="#cb501-26" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb501-27"><a href="#cb501-27" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb502"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb502-1"><a href="#cb502-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<h1 id="first-top-level-heading-1">First top-level heading</h1>
@@ -6527,81 +6760,242 @@ Thomas,Edison,1847</code></pre>
<h1 id="second-top-level-heading-1">Second top-level heading</h1>
<p><em>(The end of a header attribute context)</em></p>
</blockquote>
-<h3 data-number="2.3.2" id="texrendererprototypes"><span class="header-section-number">2.3.2</span> Token Renderer Prototypes</h3>
-<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 class="unnumbered" data-number="" id="plain-tex-example-33">Plain <span class="tex">T<sub>e</sub>X</span> Example</h5>
+<h4 data-number="2.3.1.29" id="strike-through-renderer"><span class="header-section-number">2.3.1.29</span> Strike-Through Renderer</h4>
+<p>The <code>\markdownRendererStrikeThrough</code> macro represents a strike-through span of text. The macro receives a single argument that corresponds to the striked-out span of text. This macro will only be produced, when the <strong><code>strikeThrough</code></strong> option is enabled.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-34">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="cb481"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb481-1"><a href="#cb481-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb481-2"><a href="#cb481-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
-<span id="cb481-3"><a href="#cb481-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
-<span id="cb481-4"><a href="#cb481-4" aria-hidden="true"></a>}</span>
-<span id="cb481-5"><a href="#cb481-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb481-6"><a href="#cb481-6" aria-hidden="true"></a>~</span>
-<span id="cb481-7"><a href="#cb481-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb481-8"><a href="#cb481-8" aria-hidden="true"></a></span>
-<span id="cb481-9"><a href="#cb481-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
-<span id="cb481-10"><a href="#cb481-10" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
-<span id="cb481-11"><a href="#cb481-11" aria-hidden="true"></a>}</span>
-<span id="cb481-12"><a href="#cb481-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb481-13"><a href="#cb481-13" aria-hidden="true"></a>~</span>
-<span id="cb481-14"><a href="#cb481-14" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb481-15"><a href="#cb481-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<div class="sourceCode" id="cb503"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb503-1"><a href="#cb503-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb503-2"><a href="#cb503-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionStrikeThrough</span>{true}</span>
+<span id="cb503-3"><a href="#cb503-3" aria-hidden="true"></a><span class="fu">\input</span> soulutf8.sty</span>
+<span id="cb503-4"><a href="#cb503-4" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrikeThrough</span>#1{<span class="fu">\st</span>{#1}}</span>
+<span id="cb503-5"><a href="#cb503-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb503-6"><a href="#cb503-6" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb503-7"><a href="#cb503-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb503-8"><a href="#cb503-8" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb482"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb482-1"><a href="#cb482-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb504"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb504-1"><a href="#cb504-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
-<p>User-defined token renderers take precedence.</p>
+<p>This is <del>a lunar roving vehicle</del> strike-through text.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-65"><span class="latex">L<sup>a</sup>T<sub>e</sub>X</span> Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-69"><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="cb483"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb483-1"><a href="#cb483-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb483-2"><a href="#cb483-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
-<span id="cb483-3"><a href="#cb483-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb483-4"><a href="#cb483-4" aria-hidden="true"></a> rendererPrototypes = {</span>
-<span id="cb483-5"><a href="#cb483-5" aria-hidden="true"></a> tilde = {Packages can specify token renderer prototypes.},</span>
-<span id="cb483-6"><a href="#cb483-6" aria-hidden="true"></a> },</span>
-<span id="cb483-7"><a href="#cb483-7" aria-hidden="true"></a>}</span>
-<span id="cb483-8"><a href="#cb483-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb483-9"><a href="#cb483-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb483-10"><a href="#cb483-10" aria-hidden="true"></a>~</span>
-<span id="cb483-11"><a href="#cb483-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb483-12"><a href="#cb483-12" aria-hidden="true"></a></span>
-<span id="cb483-13"><a href="#cb483-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
-<span id="cb483-14"><a href="#cb483-14" aria-hidden="true"></a> renderers = {</span>
-<span id="cb483-15"><a href="#cb483-15" aria-hidden="true"></a> tilde = {User-defined token renderers take precedence.},</span>
-<span id="cb483-16"><a href="#cb483-16" aria-hidden="true"></a> },</span>
-<span id="cb483-17"><a href="#cb483-17" aria-hidden="true"></a>}</span>
-<span id="cb483-18"><a href="#cb483-18" aria-hidden="true"></a>~</span>
-<span id="cb483-19"><a href="#cb483-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
-<span id="cb483-20"><a href="#cb483-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb505"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb505-1"><a href="#cb505-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb505-2"><a href="#cb505-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[strikeThrough]{<span class="ex">markdown</span>}</span>
+<span id="cb505-3"><a href="#cb505-3" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">soulutf8</span>}</span>
+<span id="cb505-4"><a href="#cb505-4" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb505-5"><a href="#cb505-5" aria-hidden="true"></a> renderers = {</span>
+<span id="cb505-6"><a href="#cb505-6" aria-hidden="true"></a> strikeThrough = {<span class="fu">\st</span>{#1}},</span>
+<span id="cb505-7"><a href="#cb505-7" aria-hidden="true"></a> },</span>
+<span id="cb505-8"><a href="#cb505-8" aria-hidden="true"></a>}</span>
+<span id="cb505-9"><a href="#cb505-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb505-10"><a href="#cb505-10" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb505-11"><a href="#cb505-11" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb505-12"><a href="#cb505-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb505-13"><a href="#cb505-13" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb484"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb484-1"><a href="#cb484-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb506"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb506-1"><a href="#cb506-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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 <del>a lunar roving vehicle</del> strike-through text.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-49">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="cb507"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb507-1"><a href="#cb507-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb507-2"><a href="#cb507-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[strikeThrough = yes]</span>
+<span id="cb507-3"><a href="#cb507-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererStrikeThrough</span>#1{<span class="fu">\overstrikes</span>{#1}}</span>
+<span id="cb507-4"><a href="#cb507-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb507-5"><a href="#cb507-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb507-6"><a href="#cb507-6" aria-hidden="true"></a>This is ~~a lunar roving vehicle~~ strike-through text.</span>
+<span id="cb507-7"><a href="#cb507-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb507-8"><a href="#cb507-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb508"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb508-1"><a href="#cb508-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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 <del>a lunar roving vehicle</del> strike-through text.</p>
+</blockquote>
+<h4 data-number="2.3.1.30" id="superscript-renderer"><span class="header-section-number">2.3.1.30</span> Superscript Renderer</h4>
+<p>The <code>\markdownRendererSuperscript</code> macro represents a superscript span of text. The macro receives a single argument that corresponds to the superscript span of text. This macro will only be produced, when the <strong><code>superscripts</code></strong> option is enabled.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-35">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="cb509"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb509-1"><a href="#cb509-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb509-2"><a href="#cb509-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSuperscripts</span>{true}</span>
+<span id="cb509-3"><a href="#cb509-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererSuperscript</span>#1{ taken to the power of #1}</span>
+<span id="cb509-4"><a href="#cb509-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb509-5"><a href="#cb509-5" aria-hidden="true"></a>2^10^ is 1024.</span>
+<span id="cb509-6"><a href="#cb509-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb509-7"><a href="#cb509-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb510"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb510-1"><a href="#cb510-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>2 taken to the power of 10 is 1024.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="latex-example-70"><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="cb511"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb511-1"><a href="#cb511-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb511-2"><a href="#cb511-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[superscripts]{<span class="ex">markdown</span>}</span>
+<span id="cb511-3"><a href="#cb511-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb511-4"><a href="#cb511-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb511-5"><a href="#cb511-5" aria-hidden="true"></a> superscript = { taken to the power of #1},</span>
+<span id="cb511-6"><a href="#cb511-6" aria-hidden="true"></a> },</span>
+<span id="cb511-7"><a href="#cb511-7" aria-hidden="true"></a>}</span>
+<span id="cb511-8"><a href="#cb511-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb511-9"><a href="#cb511-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb511-10"><a href="#cb511-10" aria-hidden="true"></a>2^10^ is 1024.</span>
+<span id="cb511-11"><a href="#cb511-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb511-12"><a href="#cb511-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb512"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb512-1"><a href="#cb512-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>2 taken to the power of 10 is 1024.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-50">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="cb513"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb513-1"><a href="#cb513-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb513-2"><a href="#cb513-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[superscripts = yes]</span>
+<span id="cb513-3"><a href="#cb513-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererSuperscript</span>#1{ taken to the power of #1}</span>
+<span id="cb513-4"><a href="#cb513-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb513-5"><a href="#cb513-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb513-6"><a href="#cb513-6" aria-hidden="true"></a>2^10^ is 1024.</span>
+<span id="cb513-7"><a href="#cb513-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb513-8"><a href="#cb513-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb514"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb514-1"><a href="#cb514-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>2 taken to the power of 10 is 1024.</p>
+</blockquote>
+<h4 data-number="2.3.1.31" id="subscript-renderer"><span class="header-section-number">2.3.1.31</span> Subscript Renderer</h4>
+<p>The <code>\markdownRendererSubscript</code> macro represents a subscript span of text. The macro receives a single argument that corresponds to the subscript span of text. This macro will only be produced, when the <strong><code>subscripts</code></strong> option is enabled.</p>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-36">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="cb515"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb515-1"><a href="#cb515-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb515-2"><a href="#cb515-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionSubscripts</span>{true}</span>
+<span id="cb515-3"><a href="#cb515-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererSubscript</span>#1{ (#1 moles) and }</span>
+<span id="cb515-4"><a href="#cb515-4" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb515-5"><a href="#cb515-5" aria-hidden="true"></a>H~2~O is a liquid.</span>
+<span id="cb515-6"><a href="#cb515-6" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb515-7"><a href="#cb515-7" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb516"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb516-1"><a href="#cb516-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>H (2 moles) and O is liquid.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="latex-example-71"><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="cb517"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb517-1"><a href="#cb517-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb517-2"><a href="#cb517-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[subscripts]{<span class="ex">markdown</span>}</span>
+<span id="cb517-3"><a href="#cb517-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb517-4"><a href="#cb517-4" aria-hidden="true"></a> renderers = {</span>
+<span id="cb517-5"><a href="#cb517-5" aria-hidden="true"></a> subscript = { (#1 moles) and },</span>
+<span id="cb517-6"><a href="#cb517-6" aria-hidden="true"></a> },</span>
+<span id="cb517-7"><a href="#cb517-7" aria-hidden="true"></a>}</span>
+<span id="cb517-8"><a href="#cb517-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb517-9"><a href="#cb517-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb517-10"><a href="#cb517-10" aria-hidden="true"></a>H~2~O is a liquid.</span>
+<span id="cb517-11"><a href="#cb517-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb517-12"><a href="#cb517-12" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb518"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb518-1"><a href="#cb518-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>H (2 moles) and O is liquid.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-51">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="cb519"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb519-1"><a href="#cb519-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb519-2"><a href="#cb519-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[subscripts = yes]</span>
+<span id="cb519-3"><a href="#cb519-3" aria-hidden="true"></a><span class="fu">\def\markdownRendererSubscript</span>#1{ (#1 moles) and }</span>
+<span id="cb519-4"><a href="#cb519-4" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb519-5"><a href="#cb519-5" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb519-6"><a href="#cb519-6" aria-hidden="true"></a>H~2~O is a liquid.</span>
+<span id="cb519-7"><a href="#cb519-7" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb519-8"><a href="#cb519-8" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb520"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb520-1"><a href="#cb520-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
+<blockquote>
+<p>H (2 moles) and O is liquid.</p>
+</blockquote>
+<h3 data-number="2.3.2" id="texrendererprototypes"><span class="header-section-number">2.3.2</span> Token Renderer Prototypes</h3>
+<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 class="unnumbered" data-number="" id="plain-tex-example-37">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="cb521"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb521-1"><a href="#cb521-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb521-2"><a href="#cb521-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
+<span id="cb521-3"><a href="#cb521-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
+<span id="cb521-4"><a href="#cb521-4" aria-hidden="true"></a>}</span>
+<span id="cb521-5"><a href="#cb521-5" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb521-6"><a href="#cb521-6" aria-hidden="true"></a>~</span>
+<span id="cb521-7"><a href="#cb521-7" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb521-8"><a href="#cb521-8" aria-hidden="true"></a></span>
+<span id="cb521-9"><a href="#cb521-9" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
+<span id="cb521-10"><a href="#cb521-10" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
+<span id="cb521-11"><a href="#cb521-11" aria-hidden="true"></a>}</span>
+<span id="cb521-12"><a href="#cb521-12" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb521-13"><a href="#cb521-13" aria-hidden="true"></a>~</span>
+<span id="cb521-14"><a href="#cb521-14" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb521-15"><a href="#cb521-15" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb522"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb522-1"><a href="#cb522-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></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>
<p>User-defined token renderers take precedence.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-45">Con<span class="tex">T<sub>e</sub>X</span>t Example</h5>
+<h5 class="unnumbered" data-number="" id="latex-example-72"><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="cb523"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb523-1"><a href="#cb523-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb523-2"><a href="#cb523-2" aria-hidden="true"></a><span class="bu">\usepackage</span>{<span class="ex">markdown</span>}</span>
+<span id="cb523-3"><a href="#cb523-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb523-4"><a href="#cb523-4" aria-hidden="true"></a> rendererPrototypes = {</span>
+<span id="cb523-5"><a href="#cb523-5" aria-hidden="true"></a> tilde = {Packages can specify token renderer prototypes.},</span>
+<span id="cb523-6"><a href="#cb523-6" aria-hidden="true"></a> },</span>
+<span id="cb523-7"><a href="#cb523-7" aria-hidden="true"></a>}</span>
+<span id="cb523-8"><a href="#cb523-8" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb523-9"><a href="#cb523-9" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb523-10"><a href="#cb523-10" aria-hidden="true"></a>~</span>
+<span id="cb523-11"><a href="#cb523-11" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb523-12"><a href="#cb523-12" aria-hidden="true"></a></span>
+<span id="cb523-13"><a href="#cb523-13" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown*</span>}{</span>
+<span id="cb523-14"><a href="#cb523-14" aria-hidden="true"></a> renderers = {</span>
+<span id="cb523-15"><a href="#cb523-15" aria-hidden="true"></a> tilde = {User-defined token renderers take precedence.},</span>
+<span id="cb523-16"><a href="#cb523-16" aria-hidden="true"></a> },</span>
+<span id="cb523-17"><a href="#cb523-17" aria-hidden="true"></a>}</span>
+<span id="cb523-18"><a href="#cb523-18" aria-hidden="true"></a>~</span>
+<span id="cb523-19"><a href="#cb523-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown*</span>}</span>
+<span id="cb523-20"><a href="#cb523-20" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb524"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb524-1"><a href="#cb524-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></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>
+<p>User-defined token renderers take precedence.</p>
+</blockquote>
+<h5 class="unnumbered" data-number="" id="context-example-52">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="cb485"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb485-1"><a href="#cb485-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb485-2"><a href="#cb485-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
-<span id="cb485-3"><a href="#cb485-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
-<span id="cb485-4"><a href="#cb485-4" aria-hidden="true"></a>}</span>
-<span id="cb485-5"><a href="#cb485-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb485-6"><a href="#cb485-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb485-7"><a href="#cb485-7" aria-hidden="true"></a>~</span>
-<span id="cb485-8"><a href="#cb485-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb485-9"><a href="#cb485-9" aria-hidden="true"></a></span>
-<span id="cb485-10"><a href="#cb485-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
-<span id="cb485-11"><a href="#cb485-11" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
-<span id="cb485-12"><a href="#cb485-12" aria-hidden="true"></a>}</span>
-<span id="cb485-13"><a href="#cb485-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb485-14"><a href="#cb485-14" aria-hidden="true"></a>~</span>
-<span id="cb485-15"><a href="#cb485-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb485-16"><a href="#cb485-16" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<div class="sourceCode" id="cb525"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb525-1"><a href="#cb525-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb525-2"><a href="#cb525-2" aria-hidden="true"></a><span class="fu">\def\markdownRendererTildePrototype</span>{<span class="co">%</span></span>
+<span id="cb525-3"><a href="#cb525-3" aria-hidden="true"></a> Packages can specify token renderer prototypes.<span class="co">%</span></span>
+<span id="cb525-4"><a href="#cb525-4" aria-hidden="true"></a>}</span>
+<span id="cb525-5"><a href="#cb525-5" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb525-6"><a href="#cb525-6" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb525-7"><a href="#cb525-7" aria-hidden="true"></a>~</span>
+<span id="cb525-8"><a href="#cb525-8" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb525-9"><a href="#cb525-9" aria-hidden="true"></a></span>
+<span id="cb525-10"><a href="#cb525-10" aria-hidden="true"></a><span class="fu">\def\markdownRendererTilde</span>{<span class="co">%</span></span>
+<span id="cb525-11"><a href="#cb525-11" aria-hidden="true"></a> User-defined token renderers take precedence.<span class="co">%</span></span>
+<span id="cb525-12"><a href="#cb525-12" aria-hidden="true"></a>}</span>
+<span id="cb525-13"><a href="#cb525-13" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb525-14"><a href="#cb525-14" aria-hidden="true"></a>~</span>
+<span id="cb525-15"><a href="#cb525-15" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb525-16"><a href="#cb525-16" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb486"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb486-1"><a href="#cb486-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<div class="sourceCode" id="cb526"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb526-1"><a href="#cb526-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></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>
@@ -6609,92 +7003,88 @@ Thomas,Edison,1847</code></pre>
</blockquote>
<h4 data-number="2.3.2.1" id="expl3yamlmetadata"><span class="header-section-number">2.3.2.1</span> YAML Metadata Renderer Prototypes</h4>
<p>By default, the renderer prototypes for YAML metadata provide a high-level interface that can be programmed using the <code>markdown/jekyllData</code> key–values from the l3keys module of the 3 kernel.</p>
-<h5 class="unnumbered" data-number="" id="plain-tex-example-34">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="cb487"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb487-1"><a href="#cb487-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
-<span id="cb487-2"><a href="#cb487-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb487-3"><a href="#cb487-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb487-4"><a href="#cb487-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb487-5"><a href="#cb487-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb487-6"><a href="#cb487-6" aria-hidden="true"></a> {</span>
-<span id="cb487-7"><a href="#cb487-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb487-8"><a href="#cb487-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb487-9"><a href="#cb487-9" aria-hidden="true"></a> }</span>
-<span id="cb487-10"><a href="#cb487-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb487-11"><a href="#cb487-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb487-12"><a href="#cb487-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb487-13"><a href="#cb487-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
-<span id="cb487-14"><a href="#cb487-14" aria-hidden="true"></a>---</span>
-<span id="cb487-15"><a href="#cb487-15" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb487-16"><a href="#cb487-16" aria-hidden="true"></a>age: 99</span>
-<span id="cb487-17"><a href="#cb487-17" aria-hidden="true"></a>---</span>
-<span id="cb487-18"><a href="#cb487-18" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
-<span id="cb487-19"><a href="#cb487-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb488"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb488-1"><a href="#cb488-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
+<h5 class="unnumbered" data-number="" id="plain-tex-example-38">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="cb527"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb527-1"><a href="#cb527-1" aria-hidden="true"></a><span class="fu">\input</span> markdown</span>
+<span id="cb527-2"><a href="#cb527-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
+<span id="cb527-3"><a href="#cb527-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
+<span id="cb527-4"><a href="#cb527-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
+<span id="cb527-5"><a href="#cb527-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
+<span id="cb527-6"><a href="#cb527-6" aria-hidden="true"></a> {</span>
+<span id="cb527-7"><a href="#cb527-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
+<span id="cb527-8"><a href="#cb527-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
+<span id="cb527-9"><a href="#cb527-9" aria-hidden="true"></a> }</span>
+<span id="cb527-10"><a href="#cb527-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
+<span id="cb527-11"><a href="#cb527-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb527-12"><a href="#cb527-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb527-13"><a href="#cb527-13" aria-hidden="true"></a><span class="fu">\markdownBegin</span></span>
+<span id="cb527-14"><a href="#cb527-14" aria-hidden="true"></a>---</span>
+<span id="cb527-15"><a href="#cb527-15" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb527-16"><a href="#cb527-16" aria-hidden="true"></a>age: 99</span>
+<span id="cb527-17"><a href="#cb527-17" aria-hidden="true"></a>---</span>
+<span id="cb527-18"><a href="#cb527-18" aria-hidden="true"></a><span class="fu">\markdownEnd</span></span>
+<span id="cb527-19"><a href="#cb527-19" aria-hidden="true"></a><span class="fu">\bye</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb528"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb528-1"><a href="#cb528-1" aria-hidden="true"></a><span class="ex">luatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="latex-example-66"><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="cb489"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb489-1"><a href="#cb489-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
-<span id="cb489-2"><a href="#cb489-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
-<span id="cb489-3"><a href="#cb489-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb489-4"><a href="#cb489-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb489-5"><a href="#cb489-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb489-6"><a href="#cb489-6" aria-hidden="true"></a> {</span>
-<span id="cb489-7"><a href="#cb489-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb489-8"><a href="#cb489-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb489-9"><a href="#cb489-9" aria-hidden="true"></a> }</span>
-<span id="cb489-10"><a href="#cb489-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb489-11"><a href="#cb489-11" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
-<span id="cb489-12"><a href="#cb489-12" aria-hidden="true"></a> renderers = {</span>
-<span id="cb489-13"><a href="#cb489-13" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
-<span id="cb489-14"><a href="#cb489-14" aria-hidden="true"></a> }</span>
-<span id="cb489-15"><a href="#cb489-15" aria-hidden="true"></a>}</span>
-<span id="cb489-16"><a href="#cb489-16" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
-<span id="cb489-17"><a href="#cb489-17" aria-hidden="true"></a></span>
-<span id="cb489-18"><a href="#cb489-18" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
-<span id="cb489-19"><a href="#cb489-19" aria-hidden="true"></a>---</span>
-<span id="cb489-20"><a href="#cb489-20" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb489-21"><a href="#cb489-21" aria-hidden="true"></a>age: 99</span>
-<span id="cb489-22"><a href="#cb489-22" aria-hidden="true"></a>---</span>
-<span id="cb489-23"><a href="#cb489-23" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
-<span id="cb489-24"><a href="#cb489-24" aria-hidden="true"></a></span>
-<span id="cb489-25"><a href="#cb489-25" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb490"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb490-1"><a href="#cb490-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
+<h5 class="unnumbered" data-number="" id="latex-example-73"><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="cb529"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb529-1"><a href="#cb529-1" aria-hidden="true"></a><span class="bu">\documentclass</span>{<span class="ex">article</span>}</span>
+<span id="cb529-2"><a href="#cb529-2" aria-hidden="true"></a><span class="bu">\usepackage</span>[jekyllData]{<span class="ex">markdown</span>}</span>
+<span id="cb529-3"><a href="#cb529-3" aria-hidden="true"></a><span class="fu">\markdownSetup</span>{</span>
+<span id="cb529-4"><a href="#cb529-4" aria-hidden="true"></a> jekyllDataRenderers = {</span>
+<span id="cb529-5"><a href="#cb529-5" aria-hidden="true"></a> name = {<span class="fu">\gdef\name</span>{#1}},</span>
+<span id="cb529-6"><a href="#cb529-6" aria-hidden="true"></a> code = {<span class="fu">\gdef\age</span>{#1}},</span>
+<span id="cb529-7"><a href="#cb529-7" aria-hidden="true"></a> },</span>
+<span id="cb529-8"><a href="#cb529-8" aria-hidden="true"></a> renderers = {</span>
+<span id="cb529-9"><a href="#cb529-9" aria-hidden="true"></a> jekyllDataEnd = {<span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.},</span>
+<span id="cb529-10"><a href="#cb529-10" aria-hidden="true"></a> }</span>
+<span id="cb529-11"><a href="#cb529-11" aria-hidden="true"></a>}</span>
+<span id="cb529-12"><a href="#cb529-12" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
+<span id="cb529-13"><a href="#cb529-13" aria-hidden="true"></a></span>
+<span id="cb529-14"><a href="#cb529-14" aria-hidden="true"></a><span class="kw">\begin</span>{<span class="ex">markdown</span>}</span>
+<span id="cb529-15"><a href="#cb529-15" aria-hidden="true"></a>---</span>
+<span id="cb529-16"><a href="#cb529-16" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb529-17"><a href="#cb529-17" aria-hidden="true"></a>age: 99</span>
+<span id="cb529-18"><a href="#cb529-18" aria-hidden="true"></a>---</span>
+<span id="cb529-19"><a href="#cb529-19" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">markdown</span>}</span>
+<span id="cb529-20"><a href="#cb529-20" aria-hidden="true"></a></span>
+<span id="cb529-21"><a href="#cb529-21" aria-hidden="true"></a><span class="kw">\end</span>{<span class="ex">document</span>}</span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb530"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb530-1"><a href="#cb530-1" aria-hidden="true"></a><span class="ex">lualatex</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
</blockquote>
-<h5 class="unnumbered" data-number="" id="context-example-46">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="cb491"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb491-1"><a href="#cb491-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
-<span id="cb491-2"><a href="#cb491-2" aria-hidden="true"></a><span class="fu">\def\markdownOptionJekyllData</span>{true}</span>
-<span id="cb491-3"><a href="#cb491-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
-<span id="cb491-4"><a href="#cb491-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
-<span id="cb491-5"><a href="#cb491-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
-<span id="cb491-6"><a href="#cb491-6" aria-hidden="true"></a> {</span>
-<span id="cb491-7"><a href="#cb491-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
-<span id="cb491-8"><a href="#cb491-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
-<span id="cb491-9"><a href="#cb491-9" aria-hidden="true"></a> }</span>
-<span id="cb491-10"><a href="#cb491-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
-<span id="cb491-11"><a href="#cb491-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
-<span id="cb491-12"><a href="#cb491-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
-<span id="cb491-13"><a href="#cb491-13" aria-hidden="true"></a><span class="fu">\starttext</span></span>
-<span id="cb491-14"><a href="#cb491-14" aria-hidden="true"></a></span>
-<span id="cb491-15"><a href="#cb491-15" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
-<span id="cb491-16"><a href="#cb491-16" aria-hidden="true"></a>---</span>
-<span id="cb491-17"><a href="#cb491-17" aria-hidden="true"></a>name: Jane Doe</span>
-<span id="cb491-18"><a href="#cb491-18" aria-hidden="true"></a>age: 99</span>
-<span id="cb491-19"><a href="#cb491-19" aria-hidden="true"></a>---</span>
-<span id="cb491-20"><a href="#cb491-20" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
-<span id="cb491-21"><a href="#cb491-21" aria-hidden="true"></a></span>
-<span id="cb491-22"><a href="#cb491-22" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
-<p>Next, invoke LuaTeX from the terminal:</p>
-<div class="sourceCode" id="cb492"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb492-1"><a href="#cb492-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
+<h5 class="unnumbered" data-number="" id="context-example-53">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="cb531"><pre class="sourceCode tex"><code class="sourceCode latex"><span id="cb531-1"><a href="#cb531-1" aria-hidden="true"></a><span class="fu">\usemodule</span>[t][markdown]</span>
+<span id="cb531-2"><a href="#cb531-2" aria-hidden="true"></a><span class="fu">\setupmarkdown</span>[jekyllData = yes]</span>
+<span id="cb531-3"><a href="#cb531-3" aria-hidden="true"></a><span class="fu">\ExplSyntaxOn</span></span>
+<span id="cb531-4"><a href="#cb531-4" aria-hidden="true"></a><span class="fu">\keys</span>_define:nn</span>
+<span id="cb531-5"><a href="#cb531-5" aria-hidden="true"></a> { markdown/jekyllData }</span>
+<span id="cb531-6"><a href="#cb531-6" aria-hidden="true"></a> {</span>
+<span id="cb531-7"><a href="#cb531-7" aria-hidden="true"></a> name .code:n = { <span class="fu">\gdef\name</span>{#1} },</span>
+<span id="cb531-8"><a href="#cb531-8" aria-hidden="true"></a> age .code:n = { <span class="fu">\gdef\age</span>{#1} },</span>
+<span id="cb531-9"><a href="#cb531-9" aria-hidden="true"></a> }</span>
+<span id="cb531-10"><a href="#cb531-10" aria-hidden="true"></a><span class="fu">\ExplSyntaxOff</span></span>
+<span id="cb531-11"><a href="#cb531-11" aria-hidden="true"></a><span class="fu">\def\markdownRendererJekyllDataEnd</span>{<span class="co">%</span></span>
+<span id="cb531-12"><a href="#cb531-12" aria-hidden="true"></a> <span class="fu">\name</span>{} is <span class="fu">\age</span>{} years old.}</span>
+<span id="cb531-13"><a href="#cb531-13" aria-hidden="true"></a><span class="fu">\starttext</span></span>
+<span id="cb531-14"><a href="#cb531-14" aria-hidden="true"></a></span>
+<span id="cb531-15"><a href="#cb531-15" aria-hidden="true"></a><span class="fu">\startmarkdown</span></span>
+<span id="cb531-16"><a href="#cb531-16" aria-hidden="true"></a>---</span>
+<span id="cb531-17"><a href="#cb531-17" aria-hidden="true"></a>name: Jane Doe</span>
+<span id="cb531-18"><a href="#cb531-18" aria-hidden="true"></a>age: 99</span>
+<span id="cb531-19"><a href="#cb531-19" aria-hidden="true"></a>---</span>
+<span id="cb531-20"><a href="#cb531-20" aria-hidden="true"></a><span class="fu">\stopmarkdown</span></span>
+<span id="cb531-21"><a href="#cb531-21" aria-hidden="true"></a></span>
+<span id="cb531-22"><a href="#cb531-22" aria-hidden="true"></a><span class="fu">\stoptext</span></span></code></pre></div>
+<p>Next, invoke LuaTeX from the terminal:</p>
+<div class="sourceCode" id="cb532"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb532-1"><a href="#cb532-1" aria-hidden="true"></a><span class="ex">context</span> document.tex</span></code></pre></div>
<p>A PDF document named <code>document.pdf</code> should be produced and contain the following text:</p>
<blockquote>
<p>Jane Doe is 99 years old.</p>
diff --git a/macros/generic/markdown/markdown.pdf b/macros/generic/markdown/markdown.pdf
index de8e04192a..27ef88dc13 100644
--- a/macros/generic/markdown/markdown.pdf
+++ b/macros/generic/markdown/markdown.pdf
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/README.md b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/README.md
new file mode 100644
index 0000000000..b4d801af92
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/README.md
@@ -0,0 +1,9 @@
+# TikZbricks
+
+A beamer inner theme which reproduces standard beamer blocks using tcolorboxes
+
+Current version: 2022/08/26 version v0.1
+
+This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
+
+The project repository, including a bug tracker, can be found at https://github.com/samcarter/beamertheme-tcolorbox/issues
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty
new file mode 100644
index 0000000000..32393e5965
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty
@@ -0,0 +1,173 @@
+% !TeX root = test.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% The tcolorbox inner theme
+% A beamer inner theme which reproduces standard beamer blocks using tcolorboxes
+% Maintained by samcarter
+%
+% Project repository and bug tracker:
+% https://github.com/samcarter/beamertheme-tcolorbox
+%
+% Released under the LaTeX Project Public License v1.3c or later
+% See http://www.latex-project.org/lppl.txt
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ProvidesPackage{beamerinnerthemetcolorbox}[2022/08/26 version v0.1 Beamer blocks with tcolorboxes]
+
+\RequirePackage[skins]{tcolorbox}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Theme Options
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newif\ifbeamer@tcb@rounded
+\newif\ifbeamer@tcb@shadow
+\def\beamer@tcb@true{true}
+
+\DeclareOptionBeamer{shadow}[true]{\csname beamer@tcb@shadow#1\endcsname}
+\DeclareOptionBeamer{rounded}[true]{\csname beamer@tcb@rounded#1\endcsname}
+
+\ExecuteOptionsBeamer{shadow=false}
+\ExecuteOptionsBeamer{rounded=false}
+
+% check options from other themes
+\ifdefined\beamer@themerounded@shadow
+ \beamer@tcb@roundedtrue
+ \ifx\beamer@themerounded@shadow\beamer@tcb@true
+ \beamer@tcb@shadowtrue
+ \fi
+\fi
+
+\ProcessOptionsBeamer
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% General Settings
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\tcbset{
+ oversize=0mm,
+ left=0.05cm,
+ right=0.05cm,
+ enhanced,
+ boxrule=0cm,
+ frame hidden,
+ top=1.5mm,
+ bottom=0.5mm
+}
+
+% optional settings
+\ifbeamer@tcb@rounded
+ \tcbset{
+ arc=1.3mm,
+ top=0.8mm,
+ toptitle=0.2mm,
+ bottom=0mm,
+ }
+\else
+ \tcbset{sharpish corners}
+\fi
+
+\ifbeamer@tcb@shadow
+ \tcbset{drop fuzzy shadow=black!90}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Defining blocks
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\mode<presentation>
+
+% normal block
+\setbeamertemplate{block begin}{%
+ \usebeamercolor[bg]{block body}
+ \usebeamercolor[bg]{block title}
+ \colorlet{beamer@tcb@topshade}{block title.bg}
+ \colorlet{beamer@tcb@bottomshade}{block body.bg}
+ \ifbeamer@tcb@rounded\else
+ \tcbset{title={\insertblocktitle}}
+ \fi
+ \ifx\insertblocktitle\@empty\else
+ \tcbset{title={\insertblocktitle}}
+ \ifbeamer@tcb@rounded
+ \tcbset{
+ overlay={
+ \begin{scope}
+ \shade[top color=beamer@tcb@topshade,bottom color=beamer@tcb@bottomshade] (title.south west) rectangle ([yshift=-0.5mm]title.south east);
+ \end{scope}
+ }
+ }
+ \fi
+ \fi
+ \begin{tcolorbox}[
+ colbacktitle=block title.bg,
+ colback=block body.bg,
+ before title={\usebeamercolor[fg]{block title}\usebeamerfont{block title}},
+ before upper={\usebeamercolor[fg]{block body}\usebeamerfont{block body}},
+ ]
+}
+\setbeamertemplate{block end}{\end{tcolorbox}}
+
+% alert block
+\setbeamertemplate{block alerted begin}{%
+ \usebeamercolor[bg]{block body alerted}
+ \usebeamercolor[bg]{block title alerted}
+ \colorlet{beamer@tcb@topshade}{block title alerted.bg}
+ \colorlet{beamer@tcb@bottomshade}{block body alerted.bg}
+ \ifbeamer@tcb@rounded\else
+ \tcbset{title={\insertblocktitle}}
+ \fi
+ \ifx\insertblocktitle\@empty\else
+ \tcbset{title={\insertblocktitle}}
+ \ifbeamer@tcb@rounded
+ \tcbset{
+ overlay={
+ \begin{scope}
+ \shade[top color=beamer@tcb@topshade,bottom color=beamer@tcb@bottomshade] (title.south west) rectangle ([yshift=-0.5mm]title.south east);
+ \end{scope}
+ }
+ }
+ \fi
+ \fi
+ \begin{tcolorbox}[
+ colbacktitle=block title alerted.bg,
+ colback=block body alerted.bg,
+ before title={\usebeamercolor[fg]{block title alerted}\usebeamerfont{block title alerted}},
+ before upper={\usebeamercolor[fg]{block body alerted}\usebeamerfont{block body alerted}},
+ ]
+}
+\setbeamertemplate{block alerted end}{\end{tcolorbox}}
+
+% example block
+\setbeamertemplate{block example begin}{%
+ \usebeamercolor[bg]{block body example}
+ \usebeamercolor[bg]{block title example}
+ \colorlet{beamer@tcb@topshade}{block title example.bg}
+ \colorlet{beamer@tcb@bottomshade}{block body example.bg}
+ \ifbeamer@tcb@rounded\else
+ \tcbset{title={\insertblocktitle}}
+ \fi
+ \ifx\insertblocktitle\@empty\else
+ \tcbset{title={\insertblocktitle}}
+ \ifbeamer@tcb@rounded
+ \tcbset{
+ overlay={
+ \begin{scope}
+ \shade[top color=beamer@tcb@topshade,bottom color=beamer@tcb@bottomshade] (title.south west) rectangle ([yshift=-0.5mm]title.south east);
+ \end{scope}
+ }
+ }
+ \fi
+ \fi
+ \begin{tcolorbox}[
+ colbacktitle=block title example.bg,
+ colback=block body example.bg,
+ before title={\usebeamercolor[fg]{block title example}\usebeamerfont{block title example}},
+ before upper={\usebeamercolor[fg]{block body example}\usebeamerfont{block body example}},
+ ]
+}
+\setbeamertemplate{block example end}{\end{tcolorbox}}
+
+\mode<all>
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf
new file mode 100644
index 0000000000..a7f1c3da6c
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex
new file mode 100644
index 0000000000..1178483de9
--- /dev/null
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex
@@ -0,0 +1,244 @@
+% !TeX document-id = {ba2bf522-7c7a-4e0b-b68d-dc54a96e4f4a}
+% !TeX TS-program = latexmk -time -pdf -pdflatex="pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %%O %%S" % | txs:///view-log | txs:///view-pdf
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Documentation for the tcolorbox inner theme
+% A beamer inner theme which reproduces standard beamer blocks using tcolorboxes
+% Maintained by samcarter
+%
+% Project repository and bug tracker:
+% https://github.com/samcarter/beamertheme-tcolorbox
+%
+% Released under the LaTeX Project Public License v1.3c or later
+% See http://www.latex-project.org/lppl.txt
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass[parskip=half]{scrartcl}
+
+% packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[english]{babel}
+\usepackage[bitstream-charter]{mathdesign}
+%\usepackage{duckuments}
+\usepackage{tikz}
+\usetikzlibrary{matrix}
+\usepackage[most]{tcolorbox}
+\usepackage[paper=a4paper,margin=2.9cm]{geometry}
+\usepackage{url}
+\usepackage{xspace}
+\usepackage{scrlayer-scrpage}
+\usepackage[hang,flushmargin,bottom]{footmisc}
+\usepackage[colorlinks=true,breaklinks=true,urlcolor=blendedblue,linkcolor=blendedblue,citecolor=blendedblue,filecolor=blendedblue]{hyperref}
+
+% macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\CTAN}{\textsc{CTAN}\xspace}
+\newcommand{\TikZ}{Ti\emph{k}Z\xspace}
+\newcommand{\miktex}{MiK\TeX\xspace}
+\newcommand{\texlive}{\TeX{}Live\xspace}
+
+% customisation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\definecolor{blendedblue}{rgb}{0.2,0.2,0.7}
+\definecolor{marmotred}{RGB}{140,20,40}
+\addtokomafont{sectioning}{\color{blendedblue}}
+\addtokomafont{date}{\normalsize}
+\addtokomafont{author}{\normalsize}
+\setlength{\footnotemargin}{0.7em}
+
+% from https://tex.stackexchange.com/a/147848
+\def\beginlstdelim#1#2#3%
+{%
+ \def\endlstdelim{#2\egroup}%
+ \ttfamily#1\bgroup\color{#3}\aftergroup\endlstdelim%
+}
+
+\lstdefinestyle{beamertheme-tcolorboxstyle}{%
+ language={[latex]TeX},
+ tabsize=2,
+ breaklines,
+ basicstyle=\footnotesize\ttfamily,
+ commentstyle={\color{teal}\slshape},
+ columns=fullflexible,
+ texcsstyle=*\color{blendedblue}\bfseries,
+ keywordstyle=\color{red!60!black}\bfseries,
+ morekeywords={tikzpicture,scope},
+ moretexcs={path,node,draw,clip,pic,includegraphics,color,piece,tile,beamertheme-tcolorbox},
+ delim ={[s][\ttfamily\color{green!50!black}]{$}{$}},
+ moredelim=[is][\footnotesize\ttfamily\color{orange!70!black}]{|}{|},
+ moredelim={[s][\color{gray}]{<}{>}},
+% moredelim = **[is][\beginlstdelim{\{}{\}}{orange!70!black}]{\{}{\}},
+% moredelim = **[is][\beginlstdelim{[}{]}{orange!70!black}]{[}{]},
+}
+
+\tcbset{%
+ colframe=blendedblue,
+ arc=2mm,
+ fonttitle=\bfseries,
+ sidebyside,
+ listing options={style=beamertheme-tcolorboxstyle},
+% center lower,
+% righthand width=6cm,
+ bottom=0pt,
+ top=0pt,
+% sidebyside gap=10pt,
+ lower separated=false,
+}
+
+\lstset{style=beamertheme-tcolorboxstyle}
+
+% meta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\title{The tcolorbox beamer inner theme}
+\subtitle{A beamer inner theme to reproduce standard beamer blocks using tcolorboxes}
+\author{%
+ \texorpdfstring{
+ \texttt{samcarter}\\
+ \url{https://github.com/samcarter/beamertheme-tcolorbox}\\
+% \url{https://www.ctan.org/pkg/beamertheme-tcolorbox}
+ }{samcarter}}
+\date{Version v0.1 \textendash{} 2022/08/26}
+
+\begin{document}
+\maketitle
+
+\section{Introduction}
+\label{intro}
+
+Over the last decade of answering beamer problems and more recently also being one of the maintainers of the beamer class, I saw countless of requests about beamer blocks. There were users who were looking for sometimes smaller, sometimes larger tweaks to the blocks in their document, for example "How to use the rectangular blocks with sharp corners, but with the shadows from the rounded beamer blocks". Other users encountered various tiny or something bigger problems with the default beamer blocks, like issues with some pdf viewers in which the seams of the underlying colorboxes would become visible.
+
+For all these cases, there is now an alternative to the default beamer blocks: The tcolorbox inner beamer theme will replace the usual beamer mechanism to draw blocks with tcolorboxes. The tcolorboxes will automatically adopt the look and feel (round vs.\ sharp corners and shadows) as well as the colours of the normal beamer blocks.
+
+%The package is included in both \texlive and \miktex and available from \CTAN (\url{https://ctan.org/pkg/beamertheme-tcolorbox}).
+The development version of this package is located at \url{github.com/samcarter/beamertheme-tcolorbox}. If you have any problems, ideas or other feedback, please make constructive use of the issue tracker.
+
+Copyright \raisebox{0.2em}{\tiny\fontfamily{cmr}\selectfont\textcopyright} \texttt{samcarter}. Permission is granted to copy, distribute and\slash or modify this software under the terms of the LaTeX project public licence, version 1.3c or later \url{http://www.latex-project.org/lppl.txt}.
+
+\section{Usage}
+
+The basic usage is fairly simple. One just needs to load the theme via
+\begin{tcolorbox}
+\begin{lstlisting}
+\useinnertheme{tcolorbox}
+\end{lstlisting}
+\end{tcolorbox}
+and after that, one can use the normal beamer \lstinline|block| environment as usual.
+
+Behind the scenes, this will replace the default mechanism of puzzling together the block from two separate \lstinline|beamercolorboxes|, with one tcolorbox.
+
+In this simple configuration, the look and feel of the new blocks will be taken from other themes loaded in the presentation. For example if the Madrid theme is loaded, the resulting tcolorbox will have the usual colours, rounded corners and a shadow:
+
+\begin{tcblisting}{
+ listing and comment,
+ pdf comment,
+ freeze pdf,
+ compilable listing,
+ run pdflatex,
+% righthand width=8cm
+}
+\documentclass{beamer}
+\usetheme{Madrid}
+\useinnertheme{tcolorbox}
+\begin{document}
+\begin{frame}
+\begin{block}{Title}
+ Body
+\end{block}
+\begin{alertblock}{Title}
+ Body
+\end{alertblock}
+\begin{exampleblock}{Title}
+ Body
+\end{exampleblock}
+\end{frame}
+\end{document}
+\end{tcblisting}
+
+\section{Options}
+
+In addition to automatically adopting settings from the other themes, one can also influence the look and feel via the two options \lstinline|rounded| and \lstinline|shadow|, which can be set to \lstinline|true| or \lstinline|false| (calling either option without explicit \lstinline|true| or \lstinline|false| will set it to \lstinline|true|).
+
+\begin{tcolorbox}
+\begin{lstlisting}
+\useinnertheme[
+ rounded
+ shadow=false
+]{tcolorbox}
+\end{lstlisting}
+\end{tcolorbox}
+
+If one for example likes the Antibes theme, but prefers the blocks to have shadows, they can now easily be added:
+
+\begin{tcblisting}{
+ listing and comment,
+ pdf comment,
+ freeze pdf,
+ compilable listing,
+ run pdflatex,
+% righthand width=8cm
+}
+\documentclass{beamer}
+\usetheme{Antibes}
+\useinnertheme[
+ shadow
+]{tcolorbox}
+\begin{document}
+\begin{frame}
+\begin{block}{Title}
+ Body
+\end{block}
+\begin{alertblock}{Title}
+ Body
+\end{alertblock}
+\begin{exampleblock}{Title}
+ Body
+\end{exampleblock}
+\end{frame}
+\end{document}
+\end{tcblisting}
+
+Beyond these two options, the users also has the myriads of options of the tcolobox package to their disposal, e.g.\ via \lstinline|\tcbset{...}|:
+
+\begin{tcblisting}{
+ listing and comment,
+ pdf comment,
+ freeze pdf,
+ compilable listing,
+ run pdflatex,
+% righthand width=8cm
+}
+\documentclass{beamer}
+\usetheme{Ilmenau}
+\useinnertheme{tcolorbox}
+
+\tcbset{
+ boxrule=3pt,
+ borderline={1pt}{0pt}{pink,dashed},
+}
+
+\begin{document}
+\begin{frame}
+\begin{block}{Title}
+ Body
+\end{block}
+\begin{alertblock}{Title}
+ Body
+\end{alertblock}
+\begin{exampleblock}{Title}
+ Body
+\end{exampleblock}
+\end{frame}
+\end{document}
+\end{tcblisting}
+
+\section{Caveats and known issues}
+
+\begin{itemize}
+\item the tcolorbox inner theme is not yet optimised for the \lstinline|inmargin| inner theme, which is e.g.\ used by the Bergen theme
+\item for themes which don't set the \lstinline|block body| colour, e.g.\ the default theme, the block body will be shown in the same colour as the title and instead of the normal text colour.
+\end{itemize}
+
+
+
+
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/profcollege/doc/ProfCollege-doc.pdf b/macros/latex/contrib/profcollege/doc/ProfCollege-doc.pdf
index c58be2a099..c7be00aa75 100644
--- a/macros/latex/contrib/profcollege/doc/ProfCollege-doc.pdf
+++ b/macros/latex/contrib/profcollege/doc/ProfCollege-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/profcollege/latex/ProfCollege.sty b/macros/latex/contrib/profcollege/latex/ProfCollege.sty
index 3cdb5e4ccf..7277b9fc58 100644
--- a/macros/latex/contrib/profcollege/latex/ProfCollege.sty
+++ b/macros/latex/contrib/profcollege/latex/ProfCollege.sty
@@ -2,9 +2,9 @@
% licence : Released under the LaTeX Project Public License v1.3c
% or later, see http://www.latex-project.org/lppl.txtf
\NeedsTeXFormat{LaTeX2e}%
-\def\filedate{2022/08/17}%
+\def\filedate{2022/08/25}%
\let\PfCfiledate\filedate%
-\def\fileversion{0.99-v}%
+\def\fileversion{0.99-w}%
\let\PfCfileversion\fileversion%
\ProvidesPackage{ProfCollege}[\filedate\space v\fileversion\space Aide pour utiliser LaTeX au college]
@@ -347,6 +347,140 @@
}
%%%
+% Kakuro
+%%%
+\setKVdefault[Kakuro]{CouleurCase=LightGray,Taille=5,Solution=false,Largeur=2em,Aide=false,CouleurSolution=Black}
+\defKV[Kakuro]{ListeNombres=\setKV[Kakuro]{Aide}}%
+
+\newlength\PfCKakuro%
+
+\NewDocumentCommand\Kakuro{o m}{%
+ \useKVdefault[Kakuro]%
+ \setKV[Kakuro]{#1}%
+ \setlength{\PfCKakuro}{\useKV[Kakuro]{Largeur}+\tabcolsep}%
+ \setsepchar[*]{,*/}%
+ \readlist*\ListeCasesKK{#2}%
+ \setsepchar{,}%
+ \xdef\ListeAvantNombres{\useKV[Kakuro]{ListeNombres}}%
+ \readlist*\ListeKakuroNombres{\ListeAvantNombres}%
+ \savecomparemode%
+ \comparestrict%
+ \begin{NiceTabular}{*{\useKV[Kakuro]{Taille}}{m{\useKV[Kakuro]{Largeur}}}}[hvlines]
+ \xintFor* ##1 in {\xintSeq{0}{\fpeval{\useKV[Kakuro]{Taille}-1}}}\do{%
+ \xintFor* ##2 in {\xintSeq{1}{\useKV[Kakuro]{Taille}}}\do{%
+ \rule{0pt}{\PfCKakuro}%
+ \StrCompare{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},1]}{*}[\PfCTestBlack]
+ \xintifboolexpr{\PfCTestBlack==0}{%
+ \Block[fill=black]{1-1}{}%
+ }{%
+ \xintifboolexpr{\listlen\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2}]==2}{
+ \Block[fill=\useKV[Kakuro]{CouleurCase}]{1-1}{\diagbox{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},1]}{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},2]}}%
+ }{%
+ \Block{1-1}{\ifboolKV[Kakuro]{Solution}{\Large\color{\useKV[Kakuro]{CouleurSolution}}\num{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},1]}}{%
+ \ifboolKV[Kakuro]{Aide}{%
+ \xintFor* ##3 in{\xintSeq{1}{\ListeKakuroNombreslen}}\do{%
+ \Block{1-1}{\xintifboolexpr{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},1]==\ListeKakuroNombres[##3]}{\Large\color{\useKV[Kakuro]{CouleurSolution}}\num{\ListeCasesKK[\fpeval{\useKV[Kakuro]{Taille}*##1+##2},1]}}{}}%
+ }%
+ }{}%
+ }%
+ }%
+ }%
+ }%
+ \xintifForLast{\\}{&}%
+ }%
+ }%
+ \end{NiceTabular}
+ \restorecomparemode%
+}%
+
+%%%
+% KenKen
+%%%
+\setKVdefault[ClesKK]{Solution=false,Taille=3,Largeur=2em,Aide=false}%
+\defKV[ClesKK]{Nombre=\setKV[ClesKK]{Aide}}%
+
+\newlength\PfCKenKen
+
+\NewDocumentCommand\KenKen{o m}{%
+ \useKVdefault[ClesKK]%
+ \setKV[ClesKK]{#1}%
+ \setlength{\PfCKenKen}{\useKV[ClesKK]{Largeur}+\tabcolsep}%
+ \setsepchar[*]{,*/}%
+ \readlist*\ListeCasesKK{#2}%
+ \savecomparemode%
+ \comparestrict%
+ \begin{NiceTabular}{*{\useKV[ClesKK]{Taille}}{m{\useKV[ClesKK]{Largeur}}}}%
+ \CodeBefore
+ \xintFor* ##1 in {\xintSeq{2}{\fpeval{\useKV[ClesKK]{Taille}}}}\do{%
+ \tikz\draw[gray] (##1-|1) -- (##1-|last);%
+ \tikz\draw[gray] (1-|##1) -- (last-|##1);%
+ }%
+ \Body
+ \xintFor* ##1 in {\xintSeq{0}{\fpeval{\useKV[ClesKK]{Taille}-1}}}\do{%
+ \xintFor* ##2 in {\xintSeq{1}{\useKV[ClesKK]{Taille}}}\do{%
+ \rule{0pt}{\PfCKenKen}%
+ \StrCompare{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},1]}{b}[\PfCTestb]%\PfCTestb
+ \StrCompare{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},1]}{l}[\PfCTestl]%\PfCTestr
+ \StrCompare{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},1]}{lb}[\PfCTestlb]%\PfCTestbr
+ \xintifboolexpr{\PfCTestb==0}{%
+ \Block[borders={bottom},line-width=2pt]{1-1}{%
+ \ifboolKV[ClesKK]{Solution}{%
+ \Large\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]%
+ }{%
+ \ifboolKV[ClesKK]{Aide}{%
+ \xintifboolexpr{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]==\useKV[ClesKK]{Nombre}}{%
+ \cellcolor{LightGray}\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]%
+ }{}%
+ }{}%
+ }%
+ }%
+ }{%
+ \xintifboolexpr{\PfCTestl==0}{%
+ \Block[borders={left},line-width=2pt]{1-1}{\ifboolKV[ClesKK]{Solution}{\Large\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]}{%
+ \ifboolKV[ClesKK]{Aide}{%
+ \xintifboolexpr{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]==\useKV[ClesKK]{Nombre}}{%
+ \cellcolor{LightGray}\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]%
+ }{}%
+ }{}%
+ }%
+ }%
+ }{%
+ \xintifboolexpr{\PfCTestlb==0}{%
+ \Block[borders={bottom,left},line-width=2pt]{1-1}{\ifboolKV[ClesKK]{Solution}{\Large\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]}{%
+ \ifboolKV[ClesKK]{Aide}{%
+ \xintifboolexpr{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]==\useKV[ClesKK]{Nombre}}{%
+ \cellcolor{LightGray}\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]%
+ }{}%
+ }{}%
+ }%
+ }%
+ }{%
+ \Block{1-1}{\ifboolKV[ClesKK]{Solution}{\Large\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]}{%
+ \ifboolKV[ClesKK]{Aide}{%
+ \xintifboolexpr{\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]==\useKV[ClesKK]{Nombre}}{%
+ \cellcolor{LightGray}\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*##1+##2},3]%
+ }{}%
+ }{}%
+ }%
+ }%
+ }%
+ }%
+ }%
+ \xintifForLast{\\}{&}%
+ }%
+ }%
+ \CodeAfter%
+ \tikz\draw[line width=2pt] (1-|1) rectangle (last-|last);%
+ \xintFor* ##1 in {\xintSeq{1}{\fpeval{\useKV[ClesKK]{Taille}}}}\do{%
+ \xintFor* ##2 in {\xintSeq{1}{\useKV[ClesKK]{Taille}}}\do{%
+ \tikz\node[anchor=west,inner sep=0pt,xshift=1mm,yshift=-0.2\PfCKenKen] at (##1 -|##2) {\scriptsize$\ListeCasesKK[\fpeval{\useKV[ClesKK]{Taille}*(##1-1)+##2},2]$};%
+ }%
+ }%
+ \end{NiceTabular}
+ \restorecomparemode%
+}%
+
+%%%
% PixelArt
%%%
\newtoks\toklistePANombre%
@@ -517,11 +651,11 @@
}%
%
\ifboolKV[Yohaku]{Perso}{%
- \setsepchar[*]{,*/}%
+ \setsepchar[*]{,*/}\ignoreemptyitems%
\readlist*\PfCYHKListe{#2}%
\setsepchar{,}%
\xdef\PfCYHKListeFoo{}%
- \foreachitem\compteur\in\PfCYHKListe[1]{
+ \foreachitem\compteur\in\PfCYHKListe[1]{%
\xdef\PfCYHKListeFoo{\PfCYHKListeFoo \PfCYHKListe[1,\compteurcnt],}%
}%
\ignoreemptyitems\readlist*\PfCYHKListeNA{\PfCYHKListeFoo}%
@@ -546,7 +680,7 @@
}%
% \xintifboolexpr{\useKV[Yohaku]{Taille}==2}{\MelangeListe{\PfCYHKListe}{4}}{\MelangeListe{\PfCYHKListe}{9}}%
\MelangeListe{\PfCYHKListe}{\fpeval{\useKV[Yohaku]{Taille}**2}}%
- \readlist*\PfCYHKListeNA{\faa}%
+ \ignoreemptyitems\readlist*\PfCYHKListeNA{\faa}%
%Sommes/Produits
\xdef\PfCYHKListeProduit{}
%verticaux
@@ -561,7 +695,7 @@
\xintFor* ##1 in {\xintSeq{0}{\fpeval{\useKV[Yohaku]{Taille}-1}}}\do{%
\xdef\PfCYHKTampon{\fpeval{\PfCYHKTampon+\PfCYHKListeNA[\fpeval{##2+##1*\useKV[Yohaku]{Taille}}]}}
}%
- }
+ }%
\xdef\PfCYHKListeProduit{\PfCYHKListeProduit,\PfCYHKTampon}%
}%
% horizontaux
@@ -2300,17 +2434,20 @@
\newcommand\ListePersonnages[1]{%
\setsepchar{§}%
- \readlist*\RetiensListePersonnages{#1}
+ \readlist*\RetiensListePersonnages{#1}%
+ \setsepchar{,}%
}
\newcommand\ListeObjets[1]{%
\setsepchar{§}%
- \readlist*\RetiensListeObjets{#1}
+ \readlist*\RetiensListeObjets{#1}%
+ \setsepchar{,}%
}
\newcommand\ListeLieux[1]{%
\setsepchar{§}%
- \readlist*\RetiensListeLieux{#1}
+ \readlist*\RetiensListeLieux{#1}%
+ \setsepchar{,}%
}
\newcommand\MelangeListe[2]{%
@@ -2337,6 +2474,7 @@
}%
\readlist*\ListeInter{\fii}%
}%
+ \reademptyitems%
}%
\newcommand\ListeQuestions[1]{%
@@ -2379,7 +2517,8 @@
\ignoreemptyitems\setsepchar{,}%
\MelangeListe{\fuu}{\fpeval{\RetiensListePersonnageslen+\RetiensListeObjetslen+\RetiensListeLieuxlen-3}}%
\readlist*\ListeMelangeeQuestions{\faa}%
-}
+ \reademptyitems%
+}%
\newcommand\AffichageQuestions{%
\begin{enumerate}
@@ -3693,13 +3832,17 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
fill Case[Nbeb] withcolor CaseCouleur;
trace Case[Nbeb];
label(TEX(substring(1,length p_) of p_),B[Nbeb]);
+ elseif (substring(0,1) of p_)="!":
+ drawoptions(withcolor \useKV[ClesPyramide]{CouleurNombre});
+ label(TEX(substring(1,length p_) of p_),B[Nbeb]);
+ drawoptions();
else:
label(TEX(p_),B[Nbeb]);
fi;
endfor;
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={nbetages:=\useKV[ClesPyramide]{Etages};largeur:=\useKV[ClesPyramide]{Largeur};hauteur:=\useKV[ClesPyramide]{Hauteur};boolean Vide;Vide=\useKV[ClesPyramide]{Vide};boolean Inverse;Inverse=\useKV[ClesPyramide]{Inverse};color CaseCouleur; CaseCouleur:=\useKV[ClesPyramide]{Couleur};boolean Double;Double=\useKV[ClesPyramide]{Double};}]
+ \begin{mpost}[mpsettings={nbetages:=\useKV[ClesPyramide]{Etages};largeur:=\useKV[ClesPyramide]{Largeur};hauteur:=\useKV[ClesPyramide]{Hauteur};boolean Vide;Vide=\useKV[ClesPyramide]{Vide};boolean Inverse;Inverse=\useKV[ClesPyramide]{Inverse};color CaseCouleur; CaseCouleur:=\useKV[ClesPyramide]{Couleur};boolean Double;Double=\useKV[ClesPyramide]{Double}; color CouleurNombre;CouleurNombre=\useKV[ClesPyramide]{CouleurNombre};}]
pair A[][],B[];
path Case[];
Nbeb:=0;
@@ -3747,21 +3890,25 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
fill Case[Nbeb] withcolor CaseCouleur;
trace Case[Nbeb];
label(LATEX(substring(1,length p_) of p_),B[Nbeb]);
+ elseif (substring(0,1) of p_)="!":
+ drawoptions(withcolor CouleurNombre);
+ label(LATEX(substring(1,length p_) of p_),B[Nbeb]);
+ drawoptions();
else:
label(LATEX(p_),B[Nbeb]);
fi;
endfor;
\end{mpost}
\fi
-}
+}%
-\setKVdefault[ClesPyramide]{Etages=5,Largeur=2cm,Hauteur=1cm,Vide=false,Inverse=false,Double=false,Couleur=Crimson,Multiplication=false,Produit=false,Solution=false,Aide=false,Cote=4cm}%
+\setKVdefault[ClesPyramide]{Etages=5,Largeur=2cm,Hauteur=1cm,Vide=false,Inverse=false,Double=false,Couleur=Crimson,Multiplication=false,CouleurNombre=blue,Produit=false,Solution=false,Aide=false,Cote=4cm}%
\newtoks\toklistecaseP%
\def\UpdatetoksPyramide#1\nil{\addtotok\toklistecaseP{"#1",}}%
\def\UpdatetoksPyramideMul#1\nil{\addtotok\toklistecaseP{#1,}}%
-\DeclareDocumentCommand\PyramideNombre{o m}{%
+\NewDocumentCommand\PyramideNombre{o m}{%
\useKVdefault[ClesPyramide]%
\setKV[ClesPyramide]{#1}%
\ifboolKV[ClesPyramide]{Multiplication}{%
@@ -4604,26 +4751,26 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
%%%
% Labyrinthe Nombre
%%%
-\setKVdefault[ClesLabyNombre]{Multiple=5,XDepart=0,YDepart=0,Longueur=7,Largeur=4,XArrivee=6,YArrivee=3,Solution=false,Echelle=1,Angle=0,Couleur=red,Murs=false,Nom=Ex1}
+\setKVdefault[ClesLabyNb]{Multiple=5,XDepart=0,YDepart=0,Longueur=7,Largeur=4,XArrivee=6,YArrivee=3,Solution=false,Echelle=1,Angle=0,Couleur=red,Murs=false,Nom=Ex1,CouleurChemin=blue}
\newcommand\LabyNombre[1][]{%
- \useKVdefault[ClesLabyNombre]%
- \setKV[ClesLabyNombre]{#1}%
- \ifboolKV[ClesLabyNombre]{Solution}{%
- \TraceSolution{\useKV[ClesLabyNombre]{Multiple}}{\useKV[ClesLabyNombre]{Longueur}}{\useKV[ClesLabyNombre]{Largeur}}{(\useKV[ClesLabyNombre]{YDepart},\useKV[ClesLabyNombre]{XDepart})}{(\useKV[ClesLabyNombre]{YArrivee},\useKV[ClesLabyNombre]{XArrivee})}{\useKV[ClesLabyNombre]{Solution}}
+ \useKVdefault[ClesLabyNb]%
+ \setKV[ClesLabyNb]{#1}%
+ \ifboolKV[ClesLabyNb]{Solution}{%
+ \TraceSolution{\useKV[ClesLabyNb]{Multiple}}{\useKV[ClesLabyNb]{Longueur}}{\useKV[ClesLabyNb]{Largeur}}{(\useKV[ClesLabyNb]{YDepart},\useKV[ClesLabyNb]{XDepart})}{(\useKV[ClesLabyNb]{YArrivee},\useKV[ClesLabyNb]{XArrivee})}{\useKV[ClesLabyNb]{Solution}}
}{%
- \TraceLabyNombre{\useKV[ClesLabyNombre]{Multiple}}{\useKV[ClesLabyNombre]{Longueur}}{\useKV[ClesLabyNombre]{Largeur}}{(\useKV[ClesLabyNombre]{YDepart},\useKV[ClesLabyNombre]{XDepart})}{(\useKV[ClesLabyNombre]{YArrivee},\useKV[ClesLabyNombre]{XArrivee})}{\useKV[ClesLabyNombre]{Solution}}
+ \TraceLabyNombre{\useKV[ClesLabyNb]{Multiple}}{\useKV[ClesLabyNb]{Longueur}}{\useKV[ClesLabyNb]{Largeur}}{(\useKV[ClesLabyNb]{YDepart},\useKV[ClesLabyNb]{XDepart})}{(\useKV[ClesLabyNb]{YArrivee},\useKV[ClesLabyNb]{XArrivee})}{\useKV[ClesLabyNb]{Solution}}
}%
}
\newcommand\TraceLabyNombre[6]{%
\mplibforcehmode%
- \xdef\PfCNomLabyrinthe{\useKV[ClesLabyNombre]{Nom}}%
+ \xdef\PfCNomLabyrinthe{\useKV[ClesLabyNb]{Nom}}%
\begin{mplibcode}[\PfCNomLabyrinthe]
input PfCLabyNombre;
boolean Murs;
- Murs=\useKV[ClesLabyNombre]{Murs};
+ Murs=\useKV[ClesLabyNb]{Murs};
numeric Multiple;
Multiple=#1;
@@ -4686,23 +4833,22 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
label(TEX("\num{"&decimal(NbAffiche[nbaffiche])&"}"),M[k][l]);
endfor;
endfor;
- remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNombre]{Couleur};
- remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNombre]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNb]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNb]{Couleur};
for k=2 upto indiceChemin-1:
remplis ((unitsquare scaled 10mm) shifted N[xpart(PileChemin[k])][ypart(PileChemin[k])]) withcolor white;
label(TEX("\num{"&decimal(NbSol[k])&"}"),M[xpart(PileChemin[k])][ypart(PileChemin[k])]);
endfor;
trace TraceLabyrinthe;
);
- Corps:=(Corps scaled \useKV[ClesLabyNombre]{Echelle}) rotated \useKV[ClesLabyNombre]{Angle};
+ Corps:=(Corps scaled \useKV[ClesLabyNb]{Echelle}) rotated \useKV[ClesLabyNb]{Angle};
trace Corps;
\end{mplibcode}
}
\newcommand\TraceSolution[6]{%
\mplibforcehmode%
- % \mplibcodeinherit{enable}
- \xdef\PfCNomLabyrinthe{\useKV[ClesLabyNombre]{Nom}}%
+ \xdef\PfCNomLabyrinthe{\useKV[ClesLabyNb]{Nom}}%
\begin{mplibcode}[\PfCNomLabyrinthe]
picture CorpsSolution;
CorpsSolution=image(
@@ -4713,18 +4859,17 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
label(TEX("\num{"&decimal(NbAffiche[nbaffiche])&"}"),M[k][l]);
endfor;
endfor;
- remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNombre]{Couleur};
- remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNombre]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNb]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNb]{Couleur};
for k=2 upto indiceChemin-1:
- remplis ((unitsquare scaled 10mm) shifted N[xpart(PileChemin[k])][ypart(PileChemin[k])]) withcolor 0.5white;
+ remplis ((unitsquare scaled 10mm) shifted N[xpart(PileChemin[k])][ypart(PileChemin[k])]) withcolor \useKV[ClesLabyNb]{CouleurChemin};
label(TEX("\num{"&decimal(NbSol[k])&"}"),M[xpart(PileChemin[k])][ypart(PileChemin[k])]);
endfor;
trace TraceLabyrinthe;
);
- CorpsSolution:=(CorpsSolution scaled \useKV[ClesLabyNombre]{Echelle}) rotated \useKV[ClesLabyNombre]{Angle};
+ CorpsSolution:=(CorpsSolution scaled \useKV[ClesLabyNb]{Echelle}) rotated \useKV[ClesLabyNb]{Angle};
trace CorpsSolution;
\end{mplibcode}
- %\mplibcodeinherit{disable}
}%
\newcommand\TraceLabyNombreold[6]{%
@@ -4733,7 +4878,7 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
input PfCLabyNombre;
boolean Murs;
- Murs=\useKV[ClesLabyNombre]{Murs};
+ Murs=\useKV[ClesLabyNb]{Murs};
numeric Multiple;
Multiple=#1;
@@ -4796,15 +4941,15 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
label(TEX("\num{"&decimal(NbAffiche[nbaffiche])&"}"),M[k][l]);
endfor;
endfor;
- remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNombre]{Couleur};
- remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNombre]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNb]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNb]{Couleur};
for k=2 upto indiceChemin-1:
remplis ((unitsquare scaled 10mm) shifted N[xpart(PileChemin[k])][ypart(PileChemin[k])]) withcolor white;
label(TEX("\num{"&decimal(NbSol[k])&"}"),M[xpart(PileChemin[k])][ypart(PileChemin[k])]);
endfor;
trace TraceLabyrinthe;
);
- Corps:=(Corps scaled \useKV[ClesLabyNombre]{Echelle}) rotated \useKV[ClesLabyNombre]{Angle};
+ Corps:=(Corps scaled \useKV[ClesLabyNb]{Echelle}) rotated \useKV[ClesLabyNb]{Angle};
trace Corps;
\end{mplibcode}
}
@@ -4822,15 +4967,15 @@ transform canvas={xshift=0em,yshift=0em}},rectangle,rounded corners,ultra thick,
label(TEX("\num{"&decimal(NbAffiche[nbaffiche])&"}"),M[k][l]);
endfor;
endfor;
- remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNombre]{Couleur};
- remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNombre]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted N[choixligneD][choixcolonneD]) withcolor \useKV[ClesLabyNb]{Couleur};
+ remplis ((unitsquare scaled 10mm) shifted Arrivee) withcolor \useKV[ClesLabyNb]{Couleur};
for k=2 upto indiceChemin-1:
remplis ((unitsquare scaled 10mm) shifted N[xpart(PileChemin[k])][ypart(PileChemin[k])]) withcolor 0.5white;
label(TEX("\num{"&decimal(NbSol[k])&"}"),M[xpart(PileChemin[k])][ypart(PileChemin[k])]);
endfor;
trace TraceLabyrinthe;
);
- CorpsSolution:=(CorpsSolution scaled \useKV[ClesLabyNombre]{Echelle}) rotated \useKV[ClesLabyNombre]{Angle};
+ CorpsSolution:=(CorpsSolution scaled \useKV[ClesLabyNb]{Echelle}) rotated \useKV[ClesLabyNb]{Angle};
trace CorpsSolution;
\end{mplibcode}
\mplibcodeinherit{disable}
@@ -9112,7 +9257,7 @@ couleur indiquée, le nombre de cases donné par le résultat du calcul.
\xintifboolexpr{#2==0}{%
}{\xintifboolexpr{#3==0}{}{(}}\xintifboolexpr{#2==0}{\Tikzmark{}}{\Tikzmark{a}}
\ifboolKV[ClesDistributivite]{AideAdda}{\mathcolor{DCAide}{+(}}{}%
- \xintifboolexpr{#3>0}{\xintifboolexpr{#2==0}{}{+}}{\xintifboolexpr{#3<0}{-}{}}\Tikzmark{b}%
+ \xintifboolexpr{#3==0}{\Tikzmark{}}{\xintifboolexpr{#3>0}{\xintifboolexpr{#2==0}{}{+}}{\xintifboolexpr{#3<0}{-}{}}\Tikzmark{b}}%
\ifboolKV[ClesDistributivite]{AideAdda}{\mathcolor{DCAide}{)}}{}%
\xintifboolexpr{#2==0}{}{\xintifboolexpr{#3==0}{}{)}}%
%
@@ -10670,7 +10815,7 @@ couleur indiquée, le nombre de cases donné par le résultat du calcul.
\ppcm=\numexpr#1*#2/\pgcd\relax%
}%
-\setKVdefault[ClesThales]{Calcul=true,Droites=false,Propor=false,Segment=false,Figure=false,FigureSeule=false,Figurecroisee=false,FigurecroiseeSeule=false,Angle=0,Precision=2,Entier=false,Unite=cm,Reciproque=false,Produit=false,ChoixCalcul=0,Simplification,Redaction=false,Remediation=false,Echelle=1cm,Perso=false,CalculsPerso=false}
+\setKVdefault[ClesThales]{Calcul=true,Droites=false,Propor=false,Segment=false,Figure=false,FigureSeule=false,Figurecroisee=false,FigurecroiseeSeule=false,Angle=0,Precision=2,Entier=false,Unite=cm,Reciproque=false,Produit=false,ChoixCalcul=0,Simplification,Redaction=false,Remediation=false,Echelle=1cm,Perso=false,CalculsPerso=false,IntroCalculs}
\DeclareSIUnit{\PfCThalesUnit}{\useKV[ClesThales]{Unite}}%
@@ -11242,12 +11387,12 @@ couleur indiquée, le nombre de cases donné par le résultat du calcul.
}}{}
}%
%%
-\StrMid{\the\zzz}{1}{1}[\cmza]%
-\StrMid{\the\yyy}{1}{1}[\cmya]%
-\StrMid{\the\xxx}{1}{1}[\cmxa]%
-\ifboolKV[ClesThales]{Calcul}{%
+ \StrMid{\the\zzz}{1}{1}[\cmza]%
+ \StrMid{\the\yyy}{1}{1}[\cmya]%
+ \StrMid{\the\xxx}{1}{1}[\cmxa]%
+ \ifboolKV[ClesThales]{Calcul}{%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
- On remplace par les longueurs connues :%
+ \ifboolKV[ClesThales]{IntroCalculs}{On remplace par les longueurs connues :}{}%
\ifboolKV[ClesThales]{CalculsPerso}{%
\EcritureQuotients%
}{%
@@ -16578,7 +16723,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
%%%
% Diff\'erentes représentations graphiques
%%%
-\setKVdefault[TraceG]{Grille=false,Graduations=false,PasGrilleX=1,PasGrilleY=1,Xmin=-5.5,Xmax=5.5,Xstep=1,Ymin=-5.5,Ymax=5.5,Ystep=1,Bornea=-5.5,Borneb=5.5,LabelX={},LabelY={},LabelC=0.5,NomCourbe={},Origine={(5.5,5.5)},Fonction=false,Points=false,Invisible=false,CouleurPoint=red,CouleurTrace=black,Relie=false,RelieSegment=false}
+\setKVdefault[TraceG]{Grille=false,Graduations=false,PasGrilleX=1,PasGrilleY=1,Xmin=-5.5,Xmax=5.5,Xstep=1,Ymin=-5.5,Ymax=5.5,Ystep=1,Bornea=-5.5,Borneb=5.5,LabelX={},LabelY={},LabelC=0.5,NomCourbe={},Origine={(5.5,5.5)},Fonction=false,Points=false,Invisible=false,CouleurPoint=red,CouleurTrace=black,Relie=false,RelieSegment=false,Marque=dot}
\newcommand\TraceGraphique[2][]{%
\useKVdefault[TraceG]%
@@ -16611,6 +16756,9 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
grilley=\useKV[TraceG]{PasGrilleY};
pos=\useKV[TraceG]{LabelC};
+ marque_p:=str \useKV[TraceG]{Marque};
+ m_c:=m_c*2;
+
color colorpoint,colortrace;
colorpoint=\useKV[TraceG]{CouleurPoint};
colortrace=\useKV[TraceG]{CouleurTrace};
@@ -16687,7 +16835,11 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
if Invisible=false:
drawoptions(withcolor colorpoint);
for p_=#2:
+ if marque_p="dot":
dotlabel("",(x.u*(xpart(p_)-xmin),y.u*(ypart(p_)-ymin)));
+ elseif marque_p="croix":
+ pointe((x.u*(xpart(p_)-xmin),y.u*(ypart(p_)-ymin)));
+ fi;
endfor;
drawoptions();
fi;
@@ -16989,12 +17141,13 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
%%%
% Formules
%%%
-\setKVdefault[ClesFormule]{Perimetre=false,Aire=false,Volume=false,Surface=carr\'e,Solide=pav\'e,Angle=0,Ancre={(0,0)},Largeur=5cm,Couleur=white,EchelleEspace=70}
+\setKVdefault[ClesFormule]{Perimetre=false,Aire=false,Volume=false,Surface=carr\'e,Solide=pav\'e,Angle=0,Ancre={(0,0)},Largeur=5cm,Couleur=white,EchelleEspace=70,Echelle=1cm}
\def\MPFigureCarre{%
\ifluatex
- \mplibforcehmode
+ \mplibforcehmode
\begin{mplibcode}
+ u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
pair A,B,C,D;
A=u*(1,1);
@@ -17012,7 +17165,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(A,B,-3mm,btex $c$ etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
pair A,B,C,D;
A=u*(1,1);
B-A=u*(2,0);
@@ -17033,8 +17186,9 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\def\MPFigurePolygone{%
\ifluatex
- \mplibforcehmode
+ \mplibforcehmode
\begin{mplibcode}
+ u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
pair A,B,C,D,E,F;
A=u*(1,1);
@@ -17046,7 +17200,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw polygone(A,B,C,D,E,F);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
pair A,B,C,D,E,F;
A=u*(1,1);
B-A=u*(2,0);
@@ -17061,9 +17215,10 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\def\MPFigureParallelogramme{%
\ifluatex
- \mplibforcehmode
- \begin{mplibcode}
- vardef marque_para(expr dd,ee,pa)=
+ \mplibforcehmode
+ \begin{mplibcode}
+ u:=\useKV[ClesFormule]{Echelle};
+ vardef marque_para(expr dd,ee,pa)=
save im;
picture im;
pair kk,ll,mn,mo;
@@ -17097,7 +17252,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
drawoptions();
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
vardef marque_para(expr dd,ee,pa)=
save im;
picture im;
@@ -17137,6 +17292,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+ u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,10u,5u);
pair A,B,C,D,I,J;
@@ -17161,7 +17317,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw codeperp(B,J,A,5);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,10u,5u);
pair A,B,C,D,I,J;
A=u*(1,1);
@@ -17212,10 +17368,10 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
marque_p:="non";
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
Figure(-10u,-10u,10u,10u);
- Initialisation(5,0,10,500);
+ Initialisation(5,0,10,v);
color O,A,B,C;
O=(0,0,0);
A-O=(0,1/2,0);
@@ -17254,7 +17410,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(A,F,2mm,btex $h$ etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
typerepre:="persp";
Figure(-10u,-10u,10u,10u);
@@ -17319,7 +17475,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(A,E,3mm,btex hauteur etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
typerepre:="persp";
Figure(-10u,-10u,10u,10u);
@@ -17399,7 +17555,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
marque_p:="non";
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
typerepre:="persp";
Figure(-10u,-10u,10u,10u);
@@ -17459,7 +17615,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
marque_p:="non";
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
typerepre:="persp";
Figure(-10u,-10u,10u,10u);
@@ -17512,7 +17668,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw codeperp(z7,z6,z5,8);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
Figure(-10u,-10u,10u,10u);
u:=0.5cm;
z0=(-0.5,0)*u;
@@ -17553,7 +17709,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(E,H,2mm,btex $a$ etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={v:=\useKV[ClesFormule]{EchelleEspace};}]
typetrace:="3D";
typerepre:="persp";
Figure(-10u,-10u,10u,10u);
@@ -17570,6 +17726,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+ u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,5u,5u);
pair A,B,C,D;
@@ -17584,7 +17741,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(A,B,-3mm,btex $c$ etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C,D;
A=u*(1,1);
@@ -17604,6 +17761,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,5u,5u);
pair A,B,C,D;
@@ -17619,7 +17777,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
marque_s:=marque_s*3;
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C,D;
A=u*(1,1);
@@ -17640,6 +17798,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
pair A,B,C,D;
A=u*(1,1);
@@ -17659,7 +17818,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
label.lft(btex $\ell$ etex,iso(A,D));
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
pair A,B,C,D;
A=u*(1,1);
B-A=u*(3,0);
@@ -17684,6 +17843,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,5u,5u);
pair A,B,C;
@@ -17693,7 +17853,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw polygone(A,B,C);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C;
A=u*(1,1);
@@ -17708,6 +17868,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,5u,5u);
pair A,B,C;
@@ -17723,7 +17884,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(B,C,3mm,btex diam\`etre etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C;
A=u*(2.5,2.5);
@@ -17744,6 +17905,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
Figure(-5u,-5u,5u,5u);
pair A,B,C;
@@ -17759,7 +17921,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw appelation(A,C,3mm,btex rayon $r$ etex);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C;
A=u*(2.5,2.5);
@@ -17777,9 +17939,10 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
}
\def\MPFigureTriangleAire{%
- \ifluatex
+ \ifluatex
\mplibforcehmode
\begin{mplibcode}
+u:=\useKV[ClesFormule]{Echelle};
drawoptions( dashed dashpattern(on1cm));
pair A,B,C,H,I,J;
A=u*(0.5,1);
@@ -17817,7 +17980,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
drawoptions();
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={input PfCGeometrie;}]
+ \begin{mpost}[mpsettings={u:=\useKV[ClesFormule]{Echelle};}]
Figure(-5u,-5u,5u,5u);
pair A,B,C,H,I,J;
A=u*(0.5,1);
@@ -17855,7 +18018,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
drawoptions();
\end{mpost}
\fi
-}
+}%
\newcommand\Formule[1][]{%
\useKVdefault[ClesFormule]%
@@ -18297,7 +18460,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
%%%
% Reperage
%%%
-\setKVdefault[ClesReperage]{Unitex=1,Pasx=1,Unitey=1,Pasy=1,Unitez=1,Pasz=1,DemiDroite=false,Droite=false,Plan=false,Trace=false,ListeSegment={},Espace=false,Sphere=false,AnglePhi=30,CouleurLa=white,CouleurLon=Tomato,AffichageNom=false,AffichageGrad=false,AffichageAbs=0,AffichageCoord=false,LectureCoord=false,ValeurUnitex=1,ValeurUnitey=1,ValeurOrigine=0,NomOrigine=O,EchelleEspace=50,CouleurCoord=black,Thermometre=false,Mercure=false,CouleurMercure=black,ValeurMin=-4000,ValeurMax=4000,Etages=4}
+\setKVdefault[ClesReperage]{Unitex=1,Pasx=1,Unitey=1,Pasy=1,Unitez=1,Pasz=1,DemiDroite=false,Droite=false,Plan=false,Trace=false,ListeSegment={},Espace=false,Sphere=false,AnglePhi=30,CouleurLa=white,CouleurLon=Tomato,AffichageNom=false,AffichageGrad=false,AffichageAbs=0,AffichageCoord=false,LectureCoord=false,ValeurUnitex=1,ValeurUnitey=1,ValeurOrigine=0,NomOrigine=O,EchelleEspace=50,CouleurCoord=black,Thermometre=false,Mercure=false,CouleurMercure=black,Celsius,Kelvin=false,Farenheit=false,ValeurMin=-4000,ValeurMax=4000,Etages=4}
% ValeurOrigine permet de faire des morceaux de demi-droite gradu\'ee en passant par droite :)
\def\Updatetoksdroite#1/#2\nil{\addtotok\toklistepointdroite{#1,"#2",}}
@@ -19816,24 +19979,46 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
n:=0;
for p_=t:
n:=n+1;
+ if substring(1,2) of p_="*":
+ label.top(TEX(substring(2,length p_) of p_),unitp*(valeur[n],0));
+ else:
label.top(TEX(p_),unitp*(valeur[n],0));
+ fi;
+ if p_<>"":
pointe(unitp*(valeur[n],0));
+ fi;
endfor;
fi;
- if AffichageCoord=3:
+ % On ajoute une paramétrisation possible à chaque point.
+ if AffichageCoord>0:
n:=0;
for p_=t:
n:=n+1;
- if p_<>"":
+ if substring(1,2) of p_="*":
+ ACoord:=scantokens(substring(0,1) of p_);
+ if ACoord=3:
drawarrow (unitp*(valeur[n],-1))--(unitp*(valeur[n],-0.3));
label.bot(btex \hbox to2em{\dotfill} etex,(unitp*(valeur[n],-1)));
+ pointe(unitp*(valeur[n]-ValeurOrigine,0));
+ elseif ACoord=2:
+ if ((ValeurUnitex*valeur[n]) mod pasx)<>0:
+ label.bot(TEX("\footnotesize$\frac{\num{\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"}}}{\num{"&decimal(pasx)&"}}$"),unitp*(valeur[n],0));
+ else:
+ label.bot(TEX("\footnotesize\num{\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
+ fi;
+ pointe(unitp*(valeur[n],0));
+ elseif ACoord=1:
+ label.bot(TEX("\footnotesize\num{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
pointe(unitp*(valeur[n],0));
fi;
- endfor;
+ else:
+ if AffichageCoord=3:
+ if p_<>"":
+ drawarrow (unitp*(valeur[n],-1))--(unitp*(valeur[n],-0.3));
+ label.bot(btex \hbox to2em{\dotfill} etex,(unitp*(valeur[n],-1)));
+ pointe(unitp*(valeur[n]-ValeurOrigine,0));
+ fi;
elseif AffichageCoord=2:
- n:=0;
- for p_=t:
- n:=n+1;
if p_<>"":
if ((ValeurUnitex*valeur[n]) mod pasx)<>0:
label.bot(TEX("\footnotesize$\frac{\num{\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"}}}{\num{"&decimal(pasx)&"}}$"),unitp*(valeur[n],0));
@@ -19842,15 +20027,13 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
fi;
pointe(unitp*(valeur[n],0));
fi;
- endfor;
elseif AffichageCoord=1:
- n:=0;
- for p_=t:
- n:=n+1;
if p_<>"":
label.bot(TEX("\footnotesize\num{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
pointe(unitp*(valeur[n],0));
fi;
+ fi;
+ fi;
endfor;
fi;
enddef;
@@ -19858,7 +20041,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
tata(#2);
\end{mplibcode}
\else
- \begin{mpost}[mpsettings={unitex:=\useKV[ClesReperage]{Unitex}*cm; pasx:=\useKV[ClesReperage]{Pasx}; unitp:=unitex/pasx; ValeurUnitex:=\useKV[ClesReperage]{ValeurUnitex}; ValeurOrigine:=\useKV[ClesReperage]{ValeurOrigine}; AffichageGrad:=\AffichageGrad; AffichageCoord:=\useKV[ClesReperage]{AffichageAbs}; AffichageNom:=\AffichageNom;}]
+ \begin{mpost}[mpsettings={unitex:=\useKV[ClesReperage]{Unitex}*cm; pasx:=\useKV[ClesReperage]{Pasx}; unitp:=unitex/pasx; ValeurUnitex:=\useKV[ClesReperage]{ValeurUnitex}; ValeurOrigine:=\useKV[ClesReperage]{ValeurOrigine}; AffichageGrad:=\AffichageGrad; AffichageCoord:=\useKV[ClesReperage]{AffichageAbs}; AffichageNom:=\AffichageNom; ValeurMin=\useKV[ClesReperage]{ValeurMin}; ValeurMax=\useKV[ClesReperage]{ValeurMax};}]
maxx:=0;
minx:=4000;
numeric valeur[];
@@ -19875,7 +20058,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
if valeur[k]>maxx:
maxx:=valeur[k];
fi;
- if valeur[k]<maxx:
+ if valeur[k]<minx:
minx:=valeur[k];
fi;
endfor;
@@ -19887,6 +20070,12 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
if minx>(-pasx-1):
minx:=-2*pasx-1;
fi;
+ if minx<ValeurMin:
+ minx:=ValeurMin;
+ fi;
+ if maxx>ValeurMax:
+ maxx:=ValeurMax;
+ fi;
% -----
pair A,B,C;
A=(0,0);
@@ -19933,43 +20122,62 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
n:=0;
for p_=t:
n:=n+1;
+ if substring(1,2) of p_="*":
+ label.top(LATEX(substring(2,length p_) of p_),unitp*(valeur[n],0));
+ else:
label.top(LATEX(p_),unitp*(valeur[n],0));
+ fi;
+ if p_<>"":
pointe(unitp*(valeur[n],0));
+ fi;
endfor;
fi;
- if AffichageCoord=3:
+ if AffichageCoord>0:
n:=0;
for p_=t:
n:=n+1;
+ if substring(1,2) of p_="*":
+ ACoord:=scantokens(substring(0,1) of p_);
+ if ACoord=3:
+ drawarrow (unitp*(valeur[n],-1))--(unitp*(valeur[n],-0.3));
+ label.bot(btex \noexpand\hbox to2em{\noexpand\dotfill} etex,(unitp*(valeur[n],-1)));
+ pointe(unitp*(valeur[n]-ValeurOrigine,0));
+ elseif ACoord=2:
+ if ((ValeurUnitex*valeur[n]) mod pasx)<>0:
+ label.bot(LATEX("\noexpand\footnotesize$\noexpand\frac{\noexpand\num{\noexpand\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"}}}{\noexpand\num{"&decimal(pasx)&"}}$"),unitp*(valeur[n],0));
+ else:
+ label.bot(LATEX("\noexpand\footnotesize\noexpand\num{\noexpand\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
+ fi;
+ pointe(unitp*(valeur[n],0));
+ elseif ACoord=1:
+ label.bot(LATEX("\noexpand\footnotesize\noexpand\num{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
+ pointe(unitp*(valeur[n],0));
+ fi;
+ else:
+ if AffichageCoord=3:
if p_<>"":
drawarrow (unitp*(valeur[n],-1))--(unitp*(valeur[n],-0.3));
label.bot(btex \noexpand\hbox to2em{\noexpand\dotfill} etex,(unitp*(valeur[n],-1)));
pointe(unitp*(valeur[n]-ValeurOrigine,0));
fi;
- endfor;
elseif AffichageCoord=2:
- n:=0;
- for p_=t:
- n:=n+1;
if p_<>"":
if ((ValeurUnitex*valeur[n]) mod pasx)<>0:
label.bot(LATEX("\noexpand\footnotesize$\noexpand\frac{\noexpand\num{\noexpand\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"}}}{\noexpand\num{"&decimal(pasx)&"}}$"),unitp*(valeur[n],0));
else:
label.bot(LATEX("\noexpand\footnotesize\noexpand\num{\noexpand\fpeval{"&decimal(ValeurUnitex)&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
fi;
- pointe(unitp*(valeur[n]-ValeurOrigine,0));
+ pointe(unitp*(valeur[n],0));
fi;
- endfor;
elseif AffichageCoord=1:
- n:=0;
- for p_=t:
- n:=n+1;
if p_<>"":
label.bot(LATEX("\noexpand\footnotesize\noexpand\num{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),unitp*(valeur[n],0));
pointe(unitp*(valeur[n],0));
fi;
- endfor;
fi;
+ fi;
+ endfor;
+ fi;
enddef;
%%%
tata(#2);
@@ -19993,6 +20201,9 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
AffichageGrad:=\AffichageGrad;
AffichageCoord:=\useKV[ClesReperage]{AffichageAbs};
AffichageNom:=\AffichageNom;
+ boolean Kelvin,Farenheit;
+ Kelvin=\useKV[ClesReperage]{Kelvin};
+ Farenheit=\useKV[ClesReperage]{Farenheit};
color ColMercure;
ColMercure:=\useKV[ClesReperage]{CouleurMercure};
boolean Mercure;
@@ -20023,15 +20234,19 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
if minx>(-pasx-1):
minx:=-2*pasx-1;
fi;
+ if Kelvin:
+ minx:=0;
+ fi;
% -----
pair A,B,C;
A=(0,0);
B=unitp*(0,maxx);
C=unitp*(0,minx);
% On trace la demi-droite
- draw (C+unitp*(0,-0.75))--(B+unitp*(0,0.75));
+ draw ((C+unitp*(0,-0.75))--(B+unitp*(0,0.75)));
% marquage secondaire
marque_s:=marque_s/3;
+ if pasx<11:
labeloffset:=labeloffset*2;
if ((maxx-minx) mod 2)=0:
for k=(minx+1) step 2 until (maxx-1):
@@ -20043,6 +20258,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw marquesegment((k/maxx)[A,B],((k+1)/maxx)[A,B]);
endfor;
fi;
+ fi;
% marquage primaire
marque_s:=marque_s*3;
for k=0 step pasx until (maxx-pasx):
@@ -20055,13 +20271,27 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
m_c:=m_c*3;
marque_p:="croix";
labeloffset:=labeloffset*2;
+ if Kelvin:
+ label.lft(TEX("\footnotesize\Temp[K]{"&decimal(ValeurUnitex)&"}"),unitex*(0,1));
+ label.lft(TEX("\footnotesize\Temp[K]{"&decimal(ValeurOrigine)&"}"),A);
+ elseif Farenheit:
+ label.lft(TEX("\footnotesize\Temp[F]{"&decimal(ValeurUnitex)&"}"),unitex*(0,1));
+ label.lft(TEX("\footnotesize\Temp[F]{"&decimal(ValeurOrigine)&"}"),A);
+ else:
label.lft(TEX("\footnotesize\Temp{"&decimal(ValeurUnitex)&"}"),unitex*(0,1));
label.lft(TEX("\footnotesize\Temp{"&decimal(ValeurOrigine)&"}"),A);
+ fi;
if AffichageGrad>0:
for k=((minx+(minx mod pasx)) div pasx) upto (maxx div pasx):
if (k<0) or (k>1):
+ if Kelvin:
+ label.lft(TEX("\footnotesize\Temp[K]{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}"),unitex*(0,k));%%%
+ elseif Farenheit:
+ label.lft(TEX("\footnotesize\Temp[F]{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}"),unitex*(0,k));%%%
+ else:
label.lft(TEX("\footnotesize\Temp{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}"),unitex*(0,k));%%%
fi;
+ fi;
endfor;
fi;
@@ -20127,7 +20357,13 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
for p_=t:
n:=n+1;
if p_<>"":
+ if Kelvin:
+ label.rt(TEX("\footnotesize\Temp[K]{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),(5mm,unitp*valeur[n]));
+ elseif Farenheit:
+ label.rt(TEX("\footnotesize\Temp[F]{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),(5mm,unitp*valeur[n]));
+ else:
label.rt(TEX("\footnotesize\Temp{\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}"),(5mm,unitp*valeur[n]));
+ fi;
pointe(unitp*(0,valeur[n]));
draw (unitp*(0,valeur[n]))--(7.5mm,unitp*valeur[n]) dashed evenly;
fi;
@@ -20146,6 +20382,9 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
AffichageGrad:=\AffichageGrad;
AffichageCoord:=\useKV[ClesReperage]{AffichageAbs};
AffichageNom:=\AffichageNom;
+ boolean Kelvin,Farenheit;
+ Kelvin=\useKV[ClesReperage]{Kelvin};
+ Farenheit=\useKV[ClesReperage]{Farenheit};
color ColMercure;
ColMercure:=\useKV[ClesReperage]{CouleurMercure};
boolean Mercure;
@@ -20178,6 +20417,9 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
if minx>(-pasx-1):
minx:=-2*pasx-1;
fi;
+ if Kelvin:
+ minx:=0;
+ fi;
% -----
pair A,B,C;
A=(0,0);
@@ -20187,6 +20429,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
draw (C+unitp*(0,-0.75))--(B+unitp*(0,0.75));
% marquage secondaire
marque_s:=marque_s/3;
+ if pasx<11:
labeloffset:=labeloffset*2;
if ((maxx-minx) mod 2)=0:
for k=(minx+1) step 2 until (maxx-1):
@@ -20197,7 +20440,8 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
for k=(minx) step 2 until (maxx-1):
draw marquesegment((k/maxx)[A,B],((k+1)/maxx)[A,B]);
endfor;
- fi;
+ fi;
+ fi;
% marquage primaire
marque_s:=marque_s*3;
for k=0 step pasx until (maxx-pasx):
@@ -20210,12 +20454,26 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
m_c:=m_c*3;
marque_p:="croix";
labeloffset:=labeloffset*2;
+ if Kelvin:
+ label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurUnitex)&"}{\kelvin}"),unitex*(0,1));
+ label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurOrigine)&"}{\kelvin}"),A);
+ elseif Farenheit:
+ label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurUnitex)&"}{\farenheit}"),unitex*(0,1));
+ label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurOrigine)&"}{\farenheit}"),A);
+ else:
label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurUnitex)&"}{\celsius}"),unitex*(0,1));
label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{"&decimal(ValeurOrigine)&"}{\celsius}"),A);
+ fi;
if AffichageGrad>0:
for k=((minx+(minx mod pasx)) div pasx) upto (maxx div pasx):
if (k<0) or (k>1):
- label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}{\celsius}"),unitex*(0,k));%%%
+ if Kelvin:
+ label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}{\kelvin}"),unitex*(0,k));%%%
+ elseif Farenheit:
+label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}{\farenheit}"),unitex*(0,k));%%%
+ else:
+label.lft(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-ValeurOrigine)&"*"&decimal(k)&"}}{\celsius}"),unitex*(0,k));%%%
+ fi;
fi;
endfor;
fi;
@@ -20282,7 +20540,13 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
for p_=t:
n:=n+1;
if p_<>"":
+ if Kelvin:
+ label.rt(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}{\kelvin}"),(5mm,unitp*valeur[n]));
+ elseif Farenheit:
+ label.rt(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}{\farenheit}"),(5mm,unitp*valeur[n]));
+ else:
label.rt(LATEX("\noexpand\footnotesize\noexpand\SI{\noexpand\fpeval{"&decimal(ValeurOrigine)&"+"&decimal(ValeurUnitex-(ValeurOrigine))&"*"&decimal(valeur[n])&"/"&decimal(pasx)&"}}{\celsius}"),(5mm,unitp*valeur[n]));
+ fi;
pointe(unitp*(0,valeur[n]));
draw (unitp*(0,valeur[n]))--(7.5mm,unitp*valeur[n]) dashed evenly;
fi;
@@ -20437,13 +20701,13 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\xdef\Listedesvaleursaplacersurlademidroite{}%
\foreachitem\compteur\in\ListePointDroite{\expandafter\Updatetoksdemidroite\compteur\nil}%
\foreachitem\compteur\in\ListePointDroite{\xdef\Listedesvaleursaplacersurlademidroite{\Listedesvaleursaplacersurlademidroite,\ListePointDroite[\compteurcnt,1]}}%
- % \Listedesvaleursaplacersurlademidroite%
+ %\Listedesvaleursaplacersurlademidroite%
\MPNewDEMIGraduee{\Listedesvaleursaplacersurlademidroite}{\the\toklistenompointdemidroite}%
}{%
\foreachitem\compteur\in\ListePointDroite{\expandafter\Updatetoksdemidroite\compteur\nil}%
\xdef\Listedesvaleursaplacersurlademidroite{}%
\foreachitem\compteur\in\ListePointDroite{\xdef\Listedesvaleursaplacersurlademidroite{\Listedesvaleursaplacersurlademidroite,\ListePointDroite[\compteurcnt,1]}}%
- % \Listedesvaleursaplacersurlademidroite%
+ %\Listedesvaleursaplacersurlademidroite%
\MPNewDROITEGraduee{\Listedesvaleursaplacersurlademidroite}{\the\toklistenompointdemidroite}%
}%
}%
@@ -22124,7 +22388,7 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
}%
\setKVdefault[Cards]{Largeur=59,Hauteur=89,HauteurTheme=15,Marge=4,Landscape=false,Couleur=Cornsilk,Theme=Th\'eor\`eme\\de
- Pythagore,ThemeSol=Solution,Trame=false,Titre=false,NomTitre=Jeu 1,Loop,JaiQuia=false,BackgroundAv=false,BackgroundAr=false,ImageAv=4813762.jpg,ImageAr=4813762.jpg,AffichageSolution=true}%
+ Pythagore,ThemeSol=Solution,Trame=false,Titre=false,NomTitre=Jeu 1,Loop,JaiQuia=false,BackgroundAv=false,BackgroundAr=false,ImageAv=4813762.jpg,ImageAr=4813762.jpg,AffichageSolution=true,SolutionSeule=false}%
\newcommand\Cartes[2][]{%
\useKVdefault[Cards]%
@@ -22231,9 +22495,11 @@ Barre=false,Longueur=10cm,Hauteur=5mm,Bicolore=false,EcartBarre=0%Grille est dis
\clearpage%
}{}%
}{%
+ \ifboolKV[Cards]{SolutionSeule}{}{%
\begin{MyboxSimpleAv}{\useKV[Cards]{Theme}}%
\ListeCards[1,1]%
\end{MyboxSimpleAv}%
+ }%
\ifboolKV[Cards]{AffichageSolution}{%
\begin{MyboxSimpleAr}{\useKV[Cards]{ThemeSol}}%
\ListeCards[1,2]%