pysal / notebooks

jupyter/ipython notebooks demonstrating PySAL functionality
53 stars 38 forks source link

input cells in giddy/Mobility_measures not rendering properly #54

Open knaaptime opened 5 years ago

knaaptime commented 5 years ago

when converting the notebooks from ipynb to html directly with nbconvert, everything works fine, but the cells in the book are rendered like this

image

darribas commented 5 years ago

Mmm... would this be an issue then with jupyter-book? Maybe @choldgraf has seen this?

choldgraf commented 5 years ago

hmmm - this looks like something isn't being chunked properly in the markdown -> html conversion. I'm not sure whether it's a jupyter book thing or a jekyll thing...does the markdown in the _build section look correct?

choldgraf commented 5 years ago

Another thought - it seems like in some cases, markdown tables are getting confused because of | in the mathjax (I think that's why some extra columns are showing up). I wonder if there's a way to programmatically avoid this? Ideally you'd want to just "not parse" anything that's in between the $$ for the purposes of building the table structure.