summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/markdown/markdown.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-28 20:57:36 +0000
committerKarl Berry <karl@freefriends.org>2023-02-28 20:57:36 +0000
commit5bb5421117595253f49df10c66cabffa61f8c4f2 (patch)
tree544320d0476d89ab4d2fbc340cc985c36bf5b9e4 /Master/texmf-dist/tex/latex/markdown/markdown.sty
parentb67efc730c77919f1b008ff88f37afc6f8585458 (diff)
markdown (28feb23)
git-svn-id: svn://tug.org/texlive/trunk@66257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/markdown/markdown.sty')
-rw-r--r--Master/texmf-dist/tex/latex/markdown/markdown.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/markdown/markdown.sty b/Master/texmf-dist/tex/latex/markdown/markdown.sty
index 0dede25d9cc..546f5e4215f 100644
--- a/Master/texmf-dist/tex/latex/markdown/markdown.sty
+++ b/Master/texmf-dist/tex/latex/markdown/markdown.sty
@@ -6,7 +6,7 @@
%%
%% markdown.dtx (with options: `latex')
%%
-%% Copyright (C) 2016-2022 Vít Novotný
+%% Copyright (C) 2016-2023 Vít Novotný
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -673,7 +673,7 @@
\RequirePackage{fancyvrb}
\RequirePackage{graphicx}
\markdownSetup{rendererPrototypes={
- lineBreak = {\\},
+ hardLineBreak = {\\},
leftBrace = {\textbraceleft},
rightBrace = {\textbraceright},
dollarSign = {\textdollar},
@@ -761,6 +761,8 @@
headerAttributeContextEnd = {},
superscript = {\textsuperscript{#1}},
subscript = {\textsubscript{#1}},
+ displayMath = {\begin{displaymath}#1\end{displaymath}},
+ inlineMath = {\begin{math}#1\end{math}},
blockQuoteBegin = {\begin{quotation}},
blockQuoteEnd = {\end{quotation}},
inputVerbatim = {\VerbatimInput{#1}},
@@ -1242,7 +1244,7 @@
\markdownSetup{rendererPrototypes={
lineBlockBegin = {%
\begingroup
- \def\markdownRendererLineBreak{\\}%
+ \def\markdownRendererHardLineBreak{\\}%
\begin{verse}%
},
lineBlockEnd = {%