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

In exported Jupyter Notebooks, how do I disable the ¶? #412

Closed
nfultz opened this issue Sep 16, 2016 · 4 comments
Closed

In exported Jupyter Notebooks, how do I disable the ¶? #412

nfultz opened this issue Sep 16, 2016 · 4 comments

Comments

@nfultz
Copy link

nfultz commented Sep 16, 2016

Following up from my SO question, is there a way to not put pilcrows on headers?

@takluyver
Copy link
Member

Hello again ;-)

This is currently not configurable, but it makes sense as a feature request.

@mpacer
Copy link
Member

mpacer commented Dec 6, 2016

This seems like it should be pretty easily possible using traitlets since they're intrinsically configurable, @Carreau, let's set a time for us to talk through traitlets again so I can try to implement this.

@johnmathews
Copy link

Hello all,
Just to say, I'd really like to see this feature added.

@nfultz
Copy link
Author

nfultz commented May 5, 2017

@johnmathews I was able to remove the pilcrows by patching the markdown renderer:

import mistune
import nbconvert
nbconvert.filters.markdown_mistune.IPythonRenderer.header = mistune.Renderer.header

However, this will break the table of contents extension.

This isn't something I feel comfortable shipping in the nb2mail plugin, though, so this ticket should remain open.

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

Successfully merging a pull request may close this issue.

4 participants