smartmarkdown/ts/smartmarkdown.plugins.ts

24 lines
633 B
TypeScript
Raw Normal View History

2022-05-20 14:03:35 +00:00
// pushrocks scope
import * as smartyaml from '@pushrocks/smartyaml';
export {
smartyaml
}
2021-10-04 11:35:20 +00:00
// third party remark
2022-05-20 14:03:35 +00:00
import { unified } from 'unified';
import remarkGfm from 'remark-gfm';
import remarkParse from 'remark-parse';
import remarkFrontmatter from 'remark-frontmatter';
import remarkHtml from 'remark-html';
import remarkStringify from 'remark-stringify';
2021-10-04 11:35:20 +00:00
2022-05-20 14:03:35 +00:00
export { unified, remarkGfm, remarkParse, remarkFrontmatter, remarkHtml, remarkStringify };
2021-10-04 11:35:20 +00:00
// other third party stuff
import turndown from 'turndown';
2021-10-04 11:35:20 +00:00
// @ts-ignore
2019-06-17 12:41:57 +00:00
import * as turndownPluginGfm from 'turndown-plugin-gfm';
2018-09-22 22:21:31 +00:00
2021-10-04 11:35:20 +00:00
export { turndown, turndownPluginGfm };