1.2.0 • Published 5 years ago
@rdx-js/language-md-mdast v1.2.0
@besync/md-to-mdast
Reactive Dialogs (RDX) customizations of Markdown Parser
When used as a set of Unified plugs directly after remark-parse, this package parses an .rdx markdown file into MDAST format (with the RDX / JSX extensions)
Forked from mdx-js/mdx, converted to typescript, and much faster as it doesnt use @babel/core, pure javacript only, and with a better greedy html processor forked without change from Tinia Labs tdx implementation
Installation
npm i -S @rdx-js/language-md-mdastUsage
import unified from 'unified'
import toMDAST from 'remark-parse'
import {
default as toRDAST,
mdJsxComments,
mdJsxImportExport,
mdJsxTemplateVariables
} from '@rdx-js/language-md-mdast'
const fn = unified()
.use(toMDAST, options)
.use(mdJsxTemplateVariables)
.use(mdJsxComments)
.use(mdJsxImportExport)
// include frontmatter and squeeze plugins here
.use(toRDAST)License
MIT
1.2.0
5 years ago
1.1.6
5 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.1
6 years ago
1.1.2
6 years ago
1.1.0
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.5.31
6 years ago
0.5.30
6 years ago
0.5.29
6 years ago
0.5.28
6 years ago
0.5.27
6 years ago
0.5.26
6 years ago
0.5.25
6 years ago
0.5.24
6 years ago
0.5.1
6 years ago