-
I am using the Tachyons CSS framework but this seems to be causing some problems with decimals in my R code chunks. I'm obviously not using the Tachyons classes in the MWE, but I am using them a lot in my document elsewhere. Any ideas on how I can fix this problem?
When rendered, instead of displaying |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
tachyons.css.min has three CSS classes pertaining to code. These change the font and the formatting of code chunks in a Quarto Markdown document. I just commented out the word "code" in that CSS file and order has been restored! |
Beta Was this translation helpful? Give feedback.
Interestingly, I recently used Tachyons in my slides and went through all of pandoc's code classes and came up with some Sass that you can include to suppress a few of the Tachyons classes that conflict with pandoc's styles.
Instead of just posting the snippet here, I made a Quarto extension that provides Tachyons for Quarto HTML documents: https://pkg.garrickadenbuie.com/quarto-tachyons/