goessner / markdown-it-texmath

Support TeX math equations with your Markdown documents.
MIT License
156 stars 28 forks source link

Suggestion: enable more than 1 delimiter. #37

Closed tomasrei closed 2 years ago

tomasrei commented 2 years ago

I believe you can't use more than 1 delimiter atm? I usually use $ for inline math and [...] for display math. It would be great if you could use both! Thanks.

goessner commented 2 years ago

Would you like to use $ and [...] for both ... ? You know that delimiters for inline and display math usually are different ? See the readme ...

tomasrei commented 2 years ago

Sorry, I was maybe a bit unclear. I would like to use $ for inline math and brackets /[.../] for display math. The reason being that I find it a bit messy to use /(.../) inline. As I understand it, it's either or at the moment?

goessner commented 2 years ago

Sorry, an individual combination of inline and display math delimiters is not supported. Please choose one syntax documented in

https://github.com/goessner/markdown-it-texmath