Giter VIP home page Giter VIP logo

Comments (6)

kirbs- avatar kirbs- commented on June 1, 2024 1

Yeah, this is on the enhancement list. I'll add it to the next release.

from hide_code.

kirbs- avatar kirbs- commented on June 1, 2024 1

@alanamarzoev Should have this done in the next 4-5 weeks.

from hide_code.

leeclemmer avatar leeclemmer commented on June 1, 2024

Awesome, thanks! Much appreciated :) Maybe to be a bit more specific: it be great if in the notebook I could see all the code, but when exporting it's all hidden. Thanks!

from hide_code.

BoPeng avatar BoPeng commented on June 1, 2024

Just a quick comment. I have tried to use hide code to generate better HTML output but found two problems (both are feature requests),

  1. Hide input and output in HTML, not in Jupyter, because often times we need to perform the analysis with all visible input and output cells, but only want to show certain results in HTML report.
  2. Hide all input and most output as default.
  3. Allow unhiding hidden input and output content in HTML format. This is hugely helpful because I can have a single report that is suitable for both as a report, and as an archive with all the details of the analysis.

In the end, we implemented our own show_output metadata method as follows:

  1. A keyboard shortcut Ctrl-Shift-O to toggle this metadata.
  2. A template is provided to output markdown and selected output as default, whiling having a Show More button to display all.

The implementation is only limited for SoS though.

Note that we thought of adding the features as an extension to hide code but had to give up because hide code does not support nbconvert 5.0+.

from hide_code.

kirbs- avatar kirbs- commented on June 1, 2024

Thanks for the feedback! I'm going to get around to the enhancements some time this summer.

from hide_code.

alanamarzoev avatar alanamarzoev commented on June 1, 2024

Hi! What's the timeline like for the release of this enhancement?

from hide_code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.