-
Notifications
You must be signed in to change notification settings - Fork 373
Can it support Mathpix markdown syntax? #6689
Replies: 2 comments · 5 replies
-
What are you missing from Quarto/Pandoc extended markdown format exactly?
Could you elaborate? If Mathpix serves you better than Quarto that's fine, but providing concrete areas in which you find the experience better in this other tool or not great in Quarto would help. Also Mathpix is not just a markdown extension, it is a complete tools such as Quarto. Edit: Mathpix markdown repository https://github.com/Mathpix/mathpix-markdown-it |
Beta Was this translation helpful? Give feedback.
All reactions
-
I apologize for my unclear expression. This is my situation: Meta AI's release of Nougat allows for the easy conversion of PDF to Mathpix Markdown, with some of the syntax based on LaTeX. If Quarto can support these syntax elements, it can further enhance and complement the toolchain on top of this tool. Of course, this is just an expectation for tool improvement. Quarto itself is a very useful tool, and there's no intention to add too much trouble to your efforts. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for clarifying your use case! If your target output is LaTeX, it could/should work as Pandoc (the tool behind Quarto) reads some of the LaTeX commands directly. Did you try that? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Incorporating some LaTeX syntax, but not fully LaTeX, the main syntax is still Markdown. Moreover, the native LaTeX support for code blocks doesn't seem to be very user-friendly. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Could you be a bit more specific, maybe with an example. |
Beta Was this translation helpful? Give feedback.
All reactions
-
an example can be found here, in which the default
Notice that some parts cannot be recognized, such as 'table blocks'. One potential requirement is that this document can be directly recognized as a 'qmd' file. |
Beta Was this translation helpful? Give feedback.
All reactions
-
It seems to me that the design decision to use Latex syntax in Mathpix markdown where markdown needs a step up is quite incompatible with the philosophy of quarto/pandoc, which is to extend markdown in a more language-agnostic way (albeit with exceptions, such as html tables for quarto). I suspect a robust workaround would be to write a custom reader + writer pair for pandoc, that takes a mathpix-md document as input, identifies the raw latex nodes, and converts them to quarto markdown. The other nodes can be passed as-is. (of course, the other approach might be to tweak/train nougat to produce quarto md directly) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Clearly, Mathpix markdown is more suitable for academic writing, and having support for it would provide a better experience.
Beta Was this translation helpful? Give feedback.
All reactions