Skip to content

Instantly share code, notes, and snippets.

@Prasanth-Shakti
Last active January 1, 2022 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Prasanth-Shakti/a913f019f2a24c42e98164b48bc3aa70 to your computer and use it in GitHub Desktop.
Save Prasanth-Shakti/a913f019f2a24c42e98164b48bc3aa70 to your computer and use it in GitHub Desktop.
Markdown Cheatsheet

Markdown Cheatsheet

Headings

# Heading level 1
## Heading level 2 
....

Paragraphs

I really like using Markdown.

Bold

I just love **bold text**.

Italic

Italicized text is the *cat's meow*.

Bold and Italic

This text is ***really important***.

Blockquotes

> Dorothy followed her through

Nested Blockquotes

> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep 

Blockquotes with Other Elements like unordered list

> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
>  *Everything* is going according to **plan**.

HTML:
<blockquote> .... </blockquote>

Code Blocks

Indented four spaces or one tab.

HTML:
<code> .... </code>

Images

![Tux, the Linux mascot](/assets/images/tux.png)

Links

My favorite search engine is [Duck Duck Go](https://duckduckgo.com).

Adding Titles

My favorite search engine is [Duck Duck Go](https://duckduckgo.com "The best search engine for privacy").

Horizontal Line

----------------------

table with multiple line in one data cell

| Format   | Tag example |
| -------- | ----------- |
| Headings | =heading1=<br>==heading2==<br>===heading3=== |
| New paragraph | A blank line starts a new paragraph |
| Source code block |  // all on one line<br> {{{ if (foo) bar else   baz }}} |

Reference: https://www.markdownguide.org/basic-syntax/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment