Skip to content

Abbreviation extension should not inject markup in mathjax contexts #1512

Closed
@mdbenito

Description

@mdbenito

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions