Curvea

Data and Content

Markdown Reference

Curvea has a built-in Markdown renderer.

It supports a practical subset of Markdown.

Supported block syntax

Headings

# Heading 1
## Heading 2
### Heading 3

Headings receive generated id attributes.

Headings level 2 and deeper are added to the table of contents.

Paragraphs

Normal text becomes paragraphs.

Blockquotes

> This is a quote.

Unordered lists

- One
- Two
- Three

Also supports * and + markers.

Ordered lists

1. One
2. Two
3. Three

Code fences

console.log("Hello")

Code fences render as:

<pre><code class="language-js">...</code></pre>

Horizontal rules

---

Supported inline syntax

Inline code

Use `curvea build`.
[Curvea](https://example.com)

Images

![Alt text](/image.jpg)

Bold

**bold**
__bold__

Italic

*italic*
_italic_

Frontmatter support

Frontmatter supports simple scalar values and simple lists.

Supported scalar types:

  • strings
  • quoted strings
  • numbers
  • booleans

Example:

---
title: My Page
order: 1
draft: false
tags:
  - docs
  - engine
---

Unsupported frontmatter values

Inline arrays and objects are currently unsupported.

Invalid:

tags: [docs, engine]
meta: { title: Test }

Markdown limitations

The Markdown renderer is intentionally small.

It does not currently support every Markdown extension, such as:

  • tables
  • task lists
  • nested list parsing
  • MDX components
  • custom containers
  • footnotes