view source on Github

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

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 &copy; or &copy; 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:

rest in peace



a figure:

exhibit A



a tweet:


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'>&nbsp;{{- .Term -}}&nbsp;</a></span>  
 
   {{- end -}}

Lists

how about a list?

  • unordered lists can use
  • 1 of 3 different symbols
  • they are + * -

new list!

  1. Numbered lists use numbers
  2. But they don’t need to continue using numbers
  3. + * - or another number will do the trick
  4. 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