Skip to content

Build your personal knowledge base with Trilium Notes

Add examples to index.html

Daniel Kulbed729aa26ddf8
diff --git a/sample/index.html b/sample/index.html
index 8ef5e677a5..95584fc21b 100644
--- a/sample/index.html
+++ b/sample/index.html
@@ -38,6 +38,24 @@
<code>Math</code> inserts mathematical formulas into the editor. You can click the CKEditor 5 Math icon in the toolbar and see the results.
</p>
+ <p>
+ <script type="math/tex">e=mc^2</script>
+ </p>
+
+ <p>
+ <script type="math/tex; mode=display">e=mc^2</script>
+ </p>
+
+ <p>
+ This should show "\test" as ≠ via katexRenderOptions.macros:
+ <script type="math/tex">\test</script>
+ </p>
+
+ <!-- Quill Style Tag -->
+ <p>
+ <span class="ql-formula" data-value="e=mc^2"></span>
+ </p>
+
<h3>The directory structure</h3>
<p>