jsvine / nbpreview Goto Github PK
View Code? Open in Web Editor NEWRender Jupyter/IPython notebooks without running a notebook server.
Home Page: https://jsvine.github.io/nbpreview/
License: MIT License
Render Jupyter/IPython notebooks without running a notebook server.
Home Page: https://jsvine.github.io/nbpreview/
License: MIT License
Your readme says :
NBPreview currently doesn't support MathJax. Implementation suggestions welcome. (Markdown-parsing was interfering with prior attempts.)
Is there anything we can do on IPython side so that you can re-use our math-extraction/markdown-rendering/math-reinsertion/matjax-calling ?
Almond and others output ansi-formatted text as "text/plain"
ex. https://github.com/almond-sh/almond/blob/master/examples/plotly-scala.ipynb
GitHub filters this out (without highlighting), but nbpreview is currently not even doing the filtering. This results in garbled text:
I would recommend applying at least the filtering of ansi, possibly the highlighting as well. I made the following tweak locally:
nb.display.text=function(text){var el=makeElement("pre",["text-output"]);el.innerHTML=nb.highlighter(nb.ansi(joinText(text)),el);return el}
Best
Justin
A markdown cell with a list and a \vec
- $\vec{x}$
does not render
vectest.zip
.
Test.zip
The markdown cell in the attached notebook has an onclick attribute which is removed by nbpreview when run in the hosted nbpreview version.
Note: This was not the case in the previous version of nbpreview.
In the attached notebook, column vectors in the markdown cell don't render correctly in the online nbpreview. The notebook renders correct in CoCalc.
Test.zip
Addition: Also the matrix expression
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
which renders correctly in KaTex, doesn't render in nbpreview when used in a markdown cell.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.