Skip to content
/ blog Public template

A template for markdown blogs with GitHub pages

License

Notifications You must be signed in to change notification settings

KazZBodnar/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

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 their called arguments
Row No, their called parameters
Cell Actually, their called cells.

Source

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

Lists

Renders as

  • 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

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  

Links

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

About

A template for markdown blogs with GitHub pages

Resources

License

Stars

Watchers

Forks

Packages

No packages published