Skip to content

Instantly share code, notes, and snippets.

@sorpdev
Forked from nikhilnayyar002/Github-Markdown.md
Created September 9, 2024 14:55
Show Gist options
  • Save sorpdev/ac1d9c435acceef77354be6582e578c1 to your computer and use it in GitHub Desktop.
Save sorpdev/ac1d9c435acceef77354be6582e578c1 to your computer and use it in GitHub Desktop.

Revisions

  1. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -518,8 +518,10 @@ works in comments, issue, prs.
    `#00BFFF`
    ```
    **output**

    `#00BFFF`

    **img output**

    ![image](https://user-images.githubusercontent.com/38173563/179364604-b378d9d8-c361-4035-a426-91d31cea6058.png)
    ****************************
  2. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -519,6 +519,7 @@ works in comments, issue, prs.
    ```
    **output**
    `#00BFFF`

    **img output**
    ![image](https://user-images.githubusercontent.com/38173563/179364604-b378d9d8-c361-4035-a426-91d31cea6058.png)
    ****************************
  3. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -519,4 +519,6 @@ works in comments, issue, prs.
    ```
    **output**
    `#00BFFF`
    **img output**
    ![image](https://user-images.githubusercontent.com/38173563/179364604-b378d9d8-c361-4035-a426-91d31cea6058.png)
    ****************************
  4. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -511,6 +511,8 @@ See [Optional Features](#optional-features)
    #### Optional Features
    ****************************
    ## Visualise Hex color code
    works in comments, issue, prs.

    **syntax**
    ```
    `#00BFFF`
  5. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -503,12 +503,12 @@ Lorem ipsum dolor sit amet
    **syntax**
    ```
    See [Optional Features](#optional-features)
    ## Optional Features
    #### Optional Features
    ```
    **output**

    See [Optional Features](#optional-features)
    ## Optional Features
    #### Optional Features
    ****************************
    ## Visualise Hex color code
    **syntax**
  6. @nikhilnayyar002 nikhilnayyar002 revised this gist Jul 16, 2022. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -503,10 +503,18 @@ Lorem ipsum dolor sit amet
    **syntax**
    ```
    See [Optional Features](#optional-features)
    ### Optional Features
    ## Optional Features
    ```
    **output**

    See [Optional Features](#optional-features)
    ## Optional Features
    ****************************
    ## Visualise Hex color code
    **syntax**
    ```
    `#00BFFF`
    ```
    **output**
    `#00BFFF`
    ****************************
  7. @nikhilnayyar002 nikhilnayyar002 revised this gist Oct 3, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -506,6 +506,7 @@ See [Optional Features](#optional-features)
    ### Optional Features
    ```
    **output**

    See [Optional Features](#optional-features)
    ## Optional Features
    ****************************
  8. @nikhilnayyar002 nikhilnayyar002 revised this gist Oct 3, 2021. 1 changed file with 0 additions and 76 deletions.
    76 changes: 0 additions & 76 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -503,85 +503,9 @@ Lorem ipsum dolor sit amet
    **syntax**
    ```
    See [Optional Features](#optional-features)
    aa
    ...
    ### Optional Features
    ```
    **output**
    See [Optional Features](#optional-features)
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa

    ## Optional Features
    aa
    ****************************
  9. @nikhilnayyar002 nikhilnayyar002 revised this gist Oct 3, 2021. 1 changed file with 86 additions and 0 deletions.
    86 changes: 86 additions & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -498,4 +498,90 @@ Lorem ipsum dolor sit amet
    Something small enough to escape casual notice.
    </details>

    ****************************
    ## Bookmarks ( jump to specific parts of a page)
    **syntax**
    ```
    See [Optional Features](#optional-features)
    aa
    ...
    ### Optional Features
    ```
    **output**
    See [Optional Features](#optional-features)
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa
    aa

    ## Optional Features
    aa
    ****************************
  10. @nikhilnayyar002 nikhilnayyar002 revised this gist Sep 16, 2021. 1 changed file with 17 additions and 2 deletions.
    19 changes: 17 additions & 2 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ## BACKSLASH ESCAPES
    ## Backslash Escapes
    https://daringfireball.net/projects/markdown/syntax#precode

    **syntax**
    @@ -27,7 +27,7 @@ Two blank lines above
    <br/><br/><br/>
    Two blank lines above
    ****************************
    ## EMOJI
    ## Emoji
    http://www.emoji-cheat-sheet.com/
    https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md

    @@ -483,4 +483,19 @@ is a good way
    Lorem ipsum dolor sit amet
    -->
    ```
    ****************************
    ## `<details>` html tag
    **syntax**
    ```
    <details>
    <summary>Details</summary>
    Something small enough to escape casual notice.
    </details>
    ```
    **output**
    <details>
    <summary>Details</summary>
    Something small enough to escape casual notice.
    </details>

    ****************************
  11. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [ ] Finish my changes
    - [x] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  12. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [x] Finish my changes
    - [ ] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  13. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [ ] Finish my changes
    - [x] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  14. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [x] Finish my changes
    - [ ] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  15. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [ ] Finish my changes
    - [x] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  16. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -182,7 +182,7 @@ If a task list item description begins with a parenthesis, you'll need to escape
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [x] Finish my changes
    - [ ] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

  17. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ https://daringfireball.net/projects/markdown/syntax#precode
    \
    \
    Two blank lines above
    <br/><br/>
    <br/><br/><br/>
    Two blank lines above
    ```
    **output**
  18. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -24,7 +24,7 @@ Two blank lines above
    \
    \
    Two blank lines above
    <br/><br/>
    <br/><br/><br/>
    Two blank lines above
    ****************************
    ## EMOJI
  19. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 4 additions and 12 deletions.
    16 changes: 4 additions & 12 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -14,25 +14,17 @@ https://daringfireball.net/projects/markdown/syntax#precode
    ```
    \
    \
    Two blank lines above<br/><br/>
    Two blank lines above
    &NewLine;
    &NewLine;
    \
    Two blank lines above
    &#10;
    &#10;
    <br/><br/>
    Two blank lines above
    ```
    **output**
    \
    \
    Two blank lines above<br/><br/>
    Two blank lines above
    &NewLine;
    &NewLine;
    \
    Two blank lines above
    &#10;
    &#10;
    <br/><br/>
    Two blank lines above
    ****************************
    ## EMOJI
  20. @nikhilnayyar002 nikhilnayyar002 revised this gist Jun 6, 2021. 1 changed file with 27 additions and 1 deletion.
    28 changes: 27 additions & 1 deletion Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,32 @@ https://daringfireball.net/projects/markdown/syntax#precode

    \*literal asterisks\*
    ****************************
    ## More than one new Line
    **syntax**
    ```
    \
    \
    Two blank lines above<br/><br/>
    Two blank lines above
    &NewLine;
    &NewLine;
    Two blank lines above
    &#10;
    &#10;
    Two blank lines above
    ```
    **output**
    \
    \
    Two blank lines above<br/><br/>
    Two blank lines above
    &NewLine;
    &NewLine;
    Two blank lines above
    &#10;
    &#10;
    Two blank lines above
    ****************************
    ## EMOJI
    http://www.emoji-cheat-sheet.com/
    https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md
    @@ -465,4 +491,4 @@ is a good way
    Lorem ipsum dolor sit amet
    -->
    ```
    ****************************
    ****************************
  21. @nikhilnayyar002 nikhilnayyar002 revised this gist May 23, 2021. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ GitHub supports emoji!
    ****************************
    ## How can I reference a commit, issue, PR etc in an issue comment on GitHub?
    [Autolinked references and URLs](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls)

    ****************************
    ## Username @mentions
    Mention person or team

    @@ -277,9 +277,6 @@ https://daringfireball.net/projects/markdown/syntax#img
    [1]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet "With a Title"
    [Markdown-Cheat-Sheet]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet
    [image-1]: https://media.giphy.com/media/qLHzYjlA2FW8g/giphy.gif
    ****************************


    ****************************
    ## Section links
    You can link directly to a section in a rendered file by hovering over the section heading to expose the link:
    @@ -468,4 +465,4 @@ is a good way
    Lorem ipsum dolor sit amet
    -->
    ```
    ****************************
    ****************************
  22. @nikhilnayyar002 nikhilnayyar002 revised this gist May 23, 2021. 1 changed file with 461 additions and 6 deletions.
    467 changes: 461 additions & 6 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,471 @@
    # Mardown
    ## BACKSLASH ESCAPES
    https://daringfireball.net/projects/markdown/syntax#precode

    Emphasis, aka italics, with *asterisks* or _underscores_.
    **syntax**
    ```
    \*literal asterisks\*
    ```
    **output**

    Strong emphasis, aka bold, with **asterisks** or __underscores__.
    \*literal asterisks\*
    ****************************
    ## EMOJI
    http://www.emoji-cheat-sheet.com/
    https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md

    Combined emphasis with **asterisks and _underscores_**.
    **syntax**
    ```
    :+1: :sparkles: :camel: :tada:
    :rocket: :metal: :octocat:
    GitHub supports emoji!
    ```
    **output**
    :+1: :sparkles: :camel: :tada:
    :rocket: :metal: :octocat:
    GitHub supports emoji!
    ****************************
    ## How can I reference a commit, issue, PR etc in an issue comment on GitHub?
    [Autolinked references and URLs](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls)

    Strikethrough uses two tildes. <del>Scratch this.</del>
    ## Username @mentions
    Mention person or team

    https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#mentioning-people-and-teams
    ****************************
    ## Tables
    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 any number of dashes and spaces to increase readability. We can use colons to align columns. For left-align text, use a colon to the left of dashes. For center-align text, use a colon on both sides of dashes. For right-align text, use a colon to the right of dashes. 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
    Now display two tables side by side.
    <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>
    Let’s create a table with multiple lines using the HTML <br/> tag.
    | A | B | C |
    |---|---|---|
    | 1 | 2 | 3 <br/> 4 <br/> 5 |
    ```
    **output**
    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

    Now display two tables side by side.

    <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>

    Let’s create a table with multiple lines using the HTML <br/> tag.

    | A | B | C |
    |---|---|---|
    | 1 | 2 | 3 <br/> 4 <br/> 5 |

    ****************************
    ## Task lists
    **syntax**
    ```
    - [x] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request
    If a task list item description begins with a parenthesis, you'll need to escape it with \:
    - [ ] \(Optional) Open a followup issue
    ```
    **output**
    - [x] Finish my changes
    - [ ] Push my commits to GitHub
    - [ ] Open a pull request

    - [ ] \(Optional) Open a followup issue
    ****************************
    ## Lists
    **syntax**
    ```
    You can make an unordered list by preceding one or more lines of text with - or *.
    - George Washington
    - John Adams
    - Thomas Jefferson
    To order your list, precede each line with a number.
    1. James Madison
    2. James Monroe
    3. John Quincy Adams
    ```
    **output**

    You can make an unordered list by preceding one or more lines of text with - or *.

    - George Washington
    - John Adams
    - Thomas Jefferson

    To order your list, precede each line with a number.

    1. James Madison
    2. James Monroe
    3. John Quincy Adams
    ****************************
    ## Nested Lists
    You can create a nested list by indenting one or more list items below another item.

    To create a nested list using the web editor on GitHub or a text editor that uses a monospaced font, like Atom, you can align your list visually. Type space characters in front of your nested list item, until the list marker character (- or *) lies directly below the first character of the text in the item above it.
    **syntax**
    ```
    In this example, you could add a nested list item under the list item 100. First list item by indenting the nested list item a minimum of five spaces, since there are five characters (100. ) before First list item.
    100. First list item
    - First nested list item
    You can create multiple levels of nested lists using the same method. For example, because the first nested list item has seven spaces (␣␣␣␣␣-␣) before the nested list content First nested list item, you would need to indent the second nested list item by seven spaces.
    100. First list item
    - First nested list item
    - Second nested list item
    ```
    **output**

    100. First list item
    - First nested list item
    - Second nested list item
    ****************************
    ## Horizontal rules
    **syntax**
    ```
    ***
    ---
    <hr/>
    ```
    **output**
    ***
    ****************************
    ## Links & images
    **syntax**
    ```
    [GitHub Pages](https://pages.github.com/)
    [GitHub Pages](https://pages.github.com/ "With a Title")
    ![image](https://nikhilnayyar.web.app/_assets/img/avatar.jpg)
    [![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)
    [![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)
    ```
    **output**
    [GitHub Pages](https://pages.github.com/)
    [GitHub Pages](https://pages.github.com/ "With a Title")
    ![image](https://nikhilnayyar.web.app/_assets/img/avatar.jpg)
    [![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)
    [![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)
    ****************************
    ## Reference-style links
    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][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 "With a Title"
    [Markdown-Cheat-Sheet]: https://github.com/lifeparticle/The-Ultimate-Markdown-Cheat-Sheet
    [image-1]: https://media.giphy.com/media/qLHzYjlA2FW8g/giphy.gif
    ****************************


    ****************************
    ## Section links
    You can link directly to a section in a rendered file by hovering over the section heading to expose the link:

    ![image](https://docs.github.com/assets/images/help/repository/readme-links.png)
    ****************************
    ## Relative links
    A relative link is a link that is relative to the current file. For example, if you have a README file in root of your repository, and you have another file in docs/CONTRIBUTING.md, the relative link to CONTRIBUTING.md in your README might look like this:
    ```
    [Contribution guidelines for this project](docs/CONTRIBUTING.md)
    ```
    GitHub will automatically transform your relative link or image path based on whatever branch you're currently on, so that the link or path always works. You can use all relative link operands, such as ./ and ../.
    ****************************
    ## Quoting code
    **syntax**
    <pre>
    Use `git status` to list all new or modified files that haven't yet been committed.

    To format code or text into its own distinct block, use triple backticks.
    ```
    git status
    git add
    git commit
    ```
    ```c++
    #include<iostream>
    using namespace std;
    ```
    ```diff
    Unchanged Line
    - Removed Line
    + Added Line
    ```
    ```
    ```scss
    .header {
    color: red;
    }
    </pre>
    **output**
    Use `git status` to list all new or modified files that haven't yet been committed.

    To format code or text into its own distinct block, use triple backticks.
    ```
    git status
    git add
    git commit
    ```
    ```c++
    #include<iostream>
    using namespace std;
    ```
    ```diff
    Unchanged Line
    - Removed Line
    + Added Line
    ```
    ```scss
    .header {
    color: red;
    }
    ```
    ****************************
    ## Headers
    **syntax**
    ```
    # H1
    ## H2
    ### H3
    #### H4
    ##### H5
    ###### H6
    ```
    **output**
    # H1
    ## H2
    ### H3
    #### H4
    ##### H5
    ###### H6
    ****************************
    ## Text
    **syntax**
    ```
    **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**
    *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`

    ****************************
    ## Block Quotes
    **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.
    > **The quick brown fox** *jumps over the lazy dog.*
    <blockquote>
    hi there<br/>
    is a good way
    </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.
    > **The quick brown fox** *jumps over the lazy dog.*
    <blockquote>
    hi there<br/>
    is a good way
    </blockquote>

    ****************************
    ## Allignments
    `<p align="center">` is used for alignment. Also note that images have border: `<img .. border="10"`.

    **syntax**
    ```
    <p align="center">
    <img src="https://images.unsplash.com/photo-1415604934674-561df9abf539?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2772&q=80" width="100" height="100" border="10"/>
    </p>
    <p align="right">
    <img src="https://images.unsplash.com/photo-1415604934674-561df9abf539?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2772&q=80" width="100" height="100" border="10"/>
    </p>
    ```
    **output**

    <p align="center">
    <img src="https://images.unsplash.com/photo-1415604934674-561df9abf539?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2772&q=80" width="100" height="100" border="10"/>
    </p>
    <p align="right">
    <img src="https://images.unsplash.com/photo-1415604934674-561df9abf539?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2772&q=80" width="100" height="100" border="10"/>
    </p>

    ****************************
    ## Comments
    **syntax**
    ```
    <!--
    Lorem ipsum dolor sit amet
    -->
    ```
    ****************************
  23. @nikhilnayyar002 nikhilnayyar002 created this gist May 23, 2021.
    16 changes: 16 additions & 0 deletions Github-Markdown.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # Mardown

    Emphasis, aka italics, with *asterisks* or _underscores_.

    Strong emphasis, aka bold, with **asterisks** or __underscores__.

    Combined emphasis with **asterisks and _underscores_**.

    Strikethrough uses two tildes. <del>Scratch this.</del>


    ```diff
    Unchanged Line
    - Removed Line
    + Added Line
    ```