Follow Us

 

     Follow Us on Facebook  Follow Us on Twitter  Circle Us on Google+  Subscribe to RSS Feed  Get Updates Via Email

 

Markdown: The Basics

markdown

If you’re a geek, you may have heard of Markdown. What is it? Markdown is a format that you use to write text that can then be converted to valid HTML. The hallmark of Markdown is that it is easy to read and to write.

For more on Markdown, check out our look at two apps that support it natively, WriteMonkey for Windows, and nvALT for Mac.

 

 

Examples

The best way to understand Markdown is to look at some examples.

What you type in Markdown HTML output
_italic_ italic
__underline__ underline
[link text](http://example.com) link text
> This paragraph is indented (an indented paragraph)

 

These are some of the more basic examples. For full formatting instructions, check out the syntax guide of John Gruber, Apple fan and creator of Markdown.

 

Why Use Markdown?

Why should you use Markdown? A few reasons come to mind.

  • Markdown is clean and easy to read.
  • Markdown is actually sort of fun, at least compared to writing out HTML.
  • Valid HTML. I’ll take their word for it, but I’ve heard programmers say that blogging software and other editors can butcher HTML, and leave you with invalid HTML. Markdown gives you valid HTML.
  • Convenience: You can use it anywhere. While apps such as Live Writer (Windows) or MarsEdit (Mac) are pretty easy to use, and perform HTML formatting behind the scenes, you can use Markdown anywhere that you have a text editor. You can then copy that text over to a Markdown-ready machine or app, and you’ve got valid HTML.

 

How to Set Up Markdown

There are a few ways you can convert your Markdown text to HTML. One method involves installing a Python converter on your system. Easier yet is to install a text editor with Markdown support. Over the next two days, we’ll cover both a Windows option and a Mac option. If you’d rather not install anything on your system, you can try Gruber’s onlne tool, Dingus.

Any Markdown fans out there?

 

Related Posts

Twitter Digg Delicious Stumbleupon Technorati Facebook Email Clip to Evernote

About Evan Kline

Evan started 40Tech to write about tech from his perspective – that of the average 40-something tech geek. When not writing about tech, you might find him with his beautiful wife and baby girl, out on the ski slopes, or at his real-life job as a lawyer.

Trackbacks/Pingbacks

  1. nvALT: A Clever Notetaking App That Syncs With Simplenote (And Supports Markdown, Too) [Mac] | 40Tech - August 24, 2011

    [...] past couple of days we’ve talked about Markdown, a markup language that helps you easily output HTML without having to learn HTML. Yesterday, we [...]

  2. WriteMonkey: A Distraction-Free Writing Tool That Supports Markdown [Windows] | 40Tech - August 24, 2011

    [...] more on Markdown, check out our look at the basics of how it works. If you’re on a Mac, head on over to our look  at nvALT, a Mac app with Markdown [...]

  3. Yep, Geeks Love Markdown, But Why Should You Bother? | 40Tech - October 4, 2011

    [...] actually having to know even a lick of HTML. We joined the love fest ourselves recently, covering the basics, as well as looking at a Windows app and a Mac app that support Markdown. With the proliferation of [...]

Leave a Reply

CommentLuv badge