[build] 4.5.4

This commit is contained in:
qingwei.li 2017-11-29 09:46:18 +08:00
parent e43ded4ea7
commit a1d2a1f1e3
9 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>4.5.3</small>
# docsify <small>4.5.4</small>
> A magical documentation site generator.

View File

@ -2982,7 +2982,7 @@ Compiler.prototype._initRenderer = function _initRenderer () {
if (checked) {
text = text.replace(CHECKED_RE, ("<input type=\"checkbox\" " + (checked[1] === 'x' ? 'checked' : '') + " />"));
}
return ("<li>" + text + "</li>\n")
return ("<li" + (checked ? " class=\"task-list-item\"" : '') + ">" + text + "</li>\n")
};
renderer.origin = origin;
@ -4063,7 +4063,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.5.3';
Docsify.version = '4.5.4';
/**
* Run Docsify

2
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
}
},
"version": "4.5.3"
"version": "4.5.4"
}

View File

@ -1,6 +1,6 @@
{
"name": "docsify-server-renderer",
"version": "4.5.3",
"version": "4.5.4",
"description": "docsify server renderer",
"author": {
"name": "qingwei-li",