fastai / fastpages

An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
https://fastpages.fast.ai/
Apache License 2.0
3.53k stars 758 forks source link

2020-04-22: MathJax not working in Markdown cell #265

Closed jasongfleischer closed 4 years ago

jasongfleischer commented 4 years ago

Required Prerequisites for filing a bug

You must follow ALL the steps in the troubleshooting guide. Not doing so may result in automatic closure of the issue.

Required information

  1. Steps to reproduce the problem

In a fast pages Jupyter notebook, create a markdown cell and paste LaTeX style math for MathJax into it. For example the following:

So my optimistic number of beds is going to be to use all beds in San Diego, and assume an even better 60% non-COVID occupancy rate for both county and federal hospitals:

$(6509 + 2434) * (1 - 0.6) \sim 3600$ beds left over for COVID-19 patients

  1. A link to the notebook or markdown file where the error is occuring

https://jasongfleischer.github.io/argo-navis/covid19/jupyter/epidemiology/2020/04/20/SanDiego-COVID-19.html?fbclid=IwAR0DVyvLjku3jVqNtCEI-tb94AudZ598EFZ5wfGFNRj4IZEsEwZFx3EKKBE#The-number-of-available-hospital-beds

  1. If the error is happening in GitHub Actions, a link to the specific error along with how you are able to reproduce this error. You must provide this in addition to the link to the notebook or markdown file.

N/A

  1. A screenshot / dump of relevant logs or error messages you are receiving from your local development environment. Instructions of running a local development server is provided in the development guide.
Screen Shot 2020-04-21 at 10 48 14 PM

There were no errors during site build: https://github.com/jasongfleischer/argo-navis/runs/607496351?check_suite_focus=true

jasongfleischer commented 4 years ago

Hahah I'm living in the future. Just noticed its still the 21st not the 22nd. Sorry.

hamelsmu commented 4 years ago

you have to set use_math to true in config.yml per the README:

use_math: Set this to true to get LaTeX math equation support. This is off by default as it otherwise loads javascript into each page that may not be used.

jasongfleischer commented 4 years ago

Thanks ! Sorry for the RTFM problem.