diff test.tmpl @ 10:1ffe6e4f933c

Add math support through MathJax
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 17 Jun 2020 22:13:03 +0200
parents 0a3841171c8f
children 4bcdc24edbe3
line wrap: on
line diff
--- a/test.tmpl	Wed Jun 17 22:12:32 2020 +0200
+++ b/test.tmpl	Wed Jun 17 22:13:03 2020 +0200
@@ -2,6 +2,8 @@
 <head>
     <title>{{title}}</title>
     <meta charset="UTF-8">
+    <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+    <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
 </head>
 <body>
 {{{content}}}