mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
Merge pull request #210 from davidmehren/mathjax_fix
Fix compatibility with MathJax 2.7.6
This commit is contained in:
commit
01bff246b0
2 changed files with 10 additions and 2 deletions
|
@ -80,7 +80,7 @@
|
||||||
"markdown-it-sub": "^1.0.0",
|
"markdown-it-sub": "^1.0.0",
|
||||||
"markdown-it-sup": "^1.0.0",
|
"markdown-it-sup": "^1.0.0",
|
||||||
"markdown-pdf": "^10.0.0",
|
"markdown-pdf": "^10.0.0",
|
||||||
"mathjax": "~2.7.0",
|
"mathjax": "~2.7.6",
|
||||||
"mattermost": "^3.4.0",
|
"mattermost": "^3.4.0",
|
||||||
"mermaid": "~8.2.3",
|
"mermaid": "~8.2.3",
|
||||||
"meta-marked": "git+https://github.com/codimd/meta-marked#semver:^0.4.5",
|
"meta-marked": "git+https://github.com/codimd/meta-marked#semver:^0.4.5",
|
||||||
|
|
|
@ -131,13 +131,21 @@ module.exports = {
|
||||||
}),
|
}),
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
{
|
{
|
||||||
context: path.join(__dirname, 'node_modules/mathjax'),
|
context: path.join(__dirname, 'node_modules/mathjax/unpacked'),
|
||||||
from: {
|
from: {
|
||||||
glob: '**/*',
|
glob: '**/*',
|
||||||
dot: false
|
dot: false
|
||||||
},
|
},
|
||||||
to: 'MathJax/'
|
to: 'MathJax/'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
context: path.join(__dirname, 'node_modules/mathjax/fonts'),
|
||||||
|
from: {
|
||||||
|
glob: '**/*',
|
||||||
|
dot: false
|
||||||
|
},
|
||||||
|
to: 'fonts/'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
context: path.join(__dirname, 'node_modules/emojify.js'),
|
context: path.join(__dirname, 'node_modules/emojify.js'),
|
||||||
from: {
|
from: {
|
||||||
|
|
Loading…
Reference in a new issue