1.2.0 • Published 3 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-mdast
Usage
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
3 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.1
4 years ago
1.1.2
4 years ago
1.1.0
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.5.31
5 years ago
0.5.30
5 years ago
0.5.29
5 years ago
0.5.28
5 years ago
0.5.27
5 years ago
0.5.26
5 years ago
0.5.25
5 years ago
0.5.24
5 years ago
0.5.1
5 years ago