Open egoist opened 7 years ago
You could use a template tag function. But I guess you want it simpler?
const { markdown as md } from 'aimer' // or any markdown lib
aimer.add({
readme: md`some markdown`,
example: 'some code'
})
@mblarsen yeah, to make it simpler, currently you can already use babel-plugin-markdown or babel-macros
automatically transform markdown to html and highlight code blocks / example: