Render native emoji with image fallback

Fix #779
This commit is contained in:
John Hildenbiddle
2022-02-03 23:24:54 -06:00
parent 8aee0744ec
commit 936d566954
3 changed files with 1905 additions and 12 deletions
+1
View File
@@ -21,6 +21,7 @@ export default function (vm) {
nameLink: window.location.pathname,
autoHeader: false,
executeScript: null,
nativeEmoji: true,
noEmoji: false,
ga: '',
ext: '.md',
+1 -1
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff