markdown_features.md
August 27, 2025 ยท View on GitHub
mdts provides a rich Markdown reading experience by supporting the full CommonMark specification along with many popular extensions like GitHub Flavored Markdown (GFM) and additional enhancements for modern documentation.
โ CommonMark Features
All standard Markdown syntax is fully supported:
- Headings:
# H1through###### H6 - Paragraphs: Regular text blocks
- Emphasis:
- Bold:
**text**or__text__ - Italic:
*text*or_text_
- Bold:
- Blockquotes: Using
> - Lists:
- Ordered:
1. Item - Unordered:
- Itemor* Item
- Ordered:
- Code:
- Inline:
`code` - Block:
```lang
- Inline:
- Links:
[label](https://example.com) - Images:
 - Horizontal Rules:
---,***, or___
๐ Extended Features
๐ Tables
Render structured data in table format.
| Name | Age | City |
|----------|:---:|----------:|
| Alice | 30 | Tokyo |
| Bob | 25 | New York |
โ๏ธ Task Lists
Perfect for checklists and todos.
- [x] Write documentation
- [ ] Implement feature
๐ก GitHub Flavored Markdown (GFM)
mdts supports most GFM extensions, including:
- Autolinks: Bare URLs like
https://example.combecome clickable links - Strikethrough:
~~text~~renders astext - Tables & Task Lists: (as shown above)
We aim to maintain compatibility with widely adopted Markdown standards to ensure smooth reading, sharing, and collaboration across platforms.
๐จ Advanced Syntax Highlighting
Code blocks get professional syntax highlighting with customizable themes through the settings dialog.
```rust
fn main() {
println!("Hello, mdts!");
}
```
Choose from popular themes like Atom One Dark, GitHub, VS Code, and many more to match your preferred coding environment.
๐ Footnotes
Add footnotes for inline references.
Here is some text with a footnote[^1].
[^1]: This is the footnote text.
๐ Frontmatter
Add YAML metadata at the top of your Markdown files.
---
title: "Sample Doc"
author: "Jane Doe"
tags: ["mdts", "docs"]
---
๐งฑ Inline HTML
Directly embed raw HTML when needed.
This is <strong>bold</strong> using HTML.
๐ง Mermaid Diagrams
Visualize workflows and diagrams using Mermaid.js.
```mermaid
graph TD;
A[Start] --> B[Process];
B --> C{Decision};
C -->|Yes| D[End];
C -->|No| A;
```
๐ฏ PlantUML Diagrams
Create UML diagrams with PlantUML syntax for sequence diagrams, class diagrams, and more.
```plantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml
```
```puml
@startuml
class Car {
+String brand
+start()
+stop()
}
@enduml
```
Supports both plantuml and puml language identifiers. Diagrams are rendered using the official PlantUML server.
๐งฎ Math Formulas (KaTeX)
Render beautiful mathematical expressions using LaTeX syntax with KaTeX.
```math
L = \frac{1}{2} \rho v^2 S C_L
```
Inline math: $E = mc^2$
Both block-level and inline mathematical expressions are fully supported with professional rendering quality.
๐ข GitHub-Style Alerts
Create admonitions like notes, tips, and warnings.
> [!NOTE]
> This is a note.
> [!WARNING]
> This is a warning.