Permalink
Browse files

mathjax for html previews; send citeproc errors to /dev/null

  • Loading branch information...
dsanson committed Aug 28, 2011
1 parent f24bfbd commit 7c126022bb18d5c6ee1e00748444d32562da6c9a
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>perl -pe 's/^(.*)/$1\\/'</string>
+ <key>fallbackInput</key>
+ <string>line</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>name</key>
+ <string>Harden Line Breaks</string>
+ <key>output</key>
+ <string>replaceSelectedText</string>
+ <key>scope</key>
+ <string>text.html.markdown.pandoc</string>
+ <key>uuid</key>
+ <string>ACB65F84-1DD1-413B-88B1-710BB15C2554</string>
+</dict>
+</plist>
@@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>pandoc -sS </string>
+ <string>pandoc -sS --mathjax</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
@@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>pandoc -s -t markdown --no-wrap --reference-links --bibliography=$TM_PANDOC_BIB</string>
+ <string>pandoc -s -t markdown --no-wrap --reference-links --bibliography=$TM_PANDOC_BIB 2&gt;/dev/null</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
@@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>pandoc -s -t markdown --bibliography=$TM_PANDOC_BIB --reference-links</string>
+ <string>pandoc -s -t markdown --bibliography=$TM_PANDOC_BIB --reference-links 2&gt;/dev/null</string>
<key>input</key>
<string>selection</string>
<key>keyEquivalent</key>
View
@@ -137,6 +137,7 @@
<array>
<string>FB873C90-C7F1-4D31-911C-006D18F067A7</string>
<string>51483E7C-0AED-4391-A5F2-C15A51075D8E</string>
+ <string>ACB65F84-1DD1-413B-88B1-710BB15C2554</string>
<string>A2527DED-32A3-4E5D-A09D-6545790F11FB</string>
<string>2A36A05A-3AD4-4B4F-9A49-CE8265100968</string>
<string>5D52B25C-4BF1-4358-97AA-5BC78B0F43EC</string>

0 comments on commit 7c12602

Please sign in to comment.