- https://sourceforge.net/p/hugo-generator/wiki/markdown_syntax/
- http://assemble.io/docs/Cheatsheet-Markdown.html
- https://www.webpagefx.com/tools/emoji-cheat-sheet/
Use the following more
html comment to manually create the “summary” block of content for the front page…
Headers
huge header
smaller header
header 1
header 2
header 3
header 4
header 5
header 6
Hyperlinks
https://osgav.run
https://osgav.run
text link
text link with hover text
Text formatting
italic
bold
bold italic
strikethrough
also strikethrough
italic text and *escaped asterisks*
bold text and <html> tags
© for a special entity, and ©
or © to escape a special entity
these are
blockquotes
these are still part of the same blockquotes , this line too and this
…
other text and linebreaks required to separate them
also, use<br />
for closer linebreaks
Embedding images, tweets, gists
a gist:
an image:
a figure:

exhibit A
a tweet:
Hugo 0.15 will have 30%+ faster render times thanks to this commit https://t.co/FfzhM8bNhT #gohugo #golang https://t.co/ITbMNU2BUf
— Steve Francia (@spf13) November 17, 2015
Code formatting
Standard
This is inline preformatted text
and…
This is a block of
preformatted text
using indentation
and…
This is a block of
preformatted text
using backticks
Highlighted
There is also code highlighting, hljs
provides the following…
$ grep -Ro -e 'registerLanguage("\w\{1,14\}"' .
./themes/casper/static/js/hljs8.4_highlight.min.js:registerLanguage("apache"
registerLanguage("bash"
registerLanguage("coffeescript"
registerLanguage("cpp"
registerLanguage("cs"
registerLanguage("css"
registerLanguage("diff"
registerLanguage("http"
registerLanguage("ini"
registerLanguage("java"
registerLanguage("javascript"
registerLanguage("json"
registerLanguage("makefile"
registerLanguage("xml"
registerLanguage("markdown"
registerLanguage("nginx"
registerLanguage("objectivec"
registerLanguage("perl"
registerLanguage("php"
registerLanguage("python"
registerLanguage("ruby"
registerLanguage("sql"
import os
print("hi")
with open("log.txt", "r") as log_handle:
log_content = log_handle.read()
status: 200
Date: Wed, 01 Aug 2018 20:50:43 GMT
Server: Apache/2.2.3 (SLES ES platform)
Strict-Transport-Security: max-age=15768000
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
diff --git a/themes/casper/layouts/partials/tagcloud.html b/themes/casper/layouts/partials/tagcloud.html
index b9c821d..c030de7 100644
-- a/themes/casper/layouts/partials/tagcloud.html
++ b/themes/casper/layouts/partials/tagcloud.html
@@ -18,7 +18,7 @@
{{- $sizeStep := ( $.Scratch.Get "sizeStep" ) -}}
{{- $size := ( add $minSize ( mul $sizeStep ( sub $count $minCount ) ) ) -}}
- <span style='font-size:{{ $size }}em; font-family:monospace; text-decoration: none;'>
+ <span style='line-height:0px; vertical-align:middle; font-size:{{ $size }}em; font-family:monospace; text-decoration: none;'>
<a class="tagcloudtag" href='{{ $.Data.Plural | relURL }}/{{ .Term | urlize }}.html'> {{- .Term -}} </a></span>
{{- end -}}
Lists
how about a list?
- unordered lists can use
- 1 of 3 different symbols
- they are + * -
new list!
- Numbered lists use numbers
- But they don’t need to continue using numbers
- + * - or another number will do the trick
- while keeping the numbering correct for you…
Tables
Tables can be done in markdown and you can also use HTML
tables:
First header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |