Hugo Cheat Sheet

Basic Syntax

These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.


start a paragraph with multiple #’s and then a space to denote different headings

# This is an example of heading type 1

## This is an example of heading type 2

### This is an example of heading type 3

#### This is an example of heading type 4

##### This is an example of heading type 5
###### This is an example of heading type 6

Bold

this is **bold** text –> this is bold text

Italic

this is *italic* text –> this is italic text

both bold and itallic

this is ***bold and italic*** text –> this is bold and italic text

Lists

Ordered List

start a line with numbers and a dot 1. first item they can all be the same number if you want the system will sort out the numbers

  1. First item
  2. Second item
  3. Third item

Unordered List

start a line with a - and a space - first item you can put a tab before to indent a second level

  • First item
  • Second item
    • Second level second item
  • Third item

Code

code blocks have no formatting `code`

code

Horizontal Rule

--- as the entire line draws a line across the page


[Markdown Guide](https://www.markdownguide.org)

Image

{{< img src=“filename.jpg” title=“text under the image” align=“center”>}}