Literal block parsed as section title if ::
start at a new line
#27
Labels
bug
Something isn't working
::
start at a new line
#27
Hello again an apologies as usual for my weirds use case.
Note again that this is not a request to fix, but a case where tree-sitter-rst behaves differently than sphinx.
I'm actually happy for tree-sitter-rst to be stricter, but still want to document what I encounter.
Obviously for the human this a literal block... though, tree-sitter consider the
::
as an underline of "When usingdistutils
, for example insetup.py
" and make that a title.Well obviously I think that the
::
should be at the end of the line and/or have a blank line before. I'll send a PR to fix upstream, but want to let you know.The text was updated successfully, but these errors were encountered: