GitbookIO / plugin-katex

Math typesetting using KaTex
Apache License 2.0
60 stars 37 forks source link

`gitbook serve` crashes on error #6

Closed emilbayes closed 9 years ago

emilbayes commented 9 years ago

Looking at Khan/KaTeX, there's an option throwOnError that could be set to false here. Otherwise the body of the process function should probably be wrapped in a try { … } catch (ex) { … }, if it's possible to tell Gitbook that an error occured

SamyPesse commented 9 years ago

This is wanted, when there is an error, we want gitbook to stop and output the error to the user.