The following markdown input
- [ ] foo
- bar
- [ ] baz
is rendered with line breaks (by defaultHtmlRenderer), as can be seen in the following image:

In Github / Gitea, this would be rendered as:
This is due to list items with Loose ListSpacing being wrapped in a paragraph.
Possible solutions:
- Put the
<input type="checkbox"> inside the <p> (this is what Github does, and seems to be the obvious solution to me)
- Add
position: absolute and other styling foo to <input> (this is what Gitea does)
The following markdown input
is rendered with line breaks (by
defaultHtmlRenderer), as can be seen in the following image:In Github / Gitea, this would be rendered as:
foo
bar
baz
This is due to list items with
LooseListSpacingbeing wrapped in a paragraph.Possible solutions:
<input type="checkbox">inside the<p>(this is what Github does, and seems to be the obvious solution to me)position: absoluteand other styling foo to<input>(this is what Gitea does)