-
Notifications
You must be signed in to change notification settings - Fork 29
Question about markdown detection and LaTeX #92
Copy link
Copy link
Closed
Description
Markdown seems to be autodetected when adding a note via markdown files, e.g. apy add, but it can interfere with latex syntax.
For very simple latex it's fine I guess, but for more complex latex there is the risk that parts of it get interpreted as markdown and then become unusable. I have a few questions about this:
- Is there a way (right now) to exclude latex equations from markdown conversion? Perhaps I'm missing something...
- Would it make sense to modify the markdown detection such that fields get only interpreted as markdown if there is not any latex? I guess this is a minor issue since one can just turn on/off markdown explicitly via
markdown: false. - How do you personally handle this? Resort to HTML formatting when you have complex latex?
Side note: I think it's a bit unfortunate, albeit understandable, that Anki chose \[\] \(\) over $/$$ delimiters. Because, the $/$$ syntax is quite popular in markdown and is/will be supported by quite a few markdown tools. Btw there is a nice overview at the bottom of https://github.com/cben/mathdown/wiki/math-in-markdown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels