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

ENH: Encapsulate Markdown Cell in Sphinx directive #45

Closed
wants to merge 9 commits into from

Conversation

kmuehlbauer
Copy link
Contributor

@kmuehlbauer kmuehlbauer commented Apr 21, 2016

This is a first proof of concept to encapsulate markdown cells in sphinx-directives. I use this to add admonitions to the rendered doc and in the same time have a quite similar look within the notebook.

My knowledge of templates and doc stuff is quite mediocre, so please be kind. I'm also not sure if this is the right place, where I added the "plugin". Also the code might need a little shaping.

I added an example to the markdown-cells.ipynb notebook for showing one use case.

Hoping for suggestions and a fruitful discussion in #46 .

@kmuehlbauer
Copy link
Contributor Author

Still learning to keep the notebook metadata clean. I can rebase if this is considered for merge.

… conf.py for overall allowance , in notebook.metadata for notebook-wide allowance and in cell.metadata for the cell
@kmuehlbauer
Copy link
Contributor Author

using @mgeier's proposed changes in #47

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

Successfully merging this pull request may close these issues.

1 participant