Code block font size too large
pkazmier opened this issue · comments
I think the book would benefit from a smaller font size for code blocks. In both the PDF and epub versions (didn’t look at mobi), the code block font looks larger than the body text font. To minimize wrapping of code blocks, I think a smaller monospace font size would look better. It would also look more harmonious with the body font size.
(Same comment applies to your blog posts IMO).
For example, here is a screenshot from the Rust Book, which I think has the right proportion of body font size to code block size:
Thank you very much for the feedback!
I agree with you, and will try to fix it for the next version (v2021.18), it should be a simple matter of tweaking some pandoc flag / adjusting some CSS.
Regarding the blog, it's now fixed :)
- epub
- mobi
Fixed in v2021.40 :)