diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2019-09-27 16:01:55 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2019-09-27 16:01:55 +0200 |
commit | 2f5fa30aadf1ae3394750b6b8a6b2492609d3f66 (patch) | |
tree | 211fa954672a0cf7b586e4b503752e212f43def1 | |
parent | ed59ec63aa81b74acd0f99793e552ab8cb144414 (diff) | |
download | wallabag-2f5fa30aadf1ae3394750b6b8a6b2492609d3f66.tar.gz wallabag-2f5fa30aadf1ae3394750b6b8a6b2492609d3f66.tar.zst wallabag-2f5fa30aadf1ae3394750b6b8a6b2492609d3f66.zip |
Added MathJax support
-rw-r--r-- | app/Resources/static/themes/_global/index.js | 1 | ||||
-rw-r--r-- | package.json | 1 | ||||
-rw-r--r-- | yarn.lock | 49 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app/Resources/static/themes/_global/index.js b/app/Resources/static/themes/_global/index.js index 315fc0ad..88365270 100644 --- a/app/Resources/static/themes/_global/index.js +++ b/app/Resources/static/themes/_global/index.js | |||
@@ -5,6 +5,7 @@ import $ from 'jquery'; | |||
5 | import annotator from 'annotator'; | 5 | import annotator from 'annotator'; |
6 | 6 | ||
7 | import ClipboardJS from 'clipboard'; | 7 | import ClipboardJS from 'clipboard'; |
8 | import 'mathjax/es5/tex-svg'; | ||
8 | 9 | ||
9 | /* Fonts */ | 10 | /* Fonts */ |
10 | import 'material-design-icons-iconfont/dist/material-design-icons.css'; | 11 | import 'material-design-icons-iconfont/dist/material-design-icons.css'; |
diff --git a/package.json b/package.json index f40b3c16..7942eb5a 100644 --- a/package.json +++ b/package.json | |||
@@ -73,6 +73,7 @@ | |||
73 | "jr-qrcode": "^1.0.7", | 73 | "jr-qrcode": "^1.0.7", |
74 | "material-design-icons-iconfont": "^5.0.1", | 74 | "material-design-icons-iconfont": "^5.0.1", |
75 | "materialize-css": "^0.98.1", | 75 | "materialize-css": "^0.98.1", |
76 | "mathjax": "^3.0.0", | ||
76 | "mousetrap": "^1.6.0", | 77 | "mousetrap": "^1.6.0", |
77 | "ptsans-npm-webfont": "^0.0.4", | 78 | "ptsans-npm-webfont": "^0.0.4", |
78 | "roboto-fontface": "^0.7.0", | 79 | "roboto-fontface": "^0.7.0", |
@@ -1485,6 +1485,11 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: | |||
1485 | dependencies: | 1485 | dependencies: |
1486 | delayed-stream "~1.0.0" | 1486 | delayed-stream "~1.0.0" |
1487 | 1487 | ||
1488 | commander@*: | ||
1489 | version "3.0.2" | ||
1490 | resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e" | ||
1491 | integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow== | ||
1492 | |||
1488 | commander@2.1.x: | 1493 | commander@2.1.x: |
1489 | version "2.1.0" | 1494 | version "2.1.0" |
1490 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781" | 1495 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781" |
@@ -2266,6 +2271,11 @@ eslint@^4.0.0: | |||
2266 | table "4.0.2" | 2271 | table "4.0.2" |
2267 | text-table "~0.2.0" | 2272 | text-table "~0.2.0" |
2268 | 2273 | ||
2274 | esm@^3.2.25: | ||
2275 | version "3.2.25" | ||
2276 | resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" | ||
2277 | integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== | ||
2278 | |||
2269 | espree@^3.5.4: | 2279 | espree@^3.5.4: |
2270 | version "3.5.4" | 2280 | version "3.5.4" |
2271 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" | 2281 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" |
@@ -4010,6 +4020,21 @@ math-random@^1.0.1: | |||
4010 | resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" | 4020 | resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" |
4011 | integrity sha1-izqsWIuKZuSXXjzepn97sylgH6w= | 4021 | integrity sha1-izqsWIuKZuSXXjzepn97sylgH6w= |
4012 | 4022 | ||
4023 | "mathjax-full@git://github.com/mathjax/MathJax-src.git": | ||
4024 | version "3.0.0" | ||
4025 | resolved "git://github.com/mathjax/MathJax-src.git#0d74266e1820220d33cb6b29d4ca3575b352ac0d" | ||
4026 | dependencies: | ||
4027 | esm "^3.2.25" | ||
4028 | mj-context-menu "^0.2.0" | ||
4029 | speech-rule-engine "^3.0.0-beta.6" | ||
4030 | |||
4031 | mathjax@^3.0.0: | ||
4032 | version "3.0.0" | ||
4033 | resolved "https://registry.yarnpkg.com/mathjax/-/mathjax-3.0.0.tgz#b9566b4c621b6b7cab23ef6e2c8c5f567cf11797" | ||
4034 | integrity sha512-z4uLbDHNbs/aRuR6zCcnzwFQuMixkHCcWqgVaommfK/3cA1Ahq7OXemn+m8JwTYcBApSHgcrSbPr9sm3sZFL+A== | ||
4035 | dependencies: | ||
4036 | mathjax-full "git://github.com/mathjax/MathJax-src.git" | ||
4037 | |||
4013 | mathml-tag-names@^2.0.0: | 4038 | mathml-tag-names@^2.0.0: |
4014 | version "2.1.0" | 4039 | version "2.1.0" |
4015 | resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.0.tgz#490b70e062ee24636536e3d9481e333733d00f2c" | 4040 | resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.0.tgz#490b70e062ee24636536e3d9481e333733d00f2c" |
@@ -4211,6 +4236,11 @@ mixin-object@^2.0.1: | |||
4211 | for-in "^0.1.3" | 4236 | for-in "^0.1.3" |
4212 | is-extendable "^0.1.1" | 4237 | is-extendable "^0.1.1" |
4213 | 4238 | ||
4239 | mj-context-menu@^0.2.0: | ||
4240 | version "0.2.0" | ||
4241 | resolved "https://registry.yarnpkg.com/mj-context-menu/-/mj-context-menu-0.2.0.tgz#e1947dbb1771ede33f0c9405ecca9b49d109b86d" | ||
4242 | integrity sha512-yJxrWBHCjFZEHsZgfs7m5g9OSCNzsVYadW6f6lX3pgZL67vmodtSW/4zhsYmuDKweXfHs0M1kJge1uQIasWA+g== | ||
4243 | |||
4214 | mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: | 4244 | mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: |
4215 | version "0.5.1" | 4245 | version "0.5.1" |
4216 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" | 4246 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" |
@@ -6119,6 +6149,15 @@ specificity@^0.3.0: | |||
6119 | resolved "https://registry.yarnpkg.com/specificity/-/specificity-0.3.2.tgz#99e6511eceef0f8d9b57924937aac2cb13d13c42" | 6149 | resolved "https://registry.yarnpkg.com/specificity/-/specificity-0.3.2.tgz#99e6511eceef0f8d9b57924937aac2cb13d13c42" |
6120 | integrity sha512-Nc/QN/A425Qog7j9aHmwOrlwX2e7pNI47ciwxwy4jOlvbbMHkNNJchit+FX+UjF3IAdiaaV5BKeWuDUnws6G1A== | 6150 | integrity sha512-Nc/QN/A425Qog7j9aHmwOrlwX2e7pNI47ciwxwy4jOlvbbMHkNNJchit+FX+UjF3IAdiaaV5BKeWuDUnws6G1A== |
6121 | 6151 | ||
6152 | speech-rule-engine@^3.0.0-beta.6: | ||
6153 | version "3.0.0-beta.6" | ||
6154 | resolved "https://registry.yarnpkg.com/speech-rule-engine/-/speech-rule-engine-3.0.0-beta.6.tgz#77b0ed9570eccd0a5f71d387ae0da8221d720fd0" | ||
6155 | integrity sha512-B7gcT53jAsKpx7WvFYQcyUlFmgS3Wa9KlDy0FY8SOTa+Wz5EqmI0MpCD5/fYm8/2qiCPp8HwZg+H3cBgM+sNVw== | ||
6156 | dependencies: | ||
6157 | commander "*" | ||
6158 | wicked-good-xpath "*" | ||
6159 | xmldom-sre "^0.1.31" | ||
6160 | |||
6122 | split-string@^3.0.1, split-string@^3.0.2: | 6161 | split-string@^3.0.1, split-string@^3.0.2: |
6123 | version "3.1.0" | 6162 | version "3.1.0" |
6124 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" | 6163 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" |
@@ -6931,6 +6970,11 @@ which@1, which@^1.2.9: | |||
6931 | dependencies: | 6970 | dependencies: |
6932 | isexe "^2.0.0" | 6971 | isexe "^2.0.0" |
6933 | 6972 | ||
6973 | wicked-good-xpath@*: | ||
6974 | version "1.3.0" | ||
6975 | resolved "https://registry.yarnpkg.com/wicked-good-xpath/-/wicked-good-xpath-1.3.0.tgz#81b0e95e8650e49c94b22298fff8686b5553cf6c" | ||
6976 | integrity sha1-gbDpXoZQ5JyUsiKY//hoa1VTz2w= | ||
6977 | |||
6934 | wide-align@^1.1.0: | 6978 | wide-align@^1.1.0: |
6935 | version "1.1.3" | 6979 | version "1.1.3" |
6936 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" | 6980 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" |
@@ -6983,6 +7027,11 @@ write@^0.2.1: | |||
6983 | dependencies: | 7027 | dependencies: |
6984 | mkdirp "^0.5.1" | 7028 | mkdirp "^0.5.1" |
6985 | 7029 | ||
7030 | xmldom-sre@^0.1.31: | ||
7031 | version "0.1.31" | ||
7032 | resolved "https://registry.yarnpkg.com/xmldom-sre/-/xmldom-sre-0.1.31.tgz#10860d5bab2c603144597d04bf2c4980e98067f4" | ||
7033 | integrity sha512-f9s+fUkX04BxQf+7mMWAp5zk61pciie+fFLC9hX9UVvCeJQfNHRHXpeo5MPcR0EUf57PYLdt+ZO4f3Ipk2oZUw== | ||
7034 | |||
6986 | xpath-range@0.0.5: | 7035 | xpath-range@0.0.5: |
6987 | version "0.0.5" | 7036 | version "0.0.5" |
6988 | resolved "https://registry.yarnpkg.com/xpath-range/-/xpath-range-0.0.5.tgz#45d3379555c72c2f218abb8ba424d42e0665d911" | 7037 | resolved "https://registry.yarnpkg.com/xpath-range/-/xpath-range-0.0.5.tgz#45d3379555c72c2f218abb8ba424d42e0665d911" |