Skip to content

Commit

Permalink
Merge pull request #396 from Witiko/fix/inline-math-renderer
Browse files Browse the repository at this point in the history
Do not unnecessarily override math renderer prototypes in LaTeX/ConTeXt
  • Loading branch information
Witiko authored Jan 9, 2024
2 parents 412f09b + 9c49dd8 commit 5b4f95d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Development:
- Add format-independent options `noDefaults` and `plain`, which control the
loading of theme `witiko/markdown/defaults`. (#393, #394)

Default Renderer Prototypes:

- Do not unnecessarily override math renderer prototypes in LaTeX/ConTeXt.
(#387, #396, contributed by @zousiyu1995)

## 3.3.0 (2023-12-30)

Development:
Expand Down
3 changes: 0 additions & 3 deletions markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -34138,8 +34138,6 @@ end
\markdownSetup{rendererPrototypes={
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}},
Expand Down Expand Up @@ -35295,7 +35293,6 @@ end
\def\markdownRendererSuperscriptPrototype#1{\high{#1}}
\def\markdownRendererSubscriptPrototype#1{\low{#1}}
\def\markdownRendererDisplayMathPrototype#1{\startformula#1\stopformula}%
\def\markdownRendererInlineMathPrototype#1{$#1$}%
% \end{macrocode}
% \par
% \begin{markdown}
Expand Down

0 comments on commit 5b4f95d

Please sign in to comment.