mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-22 23:39:50 +08:00
@@ -21,6 +21,7 @@ export default function (vm) {
|
||||
nameLink: window.location.pathname,
|
||||
autoHeader: false,
|
||||
executeScript: null,
|
||||
nativeEmoji: true,
|
||||
noEmoji: false,
|
||||
ga: '',
|
||||
ext: '.md',
|
||||
|
||||
@@ -104,7 +104,7 @@ export class Compiler {
|
||||
html = compile.parser(text);
|
||||
}
|
||||
|
||||
html = config.noEmoji ? html : emojify(html);
|
||||
html = config.noEmoji ? html : emojify(html, config.nativeEmoji);
|
||||
slugify.clear();
|
||||
|
||||
return html;
|
||||
|
||||
+1903
-11
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user