margin directive not working
See original GitHub issueDescribe the problem
When I use the margin directive
```{margin}
some content
```
I would expect the content to appear on the side, but it appeares in the middle, just like normal content.
Here is a picture:
Link to your repository or website
https://github.com/AndreGismo/jupyter-book-test
Steps to reproduce
- Check the jupyter book documentation for nested blocks
- Try it on your own
The version of Python you’re using
3.7.10 (default, Feb 26 2021, 13:06:18) [MSC v.1916 64 bit (AMD64)]
Your operating system
Windows 10 Pro, Version 21H1
Versions of your packages
Jupyter Book: 0.10.1 MyST-NB: 0.12.3 Sphinx Book Theme: 0.0.41 MyST-Parser: 0.13.7 Jupyter-Cache: 0.4.2 NbClient: 0.5.3
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
HTML center content through margin auto not working
I though margin:auto would center everything. then I put the following into the child elements. div#team img#team_pic { width:704px; height:462px; margin- ...
Read more >ng-container - Angular
A special element that can hold structural directives without adding new elements to the DOM. See more... Descriptionlink. The <ng-container> allows us to ......
Read more >Spacing classes | Reference - BootstrapVue
Assign responsive-friendly margin or padding values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, ......
Read more >The ultimate guide to style content projection in Angular
Where is our margin style? It seems like the styles are not applied to our projected content. Yes, that's exactly what's happening here....
Read more >CSS Paged Media Module Level 3 - W3C
Each page-margin box has its own margin, border, padding and content areas. Page-margin boxes are typically used to display running headers and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I need to get my hands on a
windows
box.I typical use wsl if you’re at all familiar with that. It might be a good way to get the latest working for you. I really like working with WSL (particularly since WSL2) for programming work.
@mmcky thanks for your efforts!
Looks nice with the margin.
I have intentionally collapsed the LHS table of contents (because I wanted to create some space for a wider screen, in order to make the margin appear) - but unfortunately this measure didn’t make the margin appear
I think with windows and
python > 3.7
there is some issue (see Point 2. here), that’s why I have downgraded python from3.8
to3.7
Yes exactly:
Anaconda navigator 2.0.4
andconda 4.10.3
Hmm strange, sounds to me, like this is really something with my windows?