markup
markup copied to clipboard
[Bug] `~~~` with any syntax highlight designator except `txt` does not apply highlighting, and renders with a `font-size` < `1em`.
As originally discussed at github-linguist/linguist/issues/7637, when a CommonMark <pre><code> (~~~) with a syntax highlight declaration (~~~RegEx) is utilised inside a Markdown footnote, its font-size reduces, and the syntax highlight designation is not applied, such that it reproduces issues/1851:
Reproductive Markup
[^1]
[^1]: ~~~MA
"(?:(?:headers)|(?:cookies))"\s*:\s*(?:\{[^{}]*\}|\[[^\[\]]*\]|"[^"]*"|[^,}\]]*)(?:,)?\s*
~~~
Comparison Of Correct And Incorrect Presentation
~~~RegEx |
~~~txt |
|---|---|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@github-actions, see #issuecomment-2809414223.