docsify/docs/markdown.md
2017-02-13 22:43:58 +08:00

507 B

Markdown configuration

The Markdown parser is marked. You can customize how docsify renders your Markdown content to HTML.

window.$docsify = {
  markdown: {
    smartypants: true
    // ...
  }
}

?> Configuration Options Reference marked documentation

Even you can completely customize the parsing rules.

window.$docsify = {
  markdown: function(marked, renderer) {
    // ...

    return marked
  }
}