Skip to content
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

Code blocks part of a list item are not parsed #142

Closed
fabpot opened this issue Mar 20, 2021 · 4 comments
Closed

Code blocks part of a list item are not parsed #142

fabpot opened this issue Mar 20, 2021 · 4 comments

Comments

@fabpot
Copy link
Member

fabpot commented Mar 20, 2021

Consider the following RST snippet:

* Item 1:

  .. code-block:: php

    <?php echo $var ?>

The code block is not parsed and considered as text.

@greg0ire
Copy link
Member

Hi! I think @wouterj plans to work on this: #138 (comment)

@wouterj
Copy link
Collaborator

wouterj commented Mar 20, 2021

Yes, I'm working on parsing lists just like directives and definitions lists (i.e. parsing the contents as subcontents).

However, lists are currently parsed in a really difficult method, so it takes some rewriting 😓 (and I didn't have much time this week).

@wouterj wouterj mentioned this issue Mar 26, 2021
3 tasks
@wouterj
Copy link
Collaborator

wouterj commented Apr 5, 2021

This can be closed as #143 is merged.

@greg0ire greg0ire closed this as completed Apr 6, 2021
@fabpot
Copy link
Member Author

fabpot commented Apr 6, 2021

It works great! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants