Markdown crash course cum cheat-sheet
if you haven't heard about markdown, Markdown is a way to write content for the web. But you may ask, Krishna, isn't that HTML(Hyper Text Markup Language). Yes, indeed HTML is the standard markup language for Web pages. Lets breakdown all the jargons here.
Markup is a generic term for a language that describes a document's formatting for web applications. For example- HTML. But for layman, to write a simple beautiful hashnode article or Readme file, he/she would need to know its proper syntax, knowledge of tags, and couple of other things. Hence markdown comes into picture.
Markdown is a lightweight markup language for creating formatted text using a plain-text editor. Now-a-days, many websites/apps use variants of Markdown to facilitate discussion between users. Some of them are Github, Stack Exchange, Discord messages etc. Even this article is written using markdown. Its so simple and easy to learn. So lets dive into all the handful features of markdown.
For the sake of learning, let's create a readme markdown file. Open your VS code editor and create a file and name it readme.md.
- Syntax for Headings
- Syntax for bold, italic, underline, strikethrough
- Syntax for ordered and unordered list
- Syntax for inserting links & code snippets
- Syntax for inserting images
That's it folks. You may find many articles about inserting tables in markdown but that's too complex for a layman and remember, we came to markdown just to avoid complexity of markup. Cheers.