quarto-dev / quarto-dev/quarto-cli
documentation error on navigation menu in revealjs
@cscheid ci sta già lavorando.
Dal 18/11/2022.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
At https://quarto.org/docs/presentations/revealjs/presenting.html, there is a section on the Navigation Menu. It gives an example of the side, width and number options:
format:
revealjs:
side: right
width: wide
However, this does not seem to work. Autocompletion in the yaml header also doesn't mention these options. Well, it does mention the width option, but that's for the overall presentation, not the nav menu.
Borrowing from the documentation for revealjs in RMarkdown (https://github.com/rstudio/revealjs), this does seem to work:
format:
revealjs:
menu:
side: right
width: wide
However, this implementation seems to obliviate the option to not show the hamburger, which is done as follows:
format:
revealjs:
menu: false
because you can either give menu: false OR menu: <<options on following lines>> in the yaml section. There is no option for not showing the hamburger thingy AND having options for the case where you do want to open the menu (hitting the M key).
So, two things:
- There's an error in the documentation
- A suboption in the
menuoption list (besidesside,width,numbersanduse-text-content-for-missing-titles) for not showing the hamburger would be nice (e.g.,show-hamburger: true/false).
To be clear, the second bullet refers to something like this:
format:
revealjs:
menu:
side: right
width: wide
show-hamburger: false
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.