DoryDocs

Typography

Dory provides standard Markdown typography plus a few layout helpers for rich text pages.

Headings#

Markdown headings map to the display scale. Inline formatting covers emphasis, code, links, keys and highlights.

# ## ### ####

H1 · 48 / -0.035Heading 1
H2 · 34 / -0.03Heading 2
H3 · 22 / -0.02Heading 3
H4 · 18 / -0.01Heading 4

Bold, italic, inline code, a link, ⌘K, and a highlight.

Blockquotes hold asides and quotes.


Paragraphs#

Standard Markdown paragraphs are styled with consistent spacing.

This is a paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

This is a second paragraph, separated by a blank line.


Inline Code#

Use backticks for inline code. This is styled distinctly from surrounding text.

`code`

Use backticks for inline code.


Use standard Markdown link syntax for hyperlinks:

[link](url)


Horizontal Rule#

Use --- for a horizontal divider:

---


Line Break#

Use <br/> to insert explicit line breaks without starting a new paragraph:

<br/>

First line
Second line on a new line


Bold and Italic#

**bold** *italic*

Bold text and italic text and bold italic.


Row and Col#

Use <Row> and <Col> to create multi-column layouts for prose content:

<Row> <Col>

Left column content

This text appears on the left side.

Right column content

This text appears on the right side.

Row Props

PropTypeDefaultDescription
colsnumber1Number of columns in the grid.
classNamestring—Additional CSS classes.

Col Props

PropTypeDefaultDescription
stickybooleanfalseMakes the column sticky on large screens (xl:sticky top-24). Useful for code/example columns.
rowsnumber1Number of CSS grid rows this column spans.
gapnumber4Spacing between items inside the column.

Sticky Column Example

MDX

<Row>
  <Col>
    Long prose content that scrolls...
  </Col>
  <Col sticky>
    Code example that stays visible while scrolling.
  </Col>
</Row>

Was this page helpful?