inkdrop-admonition
inkdrop-admonition copied to clipboard
Export as PDF or HTML Wont Show the Icon

HTML

I have experienced the same.
i have same experience..but i found a workaround to handle this..
admonition use FontAwesome for the icon
.admonition-icon {
position: absolute;
left: 1.2rem;
font-family: "FontAwesome";
font-style: normal;
font-weight: 400;
font-size: 24px;
// font-size: 1.7rem;
// width: 1.8rem;
width: 24px;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
text-align: center;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
for the icon to be recognized in the HTML, you can install FontAwessome font in ubuntu you can run command
sudo apt-get install fonts-font-awesome
for the PDF, you can insert custom css setting for PDF print see this documentation for the detail
the css will look like this
@media print {
.admonition-icon {
position: absolute;
left: 1.2rem;
font-family: "FontAwesome";
font-style: normal;
font-weight: 400;
font-size: 24px;
// font-size: 1.7rem;
// width: 1.8rem;
width: 24px;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
text-align: center;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
}