Comments (14)
What version of IPython are you using ?
Make sure you select the right branch (2.x or master) of this repository.
from jupyter_contrib_nbextensions.
Ah-ha. Right you are, juhasch. I read those installation instructions as referring to which python
version (2.x or 3.x) you're using, rather than which IPython version. Perhaps this could be bolded in the installation instructions to prevent future confusion?
from jupyter_contrib_nbextensions.
So I've now downloaded and installed the 2.x version of python-markdown
and I get the same behaviour. Not sure where I'm going wrong, sorry.
from jupyter_contrib_nbextensions.
Can you look at the Javascript console output in the Browser, are there any error messages ?
from jupyter_contrib_nbextensions.
The javascript console reports Loaded extension: python-markdown
when I run IPython.load_extensions('python-markdown')
. When I render the markdown cell there is no additional console output.
from jupyter_contrib_nbextensions.
Have you tried clearing your browser cache or opening a private window ?
Somtimes Javascript caching is too agressive in the Browser.
from jupyter_contrib_nbextensions.
Same behaviour after clearing cache, and also tried opening in a private window. Also tried the same thing in Chrome and I get the same behaviour. The javascript console reports Loaded extension: python-markdown
, then no further output.
from jupyter_contrib_nbextensions.
You can try this version that does some logging to the Javascript console:
https://gist.github.com/c37408a0d79156f28c17.git
You should see messages like:
PyMD: kernel started
PyMD: render
PyMD: execute
If not, the extension does not execute properly.
from jupyter_contrib_nbextensions.
I had the same problem, but this version you just posted seems to work for me.
from jupyter_contrib_nbextensions.
I don't get any additional console output, unfortunately.
from jupyter_contrib_nbextensions.
So which version of IPython are you using exactly ?
Do you see the correct notebook extension file if you go to http://127.0.0.1:8888/nbextensions/python-markdown.js
?
(assuming your notebook server is at 127.0.0.1:8888
)
from jupyter_contrib_nbextensions.
Actually, the gist code now works for me (sorry!). Before I had shut down the notebook and re-opened it, showing the same behaviour as the 2.x code. Since then I've shut down the notebook server. I just restarted the server, and I now get the additional console output
Loaded extension: python-markdown
PyMD: render
PyMD: execute
PyMD: callback
and the rendering works. So it's something about the 2.x version that changes in the gist you posted.
The result of IPython.version_info
is (2, 2, 0, '')
.
from jupyter_contrib_nbextensions.
Thanks for the feedback. I have updated the extension, so the GitHub version should work, too.
from jupyter_contrib_nbextensions.
Great, thanks @juhasch. I can confirm that the GitHub version now works.
from jupyter_contrib_nbextensions.
Related Issues (20)
- Endless fail to get nbextensions to appear on M2 Mac HOT 3
- Support for python 3.11 HOT 3
- nbextensions compatibility with notebook-6.5.3. HOT 4
- Error [jupyter_nbextensions_configurator] error loading toggle_all_line_numbers/mainf
- python-markdown new install fails to render {{var}}. Browser error 'TypeError: marked is not a function ' HOT 10
- Is this project on stand-by or near to being abandoned in front of new versions of conda or jupyter notebook? HOT 1
- [collapsible_headings] When using jupyter_server + nbclassic, collapsible headings not working
- Linux installation issues: nbconvert version
- install nbextensions in \site-packages\jupyter_contrib_nbextensions HOT 1
- extensions does not work or only work once
- jupyter_contrib_nbextenions appears to be incompatible with Jupyter Notebook v7. HOT 6
- all the extensions are failed loading HOT 2
- Installation fails on up-to-date JupyterLab installed with `conda -c conda-forge`
- TOC extension is hiding below toolbar HOT 5
- Autoscroll from NBEXTENSIONS not working
- Code Font Size donβt work
- nbextensions conda installation problem HOT 1
- Python markdown not getting variables values
- '"...\MyEnv\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command, operable program or batch file.
- Incompatible with Jupyter Notebook v7.0.6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter_contrib_nbextensions.