@Language("HTML")
  public static @NlsSafe @NotNull String getCssFontDeclaration(@NotNull Font font,
                                                               @Nullable Color fgColor,
                                                               @Nullable Color linkColor,
                                                               @Nullable String liImg) {
    @Language("HTML")
    String familyAndSize = "font-family:'" + font.getFamily() + "'; font-size:" + font.getSize() + "pt;";
    return "<style>\n"
           + "body, div, td, p {" + familyAndSize
           + (fgColor != null ? " color:#" + ColorUtil.toHex(fgColor) + ';' : "")
           + "}\n"
           + "a {" + familyAndSize
           + (linkColor != null ? " color:#" + ColorUtil.toHex(linkColor) + ';' : "")
           + "}\n"
           + "code {font-size:" + font.getSize() + "pt;}\n"
           + "ul {list-style:disc; margin-left:15px;}\n"
           + "</style>";
  }
@Language("HTML")
  public static @NlsSafe @NotNull String getCssFontDeclaration(@NotNull Font font,
                                                               @Nullable Color fgColor,
                                                               @Nullable Color linkColor,
                                                               @Nullable String liImg)