Markdown in Github

In this exercise, we will learn about various markdown syntax and its use.

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents.

Common Markdown Syntax Here are some common elements in Markdown and their syntax:

1. Emphasize text We can italicize the text by using the single asterisks (*) or single underscores (_) surrounding the target text. Just be sure to close an emphasis with the same character with which we opened it.
Here are several examples:

markdown

This is *italic* text.
This is also _italic_ text.
Markdown in GitHub

Create bold text by using two asterisks (**) or two underscores (__).

markdown

This is **bold** text.
This is also __bold__ text.
Markdown in GitHub

We can also mix different emphases.

markdown

_This is **italic and bold** text_ using a single underscore for italic and double asterisks for bold.
__This is bold and *italic* text__ using double underscores for bold and single asterisks for italic.
Markdown in GitHub
Markdown in GitHub

To use a literal asterisk, precede it with an escape character; in GFM, that's a backslash (\). This example results in the underscores and asterisks being shown in the output.

markdown

\_This is all \*\*plain\*\* text\_.
Markdown in GitHub

2. Declare headings HTML provides content headings, such as the <h1> tag. In Markdown, this is supported via the # symbol. Just use one # for each heading level from 1-6.

markdown

# H1
## H2
### H3
#### H4
##### H5
###### H6
Markdown in GitHub

3. Link to sites Inline links are created with square brackets [] for the text and parentheses () for the URL.

markdown

[Example](https://www.example.com)
Markdown in GitHub

4. Link to Images Images use the same syntax as links but with an exclamation mark ! at the beginning.

markdown

![Example](https://ashishcoder.com/courses/power-apps/media/model-driven-app-01.webp)
Markdown in GitHub

5. Make lists We can define ordered or unordered lists. We can also define nested items through indentation.
• Ordered lists start with numbers.
• Unordered lists can use asterisks or dashes (-).
Here's the Markdown for an ordered list:

markdown

1. First
1. Second
1. Third
Markdown in GitHub

Here's the Markdown for an unordered list:

markdown

- First
  - Nested
- Second
- Third 
Markdown in GitHub

6. Build tables We can construct tables using a combination of pipes (|) for column breaks and dashes (-) to designate the prior row as a header.

markdown

First|Second
-|-
1|2
3|4
Markdown in GitHub