Jupyter Notebooks can be converted to a number of formats relevant for scholarly communication and publishing, including HTML, PDF, and Markdown.
Some code repositories, including GitHub, “know” how to render Jupyter Notebook format natively, and hence can be used for publishing notebooks for public viewing.