Add format-independent options noDefaults
and plain
, which control the loading of theme witiko/markdown/defaults
#393
Labels
Milestone
In PRs #373 and #392, we separated the default token renderer definitions into a universal theme
witiko/markdown/defaults
. In LaTeX, we can prevent the execution of the default definitions for LaTeX and only load the default definitions for plain TeX using the LaTeX optionplain
. However, there is no option to prevent loading any definitions altogether. Furthermore, the optionplain
is not available for other formats based on plain TeX such as ConTeXt.Tasks
plain
from LaTeX to plain TeX and react to it from ConTeXt themewitiko/markdown/defaults
.noDefaults
and react to it from plain TeX and LaTeX.Examples
Option
noDefaults
Plain TeX example
A plain TeX document that prevents the theme
witiko/markdown/defaults
from being loaded.Expected output: Hello !
LaTeX example
A LaTeX document that prevents the theme
witiko/markdown/defaults
from being loaded.Expected output: Hello !
ConTeXt example
A ConTeXt document that prevents the theme
witiko/markdown/defaults
from being loaded.Expected output: Hello !
Option
plain
LaTeX example
A LaTeX document that prevents the plain TeX part of theme
witiko/markdown/defaults
from being loaded.Expected output: foobarbaz
ConTeXt example
A ConTeXt document that prevents the plain TeX part of the theme
witiko/markdown/defaults
from being loaded.Expected output: foobarbaz
The text was updated successfully, but these errors were encountered: