0.0.2 • Published 1 year ago

markdown-it.multicore v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

markdown-it Multicore

Executes markdown-it in a separate process. Currently supports the render method.

Installation

npm install markdown-it.multicore

Usage

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>;