Skip to content

Build your personal knowledge base with Trilium Notes

README: Highlighting for latex examples

Tony Narlockb8432c124d01
diff --git a/README.md b/README.md
index 7d85148d70..93e8ab31f1 100644
--- a/README.md
+++ b/README.md
@@ -155,11 +155,15 @@ Supported input and output formats are:
#### From plain text
Paste TeX equations with __delimiters__. For example:
-__\\[__ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} __\\]__
+```latex
+\[ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \]
+```
or
-__\\(__ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} __\\)__
+```latex
+\( x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \)
+```
### Autoformat support