diff options
-rw-r--r-- | pkgs/katex-wrapper/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/katex-wrapper/default.nix b/pkgs/katex-wrapper/default.nix index 37fe63a..c06725b 100644 --- a/pkgs/katex-wrapper/default.nix +++ b/pkgs/katex-wrapper/default.nix @@ -41,7 +41,10 @@ in pkgs.writeTextFile { }); process.stdin.on("end", function() { - var options = { displayMode: args.indexOf("--display-mode") !== -1 }; + var options = { + displayMode: args.indexOf("--display-mode") !== -1, + throwOnError: false + }; var output = katex.renderToString(input, options); console.log(output); }); |