Skip to content

Commit

Permalink
Fix additional typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jan 7, 2025
1 parent 6661aae commit 5d4856a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -21976,27 +21976,27 @@ following content:
\usepackage{markdown}
\ExplSyntaxOn
\str_new:N \g_markdown_example_title_str
\seq_new:N \g_markdown_example_author_seq
\seq_new:N \g_markdown_example_authors_seq
\keys_define:nn
{ markdown / some / example / module }
{ markdown / example / module }
{ % Define a key--value that processes YAML metadata.
title / programmaticString .str_gset:N = \g_markdown_example_title_str, % Store the raw title in a variable.
title .code:n = { \title { #1 } }, % Set the title. This is the same as writing `title / typographicString`.
author / unknown .code = { % Store a variable-length list of authors in an array variable.
authors / unknown .code = { % Store a variable-length list of authors in an array variable.
\seq_put_right:Nn
\g_markdown_example_author_seq
\g_markdown_example_authors_seq
{ #1 }
},
}
\markdownSetupSnippet
{ metadata }
{ % Define a snippet that routes YAML metadata to the above key key–value.
jekyllDataKeyValue = markdown / some / example / module,
jekyllDataKeyValue = markdown / example / module,
renderers = {
jekyllDataEnd = { % At the end of the YAML metadata, ...
\clist_set_from_seq:NN % ... set the list of authors and
\l_tmpa_clist
\g_markdown_example_author_seq
\g_markdown_example_authors_seq
\exp_args:Nx
\author
{ \clist_use:Nn \l_tmpa_clist { ,~ } }
Expand Down Expand Up @@ -36168,7 +36168,7 @@ end
rendererPrototypes = {
jekyllData(Sequence|Mapping)Begin = {
\str_if_eq:nnTF
{ #1 }
{ ##1 }
{ null }
{
\seq_put_right:Nn
Expand All @@ -36184,7 +36184,7 @@ end
jekyllData(Sequence|Mapping)End = {
\seq_pop_right:NN
\l_@@_jekyll_data_current_position_seq
\l_@@_jekyll_data_current_position_tl
\l_tmpa_tl
},
% \end{macrocode}
% \begin{markdown}
Expand Down

0 comments on commit 5d4856a

Please sign in to comment.