Skip to content

Commit

Permalink
Remove MathJax support
Browse files Browse the repository at this point in the history
This functionality has been extracted into its own bundle: https://github.com/noniq/Markdown-MathJax.tmbundle

See textmate/bundle-support.tmbundle#19 (comment) ff. for rationale.
  • Loading branch information
noniq authored and infininight committed Aug 17, 2016
1 parent 6bfce79 commit c4fdf84
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Commands/Markdown preview.plist
Expand Up @@ -41,24 +41,6 @@ TextMate::HTMLOutput.show(:title => "Markdown Preview", :sub_title => ENV[
end
io << lines.join("\n")
if ENV["TM_MARKDOWN_MATHJAX"].to_i > 0
io << %{
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ["$","$"], ["\\\\(","\\\\)"] ],
displayMath: [ ["$$","$$"], ["\\\\[","\\\\]"] ],
processEscapes: false
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
}
end
io << "\n<script>window.location.hash = \"scroll_to_here\";</script>"
end
Expand Down

0 comments on commit c4fdf84

Please sign in to comment.