Don’t take this cheat sheet serious. It’s created just for the purpose of maintaining this website. Since hugo relies on markdown files, I just created
one big markdown file that contains all elements I need. For my own convenience. If you like it, good. If you don’t, also good.
Now lets start with a footnote1.
Define by adding [^1] behind the word where you want the '1' added.
Then on the last row of your page add the note itself:
[^1]: Footnote text.
Here is another2 one.
# Introducing headers
## Header two
### Header three
Adding two spaces to the end of a line adds a <br> so that we create CR/LF.
This comes in handy sometimes. (otherwise it would have added this line next to the . of the previous line).
The quarterly results look great! (with four #)
- Revenue was off the chart.
- Profits were higher than ever.
Everything is going according to plan.
The accent grave (on the ~ key) can be used once for highlighted text
, or it can be used three times to indicate the start and end of a code block, as seen below:
bold text - italic text
**bold text**
*italic text*
[link to google](http://www.google.com)
[link to google](http://www.google.com "Not the best engine but it will do")
![alt text](image.jpg)
Tilde will strikethrough everything.
Tilde will ~strike~through everything.
- [x] task List
- [ ] done
term
: definition
Syntax | Description | test |
---|---|---|
Header | Title | stuff |
Para | Text | Blah |
| Syntax | Description | test |
| ------ | ----------- | ---- |
| Header | Title | stuff |
| Para | Text | Blah |
To add a rule, use - - - (without spaces) between two empty lines.
This will add a horizontal ruler as seen above.
This is the € sign.
This is the © sign.
This is the → sign.
This is the ™ sign.
This is the π sign.
This is the ° sign.
This is the € sign.
This is the © sign.
This is the → sign.
This is the ™ sign.
This is the π sign.
This is the ° sign.
There’s a thing called Hugo Shortcodes
that can be used to easily embed parts of other websites, such as youtube videos, music, and the likes.
A full explanation can be found here.
(remove first space to make this work:)
{ {< twitter user="SanDiegoZoo" id="1453110110599868418" >}}
{ {< youtube w7Ft2ymGmfc >}}
{ {< instagram CxOWiQNP2MO >}}