mathpix-markdown-it
mathpix-markdown-it copied to clipboard
Convert from mathpix-markdown to markdown
Hi, is it possible to convert from mathpix-markdown to markdown, or from markdown to mathpix-markdown?
I tried implementing this because my Markdown doesn't support LaTeX properly. If you're looking for a solution, you might want to check out CLI. I’d really appreciate it if the API had an option to avoid embedding LaTeX directly in the Markdown—it can be quite frustrating to deal with.
To convert mathpix-markdown to markdown you can use Snip web app
Snip web app is a simple online editor powered by Mathpix Markdown. https://mathpix.com/docs/snip/editor-overview
Or use API endpoints https://docs.mathpix.com/#convert-documents
curl -X POST https://api.mathpix.com/v3/converter \
-H 'app_id: APP_ID' \
-H 'app_key: APP_KEY' \
-H 'Content-Type: application/json' \
--data '{ "mmd": "_full mmd text_", "formats": {"md": true}}'
curl --location --request GET 'https://api.mathpix.com/v3/converter/CONVERSION_ID' \
--header 'app_key: APP_KEY' \
--header 'app_id: APP_ID'