mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-24 17:23:05 +02:00
no more client-side mathjax
This commit is contained in:
@@ -36,7 +36,7 @@ function escapeBlockLaTeX(source) {
|
||||
var hash = sha1(latex);
|
||||
var filename = "images/latex/" + hash + ".svg";
|
||||
var destination = __dirname + "/../" + filename;
|
||||
var rewrite = '<img className="LaTeX SVG" src="/' + filename + '"/>';
|
||||
var rewrite = '<img className="LaTeX SVG" src="' + filename + '"/>';
|
||||
|
||||
// And only generate if the file doesn't already exist, of course.
|
||||
if (!fs.existsSync(destination)) {
|
||||
|
Reference in New Issue
Block a user