Gust’s HumaneText.service has been updated to rev 3 and supports Markdown natively, so my hack is no longer necessary. I’m happy to report that it’s possible with fairly minimal
effort to get Markdown.pl to function as a service in OS X. This
makes Markdown functionality available inside of Cocoa
text fields, which means that everything from Safari to Mail to
SubEthaEdit to Stickies can benefit. First download Gust’s HumaneText service. By default, it’s configured to use PyTextile, but the package also includes ATX. Install it, then, using Terminal, navigate to Copy Markdown.pl to this directory. Make it executable with this
command: This is the directory that contains the text filters used by the
HumaneText service. The service chooses which filter to invoke by
means of a simple symlink. Delete the existing symlink: and recreate it, pointing to Markdown.pl Tested under OS X 10.3.3.
~/Library/Services/HumaneText.service/Contents/Resources
chmod 755 Markdown.pl
rm filter
ln -s Markdown.pl filter
:: Dave Walker 12:33 (EST/EDT) [+] ::
:: [/tech/computers/os/osx/applications]
:: tags: applications
:: Comments (2)
Comments:
Title: Markdown as an OS X Service
Date:
Very cool, going to have to check this out! From freeform goodness :: tech : computers : os : osx : applications : Markdown As An OS X Service : QUOTEI’m happy to report that it’s possible with fairly minimal...
Title:
Date:
He's updated it so that it pipes through Markdown and SmartyPants by default.
I never did it that way before.