Merge branch 'develop' into fix-790

This commit is contained in:
沈唁 2020-10-08 21:16:58 +08:00 committed by GitHub
commit 4f6148db91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -493,6 +493,19 @@ window.$docsify = {
};
```
## crossOriginLinks
- type: `Array`
When `routerMode: 'history'`, you may face the cross-origin issues, See [#1379](https://github.com/docsifyjs/docsify/issues/1379).
In Markdown content, there is a simple way to solve it, see extends Markdown syntax `Cross-Origin link` in [helpers](helpers.md).
```js
window.$docsify = {
crossOriginLinks:[
"https://example.com/cross-origin-link",
],
};
```
## noCompileLinks
- type: `Array`

View File

@ -4,7 +4,7 @@ docsify extends Markdown syntax to make your documents more readable.
> Note: For the special code syntax cases, you'd better put them within a code backticks to avoid any conflicting from configurations or emojis.
## important content
## Important content
Important content like: