Open Carreau opened 11 months ago
Feel free to close, I just wanted to just have a note of it – I think the current behavior is better.
Yeah, I have found several of things like this in the spec that docutils follows loosely. I'm not 100% sure about what to do here...
FYI, docutils seem to support not having a space (and emit a directive). Tree sitter make it a comment if there is no space.
The spec is unclear.
from the https://docutils.sourceforge.io/docs/ref/rst/directives.html
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#directives
Emphasis mine.