SmoothScroll and the importance of subtle UX #771
-
I'm in the process of porting Rmd notebooks for my dissertation analyses to quarto (book project, rendering as html). My Rmd yaml includes: and those three little lines completely transform the user experience of navigating the lengthy notebook. I cannot find the equivalent option in Quarto, after much searching of the docs and examples Does smooth scroll exist in Quarto? If not: Loving Quarto so far — thank you to the entire team! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I persisted... think I found a workaround if anyone is curious :) Can add the following style to a custom css file html{ then link the css through the yml format: STILL astonishing to me how one line of code and such a simple change completely changes the user experience! |
Beta Was this translation helpful? Give feedback.
-
@dragonstyle Definitely second the idea of at a minimum providing an option and even perhaps making this the default. Note that we use this library in the visual editor (which provides a few more options: https://github.com/zengabor/zenscroll) |
Beta Was this translation helpful? Give feedback.
-
Ok, we've added support for format:
html:
smooth-scroll: true There is a fresh release being built now- it should be ready in a few minutes. |
Beta Was this translation helpful? Give feedback.
-
Y'all are AMAZING! Thanks so much! |
Beta Was this translation helpful? Give feedback.
Ok, we've added support for
smooth-scroll
here: b44dadf . By default, we've decided to leave smooth scrolling off, but you can easily enable it like so:There is a fresh release being built now- it should be ready in a few minutes.