Executes markdown-it
in a separate process. Currently supports the render
method.
npm install markdown-it.multicore
import {render} from 'markdown-it.multicore';
const html = await render('# Hello World');
render(markdown: string): Promise<string>;
render(markdown: string, preset?: PresetName): Promise<string>;
render(markdown: string, preset?: PresetName, options?: Options): Promise<string>;