Fixing up some jekyll problems for jupyter

the jupyer jekyll plugin supposedly won’t work on github pages

jupyter nbconvert –to markdown jekyll_test.ipynb

To get latex (including the $ tags) to work on the minima layout I added

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
  {% if jekyll.environment == 'production' and site.google_analytics %}
    {% include google-analytics.html %}
  {% endif %}
  <script type="text/x-mathjax-config">
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
<script type="text/javascript" async

into an _includes/head.html



I added a pynb  directory and added the following into my _config file? Not sure this was necessary.

- scope:
    path: "pynb"
    image: true


replace all




in the markdown file.

could also add syntax highlighting but maybe this is good enough.

Leave a Reply

Your email address will not be published. Required fields are marked *