Browse Source

Upgraded KaTeX to fix $\neq$ display bug

pull/6/head
Your Name 5 years ago
parent
commit
2236c06a96
  1. 2
      package.json
  2. 2
      views/header.ejs

2
package.json

@ -42,7 +42,7 @@
"js-yaml": "^3.9.0",
"jsondiffpatch": "0.2.5",
"jsonwebtoken": "^8.4.0",
"katex": "^0.10.0",
"katex": "^0.10.1",
"mariadb": "^2.0.2-rc",
"mathjax-node": "^2.1.1",
"moemark": "^0.3.10",

2
views/header.ejs

@ -10,7 +10,7 @@
<link href="<%- selfLib('tomorrow.css') %>" rel="stylesheet">
<link href="<%- selfLib('mathjax.css') %>?20181105" rel="stylesheet">
<link href="<%- selfLib('style.css') %>?20181212" rel="stylesheet">
<link href="<%- lib('KaTeX/0.10.0/katex.min.css') %>" rel="stylesheet">
<link href="<%- lib('KaTeX/0.10.1/katex.min.css') %>" rel="stylesheet">
<link href="<%- lib('morris.js/0.5.1/morris.css') %>" rel="stylesheet">
<% if (useLocalLibs || !syzoj.config.google_fonts || !syzoj.config.google_fonts.url || !['like-google-fonts', 'like-local'].includes(syzoj.config.google_fonts.type)) { %>
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'fira-mono.css']) %>" rel="stylesheet">

Loading…
Cancel
Save