1. Using js-YAML.
2. Pagedown.Extra: autonewlines switched off.