I tried to combine as many of my favourite ideas from these threads as possible, while keeping the result simple. Here's the result for now: -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/32ba2c95-f93b-4f87-8cba-0743d6fd2450%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.