{% extends "./layouts/base.html" %} {% block body %}
Quick reference for text styles, colors, and CSS components used throughout the theme.
This is a standard paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
This is a lead paragraph - larger for introductions.
This is small text for fine print and disclaimers.
Bold text •
Italic text •
Underlined •
Highlighted •
Strikethrough •
inline code
This is a standard link in text.
{% end_module_attribute %} {% end_dnd_module %} {% end_dnd_section %} {# Lists #} {% dnd_section padding={ "top": 40, "bottom": 40, "left": 20, "right": 20 }, max_width=900 %} {% dnd_column width=12 %} {% dnd_row %} {% dnd_module "list_unordered" path="@hubspot/rich_text", label="Unordered List", width=6 %} {% module_attribute "html" %}{% end_module_attribute %} {% end_dnd_module %} {% end_dnd_section %} {# Code #} {% dnd_section padding={ "top": 40, "bottom": 40, "left": 20, "right": 20 }, max_width=900 %} {% dnd_module "code" path="@hubspot/rich_text", label="Code Blocks" %} {% module_attribute "html" %}"This is a standard blockquote. Use for testimonials or to highlight important information."
Inline: const value = "example";
// Code block
function example() {
return "Hello, World!";
}
{% end_module_attribute %}
{% end_dnd_module %}
{% end_dnd_section %}
{# Tables #}
{% dnd_section
padding={ "top": 40, "bottom": 40, "left": 20, "right": 20 },
max_width=900
%}
{% dnd_module "tables"
path="@hubspot/rich_text",
label="Tables"
%}
{% module_attribute "html" %}
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Apply these CSS classes to links or buttons:
Use <details> and <summary> in any rich text:
This content is hidden by default and revealed when clicked. No JavaScript required!
Add the open attribute to have it expanded initially.