## Or how integrate MathJax into Ghost’s posts ?

Ghost is my favourite editor to write posts, but it is not possible to write LaTex formula natively. And my favourite editor to write LaTex formula is Jupyter.

How integrate the work done in Jupyter into a Ghost’s post ?

Here is my solution:

• if your post has images, first upload the images into your Ghost’s blog: in your fresh “New Post”, enter ![]() to upload an image. You will see the path where your Ghost instance stores the image. Keep this path for later. See the following post in the Ghost’s help

• go to you Jupyter Notebook and go to “File -> Download as -> HTML (.html)”; Jupyter will generate the HTML version of your Notebook. You can now do a copy-paste of this HTML code into your Ghost’s “New Post”.

• the code generated by Jupyter is a full standalone HTML page; to make it work properly in Ghost, the following items must be removed:
• the doctype,
• the opening html,
• the opening and closing head tags,
• search for the HTML’s tag img and replace the path in src with the appropriate path obtained at the first point,