feat: ignore to compiled link, fixed #203 (#204)

* feat: ignore to compiled link, fixed #203

* feat: add noCompileLinks, fixed #203

* fix: remove test code
This commit is contained in:
cinwell.li 2017-07-10 22:38:26 +08:00 • committed by GitHub
commit 2e00f4c993
9 changed files with 156 additions and 4 deletions

View file

@ -362,3 +362,21 @@ window.$docsify = {
routerMode: 'history' // default: 'hash'
}
```
## noCompileLinks
- type: `Array`
Sometimes we do not want docsify to handle our links. See [#203](https://github.com/QingWei-Li/docsify/issues/203)
```js
window.$docsify = {
noCompileLinks: [
'/foo',
'/bar/.*'
]
}
```