grafana/writers-toolkit

Determine if a table section is needed in the toolkit

imatwawana opened this issue · 4 comments

Tables have come up in the style roundtable and the perception is that we need a table section. We should check first if Google's developer guide covers the guidance we need.

https://developers.google.com/style/tables

One thing I spotted is that we should discourage the use of <br> elements and instead use <p> elements to have paragraphs in our tables which makes sense.

In https://developers.google.com/style/ui-elements, they use the same formatting rules within the table cells as outside. Namely, that bold is used to highlight UI elements.

https://github.com/grafana/writers-toolkit/pull/772/files#diff-dce4785db28c782d8c85d67948ddaed3a01acc26b986f31c08fc02e666f9294fR296 makes sense because it can be confusing visually (Is it a table heading or a UI element). I don't think Markdown helps us here because I don't see how it would allow us to inform Hugo to markup a column as a heading column.