Skip to content

Latest commit

 

History

History
102 lines (83 loc) · 2.78 KB

blogpost-template.md

File metadata and controls

102 lines (83 loc) · 2.78 KB

Hugo static generator items

TODO Chagne title, date and draft: False to be visible

TODO Chage content to your desired state


title: "My Post Title" date: 2021-09-07T10:37:43+02:00 draft: true

Blog template

A template for markdown blogs with GitHub pages

Markdown logo

Instructions for deploying this blog template

If you plan on using this on your website, just click "Use this template" or fork this repo.
I highly recommend dillinger markdown editor for editing markdown files. repl.it is also good.
This repo has gh-pages as it's default branch. This will automatically put your README.MD file (this file) on yourusername.github.io/blog.

Markdown syntax and examples

Contents

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Text styling

*ignore markdown characters*
Italic
Bold
Bold and italic

Block quotes

Intelligence is the ability to avoid doing work, yet getting the work done.
-Linus Torvalds

Superscript and subscript

Superscript demonstrated by Einstein famous Mass–energy equivalence

E=MC2

Subscript demonstrated by the equation for finding the Nth Fibonacci number recursively

Fn=Fn-1+Fn-2

Code blocks

Wow, code block

Multi-line code block  
In markdown, makes a haiku
Japanese poem

With JS syntax highlighting

function fib(n){
  if(n < 2) return n;
  return fib(n - 1) + fib(n - 2);
}

Tables

Note: Tables sometimes render incorrectly when bieng viewed in a browser. If you are having this issue, view this file here
Column Different column
Table thing one their called arguments
Row No, their called parameters
Cell Actually, their called cells.

Lists

  • Top list
    -Other thing
  • Top list 2
    1. Foo
    2. Bar
    3. Ack
  1. List item
  2. List item
  3. List item

(c) Kaz Malhotra 2019