Problem Attic. Insert witty tagline here.

This is now an archive; you can find my current blog at http://problemattic.net/.

SubEthaEdit Markdown Preview

In

In lieu of a “Filter before Preview” option in SubEthaEdit, try the following as an AppleScript. It will open the front document in Safari after running Markdown (or Textile, or any similar filter) on it. Yes, it’s a bit of a hack, but it works, which is the main thing.


set command to "/usr/local/bin/Markdown.pl"

tell application "SubEthaEdit"
    set content to text of front document
    set doc to (name of front document) as text
    log doc
    do shell script "echo " & quoted form of content & 
        " | " & command & " > /tmp/" & quoted form of doc & ".html"
end tell

tell application "Safari"
    open ":tmp:" & doc & ".html"
end tell
Mon 9 Jan 06, 1:06 am Comments (2)

Requesting Aid

In

I have a couple of favours to ask of my local readers:

  • I need a garage or shed to store all my furniture for a couple of weeks, starting end of next week (14th Jan-3rd Feb).
  • I need someone with a towbar on their car to help me move Thursday or Friday next week. I’m happy to give you my car for the day, if you want to just swap.

If you can help out with either of those, IM me or email me at ‘matt’ at this domain. Cheers heaps!

Thanks, AJ’s friend Simeon, you’re awesome!

Sat 7 Jan 06, 3:31 pm Comments (0)

Blonde Joke

In

I’m not normally a fan of blonde jokes, but you really need to hear this one.

Tue 3 Jan 06, 5:21 pm Comments (3)

Back To Top