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/tex/generic | |
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/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/markdown/markdown.tex | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/generic/markdown/markdown.tex b/Master/texmf-dist/tex/generic/markdown/markdown.tex index 0d71a2f98e3..8ad545ea609 100644 --- a/Master/texmf-dist/tex/generic/markdown/markdown.tex +++ b/Master/texmf-dist/tex/generic/markdown/markdown.tex @@ -107,7 +107,7 @@ } { \msg_error:nnnV - { __markdown } + { markdown } { failed-typecheck-for-boolean-option } { #1 } \l_tmpa_tl @@ -116,7 +116,7 @@ } } \msg_new:nnn - { __markdown } + { markdown } { failed-typecheck-for-boolean-option } { Option~#1~has~value~#2,~ @@ -165,7 +165,7 @@ \l_tmpa_bool { \msg_error:nnn - { __markdown } + { markdown } { undefined-option } { #1 } } @@ -174,7 +174,7 @@ \l_tmpa_tl { \msg_error:nnnV - { __markdown } + { markdown } { unknown-option-type } { #1 } \l_tmpa_tl @@ -184,13 +184,13 @@ \l_tmpa_tl } \msg_new:nnn - { __markdown } + { markdown } { unknown-option-type } { Option~#1~has~unknown~type~#2. } \msg_new:nnn - { __markdown } + { markdown } { undefined-option } { Option~#1~is~undefined. @@ -217,7 +217,7 @@ \l_tmpa_bool { \msg_error:nnn - { __markdown } + { markdown } { undefined-option } { #1 } } @@ -273,7 +273,6 @@ \tl_tail:n { #1 } } } -\seq_new:N \g__markdown_cases_seq \cs_new:Nn \__markdown_with_various_cases:nn { \seq_clear:N @@ -294,6 +293,11 @@ \l_tmpa_seq { #2 } } +\cs_new:Nn \__markdown_with_various_cases_break: + { + \seq_map_break: + } +\seq_new:N \g__markdown_cases_seq \cs_new:Nn \__markdown_camel_case:N { \regex_replace_all:nnN @@ -552,8 +556,8 @@ { boolean } { true } \ExplSyntaxOff -\def\markdownLastModified{2023-04-02}% -\def\markdownVersion{2.22.0-0-g5a3d0fe}% +\def\markdownLastModified{2023-04-27}% +\def\markdownVersion{2.23.0-0-g0b22f91}% \let\markdownBegin\relax \let\markdownEnd\relax \let\markdownInput\relax @@ -2547,8 +2551,9 @@ local convert = md.new(\markdownLuaOptions) }% \ExplSyntaxOn -\cs_new:Nn - \__markdown_if_option:nTF +\prg_new_conditional:Nnn + \__markdown_if_option:n + { TF, T, F } { \__markdown_get_option_type:nN { #1 } @@ -2558,7 +2563,7 @@ \c__markdown_option_type_boolean_tl { \msg_error:nnxx - { __markdown } + { markdown } { expected-boolean-option } { #1 } { \l_tmpa_tl } @@ -2569,11 +2574,11 @@ \str_if_eq:NNTF \l_tmpa_tl \c__markdown_option_value_true_tl - { #2 } - { #3 } + { \prg_return_true: } + { \prg_return_false: } } \msg_new:nnn - { __markdown } + { markdown } { expected-boolean-option } { Option~#1~has~type~#2,~ |