I've been testing normalize-headings
with lint
.
This produces a warning about an extra space:
remark nh.md --use "normalize-headings" --use "lint"
This doesn't produce a warning about an extra space:
remark nh.md --use "lint" --use "normalize-headings"
I assume this is because normalize-headings
is not finished when lint
starts checking the markdown? I'm not sure what's causing this erroneous warning. The output looks correct.
I prefer to run normalize-headings
along with other remark plugins that normalize and modify markdown before checking everything over with lint
.
See attached example file.
nh.md.zip