2017-02-13 22:43:58 +08:00
# Markdown configuration
2017-03-10 05:19:07 +08:00
**docsify** uses [marked ](https://github.com/chjj/marked ) as its Markdown parser. You can customize how it renders your Markdown content to HTML by customizing `renderer` :
2017-02-13 22:43:58 +08:00
```js
window.$docsify = {
markdown: {
2017-02-19 00:11:16 +08:00
smartypants: true,
renderer: {
link: function() {
// ...
}
}
2017-02-13 22:43:58 +08:00
}
}
```
?> Configuration Options Reference [marked documentation ](https://github.com/chjj/marked#options-1 )
Even you can completely customize the parsing rules.
```js
window.$docsify = {
markdown: function(marked, renderer) {
// ...
return marked
}
}
```