danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
362 stars 45 forks source link

Bold text in notebook but not on website #175

Closed mrdbourke closed 8 months ago

mrdbourke commented 9 months ago

Hey there! Big fan of the project, I use it for several of my tutorial-based websites.

Just a small note that may have been introduced in the last release, I've noticed bold/emphasised text appears in notebooks but not on the deployed version of the website.

This includes in the demo version of the website.

Notebook (has bold text)

Link: https://github.com/danielfrg/mkdocs-jupyter/blob/main/demo/docs/demo-nb-md.ipynb

Screenshot 2023-10-12 at 11 58 51 am

Demo site (no bold text)

Link: https://mkdocs-jupyter.danielfrg.com/demo-nb-md/#emphasis

Screenshot 2023-10-12 at 11 59 06 am

This could potentially be a browser issue (Chrome) but I've noticed it on Safari as well.

I noticed this issue on my own project, the <strong> tags appear in the HTML but not on the docs website?

<blockquote>
<p><strong>Note:</strong> All of the steps in this notebook are focused on <a href="https://en.wikipedia.org/wiki/Supervised_learning"><strong>supervised learning</strong></a> (having data and labels). The other side of supervised learning is <a href="https://en.wikipedia.org/wiki/Unsupervised_learning"><strong>unsupervised learning</strong></a> (having data but no labels).</p>
</blockquote>

Link: https://github.com/mrdbourke/zero-to-mastery-ml/blob/9a15eea4ce4c9eefb1403e8aebace4360dcd1077/introduction-to-scikit-learn/index.html#L1390C1-L1392C14

Docs website:

Screenshot 2023-10-12 at 12 09 50 pm

Link: https://dev.mrdbourke.com/zero-to-mastery-ml/introduction-to-scikit-learn/

danielfrg commented 8 months ago

Should be fix now in the latest version.

Thank you for the sponsor!