Skip to content

Commit 760e0c7

Browse files
trusktrsy-records
andauthored
docs: update noCompileLinks documentation (#1666)
Co-authored-by: 沈唁 <[email protected]>
1 parent c3cdadc commit 760e0c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,9 @@ window.$docsify = {
508508

509509
## noCompileLinks
510510

511-
- type: `Array`
511+
- type: `Array<string>`
512512

513-
Sometimes we do not want docsify to handle our links. See [#203](https://github.com/docsifyjs/docsify/issues/203)
513+
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.
514514

515515
```js
516516
window.$docsify = {

0 commit comments

Comments
 (0)