Open isaactpetersen opened 3 years ago
I second this idea. The gitbook+tufte style could have a default gitbook view without the tufte-style margin. The hamburger menu icon can be used as a display toggle between toc and margin. In that way, we won't have both the side-bar toc and the margin on display at the same, which is an efficient way of using the screen space.
Thanks for your work on this excellent package. I'd like to put in a feature request to allow Tufte-style margin notes in gitbook/bookdown. Margin/side notes and figures are possible with the tufte_html_book() output format using
^[footnote content]
ormargin_note()
ormarginfigure
. But I'd prefer to stick with gitbook because gitbook has features that the Tufte style does not, including a floating table of contents. If it's helpful, there are other attempts to adapt gitbook to include margin notes (see below), but it'd be nice for this feature to be integrated into the package for use with gitbook and bookdown.https://community.rstudio.com/t/bookdown-contest-submission-gitbook-style-tufte-style-for-web-book/11666/6 https://rdrr.io/github/dtkaplan/SDSdata/man/margin_note.html https://github.com/susanemcg/pandoc-tufteLaTeX2GitBook https://github.com/CrumpLab/statisticsLab/issues/17
Thanks!
By filing an issue to this repo, I promise that
xfun::session_info('bookdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/bookdown')
.I understand that my issue may be closed if I don't fulfill my promises.