bump 1.10.0

This commit is contained in:
qingwei.li
2017-01-25 15:08:28 +08:00
parent ccdc3c855a
commit 46967e73bf
7 changed files with 14 additions and 6 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.10.0
### Features
- Support emoji :laughing:
## 1.9.0
### Bug fixes
+1 -1
View File
@@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>1.9.0</small>
# docsify <small>1.10.0</small>
> A magical documentation site generator.
+4
View File
@@ -2528,6 +2528,10 @@ function init (options) {
return ("<p>" + text + "</p>")
};
renderer.text = function (text) {
return text.replace(/:(\S*?):/ig, '<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/$1.png" alt="$1" />')
};
if (typeof OPTIONS$1.markdown === 'function') {
markdown.setOptions({ renderer: renderer });
markdown = OPTIONS$1.markdown.call(this, markdown);
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long