Fixed bug in markdown visualization