From 16b3095527f534ad96dbd07809530aca647b6c46 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Tue, 22 Mar 2022 14:25:41 -0700 Subject: [PATCH] add mathjax script --- .../Sources/Views/Resources/mathJaxConfiguration.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apple/OmnivoreKit/Sources/Views/Resources/mathJaxConfiguration.js diff --git a/apple/OmnivoreKit/Sources/Views/Resources/mathJaxConfiguration.js b/apple/OmnivoreKit/Sources/Views/Resources/mathJaxConfiguration.js new file mode 100644 index 000000000..98f92c9c2 --- /dev/null +++ b/apple/OmnivoreKit/Sources/Views/Resources/mathJaxConfiguration.js @@ -0,0 +1,8 @@ +MathJax = { + tex: { + inlineMath: [ + ['$latex', '$'], + ['\\(', '\\)'], + ], + }, +}