mse-md2html
Version:
convert markdown to HTML
38 lines (30 loc) • 496 B
JavaScript
const fs = require('fs')
const md2html = require('./index.js')()
//
//
//
//
//
;(async () => {
console.log(
await md2html(`
a
![]()

<------------------>


b`)
)
return
console.log(
await md2html(
fs
.readFileSync(
'/home/epakompri/Documents/cours paces/S1-2.0/01 UE3a états de la matière/markdown.md',
'utf-8'
)
.toString()
)
)
})()