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
Currently, you parse your math formula with KaTeX, and give the result to docsify's renderer, so the math formula will be rendered again.
Your fix is also not a good idea, because:
All of you italic will be ignored. Instead, we should only disable markdown's _..._ syntax in the math formula, which cannot be implemented in the current renderer.
There are other tags(*...*, which have special meaning in both KaTeX and markdown, but you means it is KaTeX syntax) you need to skip rendering with docsify's renderer.
I'm working on a plugin docsify-katex for writing KaTeX with docsify, but it doesn't very stable yet. Although all KaTeX and markdown are rendered as expected, the sidebar doesn't show as expected.
Currently, you parse your math formula with KaTeX, and give the result to docsify's renderer, so the math formula will be rendered again.
Your fix is also not a good idea, because:
All of you italic will be ignored. Instead, we should only disable markdown's _..._ syntax in the math formula, which cannot be implemented in the current renderer.
There are other tags(*...*, which have special meaning in both KaTeX and markdown, but you means it is KaTeX syntax) you need to skip rendering with docsify's renderer.
I'm working on a plugin docsify-katex for writing KaTeX with docsify, but it doesn't very stable yet. Although all KaTeX and markdown are rendered as expected, the sidebar doesn't show as expected.
Activity
gxsshallot commentedon Oct 16, 2018
I got it. Because markdown parser will translate
_..._to<em>...</em>. It should be configured to disableemin options:upupming commentedon Oct 25, 2018
Currently, you parse your math formula with KaTeX, and give the result to
docsify's renderer, so the math formula will be rendered again.Your fix is also not a good idea, because:
_..._syntax in the math formula, which cannot be implemented in the current renderer.*...*, which have special meaning in both KaTeX and markdown, but you means it is KaTeX syntax) you need to skip rendering withdocsify's renderer.I'm working on a plugin docsify-katex for writing KaTeX with
docsify, but it doesn't very stable yet. Although all KaTeX and markdown are rendered as expected, the sidebar doesn't show as expected.Update: The sidebar issue has been fixed.
gxsshallot commentedon Oct 25, 2018
Thanks for reply. I will try your plugin later~