What is Markdown?
Markdown is a lightweight markup language for creating formatted text for the web. Its easy to implement and learn. Markdown is highly popular and you would have used it unknowingly. In WhatsApp, if you enclose a text with asterisk(*), it will be Bold formatted.
For Example:
*This is bold text*
Markdown has its own extension .md which can created using any editor.
Learning Markdown
Markdown has variants and there might be minor variations and discrepancies between Markdown processors but here are the most commonly used syntax.
Headings:
Symbols followed by Hash sign(#) are used as Headings.
Paragraphs:
Just type the words where you want your paragraph.
Line Breaks
Press 'return', you will create a newline.
Bold
Bold Text are wrapped with two asterisk(**)
Italics
Italicize Text are wrapped with one asterisk(*)
Both Bold and Italic
To have the text both Bold and Italics
Blockquote
To have quotes, use [>] in front of the line.
Code Block
To have a code block, enclose the code between three backticks[`].
Ordered List
For creating ordered list, add items with numbers followed by periods.
Unordered List
For creating unordered list, add items with dashes(-).
Blocks
Create blocks using four spaces or one tab.
Line
To add a line, use three dashes(---)
Links
Create Links by enclosing Link Text in square brackets[] then following it enclose the link in the parentheses().
Images
To add an image, add exclamation mark followed by alt text in square brackets[] and then the path of the image is added in parentheses().
Conclusion
If you are reading this, then Markdown interested you. I know there are many other features like WYSIWYG editors and stuff but Markdown is very simple and neat to implement. Takes 10 minutes to remember all these syntax, I love it !
Wanna Support!