A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Python-Markdown/markdown/issues/1512 below:

Abbreviation extension should not inject markup in mathjax contexts · Issue #1512 · Python-Markdown/markdown · GitHub

Assume we have defined an abbreviation

*[YAFR]: Yet Another Feature Request

Then the following markdown

Our function $f_\text{YAFR}$ does some things

will be expanded to (something like):

Our function $f_\text{<abbr title="Yet Another Feature Request">YAFR</abbr>}$ does some things

This will cause a maths renderer like mathjax to fail. It is actually rather common to add subindices to notation in maths that refer to abbreviations defined in the text, so I think it would be nice to have the extension not try to expand the text.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4