Hello!
I wanted to make use of the Python Markdown feature, to render variables with {{ var }} ... so I went through the installation of the nbextensions, following the instructions given in https://github.com/ipython-contrib/jupyter_contrib_nbextensions
I also enabled it successfully, and it works in the classical Jupyter Notebook, but not in a Jupyterlab Notebook!
Python Markdown is enabled in localhost:8888/nbextensions
What can I do to make it work or is it not yet supported?
I appreciate your help, thanks :)
Regards,
Hannes
And maybe in this context, for the classical Jupyter Notebook, I just realized, that when trying to File->Download as->PDF via LaTeX (.pdf) all the Python Markdown-rendered values displayed in the notebook get lost :(
Any hints concerning this?
Thank you very much!
Hannes
And maybe in this context, for the classical Jupyter Notebook, I just realized, that when trying to File->Download as->PDF via LaTeX (.pdf) all the Python Markdown-rendered values displayed in the notebook get lost :(
Any hints concerning this?Thank you very much!
Hannes
Never mind! With jupyter nbconvert file.ipynb [--to pdf] it worked.
Hi,
I'm having the same issue. Is python markdown not implemented yet in jupyterlab or will it not be considered?
Thank you
Hi,
same here, I would be very interested in having this feature available in jupyter lab too!
Thanks!
The differences between the classic Jupyter notebook and JupyterLab are significant. This unfortunately means that porting extensions is difficult.
I guess the best way is to let the JupyterLab people know that you are interested in that kind of functionality (see https://jupyter.org/community.html).
One way you can get markdown rendered with variable substitutions is to do the variable substitution in python, and display the markdown with the display mechanism. For example, in python 3.7:
from IPython.display import Markdown
x=10
Markdown(f"**variable**: {x}")
@jasongrout Is it possible to directly create a Markdown cell with the content of: Markdown(f"**variable**: {x}") ?
Most helpful comment
@jasongrout Is it possible to directly create a Markdown cell with the content of:
Markdown(f"**variable**: {x}")?