I am using my own customized Hugo theme using W3 CSS. If you like my theme and would like to explore more, here’s a quick example of some Markdown text syntax and what it looks like when rendered to HTML.
Header H1
Header H2
Header H3
Header H4
Header H5
Header H6
Horizontal line
Emphasis
**This is bold text**
renders as This is bold text
__This is bold text__
renders as This is bold text
*This is italic text*
renders as This is italic text
_This is italic text_
renders as This is italic text
Strikethrough
Blockquotes
Blockquotes can also be nested…
…by using additional greater-than signs right next to each other…
…or with spaces between arrows.
Lists
Unordered
- Create a list by starting a line with
+
,-
, or*
- Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
- Ac tristique libero volutpat at
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Marker character change forces new list start:
Ordered
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- You can use sequential numbers…
- …or keep all the numbers as
1.
Start numbering with offset:
- foo
- bar
Code
Inline code
looks like this.
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code using “fences”
Sample text here...
Syntax highlighting
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
Tables
Option | Description |
---|---|
data | path to data files to supply the data that will be passed into templates. |
engine | engine to be used for processing templates. Handlebars is the default. |
ext | extension to be used for dest files. |
Right aligned columns
Option | Description |
---|---|
data | path to data files to supply the data that will be passed into templates. |
engine | engine to be used for processing templates. Handlebars is the default. |
ext | extension to be used for dest files. |
Links
Visit example.org
Images
Footnotes
Footnote 1 link 1.
Footnote 2 link 2.
Duplicated footnote reference 2.