diff --git a/index.html b/index.html index 6e9a093..0ebefb4 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,9 @@ + + @@ -40,7 +42,7 @@ .then(res => res.text()) .catch(err => console.error(err)) .then(text => { - md.innerHTML = converter.makeHtml(text); + md.innerHTML = emojione.toImage(converter.makeHtml(text)); }); diff --git a/style.css b/style.css index b30b2d3..188f94f 100644 --- a/style.css +++ b/style.css @@ -55,6 +55,8 @@ sub { bottom: -0.25em; } /** Remove border when inside `a` element in IE 8/9/10. */ img { border: 0; } +img.emojione { height: 20px; } + /** Correct overflow not hidden in IE 9/10/11. */ svg:not(:root) { overflow: hidden; }