EP1000

Markdown

Markdown is a plain text formatting system aimed at making writing for the Internet easier. Markdown allows you to write text documents which should be readable without tags interfering with the flow of reading.

Reasons why you should use Markdown

  1. It’s easy to learn and fast to use
    Without thinking, as you write plain text it is already in Markdown. Add a few rules and you have formatted text. If you prefer, you could ignore all these rules as well, and convey pure information only.
  2. Markdown converts to HTML easily.
    You also have the option of using HTML in your text whenever things get difficult to produce, but that seldom happens in text writing except for fancy formatting features.
  3. Markdown is future proof
    Markdown is plain text format. Using plain text ensures that the document can be read anywhere without special editors or file viewers. You are able to transfer the Markdown document to other formats. In fact, Markdown can be converted to a number of formats very easily (Ref: Pandoc).
    Markdown has its own extension (.md), however, you could use any extension (including .txt).
  4. Markdown is used everywhere
    Markdown is more commonly used than you think.Without thinking, Whatsapp and online forums use a format of Markdown, for example **bold** adds bold font to your writing. Other communication tools e.g. Skype, Slack, Facebook Messenger, Wikis uses a form of Markdown.
  5. You don’t have to use special software
    Almost every editor has a feature that allows you to save your work in “plain text”, hence you do not need to learn how to use a new software. Most writers choose a “pure text editor” for the increased speed, program size and availability.

Learning Markdown

Although it is not necessary to “learn” markdown, you can add a lot of features just by mastering a number of keystrokes, the most commonly used are

Here is an online demo

Here is a Cheatsheet!

Here are some very good (and quick) tutorials:

Markdown tools

Here are some tools that you can use to increase your productivity with Markdown. I have personally used most of them and list them in order of preference

Markdown and GitHub

In order to view Markdown in its full glory, we must first understand how it is rendered on webpages/Internet. Although Markdown is “text-like”, it’s full features have to be processed before being displayed. Here is a quick explanation.

Processing Markdown

  1. Markdown is stored in a pure text document (with the extension .md or .markdown) to distinguish it from pure text.)
  2. When a Markdown document is accessed from the web, a processor/program on the web-server, identifies (.md) and reads the document. It converts the document into HTML and attaches a CSS stylesheet.
  3. The HTML and CSS file is sent to the requester and displayed on the web browser.

Understanding the above process, allows us to

 

October 2020