goessner / markdown-it-texmath

Support TeX math equations with your Markdown documents.
MIT License
161 stars 29 forks source link

feature request: adding a rule for Julia Markdown #15

Closed isaacsas closed 5 years ago

isaacsas commented 5 years ago

Julia's Documenter.jl package uses $...$ and ``.. .`` for inline markdown math, and ```math ... ``` for blocks.

Is there any possibility of adding this mix as an option? I know I can modify this locally, but I'm using a VSCode extension that bundles markdown-it-texmath to highlight Julia markdown files, and the extension can overwrite my changed texmath.js file when it updates...

goessner commented 5 years ago

now - after finding time at last for this - I implemented and tested your proposed rule for Julia markdown.

It seems to work. Use Version 0.6.0 now.

Please also test and tell me about possible bugs.

Thanks

isaacsas commented 5 years ago

Thanks! I made a similar change to the texmath.js file distributed with mdmath a while back and have had no issues. I'll be happy to be able to go back to not having to use a modded file.