So, what is Markdown?

Exclusive offer: get 50% off this eBook here
Instant Markdown [Instant]

Instant Markdown [Instant] — Save 50%

Learn how to efficiently manage your content and use different services with Markdown with this book and ebook

$12.99    $6.50
by Arturo Herrero | September 2013 | Web Development

This article written by Arturo Herrero, the author of the book Instant Markdown, gives a brief description of Markdown and its features.

(For more resources related to this topic, see here.)

Markdown is a lightweight markup language that simplifies the workflow of web writers. It was created in 2004 by John Gruber with contributions and feedback from Aaron Swartz.

Markdown was described by John Gruber as:

"A text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)."

Markdown is two different things:

  • A simple syntax to create documents in plain text
  • A software tool written in Perl that converts the plain text formatting to HTML

Markdown's formatting syntax was designed with simplicity and readability as a design goal. We add rich formatting to plain text without considering that we are writing using a markup language.

The main features of Markdown

Markdown is:

  • Easy to use: Markdown has an extremely simple syntax that you can learn quickly
  • Fast: Writing is much faster than with HTML, we can dramatically reduce the time we spend crafting HTML tags
  • Clean: We can clearly read and write documents that are always translated into HTML without mistakes or errors
  • Flexible: It is suitable for many things such as writing on the Internet, e-mails, creating presentations
  • Portable: Documents are just plain text; we can edit Markdown with any basic text editor in any operating system
  • Made for writers: Writers can focus on distraction-free writing

Here, we can see a quick comparison of the same document between HTML and Markdown. This is the final result that we achieve in both cases:

The following code is written in HTML:

<h1>Markdown</h1>
<p>This a <strong>simple</strong> example of Markdown.</p>
<h2>Features:</h2>
<ul>
<li>Simple</li>
<li>Fast</li>
<li>Portable</li>
</ul>
<p>Check the <a href="http://daringfireball.net/
projects/markdown/">official website</a>.</p>

The following code is an equivalent document written in Markdown:

# Markdown This a **simple** example of Markdown. ## Features: - Simple - Fast - Portable Check the [official website]. [official website]:http://daringfireball.net/projects/markdown/

summary

In this article, we learned the basics of Markdown and got to know its features. We also saw how convenient Markdown is, thus proving the fact that it's made for writers.

Resources for Article:


Further resources on this subject:


Instant Markdown [Instant] Learn how to efficiently manage your content and use different services with Markdown with this book and ebook
Published: August 2013
eBook Price: $12.99
See more
Select your format and quantity:

About the Author :


Arturo Herrero

Arturo Herrero is a Software Engineer interested and experienced in dynamic programming languages, mainly Ruby and Groovy. These days, he mostly works on web development and loves to create elegant software that is easy to read and that provides immediate and lasting value to its users.

Arturo is a frequent speaker at several software development events, such as the Agile Spain Conference, Greach, Codemotion, and local user groups. He currently lives in London, United Kingdom.

Books From Packt


Instant HTML5 Fonts and Typography [Instant]
Instant HTML5 Fonts and Typography [Instant]

Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Mastering TypoScript: TYPO3 Website, Template, and Extension Development

PHP 5 Social Networking
PHP 5 Social Networking

Building Online Communities with phpBB
Building Online Communities with phpBB

Building Websites with TYPO3
Building Websites with TYPO3

TYPO3 Templates
TYPO3 Templates

Expert PHP 5 Tools
Expert PHP 5 Tools

Mobile Web Development
Mobile Web Development


No votes yet

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Y
7
p
4
v
z
Enter the code without spaces and pay attention to upper/lower case.
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software