fix #1606 broken markdown snippets