0.1.0-27540675.3108772 • Published 2 years ago
@docus/remark-mdc-edge v0.1.0-27540675.3108772
remark-mdc
remark plugin to support MDC Syntax
Install
# Using Yarn
yarn add --dev @docus/remark-mdc
# Using NPM
npm install --save-dev @docus/remark-mdc
Use
import { unified, Preset } from 'unified';
import parse from 'remark-parse'
import remarkMDC from '@docus/remark-mdc'
function compiler() {
this.Compiler = function(root) {
return root
}
}
export async function markdownToAST(markdown) {
let stream = unified()
.use(parse)
.use(remarkMDC)
.use(compiler)
const file = await stream.process(markdown)
return file.result
}
0.1.0-27540674.f567a86
2 years ago
0.1.0-27540675.3108772
2 years ago
0.1.0-27455982.629710c
2 years ago
0.1.0-27457273.325e75e
2 years ago
0.1.0-27454506.5082fc7
2 years ago
0.1.0-27447111.1f2ee9b
2 years ago
0.1.0-27456008.44289c2
2 years ago
0.1.0-27389828.5bd4375
2 years ago
0.1.0-27388178.b5b4589
2 years ago
0.1.0-27388168.14a1171
2 years ago
0.1.0-27388181.3385f22
2 years ago
0.1.0-27295925.091387a
2 years ago
0.1.0-27295929.bfde940
2 years ago
0.1.0-27295935.30284f3
2 years ago
0.1.0-27296058.2252251
2 years ago
0.1.0-27296327.435a62a
2 years ago
0.1.0-27296059.4315b99
2 years ago
0.1.0-27295994.996dc7b
2 years ago
0.1.0-27264295.ca66540
3 years ago
0.1.0-27264294.ae5dc2b
3 years ago
0.1.0-27264294.d44b39d
3 years ago
0.1.0-27264277.6582c17
3 years ago
0.1.0-27287476.8982d56
2 years ago
0.1.0-27252835.3385d22
3 years ago
0.1.0-27255890.6e59a1a
3 years ago
0.1.0-27254773.cc4de9f
3 years ago
0.1.0-27255900.f057279
3 years ago
0.1.0-27254786.4b236d7
3 years ago
0.1.0-27258613.ce3702e
3 years ago
0.1.0-27258218.4106dfc
3 years ago
0.1.0-27248299.70a22dd
3 years ago
0.1.0-27248521.efe2c99
3 years ago
0.1.0-27248424.d855779
3 years ago
0.1.0-27233800.1ce6cfa
3 years ago
0.1.0-27232711.1ce6cfa
3 years ago
0.1.0-27233940.1814036
3 years ago
0.1.0-27223864.3abdbed
3 years ago
0.1.0-27213962.033b069
3 years ago
0.1.0-27206852.6619dee
3 years ago
0.1.0-27206853.e3834a0
3 years ago
0.1.0-27173870.c599a24
3 years ago
0.1.0-27173870.b8fe1a4
3 years ago
0.1.0-27173249.9d0b4ce
3 years ago
0.1.0-27173326.d42efff
3 years ago
0.1.0-27164921.54451db
3 years ago
0.1.0-27164811.7f1456b
3 years ago