diff options
author | Karl Berry <karl@freefriends.org> | 2023-04-27 20:37:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-04-27 20:37:52 +0000 |
commit | fd9564b21054e27d1e4f4bfcca7683ae3b84e2fb (patch) | |
tree | f98ea8c61cbdc8546aabe2957323aca8776c3bca /Master/texmf-dist/doc/context | |
parent | eaf38b0e316452820428aaa331b98c6b2c9d8edf (diff) |
markdown (27apr23)
git-svn-id: svn://tug.org/texlive/trunk@66954 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r-- | Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex | 70 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/markdown/examples/context-mkiv.tex | 2 |
2 files changed, 1 insertions, 71 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 deleted file mode 100644 index e4f953c9a20..00000000000 --- a/Master/texmf-dist/doc/context/third/markdown/examples/context-mkii.tex +++ /dev/null @@ -1,70 +0,0 @@ -\enableregime[utf] -\usetypescript[modern][ec] -\setupbodyfont[10pt,rm] -\setupexternalfigures[location={local,global,default}] - -% Load the Markdown module. -\usemodule[t][markdown] - -% Set options of the Markdown module. -\setupmarkdown - [ - contentBlocks = yes, - debugExtensions = yes, - definitionLists = yes, - fancy_lists = yes, - fencedCode = yes, - hashEnumerators = yes, - inlineNotes = yes, - lineBlocks = yes, - notes = yes, - pipeTables = yes, - rawAttribute = yes, - smartEllipses = yes, - strikethrough = yes, - subscripts = yes, - superscripts = yes, - tableCaptions = yes, - taskLists = yes, - texMathDollars = yes, - texMathDoubleBackslash = yes, - texMathSingleBackslash = yes, - ] - -% Set renderers of the Markdown module. -\definetyping - [latex] - -\setuptyping - [latex] - [option=TEX] - -\starttext - -% Typeset the document `example.md` by letting the Markdown package handle -% the conversion internally. -\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 -% of the document `example.md`. -\catcode`\%=12\relax -\catcode`\#=12\relax -\doiffileelse{./example.tex}{\input example}{} -\catcode`\%=14\relax -\catcode`\#=6\relax - -% Typeset inline markdown text. -\startmarkdown - -Here are some non-ASCII characters: *ěščřžýáíé* -and ConTeXt special characters: *|*. - -Here is a hard line break that we inserted directly from the TeX source -by typing two spaces at the end of a line. -This is stretching TeX's abilities and is only supported in ConTeXt MkIV -and later. - -\stopmarkdown - -\stoptext 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 9d485820cfb..4c05059f3a6 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 @@ -70,7 +70,7 @@ kpse.set_program_name("luatex") \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset inline markdown text. +% Typeset some further examples with inline markdown text. \startmarkdown Here are some non-ASCII characters: *ěščřžýáíé* |