Markdown Features
Updated by local on October 20, 2018
Markdown Features
madea.blog supports GitHub Flavored Markdown with syntax highlighting, tables, and more.
Text Formatting
Bold text, italic text, and strikethrough are all supported.
Code
Inline code: const greeting = "Hello!";
Code blocks with syntax highlighting:
interface Article {
title: string;
content: string;
author: string;
}
async function fetchArticles(): Promise<Article[]> {
const response = await fetch('/api/articles');
return response.json();
}
def fibonacci(n: int) -> int:
if n <= 1:
return n
return fibonacci(n - 1) + fibonacci(n - 2)
Tables
| Feature | Supported |
|---|---|
| Tables | Yes |
| Task lists | Yes |
| Footnotes | Yes |
| Syntax highlighting | Yes |
| Auto-linking | Yes |
Lists
Unordered
- First item
- Second item
- Nested item
- Third item
Ordered
- Step one
- Step two
- Step three
Task Lists
- Write markdown
- Push to GitHub
- Profit
Blockquotes
"Simplicity is the ultimate sophistication." — Leonardo da Vinci
Links and Images
Images are automatically centered and styled:
Footnotes
Here's a reference to a footnote1.
Horizontal Rules
Use three dashes for a divider:
That's it! Write markdown, push to GitHub, and madea.blog handles the rest.
Footnotes
-
Footnotes appear at the bottom of the article. ↩