Mastering Markdown
Introduction to Markdown
What is Markdown?
Markdown is a way to style text on the web. Think of it like a set of simple instructions you add to plain text to tell a computer how to display it. For example, you can use it to create bold text, bulleted lists, and headings.
It’s a lightweight markup language. “Markup” means you’re adding special symbols to your text to give it structure and formatting. “Lightweight” means the rules are simple and the symbols don’t clutter your writing.
The main goal of Markdown is to be as readable as possible. Even before it’s converted into a fancy webpage, the raw text you write in Markdown is clean and easy to understand. This is a big difference from other markup languages like HTML, which can look complicated with all its tags.
A Quick History
Markdown was created in 2004 by John Gruber, with help from Aaron Swartz. They wanted to create a writing format that felt natural for people who were used to writing in plain text, like in an email. The formatting cues were inspired by the simple conventions people already used to add emphasis or structure to their text messages and emails, such as using asterisks around a word to make it stand out.
Their idea was to let people write in a simple, readable format that could then be easily converted into HTML for displaying on websites. The philosophy was simple: writing for the web shouldn't require you to know complex code.
Why Use Markdown?
There are several big advantages to using Markdown for writing.
With Markdown, you can work in plain text to write articles that are easily readable by humans.
First, it's incredibly simple to learn. The syntax is small and intuitive. To make a word bold, you just wrap it in two asterisks. Compare that to the HTML equivalent:
Markdown: **bold text**
HTML: <strong>bold text</strong>
Second, it’s portable. Since Markdown files are just plain text, they can be opened and edited in any text editor on any computer or device. You’re not locked into a specific program or format.
Finally, it's widely supported. Many websites and applications use Markdown, including GitHub, Reddit, Trello, and many note-taking apps. Learning it once allows you to format your text across many different platforms.
Let's review the main ideas we've covered.
Ready to check your understanding?
What is the primary design philosophy behind Markdown?
Who created Markdown in 2004?
By focusing on simplicity and readability, Markdown provides a straightforward way to create well-formatted documents without the complexity of traditional web-authoring tools.
