[frontend/mfm] Add missing font fn params

This commit is contained in:
pancakes 2025-03-25 10:52:18 +10:00
parent d9295e77dc
commit 4d3886880e
No known key found for this signature in database

View file

@ -313,6 +313,10 @@ public static partial class MfmRenderer
el.SetAttribute("style", "font-family: cursive;"); el.SetAttribute("style", "font-family: cursive;");
else if (args.ContainsKey("fantasy")) else if (args.ContainsKey("fantasy"))
el.SetAttribute("style", "font-family: fantasy;"); el.SetAttribute("style", "font-family: fantasy;");
else if (args.ContainsKey("emoji"))
el.SetAttribute("style", "font-family: emoji;");
else if (args.ContainsKey("math"))
el.SetAttribute("style", "font-family: math;");
return el; return el;
} }