Rewriting CommonMark Nodes in Perl
In the evening I found out how to rewrite nodes in an abstract syntax tree generated by the Perl CommonMark parser without ending up with corrupted nodes. Of course I had to blog about this: Rewriting CommonMark Nodes in Perl.
The code given will be used in an upcoming version of tumblelog to render images with a caption.