Move \markdownSetup
from LaTeX layer to plain TeX + expl3 layer
#275
Labels
context
Related to the ConTeXt interface and implementation
expl3
Related to the high-level programming language expl3
latex
Related to the LaTeX interface and implementation
plaintex
Related to the plain TeX interface and implementation
technical debt
Related to code smells and refactoring
Milestone
The
\markdownSetup
and\setupmarkdown
commands of LaTeX and ConTeXt are close duplicates and mostly just wrappers for functionality provided by the plain TeX + expl3 layers (see a recent layer diagram of the Markdown package):markdown/markdown.dtx
Lines 17860 to 17869 in 36290d5
markdown/markdown.dtx
Lines 19031 to 19044 in 36290d5
We should move most of the heavy lifting to the plain TeX + expl3 layer and make the
\markdownSetup
command available from plain TeX. This will deduplicate the code and make it possible to use the\markdownSetup
command uniformly across all formats with all its benefits (#232).Tasks
markdown/latex-options
andmarkdown/context-options
keyvals with a singlemarkdown/options
keyval defined in the plain TeX layer.\@@_set_option_value:nn
to include the special handling of valuesyes
andno
:markdown/markdown.dtx
Lines 19114 to 19124 in 36290d5
markdown/options
keyval using just the\@@_caseless:N
function:markdown/markdown.dtx
Lines 19093 to 19102 in 36290d5
theme
andsnippet
keys for themarkdown/options
keyval:markdown/markdown.dtx
Lines 18120 to 18124 in 36290d5
markdown/markdown.dtx
Lines 18451 to 18462 in 36290d5
markdown/markdown.dtx
Lines 18713 to 18845 in 36290d5
\markdownSetup
exclusively.The text was updated successfully, but these errors were encountered: