mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-02 03:59:19 +08:00
Merge pull request #1156 from dungahk/patch-1
Fix typo on `externalLinkRel`
This commit is contained in:
commit
79928de07d
@ -446,11 +446,11 @@ window.$docsify = {
|
|||||||
- type: `String`
|
- type: `String`
|
||||||
- default: `noopener`
|
- default: `noopener`
|
||||||
|
|
||||||
Default `'noopener'` (no opener) prevents the newly opened external page (when [externalLinkTarget](#externallinktarget) is `'_blank'`) from having the ability to control our page. No `rel` is set when its not `'_blank'`.
|
Default `'noopener'` (no opener) prevents the newly opened external page (when [externalLinkTarget](#externallinktarget) is `'_blank'`) from having the ability to control our page. No `rel` is set when its not `'_blank'`. See [this post](https://mathiasbynens.github.io/rel-noopener/) for more information about why you may want to use this option.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
externalLinkTarget: '', // default: 'noopener'
|
externalLinkRel: '', // default: 'noopener'
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user