markdown-it.multicore
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i markdown-it.multicore

Weekly Downloads

0

Version

0.0.2

License

none

Unpacked Size

15.2 kB

Total Files

42

Last publish

Collaborators

  • streamich