i shall update this gist again properly with periodic revisions and remove any duplicate contents. Below i have added quick representation of most features if not all
syntax
\*literal asterisks\*
output
*literal asterisks*
syntax
\
\
\
Two blank lines above
<br/><br/><br/>
Two blank lines above
output
Two blank lines above
Two blank lines above
http://www.emoji-cheat-sheet.com/
https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md
syntax
:+1: :sparkles: :camel: :tada:
:rocket: :metal: :octocat:
output
👍 ✨ 🐫 🎉
🚀 🤘 ![]()
- To create a table with headers we need to use dashes to separate each header cell and use pipes to separate columns. The outer pipes are optional.
- We can use colons to align columns. By default Left align is used.
syntax
First Header | Second Header
-|-
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
<table>
<tr>
<th>First Header</th>
<th>Second Header</th>
</tr>
<tr>
<td>Content from cell 1</td>
<td>Content from cell 2</td>
</tr>
<tr>
<td>Content in the first column</td>
<td>Content in the second column</td>
</tr>
</table>
Default | Left align | Center align | Right align
-|:-|:-:|-:
9999999999 | 9999999999 | 9999999999 | 9999999999
999999999 | 999999999 | 999999999 | 999999999
99999999 | 99999999 | 99999999 | 99999999
9999999 | 9999999 | 9999999 | 9999999
output
| First Header | Second Header |
|---|---|
| Content from cell 1 | Content from cell 2 |
| Content in the first column | Content in the second column |
| First Header | Second Header |
|---|---|
| Content from cell 1 | Content from cell 2 |
| Content in the first column | Content in the second column |
| Default | Left align | Center align | Right align |
|---|---|---|---|
| 9999999999 | 9999999999 | 9999999999 | 9999999999 |
| 999999999 | 999999999 | 999999999 | 999999999 |
| 99999999 | 99999999 | 99999999 | 99999999 |
| 9999999 | 9999999 | 9999999 | 9999999 |
Using dashes and spaces to increase readability -
syntax
First | Second
-- | --
1 | 2
output
| First | Second |
|---|---|
| 1 | 2 |
Now lets display two tables side by side -
syntax
<table>
<tr>
<th>Heading 1</th>
<th>Heading 2</th>
</tr>
<tr>
<td>
A | B | C
-|-|-
1 | 2 | 3
</td>
<td>
A | B | C
-|-|-
1 | 2 | 3
</td>
</tr>
</table>
output
| Heading 1 | Heading 2 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Let’s create a table with multiple lines using the HTML <br/> tag.
syntax
A | B | C
-|-|-
1 | 2 | 3 <br/> 4 <br/> 5
A | B | C
-|-|-
1 | 2 | <ul><li>1</li><li>2</li></ul>
output
| A | B | C |
|---|---|---|
| 1 | 2 | 3 4 5 |
| A | B | C |
|---|---|---|
| 1 | 2 |
|
syntax
- [x] Finish my changes
- [ ] Push my commits to GitHub
output
- Finish my changes
- Push my commits to GitHub
syntax
You can make an unordered list by preceding one or more lines of text with - or *.
- George Washington
- John Adams
To order your list, precede each line with a number.
1. James Madison
1. James Monroe
output
- George Washington
- John Adams
- James Madison
- James Monroe
Nested Lists - You can create a nested list by indenting one or more list items below another item.
syntax
1. First list item
- First nested list item
- Second nested list item
output
- First list item
- First nested list item
- Second nested list item
- First nested list item
syntax
***
---
<hr/>
output
syntax
[GitHub Pages](https://pages.github.com/)
[GitHub Pages](https://pages.github.com/ "With a Title")

[](https://nodesource.com/products/nsolid)
[](https://travis-ci.org/joemccann/dillinger)
output
If you’re using the same link more the once, then using the reference style would be beneficial since you don’t have to write the link every time, and also, it’s easy to update the link. Moreover, you can use numbers for the reference text. Also, you can use the reference text as the link text.
https://daringfireball.net/projects/markdown/syntax#link
https://daringfireball.net/projects/markdown/syntax#img
syntax
[The-Ultimate-Markdown-Cheat-Sheet][reference text]
[The-Ultimate-Markdown-Cheat-Sheet][1]
[Markdown-Cheat-Sheet]
![Alt text][image-1]
[reference text]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet
[1]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet
[Markdown-Cheat-Sheet]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet
[image-1]: https://media.giphy.com/media/qLHzYjlA2FW8g/giphy.gif
output
The-Ultimate-Markdown-Cheat-Sheet
The-Ultimate-Markdown-Cheat-Sheet
A relative link is a link that is relative to the current file.
syntax
[Contribution guidelines for this project](docs/CONTRIBUTING.md)
[link to some file](../files/this.docx)
syntax
put your text inside backticks (`) to create single line code:
Hi there this is `single line code`
To format code or text into its own distinct block, use triple backticks (```):
```bash
git status
git add
```
```c++
// comment
#include<iostream>
using namespace std;
```
```diff
Unchanged Line
- Removed Line
+ Added Line
```
```css
.header { color: red; }
```
output
Hi there this is single line code
git status
git add// comment
#include<iostream>
using namespace std;Unchanged Line
- Removed Line
+ Added Line.header { color: red; }syntax
# H1
## H2
### H3
#### H4
##### H5
###### H6
syntax
__Bold__
**Bold**
_Italic_
*Italic*
___Bold-Italic___
***Bold-Italic***
<del>deleted</del>
~~This was mistaken text~~
<ins>inserted</ins>
a<sub>subscripted</sub>
a<sup>superscripted</sup>
<samp>Monospaced</samp>
<table><tr><td>Boxed</td></tr></table>
<kbd>button</kbd>
<code>highlight</code>
`highlight`
output
Bold
Bold
Italic
Italic
Bold-Italic
Bold-Italic
deleted
This was mistaken text
inserted
asubscripted
asuperscripted
Monospaced
| Boxed |
button
highlight
highlight
syntax
> The quick brown fox jumps over the lazy dog.
> The quick brown fox jumps over the lazy dog.
> The quick brown fox jumps over the lazy dog.
> The quick brown fox jumps over the lazy dog.
>> The quick brown fox jumps over the lazy dog.
>>> The quick brown fox jumps over the lazy dog.
> **The quick brown fox** *jumps over the lazy dog.*
<blockquote>hi there<br/>hi there</blockquote>
output
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
hi there
hi there
syntax
<p style="text-align: center;">
<img src="https://picsum.photos/100"/>
</p>
<p style="text-align: right;">
Hi there this is sample text
</p>
output
Hi there this is sample text
comments are not displayed.
syntax
<!--
Lorem ipsum dolor sit amet
-->
syntax
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
output
Details
Something small enough to escape casual notice.
works in comments, issue, prs.
syntax
`#00BFFF`
output
#00BFFF
img output
syntax
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
output
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
- https://docs.github.com/en/get-started/writing-on-github
- https://github.github.com/gfm/
- https://daringfireball.net/projects/markdown/syntax
See Autolinked references and URLs
See Mentioning people and teams
You can link directly to a section in a rendered file by hovering over the section heading to expose the link:
Then paste the link from browser into your markdown file -
[My Link](https://github.com/user/project#how-do-i-science)
To add bookmark for sections belonging to same markdown file see how-to-link-to-part-of-the-same-document-in-markdown
you can also refer easily in markdown while editing in vscode using intellisense



just trying it out
#00BFFFthanks for the tutorial!