Markdown Features
Cambium uses the Markdown parser Marko with it's built-in GitHub flavoured markdown (GFM) extension in order to parse markdown documents and render them as HTML.
The following table shows a list of common Markdown features and their support in Cambium. It should be reasonably up to date with respect to the features currently available for use in Cambium. The list of unsupported features is naturally incomplete, but represents a rough approximation of the featureset Cambium may expand to cover.
| Feature | Supported via Marko? | Additional Cambium Features |
|---|---|---|
| Thematic breaks | ✅ | |
# (ATX) Headings |
✅ | Custom markup |
| Underlined (setext) headings | ✅ | Custom attributes |
| Indented code blocks | ✅ | |
| Fenced code blocks | ✅ | Custom attributes |
| HTML blocks | ✅ | |
| Named links | ✅ | |
| Paragraphs | ✅ | |
| Block quotes | ✅ | Custom attributes |
| Lists | ✅ | Custom attributes |
| Inline code spans | ✅ | |
| Italics and bold | ✅ | |
| Links | ✅ | Links to Markdown documents remain correct after HTML transformation. Previewer stages. Custom attributes. |
| Images | ✅ | Wrapped in special div. Custom attributes |
| Autolinks | ✅ | |
| Tables (GFM) | ✅ | Wrapped in special div, sorting JS, custom attributes |
| Task lists (GFM) | ✅ | |
| Strikethrough (GFM) | ✅ | |
| Expanded autolinks (GFM) | ✅ | |
| Colour pips (GitHub Extra) | ❌ | |
| Emojis (GitHub Extra) | ❌ | |
| Footnotes (GitHub Extra) | ❌ | |
| Alerts/callouts (GitHub Extra) | ✅ | |
| Diagrams (GitHub Extra) | ❌ | |
| LaTeX (GitHub Extra) | ❌ | |
| Definition lists (GitLab) | ❌ | |
| Frontmatter (GitLab) | ❌ |