This week I made a Jupyter notebook that would be a great post for my blog. I already found that you can export this notebook to a simplified HTML format that can be embedded on a webpage with this command:

jupyter nbconvert mynotebook.ipynb --to html --template basic

However, I would like to change some simple things. For example: every title now end with the “end of line character”, and there is no clear difference between input and output.

On the NBConvert documentation page of Jupyter I can’t find anything about changing templates (https://ipython.org/ipython-doc/3/notebook/nbconvert.html). They only say

“IPython provides a few templates for some output formats, and these
can be specified via an additional –template argument.”

Is it possible to specify your own template? And where can I find the “basic” template that I want to adjust?

Read more here: How to Convert Jupyter Notebook to WordPress suitable HTML


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: