bump 1.3.5
This commit is contained in:
parent
6adcfffba9
commit
cb2b191ba1
3 changed files with 15 additions and 4 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -1,3 +1,13 @@
|
||||||
|
|
||||||
|
## 1.3.5
|
||||||
|
### Bug fixes
|
||||||
|
- Fix vue
|
||||||
|
|
||||||
|
## 1.3.4
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
- Supports [vuep](https://github.com/QingWei-Li/vuep)
|
||||||
|
|
||||||
## 1.3.3
|
## 1.3.3
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
- Fixed cover rendering timing
|
- Fixed cover rendering timing
|
||||||
|
|
|
||||||
|
|
@ -2410,7 +2410,8 @@ renderer.heading = function (text, level) {
|
||||||
renderer.code = function (code, lang) {
|
renderer.code = function (code, lang) {
|
||||||
if ( lang === void 0 ) lang = '';
|
if ( lang === void 0 ) lang = '';
|
||||||
|
|
||||||
var hl = prism.highlight(code, prism.languages[lang] || prism.languages.markup);
|
var hl = prism.highlight(code, prism.languages[lang] || prism.languages.markup)
|
||||||
|
.replace(/{{/g, '<span>{{</span>');
|
||||||
|
|
||||||
return ("<pre data-lang=\"" + lang + "\"><code class=\"lang-" + lang + "\">" + hl + "</code></pre>")
|
return ("<pre data-lang=\"" + lang + "\"><code class=\"lang-" + lang + "\">" + hl + "</code></pre>")
|
||||||
};
|
};
|
||||||
|
|
@ -2456,7 +2457,7 @@ function renderArticle (content) {
|
||||||
renderSidebar.rendered = false;
|
renderSidebar.rendered = false;
|
||||||
renderNavbar.rendered = false;
|
renderNavbar.rendered = false;
|
||||||
|
|
||||||
if (typeof Vue !== 'undefined' && typeof Vuep !== 'undefined') { new Vue({ el: 'main' }); } // eslint-disable-line
|
if (content && typeof Vue !== 'undefined' && typeof Vuep !== 'undefined') { new Vue({ el: 'main' }); } // eslint-disable-line
|
||||||
if (OPTIONS$1.auto2top) { scroll2Top(); }
|
if (OPTIONS$1.auto2top) { scroll2Top(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
4
lib/docsify.min.js
vendored
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue