« 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/t/trackback/2362356/25122066

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

Comments

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

Post a comment

If you have a TypeKey or TypePad account, please Sign In

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

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!