The following page works as a quick visual demo of how we render common HTML elements using our stylesheet.
code
th | th2 |
---|---|
td | td 2 |
bold
underline
code
code block
Unordered List:
Ordered List:
When an ordered list has <p>
tags (in markdown, multiple linebreaks between items), it gets custom styles:
This is an ordered list with paragraph, useful for step-by-step instructions.
Testing out how this works.
diagram
shortcodeDiagrams from rr.red-dove.com/ui:
{{< diagram "join-type.svg" >}}
note
shortcode{{< note >}} This is a note. {{</ note >}}
tip
shortcode{{< tip >}} This is a tip. {{</ tip >}}
warning
shortcode{{< warning >}} This is a warning. {{</ warning >}}
private-preview
shortcode{{< private-preview >}} This is a private preview notice. {{</ private-preview >}}
public-preview
shortcode{{< public-preview >}} This is a public preview notice. {{</ public-preview >}}
cta
shortcode{{< cta href="/get-started" >}} This is a CTA button {{</ cta >}}
{{< cta href="/get-started" full_width="true" >}} This is a "full_width" CTA button {{</ cta >}}
callout
shortcodeUsed for prominent messages. Optionally can include a primary and secondary CTA button using primary_url
, primary_text
, secondary_url
, secondary_text
in shortcode params.
Primary Only: {{< callout primary_url="/get-started/" primary_text="Get Started" >}} # Header
Some text and the closing button is specified in the shortcode top. {{</ callout >}}
Primary and Secondary: {{< callout primary_url="/" primary_text="Primary" secondary_url="/" secondary_text="Secondary">}} # Header
This example has two buttons! {{</ callout >}}
linkbox
shortcodeUsed to render categorized lists of links, most helpful for "routing" pages like the homepage.
{{< linkbox icon="bulb" title="Linkbox One" >}}
multilinkbox
shortcodeGroup multiple linkboxes together to form a grid:
{{< multilinkbox >}} {{< linkbox icon="bulb" title="Linkbox One" >}}
tabs
shortcode{{< tabs >}} {{< tab "Tab 1">}} block1 Tab1 {{< /tab >}} {{< tab "Tab 2">}} block1 Tab2 {{< /tab >}} {{< /tabs >}}
{{< tabs >}} {{< tab "Tab 1">}} block2 Tab1 {{< /tab >}} {{< tab "Tab 2">}} Block2 Tab2 {{< /tab >}} {{< /tabs >}}