Home Link

Hello, my name is Brett Terpstra, and it’s nice to meet you. Elegant solutions to complex problems. Curious?

Archive for the ‘Code’ Category

Feb 14
2012

Inspired by a Twitter request this morning, I’ve updated the Markdown Service Tools to version 1.3.1 to include an experimental version of a new service: Unwrap Paragraphs.

Opposite from the “Preserve line breaks” service, this one will look for consecutive lines and merge them together into one paragraph. It handles hyphenated words and won’t mess up em/en dashes in…

Feb 11
2012

I updated the Markdown Service Tools today to include some recently-developed services and some revisions to existing services.

Notably, Force Line Breaks has become Preserve Line Breaks, a slightly more elegant service for getting github-style linebreaks in your documents. If you have a block of text with hard returns in it…

Feb 05
2012

I wrote something a couple of nights ago that I thought I’d share. I’m calling it “Gather,” and it’s basically an “appified” version of my Readability/Markdownify work. A Cocoa version of Marky the Markdownifier, if you will. You can paste in a URL and it will attempt to find the core text of the page, download it and turn it into Markdown for clean web clipping. It…

Feb 02
2012

Here’s a quick, simple AppleScript to help you hook Notational Velocity/nvALT into Address Book. I sometimes want to attach a note or list of links to an entry in my address book, but I don’t like using the notes field. I tend to keep all of my notes in nvALT, and I prefer not to scatter them too far. All I needed was a way to quickly create and link an nvALT note to each address…

Jan 31
2012

I’ve updated ScrivWatcher (a utility for previewing compiled Scrivener documents live in Marked) to 1.5. This version has better error handling and a progress bar showing compile progress. It’s still a droplet, you just drop onto the progress bar window instead of a drop pad, or drop a ‘.scriv’ file directly onto the icon.

Jan 26
2012

Note: The current (Lion-only) version of Marked in the Mac App Store has this functionality built in; this droplet is only useful for Marked users running on Snow Leopard.

I got the droplet for ScrivWatcher working, so you don’t need to run the script from the command line if you don’t want to. I made some further updates to the script, and the version on…

Jan 25
2012

BooneJS tweeted me a script yesterday that takes my original “scrivwatch” script and makes it handle full Scrivener documents. It scrapes the XML file to get the order of RTF files in the document, then used the original method to convert and concatenate all of it into a plain text file. If you write in Scrivener using Markdown, you get a file that Marked can preview as a rendered…

Entries (RSS) and Comments (RSS), or Subscribe by Email