smartmarkdown/ts/index.ts

4 lines
139 B
TypeScript
Raw Normal View History

2018-09-22 19:58:33 +00:00
import * as plugins from './smartmarkdown.plugins';
2018-09-22 22:21:31 +00:00
export const markdownToHtml = (mdString: string): string => plugins.marked(mdString);