SubEthaEdit Markdown Preview
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