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