diff options
author | Karl Berry <karl@freefriends.org> | 2023-04-03 21:32:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-04-03 21:32:50 +0000 |
commit | 69c679a19d6d919414bc1268718ab445e225d930 (patch) | |
tree | 341cf0686552fc6a306b511ec0c19dc73e00f133 /Master/texmf-dist/doc/context/third | |
parent | f587320cb4c3114a76584fc12b89cdba7c1db07c (diff) |
markdown (3apr23)
git-svn-id: svn://tug.org/texlive/trunk@66751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context/third')
3 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex index fcd6784eaf4..e4f953c9a20 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex +++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex @@ -27,6 +27,8 @@ tableCaptions = yes, taskLists = yes, texMathDollars = yes, + texMathDoubleBackslash = yes, + texMathSingleBackslash = yes, ] % Set renderers of the Markdown module. diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex index a4b9fd9472f..9d485820cfb 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex +++ b/Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex @@ -4,6 +4,10 @@ \setupexternalfigures[location={local,global,default}] % Load the Markdown module. +\startluacode +local kpse = require("kpse") +kpse.set_program_name("luatex") +\stopluacode \usemodule[t][markdown] % Set options of the Markdown module. @@ -27,6 +31,8 @@ tableCaptions = yes, taskLists = yes, texMathDollars = yes, + texMathDoubleBackslash = yes, + texMathSingleBackslash = yes, ] % Set renderers of the Markdown module. diff --git a/Master/texmf-dist/doc/context/third/markdown/examples/example.md b/Master/texmf-dist/doc/context/third/markdown/examples/example.md index 16d32368d92..8819ef5b672 100644 --- a/Master/texmf-dist/doc/context/third/markdown/examples/example.md +++ b/Master/texmf-dist/doc/context/third/markdown/examples/example.md @@ -177,3 +177,21 @@ $$ x^n + y^n = z^n $$ | even discontinuous | lines + +This is inline and display TeX math created using dollars signs: + +$E=mc^2$ + +$$E=mc^2$$ + +This is inline and display TeX math created using single backslashes: + +\(E=mc^2\) + +\[E=mc^2\] + +This is inline and display TeX math created using double backslashes: + +\\(E=mc^2\\) + +\\[E=mc^2\\] |