Strange TOC behavior after autohiding. #1904
Replies: 1 comment
-
Just to let you know that you can nest code cells as long as you add more ticks than before: four ticks enclosing cells with three ticks, etc. I've edited your post so you can see how it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When generating an HTML report I like to display graphs side by side using the
layout-ncol
argument. This often requires me to increased the column width usingcolumn: page
or similar. When you scroll to that point, the toc hides (as it should).However the toc behavior is usually different once the autohide has been activated. In the given example (viewed in Chrome) the toc immediately re-hides as soon as a user scrolls up or down on the page. The title of the first chapter containing the first
column: page
argument remains forever blue as though it is the current section being viewed, regardless of whether or not that is true. In my actual report, all toc levels >1 collapse and will never expand again so that thetoc-depth
effectively becomes 1.Note: For the example below I had to remove the ticks before and after the plot code chunk. It didn't like having a code chunk within a code chunk.
Beta Was this translation helpful? Give feedback.
All reactions