Carve is a lightweight markup language with one syntax, one meaning, and the same HTML
from every implementation. This page shows the newest addition -
inline literals - alongside the convergence behaviours worth
knowing when you author Carve. Every sample below is rendered live through the
syntax converter profile.
A ! before a code span renders its contents as literal text with no code styling - perfect for showing Carve syntax without it being interpreted or monospaced.
Type !`*strong*` and !`/emphasis/` to show the raw delimiters, while `regular code` still gets a code box.
Type *strong* and /emphasis/ to show the raw delimiters, while regular code still gets a code box.
Carve recognises done, dropped and deferred task states in addition to the plain checkbox.
- [x] Ship the gallery
- [ ] Write the docs
- [-] Drop the old approach
- [>] Defer the polish
A bare dot is Carve’s preferred ordered-list marker. It stays aligned as numbering grows.
. First item
. Second item
. Third item
The |= marker defines a header cell directly, without a Markdown separator row.
|= Lang |= Status |
| PHP | ready |
| JS | ready |
| Lang | Status |
|---|---|
| PHP | ready |
| JS | ready |
Blank lines between items make a list loose: each item is wrapped in <p>, adding vertical rhythm. Without blank lines the list is tight and compact.
Tight:
- one
- two
- three
Loose:
- one
- two
- three
Tight:
Loose:
one
two
three
A term line starts with :: and each definition line starts with a colon and one space.
:: Carve
: A lightweight markup language for structured documents.
:: Renderer
: An engine that turns Carve source into HTML, text, Markdown, or ANSI.
Two hyphens become an en dash, three become an em dash, and three dots become an ellipsis. Straight quotes curl into typographic quotes.
Pages 10--20 cover it -- but the details --- all of them --- come later... She said "it just works" and I agreed.
Pages 10–20 cover it – but the details — all of them — come later… She said “it just works” and I agreed.
A reference like [^1] links to a definition collected into an endnotes section, with a back-link to where it was cited.
A backslash keeps a block marker literal when it appears at the start of a line.
This paragraph is real.
\#\#\# This stays literal
# This is a real heading
This paragraph is real.
### This stays literal