Scratched an itch and built LaTeX2Markdown (
http://tullo.ch/projects/LaTeX2Markdown) - a LaTeX to Markdown converter designed for converting AMS-LaTeX documents to webpages.
Offers compatibility with AMS-LaTeX (theorems, lemmas, proofs, etc), and drop-in integration with a Markdown/MathJaX blogging environment. Pandoc can't cope with these environments, so it seemed useful to build something that did.
The usage model is effectively:
1) Write your mathematic documents (lecture notes, blog posts, exercise solutions) in LaTeX using the full AMS-LaTeX suite.
2) Convert to PDF, Markdown, or another format.
3) Use Markdown/MathJaX for blog, use PDF for distribution, etc.
Full source available at https://github.com/ajtulloch/LaTeX2Markdown.