DEV Community

Cover image for Basic Intro to Markdown or .md
Virendra Khorwal
Virendra Khorwal

Posted on

Basic Intro to Markdown or .md

Hey there 👋, I am back with another interesting topic. Markdown.

I will show you how to write markdown and where to write markdown.

What is Markdown?

According to www.markdownguide.org, it is a light weighted markup.
No need to remember this. It is basically a language or more precisely a markup language which use to document your code on github or sometimes people use it for their mathematical work.

The work we do with some word editor like ms-word or google docs, we can do with it.
And remember different editor preview markdown differently.

Where to write?

If you are fan of vs-code like me then, there is an extension for it so, there whatever you write you can preview it. Markdown Preview Enhanced
If you don't use vs-code, no worry that's not end of world. You can use StackEdit for online mode or Typora for offline use.

Basic Syntax of Markdown

For Heading

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Enter fullscreen mode Exit fullscreen mode

Heading

Paragraph

This is Paragraph
Enter fullscreen mode Exit fullscreen mode

Paragraph

Text Style

This is **Bold** text.
This is *italic* text.
This is ***italic bold*** text.
Enter fullscreen mode Exit fullscreen mode

Text Style

Line

***
---
___
Enter fullscreen mode Exit fullscreen mode

Line

Blockquotes

> Block Quotes
> > Nested Block Quote
> >> Another Nested Block Quote
Enter fullscreen mode Exit fullscreen mode

Blockquotes

For Images

![Alt Text](Place image link here)
Enter fullscreen mode Exit fullscreen mode

For code

Code

I will post another blog related to markdown or part 2 of this like Lists, Link, Email, Reference link and more. Till then stay tuned and share your work on comments. Ask me any doubts related to this blog.

Discussion (0)