summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorstuebinm2021-03-09 01:23:23 +0100
committerstuebinm2021-05-17 20:12:50 +0200
commitb0f98a43381486995b99ed79e0eabb3af149dbf3 (patch)
treedd199965ebc5b6037bf77bc34fd80b9ac8f8935d /public/views
parent8b374d8c1972db2b09126e8f9cc10384552abf29 (diff)
Add simple support for cindyjscindy
Notably, the error output (in case of compiler errors) is generated by overwriting the builtin console.error-function, which is a horrible idea for many reasons, but there isn't really any other way right now.
Diffstat (limited to '')
-rw-r--r--public/views/hedgedoc/footer.ejs3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs
index 51d47221..ebe7ab6d 100644
--- a/public/views/hedgedoc/footer.ejs
+++ b/public/views/hedgedoc/footer.ejs
@@ -20,10 +20,13 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.8/validator.min.js" integrity="sha256-LHeY7YoYJ0SSXbCx7sR14Pqna+52moaH3bhv0Mjzd/M=" crossorigin="anonymous" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script>
+<script type="text/javascript" src="https://cindyjs.org/dist/latest/Cindy.js"></script>
<%- include('../build/index-scripts') %>
<% } else { %>
<script src="<%- serverURL %>/build/MathJax/MathJax.js" defer></script>
<script src="<%- serverURL %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script>
<script src="<%- serverURL %>/build/MathJax/config/Safe.js" defer></script>
+<script src="<%- serverURL %>/build/Cindy.js"></script>
+<script src="<%- serverURL %>/build/CindyGL.js"></script>
<%- include('../build/index-pack-scripts') %>
<% } %>