0.1.0-27540675.3108772 • Published 3 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
3 years ago
0.1.0-27540675.3108772
3 years ago
0.1.0-27455982.629710c
3 years ago
0.1.0-27457273.325e75e
3 years ago
0.1.0-27454506.5082fc7
3 years ago
0.1.0-27447111.1f2ee9b
3 years ago
0.1.0-27456008.44289c2
3 years ago
0.1.0-27389828.5bd4375
3 years ago
0.1.0-27388178.b5b4589
3 years ago
0.1.0-27388168.14a1171
3 years ago
0.1.0-27388181.3385f22
3 years ago
0.1.0-27295925.091387a
4 years ago
0.1.0-27295929.bfde940
4 years ago
0.1.0-27295935.30284f3
4 years ago
0.1.0-27296058.2252251
4 years ago
0.1.0-27296327.435a62a
4 years ago
0.1.0-27296059.4315b99
4 years ago
0.1.0-27295994.996dc7b
4 years ago
0.1.0-27264295.ca66540
4 years ago
0.1.0-27264294.ae5dc2b
4 years ago
0.1.0-27264294.d44b39d
4 years ago
0.1.0-27264277.6582c17
4 years ago
0.1.0-27287476.8982d56
4 years ago
0.1.0-27252835.3385d22
4 years ago
0.1.0-27255890.6e59a1a
4 years ago
0.1.0-27254773.cc4de9f
4 years ago
0.1.0-27255900.f057279
4 years ago
0.1.0-27254786.4b236d7
4 years ago
0.1.0-27258613.ce3702e
4 years ago
0.1.0-27258218.4106dfc
4 years ago
0.1.0-27248299.70a22dd
4 years ago
0.1.0-27248521.efe2c99
4 years ago
0.1.0-27248424.d855779
4 years ago
0.1.0-27233800.1ce6cfa
4 years ago
0.1.0-27232711.1ce6cfa
4 years ago
0.1.0-27233940.1814036
4 years ago
0.1.0-27223864.3abdbed
4 years ago
0.1.0-27213962.033b069
4 years ago
0.1.0-27206852.6619dee
4 years ago
0.1.0-27206853.e3834a0
4 years ago
0.1.0-27173870.c599a24
4 years ago
0.1.0-27173870.b8fe1a4
4 years ago
0.1.0-27173249.9d0b4ce
4 years ago
0.1.0-27173326.d42efff
4 years ago
0.1.0-27164921.54451db
4 years ago
0.1.0-27164811.7f1456b
4 years ago