Skip to content

website unable to put plain text entry into sidebar, like R4DS #1400

@machow

Description

@machow

Bug description

Pages like https://quarto.org/docs/guide/ have a sidebar with sections of content. I'm looking to recreate that kind of sidebar, but with text headings for each section, similar to R for Data Science:

image

It looks like if you add a content item to the sidebar that's just text (e.g. "Some header"), then it doesn't appear:

  sidebar:
    - id: get-started
      # ...
      contents:
        - text: "Some header"

However, if you add a horizontal rule, then it shows up in the sidebar:

  sidebar:
    - id: get-started
      # ...
      contents:
        - text: "----------------"

quarto check Output

Note that this is on Mac OSX

[✓] Checking Quarto installation......OK
      Version: 1.0.20
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.2
      Path: /Users/machow/.virtualenvs/pyshiny-site/bin/python3
      Jupyter: 4.10.0
      Kernels: venv-siuba, venv-pins-python, venv-vetiver-test, venv-intro-to-siuba, venv-vetiver-python, venv-shiny-examples, venv-pyshiny-site, venv-notes, venv-siuba-docs, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.1.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library
      rmarkdown: 2.14

[✓] Checking Knitr engine render......OK

quarto tools check Output

[✓] Inspecting tools

Tool         Status            Installed     Latest
chromium     Not installed     ---           869685
tinytex      Not installed     ---           v2022.07

Checklist

  • formatted your issue so it is easier for us to read?
  • included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • documented the quarto version you're running, by pasting the output from running quarto check in the "Quarto Check Output" text area?
  • documented the version of the quarto tools you're running, by providing the output from running quarto tools check in the "Quarto Tools Check Output" text area?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions