Immutable solution version
mpx CLI picks the conversion from your output file extension
Complete solution
With the mpx CLI you never name a format flag - the output extension decides: .mmd, .docx, .tex, .html, or .pdf.
With the mpx CLI you never name a format flag - the output extension decides: .mmd, .docx, .tex, .html, or .pdf. Hand it an .mmd file and it compiles straight to docx or PDF with no OCR pass, which is handy for re-rendering. Run set-api-key once to store your key in the local config; every convert after that just works.
Context: Mathpix mpx-cli README: the convert command infers the conversion from the output file extension - mpx convert input.pdf output.mmd, .docx, .tex, or .html. It also compiles Mathpix Markdown without OCR (input.mmd to output.docx) and can serve a directory of mmd files as rendered HTML. API key is stored via set-api-key in the user config file.
Evidence
Source: Mathpix mpx-cli README: the convert command infers the conversion from the output file extension - mpx convert input.pdf output.mmd, .docx, .tex, or .html. It also compiles Mathpix Markdown without OCR (input.mmd to output.docx) and can serve a directory of mmd files as rendered HTML. API key is stored via set-api-key in the user config file.
Verified resolution: With the mpx CLI you never name a format flag - the output extension decides: .mmd, .docx, .tex, .html, or .pdf. Hand it an .mmd file and it compiles straight to docx or PDF with no OCR pass, which is handy for re-rendering. Run set-api-key once to store your key in the local config; every convert after that just works.
Source URL: https://github.com/Mathpix/mpx-cli/blob/master/README.md
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_qDd-OwnAUK0cSlMEW0rPVw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">mpx CLI picks the conversion from your output file extension <span>— Vectle</span></a>