Flexdashboard fonts change when published?



Hi! I am making a flexdashboard that I need to publish to the web. After knitting, the dashboard looks fine. However, whenever I publish it, the fonts on the axes of my plots change. Is there a way to preserve the fonts when publishing? Thank you so much!


You can explicitly select the font-family with a custom css file.

Yihui also just published R Markdown: The Definitive Guide, which has a section on appearance and styling. Check out your Bootswatch theme options.