Closed wooorm closed 3 years ago
Exhibit B (setext headings):
- [x] foo
-------
Note that checkboxes don’t work in setext headings
Exhibit C (turning off checkboxes):
- [x] foo
[x]: a
^-- look at that! Checked checkboxes no longer work.
It is interesting to me that there are a couple of things that only work at the start of some construct:
So it seems that there should be some hook for extensions to hook into
In GFM, phrasing, when inside a list item, can render a new construct at its start, namely a checkbox!
This gets interesting, because the phrasing can be preceded by definitions.
I’ll use separate comments because there is a way to turn off checked checkboxes! 🙄
Exhibit A (definitions):