2018-03-01 01:38:59 +00:00
|
|
|
+++
|
|
|
|
date = "2017-01-08"
|
|
|
|
title = "Theme Demo"
|
2019-01-07 15:26:43 +00:00
|
|
|
description = "The post demonstrates features of the coder theme."
|
|
|
|
images = ["/images/N90.jpg"]
|
2018-05-01 18:48:49 +00:00
|
|
|
math = "true"
|
2019-03-11 11:21:14 +00:00
|
|
|
series = ["Theme", "Hugo"]
|
2018-03-01 01:38:59 +00:00
|
|
|
+++
|
|
|
|
|
|
|
|
## Style Demo
|
|
|
|
|
|
|
|
# h1 Heading
|
|
|
|
## h2 Heading
|
|
|
|
### h3 Heading
|
|
|
|
#### h4 Heading
|
|
|
|
##### h5 Heading
|
|
|
|
###### h6 Heading
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**This is bold text**
|
|
|
|
|
|
|
|
__This is bold text__
|
|
|
|
|
|
|
|
*This is italic text*
|
|
|
|
|
|
|
|
_This is italic text_
|
|
|
|
|
|
|
|
~~Deleted text~~
|
|
|
|
|
2018-05-01 18:48:49 +00:00
|
|
|
This is text with inline math $\sum_{n=1}^{\infty} 2^{-n} = 1$ and with math blocks:
|
|
|
|
|
|
|
|
$$
|
|
|
|
\sum_{n=1}^{\infty} 2^{-n} = 1
|
|
|
|
$$
|
|
|
|
|
2018-05-01 18:33:59 +00:00
|
|
|
| Heading | Another heading |
|
|
|
|
| :----: | :-------------: |
|
|
|
|
| text | text |
|
|
|
|
| text | text |
|
|
|
|
| text | text |
|
|
|
|
|
2018-03-01 01:38:59 +00:00
|
|
|
> Block quotes are
|
|
|
|
> written like so.
|
|
|
|
>
|
|
|
|
> They can span multiple paragraphs,
|
|
|
|
> if you like.
|
|
|
|
|
|
|
|
Some text, and some `code` and then a nice plain [link with title](https://github.com/davidhampgonsalves/davidhampgonsalves.com-hugo "title text!").
|
|
|
|
|
|
|
|
and then
|
|
|
|
|
|
|
|
+ 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
|
|
|
|
+ Very easy!
|
|
|
|
|
|
|
|
vs.
|
|
|
|
|
|
|
|
1. Lorem ipsum dolor sit amet
|
|
|
|
2. Consectetur adipiscing elit
|
|
|
|
3. Integer molestie lorem at massa
|
|
|
|
|
|
|
|
## Code
|
|
|
|
|
|
|
|
Inline `code`
|
|
|
|
|
|
|
|
``` js
|
|
|
|
var foo = function (bar) {
|
|
|
|
return bar++;
|
|
|
|
};
|
|
|
|
|
|
|
|
console.log(foo(5));
|
|
|
|
```
|
2019-01-07 15:30:09 +00:00
|
|
|
|
|
|
|
## Hugo shortcode for figure
|
|
|
|
|
|
|
|
{{< figure src="/images/N90.jpg" caption="N90 nebula, \"New stars shed light on the past\" by ESA/Hubble" >}}
|