If you're willing to use python, panflute also exposes a run_pandoc option, 
that you can use in a filter to parse your markdown to an AST.
This should work if you're willing to go that route :)

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/47112b0a-d44a-40d5-8453-6628bbbc5720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.