Markdown for README.md in GitHub

Photo by RetroSupply on Unsplash

Markdown for README.md in GitHub

This article is about how to write markdown using markdown features of Hashnode😃😄😂🤣🤣

Headers

Markdown

# H1
## H2
### H3
#### H4
##### H5
###### H6

output

H1

H2

H3

H4

H5
H6

Emphasis

italics *something italic* or _underscores_

strong emphasis aka bold **double stars** or __double underscores__

Strikethrough uses two tildes ~~999~~ 899

highlighting `this highlights something better all the time`

output

italics something italic or underscores

strong emphasis aka bold double stars or double underscores

Strikethrough uses two tildes 999 899

highlighting this highlights something better all the time

Lists

ordered lists

1.item1
2.item2
3.item3

output

  1. item1
  2. item2
  3. item3

unordered lists

-item1
-item2
-item3
  • item1
  • item2
  • item3

Blockquote

output

>main blockquote
>>sub blockquote

main blockquote

sub blockquote

Links

[Google](https://www.google.com)

output

Google

Images

alt-text

Code and Syntax Highlighting

var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
No language indicated, so no syntax highlighting. 
But let's throw in a <b>tag</b>.

Tables

Colons can be used to align columns.

| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |

There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the 
raw Markdown line up prettily. You can also use inline Markdown.

Markdown | Less | Pretty
--- | --- | ---
*Still* | `renders` | **nicely**
1 | 2 | 3

output

TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

MarkdownLessPretty
Stillrendersnicely
123

thanks for reading till here

Â