You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems no authoritative source on how to embed Latex math expression in Markdown.
At least It's not part of CommonMark spec.
Currently VSCode markdown preview support inline math expression between $ pair
and block math expression between $$ pair. But it looks like GitHub and GitLab support another
inline math expression that use combination of $ and backticks.
inline math (without backtick): $1 + 2 = 3$
inline math (with backtick): $`1 + 2 = 3`$
Background
There seems no authoritative source on how to embed Latex math expression in Markdown.
At least It's not part of CommonMark spec.
Currently VSCode markdown preview support inline math expression between
$
pairand block math expression between
$$
pair. But it looks like GitHub and GitLab support anotherinline math expression that use combination of
$
and backticks.Discussion
I have done some experiment and it looks that it only need little modification for this syntax to work.
But I'm wondering
extensions\markdown-math
ofvscode
Appendix: Possible Fix
The text was updated successfully, but these errors were encountered: