Skip to content

Commit 0d8d405

Browse files
committed
Fix #639: MathJax in Markdown viewer
1 parent 452574e commit 0d8d405

File tree

1 file changed

+3
-0
lines changed
  • QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources

1 file changed

+3
-0
lines changed

QuickLook.Plugin/QuickLook.Plugin.MarkdownViewer/Resources/md2html.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!DOCTYPE html>
2+
<!-- saved from url=(0014)about:internet -->
23
<html>
34
<head>
45
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@@ -130,5 +131,7 @@
130131
$(".markdown-body").css({"width": "100%", "padding-left": "0%"});
131132
}
132133
</script>
134+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
135+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-svg.js"></script>
133136
</body>
134137
</html>

0 commit comments

Comments
 (0)