quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.89k stars 321 forks source link

Epic: quarto.org Style Guide #9098

Open cwickham opened 7 months ago

cwickham commented 7 months ago

Are there smaller changes that we could make globally on the website that would make user’s lives easier?

There is a style guide (internally hosted on Confluence) for the docs for Posit's pro products. This could be referenced for most general matters. The style guide for quarto.org would focus on how we talk about Quarto, and conventions used in the source for quarto.org.

mcanouil commented 7 months ago

Do we include prompt characters e.g.> on R Console, or $ on Terminal

This would mess up the ability to copy code, so I would really avoid adding characters like that. I think the best is to use file name as done in some parts to state the context as you suggested.

Do we talk about .class or class?

That is a bit tricky. In fenced divs, it implies the use of the brackets. (I am personally in favour of always using brackets thus the dot syntax)

The tricky part is in classes for code cells, i.e., classes: firstClass .secondClass

cwickham commented 7 months ago

This would mess up the ability to copy code, so I would really avoid adding characters like that. I think the best is to use file name as done in some parts to state the context as you suggested.

I agree. But there are some examples on quarto.org that do include it.