You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR suggest to add scrollable TOC but this create a vertical scrollbar, and not sure it will be ok for printing.
Other solution involve for now custom CSS to
reduce font size
use CSS for column
(see example in the discussion linked)
So this is for now custom styling using CSS. I believe this is fine (and usually what you need to do with xaringan anyway) but maybe we can find a good default behavior that would allow to tweak the Pandoc TOC.
Or we need kind of a {{ TOC }} macro (like in HUGO) to insert manually a TOC slide maybe. (just ideas written) to not forget.
The text was updated successfully, but these errors were encountered:
Yet, I still think TOC page can be a better choice when we print out the slide.
It means, we should somehow fit the TOC into the page rathar than overflow.
I think the combination of reduced font size and multi-column layout would be the solution as you suggest.
However, I am not sure how to dynamically set the ideal value.
I chose scroll because that is the simplest way which at least works during presentations.
In this way, we can let users modify the TOC layout by themselves when they want (maybe for printing).
The problem is that R Markdown users may not be able to modify because they are not always CSS experts...
See #128 and discussion #128 (comment)
(see example in the discussion linked)
So this is for now custom styling using CSS. I believe this is fine (and usually what you need to do with xaringan anyway) but maybe we can find a good default behavior that would allow to tweak the Pandoc TOC.
Or we need kind of a
{{ TOC }}
macro (like in HUGO) to insert manually a TOC slide maybe. (just ideas written) to not forget.The text was updated successfully, but these errors were encountered: