Markdown - an easy markup language
Sadat Jubayer
April 10, 2021
• 2 min read
What is markdown?
Markdown is a lightweight markup language for creating formatted text using a plain-text editor.
It's like HTML (HyperText Markup Language) with some sugar. Using markdown, you can control the view of your document by formatting it, like -
- Format text as heading, bold, italic, blockquotes, etc.
- Insert links, images, tables, lists, code blocks, etc.
The extension of a markdown file is .md or .markdown
Headings
To format text as a heading, you have to use the # symbol. There are six types of heading in markdown.
The output of this -
Text formatting
Formatting text is effortless in markdown. There are multiple steps to format text.
The output of this -
Working with lists
Unordered and Ordered lists both have support on markdown. A list can contain nested lists also.
The output of this -
Link and Image
![GitHub Logo](https://images.unsplash.com/..)
[SadatJubayer](http://smjubayer.me)
The output of this -
Codeblocks
To write a code in markdown, you need three carets (_) in the starting and three carets (_
) in the end. You can write the language specifier after the first carets to get syntax highlighting of that language.
The output of this -
Resources
This article covers the basics of Markdown. I hope this will help you write markdown files quickly.