0% found this document useful (0 votes)
44 views6 pages

Markdown Cheat-Sheet - MD

markdown cheat sheet for quick references

Uploaded by

files.public95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views6 pages

Markdown Cheat-Sheet - MD

markdown cheat sheet for quick references

Uploaded by

files.public95
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MARKDOWN CHEAT-SHEET

1. Text Formating

Underlined :- Using <u>...</u> tag. <u>This is Underlined</u> . This is example Underlined


text.

Italic :- Single asteric. *This is Italic* This is example italic text.

Bold :- Double asteric. **This is Bold** This is example bold text.

Strike through :- Double ~ . ~~This is Bold~~ This is example strike through text.

Bold Italic | Bold Underline | Bold italic Underline | Italic Underline | Italic Strike through |
Bold Strike through | Bold Italic Strike through

2. Headings

# Heading One
## Heading Two
### Heading Three
#### Heading Four
##### Heading Five
##### Heading Six

Heading Two

Heading Three

Heading Four

Heading Five

Heading Six

3. Lists
**Ordered List** Created by numeric leading
1. First order list item
2. Another first order list item
1. Nested list item created by space indentation
2. Second order another item

**Unordered List** Created by */+ leading


* First unorder list item
* Another first unorder list item
+ Nested list item created by space indentation
+ Second order another item

Ordered List Created by numeric leading

1. First order list item


2. Another first order list item
i. Nested list item created by space indentation
ii. Second order another item

Unordered List Created by */+ leading

First unorder list item


Another first unorder list item
Nested list item created by space indentation
Second order another item

5. Links

+ URL automatically converts into link.


https://www.google.co.in

+ [Display text for link](path/or/url)

URL automatically converts into link. https://www.google.co.in


Display text for link

6. Images

![alt text](image/url/path)

+ If we write image inside <span> tag, it will create inline-image of original size.
<span> ![alt2](./Tag.png "1")</span> <span>![alt](./Tag.png "2")</span>

7. Code and Syntax Highlighting

+ **Inline-Code** use single backtick. `example inline code`

+ **Code block** use triple backtick followed by language name.

```langName/ext
... code boy ...

```

Inline-Code use single backtick. example inline code

Code block use triple backtick followed by language name.

const s = "JavaScript syntax highlighting";


alert(s);

8. Table

+ **Simple table** -- cell is created using three `dash` and seperating `pipe`.

|header one|header two|


|---|---|
|Data one|Data two|
+ `:` ***collon used to align data***.
* colon on both side make data center alinged.

|Left Aligned|Center Aligned|Right Aligned|


|:---|:---:|---:|
|1|2|3|

+ We can use `<br>` tag to break.


|header one|header two|
|---|---|
|Data 1|Data 2 <br> Data 2.1 <br> Data 2.2|

Simple table -- cell is created using three dash and seperating pipe .

Header One Header Two

Data one Data two

: collon used to align data.

colon on both side make data center alinged.


Left Aligned Center Aligned Right Aligned

1 2 3

We can use <br> tag to break.

Header One Header Two

Data 2
Data 1 Data 2.1
Data 2.2

9. Blockquotes

`>` **Greater than** sign is used to make blockquote.


A line break will seperate blockqotes intwo two.

> This is a blockquotes text body.

> Greater than sign is used to make blockquote. A line break will seperate blockqotes intwo
two.

This is a blockquotes text body.


10. Horizontal Rule & Line break

+ Three or more asteric makes horizontal line.


***

+ One `enter` line break, create a new line.


+ Two `enter`, creates new section/ paragraph.

Three or more asteric makes horizontal line.

One linebreak creates a newline. This is new line created by single line break.

This is a seperate paragraph created by two newlines.

11. CheckBoxes

- [ ] This is unchechecked check box.


- [x] This is checked check box.

This is unchechecked check box.


This is checked check box.

12. Custom Info-header Styling

Bold text inside span

12. Custom Column using table Styling

+ Wrap span tag, to apply any custom styling. Such as primary, secondary and tertiary co

+ To create note block use note class on div/span.

+ To highlight test use `***...***` notation.

<span>

|||
|---|---|
|Column One|Column Two|

</span>

Column One : testing text Column Two : testing text

+ This is a note text.

This is highlighted text

You might also like