According to the GFM spec (and per other implementations), a space
should be inserted after the checkbox input element. This gives visual
separation between the checkbox and its element. Update code and tests
to match.
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
This brings goldmark into compliance with Pandoc's markdown_github, and the rendering on GitHub itself:
[ ] Example.
Do let me know if there's an alternative way of adding this space that you'd prefer.
According to the GFM spec (and per other implementations), a space should be inserted after the checkbox input element. This gives visual separation between the checkbox and its element. Update code and tests to match.
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
This brings goldmark into compliance with Pandoc's
markdown_github
, and the rendering on GitHub itself:Do let me know if there's an alternative way of adding this space that you'd prefer.
This should help with
go-gitea/gitea#9656
.