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
It would be nice to be able to include math mode latex in presentations.
I was thinking of overloading code blocks to hook into a latex renderer, but when looking through the code, I didn't see an easy way to put a custom renderer for marked.
More generally having a quick way to put in a custom renderer would allow a variety of small extensions to be made.
The text was updated successfully, but these errors were encountered:
If not, simplest implementation-wise are literal-based math syntaxes, like what you wanted.
Their beauty is you don't really need to modify/hook the renderer; I believe you could run marked (or any markdown rendered) as-is, then you look for code tags with class="texmath" and post-process those.
Inline math is trickier as there is no agreed syntax to specify "language" of inline literals. For instance Gitlab went with $`a^2+b^2`$ syntax. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4638 for how they did this.
It would be nice to be able to include math mode latex in presentations.
I was thinking of overloading code blocks to hook into a latex renderer, but when looking through the code, I didn't see an easy way to put a custom renderer for marked.
More generally having a quick way to put in a custom renderer would allow a variety of small extensions to be made.
The text was updated successfully, but these errors were encountered: