-
Notifications
You must be signed in to change notification settings - Fork 201
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
Extract margin directive to separate repository #327
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
The main challenge is that it'd conflict with the elements on another theme, and is kind of context dependent. Eg, how would you deal with the overlap between the margin and the in-page TOC? |
The Python code seems to have nothing specific to this theme, besides adding the Obviously, like any directive, I'd have to style it myself, using the CSS in: https://github.com/executablebooks/sphinx-book-theme/blob/d34858003df2c582e91f9528efade676e1cc434f/src/scss/_page.scss |
But, yeah, without the CSS, I guess it is basically the same as the |
Ah interesting - we certainly could just add a super lightweight python package that added a margin directive. Would that help? Or maybe it'd be easier just to add your own margin directive? |
I'm going to try out the plain |
I'm using the PyData theme, but it would be nice to be able to use the margin directive. Would it be possible to extract it?
The text was updated successfully, but these errors were encountered: