md2pdf is now also a library