diff --git a/docs/cdn.md b/docs/cdn.md index 05fff3c28..37acde825 100644 --- a/docs/cdn.md +++ b/docs/cdn.md @@ -1,48 +1,53 @@ # CDN -Recommended: [jsDelivr](//cdn.jsdelivr.net), which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at [cdn.jsdelivr.net/npm/docsify/](//cdn.jsdelivr.net/npm/docsify/). +Recommended: [jsDelivr](//cdn.jsdelivr.net). You can also browse the source of the npm package at [cdn.jsdelivr.net/npm/docsify/](//cdn.jsdelivr.net/npm/docsify/). -## Latest version +## Specific version (RECOMMENDED) ```html - + - + ``` -Alternatively, use [compressed files](#compressed-file). +## Latest version (_NOT_ RECOMMENDED!) -## Specific version +We highly recommend you do **not** use this method. -```html - - - - - -``` - -## Compressed file +Using the latest version can break your app when docsify is updated due to +breaking changes, either when accidental bugs are introduced, or when a new +major version is realeased with altered features. ```html - + ``` +## Uncompressed files for debugging + ```html - + - + ``` -## Other CDN +## Other CDNs - https://www.bootcdn.cn/docsify/ - https://cdn.jsdelivr.net/npm/docsify/ diff --git a/docs/cover.md b/docs/cover.md index bf8c3c54e..eb1486369 100644 --- a/docs/cover.md +++ b/docs/cover.md @@ -11,10 +11,10 @@ Set `coverpage` to **true**, and create a `_coverpage.md`: - + ``` ```markdown @@ -81,7 +81,7 @@ Now, you can set ```js window.$docsify = { - coverpage: ['/', '/zh-cn/'] + coverpage: ['/', '/zh-cn/'], }; ``` @@ -91,7 +91,7 @@ Or a special file name window.$docsify = { coverpage: { '/': 'cover.md', - '/zh-cn/': 'cover.md' - } + '/zh-cn/': 'cover.md', + }, }; ``` diff --git a/docs/custom-navbar.md b/docs/custom-navbar.md index 14b6c8b3b..d345b36e2 100644 --- a/docs/custom-navbar.md +++ b/docs/custom-navbar.md @@ -27,17 +27,17 @@ Alternatively, you can create a custom markdown-based navigation file by setting - + ``` ```markdown -* [En](/) -* [chinese](/zh-cn/) +- [En](/) +- [chinese](/zh-cn/) ``` !> You need to create a `.nojekyll` in `./docs` to prevent GitHub Pages from ignoring files that begin with an underscore. @@ -51,19 +51,19 @@ You can create sub-lists by indenting items that are under a certain parent. ```markdown -* Getting started +- Getting started - * [Quick start](quickstart.md) - * [Writing more pages](more-pages.md) - * [Custom navbar](custom-navbar.md) - * [Cover page](cover.md) + - [Quick start](quickstart.md) + - [Writing more pages](more-pages.md) + - [Custom navbar](custom-navbar.md) + - [Cover page](cover.md) -* Configuration - * [Configuration](configuration.md) - * [Themes](themes.md) - * [Using plugins](plugins.md) - * [Markdown configuration](markdown.md) - * [Language highlight](language-highlight.md) +- Configuration + - [Configuration](configuration.md) + - [Themes](themes.md) + - [Using plugins](plugins.md) + - [Markdown configuration](markdown.md) + - [Language highlight](language-highlight.md) ``` renders as @@ -80,10 +80,10 @@ If you use the [emoji plugin](plugins#emoji): - - + + ``` you could, for example, use flag emojis in your custom navbar Markdown file: @@ -91,6 +91,6 @@ you could, for example, use flag emojis in your custom navbar Markdown file: ```markdown -* [:us:, :uk:](/) -* [:cn:](/zh-cn/) +- [:us:, :uk:](/) +- [:cn:](/zh-cn/) ``` diff --git a/docs/index.html b/docs/index.html index de3ce2663..df19b4a1f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,24 +20,24 @@ /> @@ -55,7 +55,7 @@