mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Merge pull request #598 from xxyy/feature/csp
Implement basic CSP support
This commit is contained in:
commit
7de6e3211f
12 changed files with 132 additions and 15 deletions
8
public/js/mathjax-config-extra.js
Normal file
8
public/js/mathjax-config-extra.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
window.MathJax = {
|
||||
messageStyle: 'none',
|
||||
skipStartupTypeset: true,
|
||||
tex2jax: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
processEscapes: true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue