diff --git a/src/markdown/index.ts b/src/markdown/index.ts index 0ea0ddc..5e15f9b 100644 --- a/src/markdown/index.ts +++ b/src/markdown/index.ts @@ -40,7 +40,7 @@ const marked = new Marked() renderer(token) { if (!token.meta.name) { const style = globalIconPrefix ? `style="--icon-src: url('${globalIconPrefix}/${token.text}.png')"` : ''; - return ``; + return ``; } return false; } diff --git a/src/styles.css b/src/styles.css index c3a4052..3979f55 100644 --- a/src/styles.css +++ b/src/styles.css @@ -13,6 +13,11 @@ icon, pull{ background-position: center; background-repeat: no-repeat; } +icon.mini{ + width: 1em; + height: 1em; + vertical-align: bottom; +} pull{ margin-right: -.5em; width: 0;