Beginners Guide on How to write in Markdown.

Beginners Guide on How to write in Markdown.

Learn to write awesome readme.md

What is markdown?

Markdown is a markup language that is used to format text on the web. Markdown was created in 2004 by John Gruber and it is one of the most popular markup languages nowadays, as it is very easy to use, portable, platform-independent, and syntax is super simple to write.

You can use markdown for the website, GitHub(readme), Email, technical documentation, and more.

How to create your first Markdown files?

It’s super simple to create a markdown file just create a text file using the extension ‘.md’ or '.markdown' inside your Visual Studio Code or other code editor that you prefer. and your markdown file is ready to work on.

Markdown Cheat Sheet to write better readme for your GitHub.

Let’s go and look at some basic Markdown syntax.

Headings

Just like Html, we have headings from h1 to h6, and we write them using the # character in front of it. Let's have look at it.

# Heading one
## Heading two 
### Heading three
#### Heading four
##### Heading five
###### Heading six

Screenshot (63).png

Paragraph

To write a paragraph there is no syntax in Markdown, just write what you have to write. Let's have a look at it.

Screenshot (64).png

Text styles

Using markdown syntax, You can change text styles to bold, italic, strike-through, blockquotes. Let's have a look at it.

Text styling in Markdown.

**This is bold.**

__This is also bold.__

*This is italic.*

_This is also italic._

~~This is strike thorough.~~

>This is Blockquotes.

Screenshot (65).png

Lists In Markdown

You can also create lists in Markdown just like Html you can create an ordered list and an unordered list. Let's see how to do this.

Ordered list

1. one
2. two
3. three

unordered list

-   one
-   two
-   three

Screenshot (66).png

Lists In Markdown

You can also embed a link in Markdown just like Html. to embed a link you need to use the syntax:- [link name](link.com)

[read my article](https://developandchill.hashnode.dev/)

Screenshot (67).png

Images in Markdown

You can also add images in markdown, it's similar to the syntax of link just you need to add ! in front of it. Let's have a look at it.

Screenshot (68).png

Code block in Markdown

You can also write code inside markdown by using a single ` backtick for single line code and ``` for backtick for multiline codes. after the backtick you can name the programming language in which it's written it supports almost all the languages. let's see an example.

Screenshot (69).png

So, we discussed all the basics of markdown hope you enjoyed it. please if you wish to read more about Markdown you can visit markdownguide.org.

So, That's it hope you enjoyed and loved my article on markdown, please follow me and share my article. Thanks.

Did you find this article valuable?

Support B23R Blog's by becoming a sponsor. Any amount is appreciated!