Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Jekyll Jupyter Notebook plugin adds Jupyter Notebook support to Jekyll.
Jekyll Jupyter Notebook is a Jekyll plugin that embeds Jupyter Notebook (.ipynb) files into Jekyll-generated sites as rendered HTML.
Jekyll Jupyter Notebook is a Jekyll plugin that brings Jupyter Notebook support to Jekyll sites. It converts .ipynb files into HTML and lets you embed them inside Markdown posts or pages through a simple Liquid tag. The plugin is written in Ruby, distributed as a gem, and created by Kouhei Sutou under the Apache License 2.0.
{% jupyter_notebook "sample.ipynb" %} to insert any notebook placed in the same directory as your Markdown file.jupyter_notebook config block in _config.yml supports prompt and input keys to control whether In [N]/Out[N] prompts and code inputs appear in the rendered HTML.prompt: true, input: true), preserving the notebook's interactive look.{::nomarkdown} and {:/nomarkdown}.plugins list in _config.yml, no extra files or build steps required.gem "jekyll-jupyter-notebook" to your site's Gemfile and run bundle install.jekyll-jupyter-notebook to the plugins array in your _config.yml.sample.ipynb) in the same directory as your Markdown post.{% jupyter_notebook "sample.ipynb" %} where you want the notebook to appear.prompt and input under a jupyter_notebook key in _config.yml.Yes, it is open source under the Apache License 2.0, so you can use it in personal and commercial projects at no cost.
In [N] and Out[N] prompts?Set prompt: false in the jupyter_notebook section of your _config.yml. The default is true, which shows them.
Yes, set input: false in your configuration. This hides the input cells while keeping outputs such as plots and markdown.
Wrap the Liquid tag with {::nomarkdown} before and {:/nomarkdown} after it, as recommended in the README.
The notebook must be in the same directory as the Markdown file that references it, and you refer to it by filename in the tag.
