adds support for html5 figure in markdown docs