swcarpentry/lesson-template — pull request #9 by aaren (2014-11-10 19:07:41+00:00)
Title: [WIP] pandoc filter to convert blockquotes to divs

This filter converts all blockquote-with-attributes to
div-with-attributes.

A blockquote-with-attributes is defined as a blockquote that has a
header with attributes defined on it as it's first element, e.g.

> # valid blockquote {.class #id}
> text

This example would be converted into this markdown:

# valid blockquote
text

And the equivalent html.

I've integrated this into the `Makefile`, so `make preview` should show you
what it does.

TODO:

- [ ] only allow attributes with one of the allowed classes