Description Usage Arguments Details Value See Also
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.
1 2 3 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.