mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-11-29 18:48:14 +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`
|
||||
- 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
|
||||
window.$docsify = {
|
||||
externalLinkTarget: '', // default: 'noopener'
|
||||
externalLinkRel: '', // default: 'noopener'
|
||||
};
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user