-
Notifications
You must be signed in to change notification settings - Fork 23
Allow block of comments #220
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
Conversation
53fa8f6
to
8d2a6a7
Compare
6a46bb9
to
03525ff
Compare
Cc @linawolf since you are involved a lot with this lib lately, please review |
I would suggest to also add a test for an empty comment, see https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#empty-comments |
03525ff
to
0f7f0c7
Compare
done |
I would add:
|
0f7f0c7
to
4d1a78e
Compare
I don't understand... your example actually is a comment: ..
I am a comment because of the indentation (that's why I'm colored in grey by GitHub)
I am not a comment: the "comment block" was ended because no indentation is used (and GitHub colors me in white) this case is covered by |
Have a look at https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#empty-comments
vs
|
4d1a78e
to
a4e1f90
Compare
sorry for the misunderstanding! I've updated |
Thanks @nikophil! |
Hello,
this PR refers to this problem in symfony's docs
symfony/symfony-docs#17627
the parser currently does not understand "comments blocks"
or "comments block with header"
see RST docs: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#comments