Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updates for MMD 3

  • Loading branch information...
commit 5a3de2ffe431454d1c6bc24db2078e2b89c34f2d 1 parent a520e56
Fletcher T. Penney authored

Showing 2 changed files with 41 additions and 0 deletions. Show diff stats Hide diff stats

  1. +40 0 Commands/Convert Document to PDF.tmCommand
  2. +1 0  info.plist
40 Commands/Convert Document to PDF.tmCommand
... ... @@ -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>
1  info.plist
@@ -169,6 +169,7 @@
169 169 <string>67EB96A4-4213-42C9-9C47-B886A4B8AC93</string>
170 170 <string>C92636B7-8795-4CE4-8F0B-0F2EB200CAA1</string>
171 171 <string>FD6FBB48-68DF-4EFB-9A66-2C109E9FCA7E</string>
  172 + <string>4F20AFC6-53B0-4789-8007-8FC84F2B1874</string>
172 173 <string>9BF17F3B-B5E1-4F8A-A422-1A5413D4AD75</string>
173 174 <string>351451DE-C1A4-4A36-A563-99AF761D026B</string>
174 175 <string>CAC8BE7C-78DD-489B-97F8-2EF8D896F91C</string>

0 comments on commit 5a3de2f

Please sign in to comment.
Something went wrong with that request. Please try again.