blog

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

* Headings

* Text styling

* Block Quotes

* Superscript and Subscript

* Code blocks

* Tables

* Lists

* Strikethrough

Go to a blog post

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Text styling

Renders as

*ignore markdown characters*
Italic
Bold
Bold and italic

Source

\*ignore markdown characters\*  
*Italic*  
**Bold**  
**_Bold and italic_**  

Block quotes

Renders as

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

Source

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

Superscript and subscript

Renders as

Superscript demonstrated by Einstein’s famous Mass–energy equivalence

E=MC2

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

Fn=Fn-1+Fn-2

Source

##### Superscript demonstrated by Einstein famous Mass–energy equivalence
E=MC<sup>2</sup>  
##### Subscript demonstrated by the equation for finding the Nth Fibonacci number recursively
F<sub>n</sub>=F<sub>n-1</sub>+F<sub>n-2</sub>

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

Renders as

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 |they’re called arguments | | Row | No, they’re called parameters | | Cell| Actually, they're called cells. |

Source

| Column | Different column |
| ------ | ----------- |
| Table thing one  |*they're called arguments* |
| Row | **No, they're called parameters** |
| Cell| `Actually, they're called cells.` |

Lists

Renders as

  1. List item
  2. List item
  3. List item

Source

* Top list       
    *-Other thing*
* Top list 2 
    1. *Foo*
    2. *Bar*
    3. *Ack*


1. List item 
2. *List item*  
3. **_List item_**

- List item 1  
- List item 2  
- List item 3  

Renders as

Go to my website

Source

[Go to my website](https://kazmal.tech)

Strikethrough

Renders as

the earth is flat

Source

~~the earth is flat~~

The repo for this template
Go to my website
Go to the live version of this file

(c) Kaz Malhotra 2019