pagedown
pagedown copied to clipboard
sidebar content for multiple pages - resume css
I've been browsing the issue threads for a while to try to solve this and only one got close, : https://github.com/rstudio/pagedown/issues/15#issuecomment-834590715
I'm in the same boat. I have an academic CV that is more than 2 pages and I would like to add sidebar content to multiple pages. The solution you gave in that issue thread works great if you only have 2 pages in your resume, because it places the new sidebar content on the last page. How could I get new sidebar content on, say, page 2 of 5? When I tried moving this chunk around, it totally screws everything else up. Thanks!
Your solution was some css: /* sidebar for page2 */
.extra-sidebar { top: 0; padding-top: 0; }
.extra-sidebar h1 { display: none; }
.extra-sidebar .level2:first-of-type { margin-top: 0; }
Then in the markdown:
Second page sidebar {.aside .extra-sidebar}
Title
"sidebar2 content"