Properly handle markdown