Building Blocks of Markdown

Image for post
Image for post
Photo by Estée Janssens on Unsplash

What is markdown?

Markdown is a lightweight markup language used to create rich text using a plain text editor. It is often used for formatting readme files and for creating static webpages using Jekyll. Some of its popular cousins form the markup family are HTML and XML.

Following table provides a quick overview of frequently used Markdown syntax elements. It does not cover every case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.

Image for post
Image for post

Now that we have reviewed some of the basic syntax elements, lets familiarize ourselves with some advance syntax elements.

Image for post
Image for post

Markdown also offers syntax highlighting for various programming languages when we specify a code block. Most of the time all we need to do is just mention the name of the programming language after the opening ```, like ```python. Following is a curated list of supported programming languages:

Image for post
Image for post

For a more complete list of languages, consider visiting Codebase.

Comments welcome!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store