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

reStructuredText .. container:: directive is not working #29

Open
luator opened this issue Jan 20, 2022 · 0 comments
Open

reStructuredText .. container:: directive is not working #29

luator opened this issue Jan 20, 2022 · 0 comments

Comments

@luator
Copy link

luator commented Jan 20, 2022

I thought I could use the container directive for some customisation of the layout, but for some reason it has no effect.
I am not sure if this is a bug or if I am just missing something.

I am using the latest version of darkslide (installed through pip).

Minimal Example

Test
====

.. container:: foo

   Some content.

   In a container.

This line is not in the container anymore.

Expected Output

...
<section>
    <div class="foo">
        <p>Some content.</p>
        <p>In a container.</p>
    </div>
    <p>This line is not in the container anymore.</p>
</section>
...

Actual Output

...
<section>
    <p>Some content.</p>
    <p>In a container.</p>
    <p>This line is not in the container anymore.</p>
</section>
...
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

1 participant