Thu, 25 Mar 2004

Markdown As An OS X Service

Systemwide Markdown text filter functionality in OS X, howto.

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 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 to this directory. Make it executable with this command:

chmod 755

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:

rm filter

and recreate it, pointing to

ln -s filter

Tested under OS X 10.3.3.

:: 12:33
:: /tech/computers/os/osx/applications | [+]
::Comments (0)

The Magic Word:
Which planet is closest to the sun? (hint -- it's Mercury...)

Now that day wearies me,
My yearning desire
Will receive more kindly,
Like a tired child, the starry night.

Hands, leave off your deeds,
Mind, forget all thoughts;
All of my forces
Yearn only to sink into sleep.

And my soul, unguarded,
Would soar on widespread wings,
To live in night’s magical sphere
More profoundly, more variously.
— Hermann Hesse, “Going to Sleep”