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

Is it possible to fold cell editors (or limit the height of editors)? We want to use ipynb as business reports sometimes (they don't like code, but they can read some sql if they want). #55

Closed
cailiang9 opened this issue Apr 27, 2015 · 4 comments

Comments

@cailiang9
Copy link

a simple way to achieve:
Add a shrink cell mode. In shrink-cell mode, shrink cell height when it is out of focus.

@takluyver
Copy link
Member

There's a codefolding extension here: https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/Codefolding_v3

Depending on how you're using them, you could also use nbconvert to render notebooks to HTML. By supplying a custom template, you can format the result however you want.

@cailiang9
Copy link
Author

Thanks a lot! I think my idea is a bit like gmail - only expand when editing. People want to read the output figures at first glance.

@flying-sheep
Copy link
Contributor

you can extend this template, and in it override a block in the “basic” template it inherits from to do nothing:

{%- extends 'full.tpl' -%}
{%- block input_group -%}{%- endblock input_group -%}

@minrk minrk added this to the no action milestone Sep 11, 2015
@Carreau
Copy link
Member

Carreau commented Sep 13, 2015

Closing as there is no plan to do anything.

@Carreau Carreau closed this as completed Sep 13, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants