(This is still needed, even with recent base.) Partially resolves Issue #286 (though now there is a new markdown2pdf problem).