Handling markdown parse errors and empty bodies.