« Mac books, Mac authors, Mac World | Main | MacBook Air and Iterative Development »

January 14, 2008

Textile 2 PDF

Here’s a quick and easy way to generate a decent looking PDF from some simple Textile markup, using TextMate.

  1. First, just type up your content in TextMate, using Textile mode. You’ll get syntax highlighting, live spellcheck, all the usual goodies.
  2. Next, hit the hot key for Preview (Control-Option-Apple-P)
  3. From this window, just print to PDF.

Voilà.

You can always add images and perhaps some CSS to tart it up a bit if you like.

It’s light, it’s quick, it’s easy, and it’s plain text—so you can put it under version control with all the rest of your quick memos, project documentation, and such. Right?

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341cb04f53ef00e54ff29eff8834

Listed below are links to weblogs that reference Textile 2 PDF:

Comments

Great tip! I checked and this works with Markdown markup as well.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

About Me

  • Andy Hunt is co-founder of The Pragmatic Programmers, LLC, and is well known as a programmer, author, and publisher. His email signature, "/\ndy", dates back to the paleolithic days of uucp and ihnp4.

    See my home page.

    Subscribe
AddThis Social Bookmark Button

Twitter Updates

    follow me on Twitter

    Books I've authored

    Where I'm Speaking

    Are you a nerd?

    • I am nerdier than 96% of
all people. Are you nerdier? Click here to find out!