Markdown Cheat Sheet

Contents
Introduction
I’m a very pragmatic person and so I found that that’s the best place to keep my Cheat Sheet for markdowns.
This is a paragraph of regular text. It can contain bold, italic, strikethrough, and inline code. You can
also add links like this.
Code Blocks
Here’s some Python:
def greet(name: str) -> str:
return f"Hello, {name}!"
print(greet("Gaspar"))And some bash:
git push origin main
hugo server -DBlockquote
The best way to get started is to quit talking and begin doing. — Walt Disney
Lists
Unordered:
- Item one
- Item two
- Nested item
- Another nested item
- Item three
Ordered:
- First step
- Second step
- Third step
Table
| Tool | Purpose | Free |
|---|---|---|
| Hugo | Static site generator | ✅ |
| FixIt | Theme | ✅ |
| Cloudflare Pages | Hosting | ✅ |
| GitHub | Source control | ✅ |
Image
Admonition Shortcodes
Pro Tip
This is a tip admonition. Great for highlighting useful information.
Warning
This is a warning. Use it to flag potential issues.
Info
This is an info box. Perfect for side notes.
Pro Note
This is a tip admonition. Great for highlighting useful information.
Watch Danger
This is a warning. Use it to flag potential issues.
Success
This is an info box. Perfect for side notes.
Pro Question
This is a tip admonition. Great for highlighting useful information.
Quote
This is a warning. Use it to flag potential issues.
Bug
This is an info box. Perfect for side notes.
Example
This is a tip admonition. Great for highlighting useful information.
Abstract
This is a warning. Use it to flag potential issues.
Other options for admonitions:
tip, warning, info, note, danger, success, question, quote, bug, example, abstract
Mermaid Diagram
graph LR A[Write Post] --> B[Push to GitHub] B --> C[Cloudflare Builds] C --> D[Live on casadogaspar.pages.dev]
graph LR A[Write Post] --> B[Push to GitHub] B --> C[Cloudflare Builds] C --> D[Live on casadogaspar.pages.dev]
graph LR A[Write Post] --> B[Push to GitHub] B --> C[Cloudflare Builds] C --> D[Live on casadogaspar.pages.dev]
graph LR A[Write Post] --> B[Push to GitHub] B --> C[Cloudflare Builds] C --> D[Live on casadogaspar.pages.dev]
Conclusion
I need to put more tricks specific for Hugo here as they are pretty powerful. 🚀