Posts tagged ‘markdown’

Affiliate links via the iTunes Search API

I started writing these scripts a couple of weeks ago, and they weren’t supposed to take very long to put together. But I had to learn some things along the way, and then I got caught up in the statusbar cleaning scripts, so they kept getting delayed. Better late than never, though; I expect to…


The Markdown book and a bit of history

The day before I left on vacation, I got an email from David Sparks with a link to the PDF of the Markdown book he and Eddie Smith wrote. The freebie was nice, but even nicer was that David remembered that I don’t have an iPad and couldn’t use the iBooks version.1 No wonder everybody…


Markdown table scripts for BBEdit

The more you customize your editor, the harder it is to switch to another one. This is one of the reasons it took me so long to make the move away from TextMate; in six years of use, I’d accumulated a passel of commands, snippets, and specialty language definitions. The only thing more daunting than…


Photos and links in Markdown

I write my reports for work in Markdown and convert them into PDFs through a combination of MultiMarkdown, LaTeX, and some homemade scripts. I described the conversion process in a post last year. Today I’ll describe a new script that helps me do the writing itself in BBEdit. The format of a typical report looks…


Tidying Markdown reference links

Oscar Wilde—who would have been great on Twitter—said “I couldn’t help it. I can resist everything except temptation.” That’s my excuse for this post. Several days ago I got an email from a reader, asking if I knew of a script that would tidy up Markdown reference links in a document. She wanted them reordered…


Markdown reference links screencast

I made a short screencast of me using the Markdown reference link scripts I’ve shown in the last two posts. There’s no sound; the narration is typed on screen. A few notes: I show myself choosing the commands from the BBEdit scripts menu, but I always use the keyboard shortcuts when I’m actually writing. Similarly,…


More Markdown reference links in BBEdit

My last post described a set of scripts I use to add new reference links to a Markdown document in BBEdit. This one will show the scripts I use to reference links that are already in the document. There are two situations in which I need to reference a link that’s already in the file…


Markdown reference links in BBEdit

Markdown has two link styles: inline and reference. Inline links look like this: This is [an inline link](http://daringfireball.net/projects/markdown/syntax#link). where the link text in brackets is immediately followed by the URL in parentheses. Reference links look like this: This is [a reference link][ref]. Note how the URL does not directly follow the link text but is…


A little report formatting script

Late last year, in the last post of a rather drawn-out series on how my text editing habits have evolved over the years, I described my current workflow for writing reports for work. That post has the details, but the gist of it is Write the report in Markdown. Filter the Markdown file through a…


Markdown reference links from Safari tabs

There is absolutely nothing original in this post. The idea for grabbing all the open browser tabs and turning them into Markdown reference links is stolen directly from the Tabs to References command in Brett Terpstra’s Blogsmith Bundle. I don’t use Blogsmith because over the years I’ve developed my own idiosyncratic set of blogging commands,…