convert to markdown, remove superfluous