mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-03 20:48:55 +08:00
597 B
597 B
Markdown configuration
The Markdown parser is marked. You can customize how docsify renders your Markdown content to HTML. Support customize renderer
.
window.$docsify = {
markdown: {
smartypants: true,
renderer: {
link: function() {
// ...
}
}
}
}
?> Configuration Options Reference marked documentation
Even you can completely customize the parsing rules.
window.$docsify = {
markdown: function(marked, renderer) {
// ...
return marked
}
}