From d57ba3afd9451f2d57e12ab453816fee5c54d12b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 30 Dec 2021 21:19:38 +0000 Subject: markdown (30dec21) git-svn-id: svn://tug.org/texlive/trunk@61448 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/markdown/markdown.sty | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/markdown') diff --git a/Master/texmf-dist/tex/latex/markdown/markdown.sty b/Master/texmf-dist/tex/latex/markdown/markdown.sty index 1c54f4848cb..b1d229209ae 100644 --- a/Master/texmf-dist/tex/latex/markdown/markdown.sty +++ b/Master/texmf-dist/tex/latex/markdown/markdown.sty @@ -134,12 +134,16 @@ \def\markdownOptionContentBlocksLanguageMap{#1}}% \define@key{markdownOptions}{definitionLists}[true]{% \def\markdownOptionDefinitionLists{#1}}% +\define@key{markdownOptions}{eagerCache}[true]{% + \def\markdownOptionEagerCache{#1}}% \define@key{markdownOptions}{footnotes}[true]{% \def\markdownOptionFootnotes{#1}}% \define@key{markdownOptions}{fencedCode}[true]{% \def\markdownOptionFencedCode{#1}}% \define@key{markdownOptions}{jekyllData}[true]{% \def\markdownOptionJekyllData{#1}}% +\define@key{markdownOptions}{hardLineBreaks}[true]{% + \def\markdownOptionHardLineBreaks{#1}}% \define@key{markdownOptions}{hashEnumerators}[true]{% \def\markdownOptionHashEnumerators{#1}}% \define@key{markdownOptions}{headerAttributes}[true]{% @@ -563,8 +567,17 @@ \ifx\empty#4\empty\else \caption{#4}% \fi - \end{table}}{% - \markdownInput{#3}}}, + \end{table}% + }{% + \ifthenelse{\equal{#1}{tex}}{% + \catcode`\%=14\relax + \input #3\relax + \catcode`\%=12\relax + }{% + \markdownInput{#3}% + }% + }% + }, image = {% \begin{figure}% \begin{center}% -- cgit v1.2.3