Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

GitHub Flavored Markdown preview bundle for TextMate.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Commands
Octocat-spinner-32 bin
Octocat-spinner-32 support
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 info.plist
README.md

GitHub Flavored Markdown Preview

Introduction

It turns out that most of the Markdown I produce these days is for GitHub READMEs or other GitHub-hosted documentation, comments and so on. I'm still having a hard time parting with TextMate. Yes, I've tried Sublime Text 2, and many other things -- I keep coming back to TextMate.

TextMate has always had a Markdown bundle, which includes a Markdown preview, HTML conversion, and other nice things. However, it's never been useful for GitHub Flavored Markdown. Like many of you, I've done the edit-commit-push-refresh-edit cycle over and over until I get my GFM pages looking how I want them ... or more likely, I give up and never really get them how I want them, and move on anyway.

Thanks to GitHub's API, and a few hours of hacking, this is all over. Bring on the sexy GFM READMEs!

Installation

The best way to install the Plugin is to clone it. TextMate 1.x bundles live in ~/Library/Application Support/TextMate/Bundles. To install quickly:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/claylo/gfm-preview.git "GitHub Flavored Markdown.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Screen Shot

Here's what the README for Monolog looks like.

Screenshot

Author

Clay Loveless - clay@php.net - http://twitter.com/claylo

License

The GitHub Flavored Markdown.tmbundle is licensed under the MIT license.

Acknowledgements

Thanks to the GitHub team for GitHub Flavored Markdown itself, as well as for granting permission to use the CSS in this bundle.

Thanks to MediaLoot for the Awake font.

Finally, thanks to Allen Odgaard for TextMate.

Something went wrong with that request. Please try again.