diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-14 20:38:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-14 20:38:52 +0000 |
commit | a3ba1abf10468e4cc434f285fabe14ab5fe86158 (patch) | |
tree | 155acdc9224098902aebfbc79b77a1b3be2f0294 /Master/texmf-dist/tex/latex/markdown | |
parent | c8d2ea73c06009f96ad1c3a66b69d20d57209dc7 (diff) |
markdown (14sep20)
git-svn-id: svn://tug.org/texlive/trunk@56342 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/markdown')
-rw-r--r-- | Master/texmf-dist/tex/latex/markdown/markdown.sty | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/markdown/markdown.sty b/Master/texmf-dist/tex/latex/markdown/markdown.sty index 2a1e14dbe7f..816c56a2a0d 100644 --- a/Master/texmf-dist/tex/latex/markdown/markdown.sty +++ b/Master/texmf-dist/tex/latex/markdown/markdown.sty @@ -123,6 +123,14 @@ \def\markdownOptionUnderscores{#1}}% \define@key{markdownOptions}{stripPercentSigns}[true]{% \def\markdownOptionStripPercentSigns{#1}}% +\define@key{markdownOptions}{finalizeCache}[true]{% + \def\markdownOptionFinalizeCache{#1}}% +\DeclareOption{finalizecache}{\markdownSetup{finalizeCache}} +\define@key{markdownOptions}{frozenCache}[true]{% + \def\markdownOptionFrozenCache{#1}}% +\DeclareOption{frozencache}{\markdownSetup{frozenCache}} +\define@key{markdownOptions}{frozenCacheFileName}{% + \def\markdownOptionFrozenCacheFileName{#1}}% \define@key{markdownRenderers}{interblockSeparator}{% \renewcommand\markdownRendererInterblockSeparator{#1}}% \define@key{markdownRenderers}{lineBreak}{% @@ -373,10 +381,12 @@ \markdownInputPlainTeX{#2}% \endgroup}% \renewenvironment{markdown}{% - \markdownReadAndConvert@markdown{}}\relax + \markdownReadAndConvert@markdown{}}{% + \markdownEnd}% \renewenvironment{markdown*}[1]{% \markdownSetup{#1}% - \markdownReadAndConvert@markdown*}\relax + \markdownReadAndConvert@markdown*}{% + \markdownEnd}% \begingroup \catcode`\|=0\catcode`\<=1\catcode`\>=2% \catcode`\\=12|catcode`|{=12|catcode`|}=12% @@ -436,7 +446,6 @@ \ifx\empty#4\empty\else \caption{#4}% \fi - \label{tab:#1}% \end{table}}{% \markdownInput{#3}}}, image = {% |