From 32ce27e447e752a7fe97210ab487b6ae6f7e8ba4 Mon Sep 17 00:00:00 2001 From: ema Date: Sat, 5 Jul 2025 11:58:41 +0800 Subject: [PATCH] Add MathJax inline math support to Markdown #1640 --- .../QuickLook.Plugin.MarkdownViewer/Resources/md2html.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources/md2html.html b/QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources/md2html.html index 3fa1943..f0c9cac 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources/md2html.html +++ b/QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources/md2html.html @@ -462,6 +462,13 @@ updateActiveHeading(currentHeading); } }); + + // Support MathJax inline math + window.MathJax = { + tex: { + inlineMath: [['$', '$'], ['\\(', '\\)']] + } + };