smartmarkdown/ts/index.ts
2018-09-23 00:21:31 +02:00

4 lines
139 B
TypeScript

import * as plugins from './smartmarkdown.plugins';
export const markdownToHtml = (mdString: string): string => plugins.marked(mdString);