mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-11 05:44:45 +00:00
Can I somehow customise math processing? #661
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kazbek on GitHub (Mar 7, 2024).
Im using math like this e=mc^2 and not it output to
and want to customize output Latex formula. Not just place it "as is" but process with my string to string function
so output will be:
Can I somehow configure Math processor?
I guess it must affect in this two places: one and two
@MihaZupan commented on GitHub (Mar 7, 2024):
Instead of modifying the parser/renderer, the easiest way to do something like this is likely to post-process the syntax tree before you render it
@Kazbek commented on GitHub (Mar 8, 2024):
@MihaZupan it works good but escaping string that I put in content. So instead
I have:
Can I somehow write just this part unescaped?
@Kazbek commented on GitHub (Mar 19, 2024):
Made my own UseMathematics with custom renderer solved this problem.