badblock: convert to markdown