A Typescript library for converting Markdown code to PreTeXt. Uses marked.js.
Usage:
import { convertToPretext } from 'markdownToPretext'; const ptxString = convertToPretext("markdown string");