Fix poor markdown parsing in documentation