bump 1.10.0
This commit is contained in:
parent
ccdc3c855a
commit
46967e73bf
7 changed files with 14 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
4
lib/docsify.min.js
vendored
4
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
Loading…
Add table
Add a link
Reference in a new issue