ribbon_img {gitlink} | R Documentation |
Publicly available ribbon images began the "GitHub ribbon craze." This is a helper function that client-side retrieves these images. As a result, only certain colors are available. ribbon_css is usually preferred for many reasons.
ribbon_img(link, position = "right", color = "white")
get_color_lookup()
link |
The URL that the ribbon will link to |
position |
The position to place the ribbon in (either "left" or "right") |
color |
The color for the ribbon. One of get_color_lookup() |
NOTE that this creates a dependency on these image files, which are hosted publicly by GitHub on AWS.
HTML that can be injected into any HTML output