-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bullet list/enumerated with :
in paragraph
#20
Comments
Please keep them coming! I think this is the same problem as #16, the parser gets confused with the |
So, I'm trying to fix this, and is being a little complicated, since definition lists don't have a character that indicates the start of the list (like a bullet in a normal list), but I'm experimenting with some solutions. But, if this is blocking you, you can comment this line Line 272 in 5d1fb39
term node.
|
I'm not particularly blocked by this, I would actually be happy to try to update |
Not sure if same thing but:
|
yeah, it's the same problem. |
Another addition to the same problem I suppose:
Italics in the first line will not be detected. From the playground:
|
Apologies, I know I've been opening many issues recently, and again I want to thank you for writing this.
It appears the sphinx/docutils parses this:
As bullet list, but tree-sitter-rst is unhappy and return an error node.
It does the same with enumerated lists, and it is sensitive to space before/after the
:
As found in the wild in
https://github.com/scipy/scipy/blob/9a657fb04b90c6efc4a8115ab2c1a360ea380f45/scipy/sparse/linalg/isolve/iterative.py#L452-L455
Rendered here
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.gmres.html
Again I'm unsure how critical this is, and I just want to report difference with other rst parsers. It might be that the fix needs to be in scipy source.
On a related note I tried w/o the leading bullet points as well, and this errors as well, though it might invalid rst syntax, i'm unsure.
The text was updated successfully, but these errors were encountered: