Skip to content

Commit 5a3de2f

Browse files
committed
updates for MMD 3
1 parent a520e56 commit 5a3de2f

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>beforeRunningCommand</key>
6+
<string>nop</string>
7+
<key>command</key>
8+
<string># Process the MultiMarkdown document into LaTeX, and then
9+
# Process the LaTeX into a PDF
10+
11+
# Requires that the document be saved first
12+
13+
# This may or may not work for your file, and is not "officially"
14+
# supported.
15+
16+
# Use at your own risk
17+
18+
19+
cd "${TM_FILEPATH%/*}"
20+
21+
mmd2pdf "${TM_FILEPATH}"
22+
23+
open sample.pdf
24+
</string>
25+
<key>fallbackInput</key>
26+
<string>document</string>
27+
<key>input</key>
28+
<string>document</string>
29+
<key>keyEquivalent</key>
30+
<string>^P</string>
31+
<key>name</key>
32+
<string>Convert Document to PDF</string>
33+
<key>output</key>
34+
<string>discard</string>
35+
<key>scope</key>
36+
<string>text.html.markdown.multimarkdown</string>
37+
<key>uuid</key>
38+
<string>4F20AFC6-53B0-4789-8007-8FC84F2B1874</string>
39+
</dict>
40+
</plist>

info.plist

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
<string>67EB96A4-4213-42C9-9C47-B886A4B8AC93</string>
170170
<string>C92636B7-8795-4CE4-8F0B-0F2EB200CAA1</string>
171171
<string>FD6FBB48-68DF-4EFB-9A66-2C109E9FCA7E</string>
172+
<string>4F20AFC6-53B0-4789-8007-8FC84F2B1874</string>
172173
<string>9BF17F3B-B5E1-4F8A-A422-1A5413D4AD75</string>
173174
<string>351451DE-C1A4-4A36-A563-99AF761D026B</string>
174175
<string>CAC8BE7C-78DD-489B-97F8-2EF8D896F91C</string>

0 commit comments

Comments
 (0)