JoelOtter / kajero

Interactive JavaScript notebooks with clever graphing
Other
1.87k stars 110 forks source link

code using backticks fails #35

Closed benhjt closed 8 years ago

benhjt commented 8 years ago

Writing code with backticks like this to produce this output causes a JavaScript error when then generated HTML page is accessed in a browser:

bundle.js:formatted:68268Uncaught TypeError: Cannot read property 'get' of undefined

This is because the codeBlocks array on line 54 of src/js/markdown/js is an empty array.

JoelOtter commented 8 years ago

Thanks for tracking it down - I'll look into it.

JoelOtter commented 8 years ago

This should be working now. Let me know if you have any more issues with it.