Git Product home page Git Product logo

nbpreview's Introduction

README animation

nbpreview's People

Contributors

dependabot[bot] avatar paw-lu avatar waylonwalker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nbpreview's Issues

Add automatic paging

Launch a pager automatically if output is longer than the terminal height. Like bat does.

Cite just charts

Just charts is used for rendering vega content, but is not a dependency. Cite it in readme to give proper credit.

Add "dark" and "light" alias

Right now for --theme this reuses Rich's argument values. Create an alias for "ansi_dark" and "ansi_light""dark" and "light".

Add padding on stderr output

Right now the stderr output renders the text on a pink background.

This can look too tight and snug depending on terminal settings. Add some padding to relax it.

Add justfile with dependabot autoupdate script

gh pr list --state=open --json=author,number | jq '.[]' | jq 'select(.author.login == "dependabot")' | jq '.number' | parallel "gh pr comment --body='@dependabot merge'"

There are automerge workflows, but we're not quite ready for that level of confidence. This is a good half step, where we can quickly accept all pending PRs once quickly scanned.

Debugger output

Check on how debugger output is rendered if pdb/ipbd is activated, used, and quit.

Set max width on the left column

Right now the left column will expand to fit all characters. Set a max width and truncate it, since it's less important than the main content.

Property handle `--no-color`

Make sure and test that all components—image drawings, code, links, etc, respect a --no-coloroption. This should be enabled by default when piping output.

Move long test outputs to seperate files

test_notebook.py is getting a little ridiculous. Some outputs are way too long, causing awkward editing, long linting and formatting times, etc. Move long outputs to external files.

Set wrap rules

Set stricter wrap rules for things like code input, output.

Integrate dressup

An alternative to rendering Markdown headers is using different unicode characters. Investigate integrating dressup for this.

Customize markdown rendering

Right now this project uses Rich's default markdown renderer. This doesn't work well with the project's style.

Problems:

  1. Rich draws boxes around headers, which should be reserved for cells.
  2. Rich puts background and borders around markdown code blocks

Create a custom markdown renderer using the steps outlined here.


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.