Adapt snippet for exporting to octopress