0.0.2 • Published 3 years ago
markdown-it.multicore v0.0.2
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>;0.0.2
3 years ago