-
Notifications
You must be signed in to change notification settings - Fork 95
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
A plugin to hide the input cells #298
base: master
Are you sure you want to change the base?
Conversation
Isn't this the same as adding that CSS in conf.py? |
I wasn't aware that there was a method to add CSS in conf.py. The documentation indicated that the way to insert css snippets common across all themes was to use site.template_hoooks['extra_head']. So tried this approach, so that the same will work on all themes. I am trying to create multiple sites using Nikola. Will be nice if I can just enable this functionality using |
@@ -0,0 +1,20 @@ | |||
from __future__ import unicode_literals |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We recommend adding a license snippet to all plugins.
""" | ||
<!--Code inserted by HideInputCells --> | ||
<style type="text/css"> | ||
div.input { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those selectors feel too wide, are you sure you can’t use something that would only work on Jupyter notebooks and not all potential div.input
s and div.prompt
s out there?
No description provided.