Code Monkey home page Code Monkey logo

Comments (5)

JanPalasek avatar JanPalasek commented on August 16, 2024

Yes, celltags are the most jupyter way that even nbconvert uses.

from pretty-jupyter.

JanPalasek avatar JanPalasek commented on August 16, 2024
  • Allow to remove input.
  • Allow to hide input (hidden at start).
  • Allow to show input (show at start).
  • Allow to remove output.
  • Allow to remove stderr? Etc.

from pretty-jupyter.

JanPalasek avatar JanPalasek commented on August 16, 2024

Implemented several options: input, input_jmd, output, output_error. Each has a defined priority, such as input < input_jmd.

On cell level, there are some settings as well, such as: input, output_error, output. These have higher priority than notebook-level settings, and currently are set using cell metadata. The cells also have priorities, such as: cell output < cell output error etc.

Currently there isn't a option to take these settings to javascript, and have e.g. input="hide", where if code folding is on, then the input will be displayed, but hidden at the beginning (if not, the input will just be shown).

from pretty-jupyter.

JanPalasek avatar JanPalasek commented on August 16, 2024

It would be also good to read options from content of the source, since a lot of ides doesnt support cell metadata.

if possible, allow token on first line, st like:

python: comment on first line with dictionary of values that python will parse, line starts like -.-/cell

markdown: same thing, first line starts with md comment that starts -.-/cell

jinja markdown: same as markdown

from pretty-jupyter.

JanPalasek avatar JanPalasek commented on August 16, 2024

Implemented.

from pretty-jupyter.

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.