This post shows every Markdown element this theme supports. Use it as a reference while writing, then delete it when you no longer need it.
Text#
A regular paragraph with bold text, italic text, inline code, and a link to another site. Long paragraphs are kept to a comfortable reading width on both phones and desktops.
Lists#
- Every post is a Markdown file
- One post = one folder
- images live in the same folder
- Push to GitHub and the site updates automatically
- Create a new folder in
content/notes/ - Write
index.id.md, plusindex.en.mdfor the English version - Commit and push
Quote#
This is a sample quote. Use it to highlight an important sentence or to quote another source.
Code#
Code blocks scroll sideways on small screens:
# create a new post (English version)
hugo new content notes/post-title/index.en.md
# run a local server at http://localhost:1313
hugo server --buildDraftspackage main
import "fmt"
func main() {
// print a greeting to the terminal
message := "Hello, World!"
fmt.Println(message)
}Table#
| Element | Markdown syntax |
|---|---|
| Bold | **text** |
| Italic | *text* |
| Link | [text](https://example.com) |
| Image |  |
Image#
View full sizeFootnotes#
Footnotes are supported too.1
That’s it. Delete this post when you no longer need it.
Like this one. Footnotes appear at the bottom of the post. ↩︎