MarkDown Language

Godson PrakasiaGodson Prakasia
2 min read

Markdown is a simple and easy-to-learn language

  • Headings To create a heading, use the "#" symbol followed by a space, and then type the text of the heading. The number of "#" symbols used indicates the level of the heading.

For example:

# This is a level 1 heading

## This is a level 2 heading

### This is a level 3 heading

  • Emphasis To make text bold, surround it with two asterisks ** or two underscores __. To make text italic, surround it with one asterisk * or one underscore _.

For example:

**This text is bold

__This text is also bold

\This text is italic T*

_his text is also italic

  • Lists To create an unordered list, start each line with a hyphen -, plus sign +, or asterisk *. To create an ordered list, start each line with a number followed by a period ..

For example:

- Item 1

- Item 2

- Item 3

1. Item 1

2. Item 2

3. Item 3

  • Links To create a link, surround the link text with square brackets [ ], and the link URL with parentheses ( ).

For example:

[Click here to visit Hashnode](https://hashnode.com)

  • Images To add an image, use the same format as a link, but include an exclamation mark ! before the opening square bracket.

For example:

![GitHub logo](https://github.githubassets.com/images/modules/logos_page/Octocat.png)

  • Code blocks To create a code block, use three backticks ``` before and after the code. You can also specify the language of the code to enable syntax highlighting.

For example:

```python print("Hello, world!")

  • Tables To create a table, use vertical bars | to separate columns, and hyphens - to separate the header row from the content.

These are just the basics of Markdown, but there's a lot more you can do with it. I hope this helps you get started!

0
Subscribe to my newsletter

Read articles from Godson Prakasia directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Godson Prakasia
Godson Prakasia