HUGO: Markdown
Source
# Heading level 1
* Does not turn up in the TOC
* https://gohugo.io/content-management/toc/
## Heading level 2
Text below heading level 2
### Heading level 3
Text below heading level 3
### Heading level 3
Text below heading level 3
## Font style
### Italic
This is *italic*
### Bold
This is **bold**
### Bold & italic
This is ***bold and italic***
### Underlined
This is _underlined_
### Strike-through
This is ~~strike-through text~~
## Quote
> This is a quote
> This is the 2nd line of a quote
## Table
Column | Column
------ | ------
Cell | Cell
Left aligned column | Centered column | Right aligned column
:------------------ | :-------------: | -------------------:
Left 1 | Center 1 | Right 1
Left 2 | Center 2 | Right 2
* Empty cell: Use the HTML entity nbsp
## List
### Unnumbered
* List
* List
* List
* List
* List
* List
### Numbered
1. List
1. List
1. List
1. List
1. List
1. List
## Line break
When a line ends with two spaces, a break will be inserted
Line 1
Line 2
Line 3
## Image
## Include image
![grafana-annotation-details-1](/images/projects/2021-07-osmand-tracks/grafana/40-annotation-range-details.png)
## Clickable image (zoom)
[![grafana-annotation-details-2](/images/projects/2021-07-osmand-tracks/grafana/40-annotation-range-details.png)](/images/projects/2021-07-osmand-tracks/grafana/40-annotation-range-details.png)
## Horizontal line
----
Output
Heading level 1
-
Does not turn up in the TOC
Heading level 2
Text below heading level 2
Heading level 3
Text below heading level 3
Heading level 3
Text below heading level 3
Font style
Italic
This is italic
Bold
This is bold
Bold & italic
This is bold and italic
Underlined
This is underlined
Strike-through
This is strike-through text
Quote
This is a quote
This is the 2nd line of a quote
Table
Column | Column |
---|---|
Cell | Cell |
Left aligned column | Centered column | Right aligned column |
---|---|---|
Left 1 | Center 1 | Right 1 |
Left 2 | Center 2 | Right 2 |
- Empty cell: Use the HTML entity nbsp
List
Unnumbered
- List
- List
- List
- List
- List
- List
Numbered
- List
- List
- List
- List
- List
- List
Line break
When a line ends with two spaces, a break will be inserted
Line 1
Line 2
Line 3
Image
Include image
Clickable image (zoom)
Horizontal line
Script or source
- Enclose snippet with two lines containing three backticks:
Script or source between two lines containing three backticks
References
- https://code.luasoftware.com/tutorials/hugo/how-to-create-link-with-target-blanks-in-hugo-markdown/
- https://riptutorial.com/markdown
- https://hugoloveit.com/basic-markdown-syntax/
- https://www.markdownguide.org/tools/hugo/
- https://discourse.gohugo.io/t/how-can-i-make-images-clickable-so-i-can-zoom-them-to-full-screen/34279