View source: R/github_labels.R
summarize_github_labels | R Documentation |
Creates an HTML formatted table or list to be included in the Carpentry handbook or other resources
summarize_github_labels(label_csv, format = "html", escape = FALSE, ...) document_github_labels(label_csv, out = NULL)
label_csv |
the path to a CSV file that describes the labels. It should
have the following columns: print_order, type, label, color, use_prefix,
description, long_description. The canonical version of this file lives
in The Carpentries repository's
(https://github.com/carpentries/handbook/) |
format |
format of the output table (passed to |
escape |
should the HTML be escaped (passed to |
... |
additional arguments to be passed to |
out |
path to file to write the HTML file documenting the labels |
summarize_github_labels
creates a table, while
document_github_labels
creates a list.
See create_github_labels()
for a description of the CSV file format
expected by this function.
An HTML formatted table that shows the type of label, its color and its description.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.