Skip to content

Commit

Permalink
docs: update noCompileLinks documentation (#1666)
Browse files Browse the repository at this point in the history
Co-authored-by: 沈唁 <[email protected]>
trusktr and sy-records authored Nov 19, 2021
1 parent c3cdadc commit 760e0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -508,9 +508,9 @@ window.$docsify = {

## noCompileLinks

- type: `Array`
- type: `Array<string>`

Sometimes we do not want docsify to handle our links. See [#203](https://github.com/docsifyjs/docsify/issues/203)
Sometimes we do not want docsify to handle our links. See [#203](https://github.com/docsifyjs/docsify/issues/203). We can skip compiling of certain links by specifying an array of strings. Each string is converted into to a regular expression (`RegExp`) and the _whole_ href of a link is matched against it.

```js
window.$docsify = {

1 comment on commit 760e0c7

@vercel
Copy link

@vercel vercel bot commented on 760e0c7 Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.