mathpix-markdown-it icon indicating copy to clipboard operation
mathpix-markdown-it copied to clipboard

Convert from mathpix-markdown to markdown

Open lrybbbccc opened this issue 1 year ago • 2 comments

Hi, is it possible to convert from mathpix-markdown to markdown, or from markdown to mathpix-markdown?

lrybbbccc avatar Sep 23 '24 08:09 lrybbbccc

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.

michelmar avatar Nov 25 '24 19:11 michelmar

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

Screenshot 2024-11-26 at 13 12 07

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'
Screenshot 2024-11-26 at 13 23 01 Screenshot 2024-11-26 at 13 24 46

OlgaRedozubova avatar Nov 26 '24 11:11 OlgaRedozubova