diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/markdown/markdown.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/markdown/markdown.tex | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/markdown/markdown.tex b/Master/texmf-dist/tex/generic/markdown/markdown.tex index cf53a16eefe..9e2083313cf 100644 --- a/Master/texmf-dist/tex/generic/markdown/markdown.tex +++ b/Master/texmf-dist/tex/generic/markdown/markdown.tex @@ -6,7 +6,7 @@ %% %% markdown.dtx (with options: `tex') %% -%% Copyright (C) 2016-2019 Vít Novotný +%% Copyright (C) 2016-2020 Vít Novotný %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -45,8 +45,8 @@ %% %% The names of the source files used are shown above. %% -\def\markdownLastModified{2019/04/30}% -\def\markdownVersion{2.8.1}% +\def\markdownLastModified{2020/03/20}% +\def\markdownVersion{2.8.2}% \let\markdownBegin\relax \let\markdownEnd\relax \let\markdownInput\relax @@ -496,7 +496,10 @@ local convert = md.new(\markdownLuaOptions) |markdownInfo{The ending token sequence was found}@ |immediate|closeout|markdownOutputFileStream@ |endgroup@ - |markdownInput|markdownOptionInputTempFileName@ + |markdownInput{@ + |markdownOptionOutputDir@ + /|markdownOptionInputTempFileName@ + }@ #2}@ |fi@ ^^M}@ @@ -593,10 +596,8 @@ local convert = md.new(\markdownLuaOptions) |closein|markdownInputFileStream |markdownLuaExecute{% |markdownPrepare - local input = assert(io.open("% - |markdownOptionOutputDir - /#1", "r"):read("*a")) - print(convert(input:gsub("\r\n?", "\n")))}}% + local input = assert(io.open("#1", "r"):read("*a")) + print(convert(input:gsub("\r\n?", "\n") .. "\n"))}}% |endgroup \endinput %% |