---
title: 'Experiment: Send to nvALT links'
date: 2013-05-10 08:00
slug: experiment-send-to-nvalt-links
categories:
- Code
tags:
- experiments
- markdown
- marky
- nvalt
---

I was considering adding a feature to Jekyll that would let me provide ".txt" links that return Markdown versions of posts the way that [MacDrifter's Pelican install does](http://www.macdrifter.com/2013/05/the-road-to-pelican-32.txt) and I'm pretty sure [Gruber](http://daringfireball.net/) used to. I got bored with the idea of writing a generator for it, so I hacked a workaround that turned into something quite different from the original objective. That happens a lot.

![](https://brettterpstra.com/uploads/2013/05/nvaltlinks_tut.jpg)

If you look under the little gear icon in the upper right of this site, you'll now see an "Add to nvALT links" option. Clicking it will turn on "nvALT" links next to "[tweet : adn]" for every post, both on the index pages and on permalinks. Clicking this --- assuming you have [nvALT](/projects/nvalt) installed --- will use [Marky](http://markdownrules.com) to generate the Markdown version as an nvALT url that will execute itself automatically and... long story short, it adds a Markdownified version of the post straight to nvALT. 

You can, of course, just drag a url to the notes list and hold down Option to run Readability and Markdownify on any article, but I figured I'd make it really easy[^ithinkican]. I made it opt-in on my site, but there are some bookmarklets on the Marky website for doing it anywhere.

[^ithinkican]: It was more an "I think I can do that" hack than anything terribly useful (I don't really need to save my own articles to nvALT, most of them are already there). I once even built [my own web-based version](http://brettterpstra.com/reader/reader.php?u=brettterpstra.com/2013/05/04/most-popular-blog-posts-and-other-new-shiny-in-slogger/) of [Antique](http://brettterpstra.com/2010/06/17/antique-1-6-final-release/) for my own use... it's a disease.

It also highlights the fact that Marky can return JSON (with a JSONP wrapper if called with `callback=?`). This makes it usable in any web application, in addition to the [main website](http://markdownrules.com/) and its [command line tool](http://brettterpstra.com/2012/06/20/marky-the-markdownifier-reintroductions/) (see the API docs on one of the Marky pages). I know it still has some issues, especially with images within links, but it sure can come in handy.

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
