ropensci-org / blog-guidance

rOpenSci Blog Guidelines for Authors and Editors (bookdown::git_book)
https://blogguide.ropensci.org/
9 stars 4 forks source link

Do we want to document the new table shortcode? #163

Closed maelle closed 3 years ago

maelle commented 3 years ago

Per @jeroen's suggestion to use Bootstrap styling for tables, I added a table shortcode to roweb3.

Example of use https://github.com/ropensci/roweb3/blob/master/content/blog/2020-05-19-covid-19-open-data/index.md#ropensci-data-access-packages Live https://ropensci.org/blog/2020/05/19/covid-19-open-data/

Bootstrap table docs https://getbootstrap.com/docs/4.0/content/tables/#examples

In the shortcode, you add the bootstrap table classes you want to use e.g. "table-striped", "table-dark", "table-bordered", "table-hover", "table-sm". The shortcode does not support adding options for the table header only.

maelle commented 3 years ago

https://github.com/ropensci/roweb3/pull/281