Markdown is a simple syntax that formats text as headings, lists, bold, etc. This markup language is popular and you probably have applications that support it. Here is a short example of what Markdown is and how and where you can use it.
What is markdown?
When you add bold, italic, numbered lists, bullets, headings, etc. to text, you are «formatting» it. Markdown is a syntax or set of rules that formats text on web pages.
Traditionally, people have used Hypertext Markup Language, better known as HTML, to format text on web pages. HTML is one of a family of markup languages, along with Extensible Markup Language (XML) and Standard Generalized Markup Language (SGML).
To format text with HTML, you place tags around the text. For example, if you want to highlight bold text, type « it’s some bold text b>«.
When your web browser «reads» a web page, it interprets the HTML tags and applies the appropriate formatting. When he sees it’s some bold text b>”, he understands that everything between the tags and b>should stand out in bold . The browser also hides tags ( and b>).
The HTML can be quite complex, with dozens and dozens of tags such as ,
- and many others. Computers have no problem reading them because they simply follow the syntax (the rules of HTML) and apply formatting appropriate for the tags.
However, tags make it harder for humans to read HTML and understand what text will look like after a computer renders it. It's not very "convenient" for people who don't have much reading experience.
RELATED: How to View HTML Source in Google Chrome
Markdown, on the other hand, is designed to "be as easy to read and write as possible". John Gruber and Aaron Schwartz explain why they created Markdown in 2004 and provide guidance on Gruber's syntax. website .
In short, Markdown simplifies text formatting for web pages because its tags are simpler than HTML and they are automatically converted to HTML. This means that you don't need to know HTML to write something for a web page because Markdown translates your tags into HTML for you.
It does not cover all possible HTML tags, but rather the most common formatting options.
How do you use markdown?
To use Markdown, you simply apply simple tags to your text. For example, to format text in italics, you underline it like this: _this is text in italics_.
Here are some other Markdown formatting examples from the Syntax Guide:
# This is H1
## This is H2
###### This is H6