Skip to content

Unclear where options stated succinctly in the documentation should actually go in YAML #13100

@gavinsimpson

Description

@gavinsimpson

What would you like to do?

Give feedback or suggest an improvement

Description

Consider this subsection https://quarto.org/docs/authoring/article-layout.html#margin-references in the documentation. It has the YAML required to turn on marginal footnotes and citations respectively.

---
reference-location: margin
citation-location: margin
---

Great! I found this pretty easily! However, it is not immediately clear where this has to actually go in the YAML. I use Quarto a lot (for a casual user with an academic day job) for a range of different document types, but not enough to know that in this case these are format options. After a process of trial and error I figure out where these should go, but, like a USB A cable, I never get it right first time, and that's because the option is given out of context. This is frustrating and confusing for the casual user encountering an option for the first time.

I don't know what the ideal solution to this is in general; you could include a little more context in the YAML snippets shown but there has to be a limit to what you can show otherwise the snippets will get overly long and the forest missed due to the trees. In this case, mentioning that this is a format option would have triggered my brain into knowing to try the correct (as it turns out) place the first time. Or it could have been

---
format:
  html:
    reference-location: margin
    citation-location: margin
---

for example.

I (personally) encounter this issue often with the otherwise excellent quarto documentation. As I said, I usually get there in the end. But, a little more context in the snippets would be very helpful throughout the documentation. Arguably, the snippet will never occur as it is shown in the documentation (I think this is true) because in any real document it would be indented at least 4(?) spaces because it would under a format option plus the specific document-format heading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDoc improvements & quarto-web

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions