June 25, 2024

Markdown is a lightweight markup language that converts plain text into HTML. It is primarily used for formatting readme files, writing messages in forums, or in text editors for note taking.

Basic Components of Markdown Formatting

Here are few basic components of markdown to include tables, titles, lists, and bullets.

1. Tables:

You can generate tables using pipes and dashes

| Column 1 | Column 2 | Column 3 |
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 | cell 6 |

2. Titles:

To add headers you use hash tags

# This is a H1
## This is a H2

3. Lists:

You can create an unordered list by prefixing list items with either *, +, or

– Item 1
– Item 2
– Item 3

You can create an ordered list by prefixing list items with a number

1. Item 1
2. Item 2
3. Item 3

4. Bullets:

To create bullets you can use asterisks, plus or hypens.

* Item 1
* Item 2
* Item 3

Frequently Asked Questions

Q: How do you create a hyperlink in Markdown?

A: You can create an inline link by wrapping link text in brackets ( [] ), and then wrapping the URL in parentheses ( () ).

Example: `[Google’s Homepage](http://www.google.com)`

Q: How do you emphasize or bold a text in Markdown?

A: For emphasis, you can use asterisk (*) or underscore (_) and it will get translated to . For strong emphasis, like bold text, you can use double asterisks or underscores.

Example: `*This text will be italic*` and `**This text will be bold**`

Q: How do you incorporate images in Markdown?

A: Images have a similar syntax to links but include a preceding exclamation mark.

Example: `![Image Alt Text](Image URL)`