I define the appearance of my code chunks in the css of my blogdown theme.
code {
font-family: monocode, monospace;
-webkit-font-smoothings: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 90%;
max-height: 300px;
overflow-y: auto;
background-color: inherit;
}
The max-height attribute is basically fine for most of the time, but in a few instances I would like to increase it. Is there a way to change the attribute directly in the chunk options in the blogdown/rmd document?
I saw this related post on Stackoverflow. But as far as I understand it, this would require to define a new css class.
Many thanks!