This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Macworld Markdown to HTML script | |
--by Jason Snell <jsnell@macworld.com> | |
--Markdown and SmartyPants by John Gruber <http://daringfireball.net/projects> | |
--Version 10: Added Euro support and forced Unicode for output file | |
--Version 11: Output now opens as new document in source window. | |
--Version 12: Makes sure the output document is set to source language of HTML | |
--Version 13: Support for [[jump]] tag | |
--Version 14: Rewrite iLife ‘09 style tags to proper ’09 style. | |
--Version 15: Support pound symbol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- By Rob Wells for the Morning Star | |
on open theStories | |
repeat with aStory in theStories | |
tell application "TextWrangler" | |
open aStory | |
tell text 1 of text window 1 | |
educate quotes with replacing target | |