Permalink
Browse files

added snippets for PMID and DOI type references

git-svn-id: http://svn.textmate.org/trunk/Bundles/Mediawiki.tmbundle@12065 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
Timothy Bates authored and infininight committed Nov 8, 2011
1 parent 0f4d680 commit 580aab8353178adec519439908d164ca70b9ddf6
Showing with 36 additions and 0 deletions.
  1. +18 −0 Snippets/Reference DOI.tmSnippet
  2. +18 −0 Snippets/Reference PMID.tmSnippet
@@ -0,0 +1,18 @@
+<?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>bundleUUID</key>
+ <string>64C4222F-7054-4A26-B91E-A82F53166142</string>
+ <key>content</key>
+ <string>&lt;ref name="${1:label}"&gt; {{Cite doi|${2:10.1146/annurev.earth.33.092203.122621}}}&lt;/ref&gt;</string>
+ <key>name</key>
+ <string>Reference DOI</string>
+ <key>scope</key>
+ <string>text.html.mediawiki</string>
+ <key>tabTrigger</key>
+ <string>ref</string>
+ <key>uuid</key>
+ <string>DADDBEEB-4411-4561-B091-1019382BFAB9</string>
+</dict>
+</plist>
@@ -0,0 +1,18 @@
+<?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>bundleUUID</key>
+ <string>64C4222F-7054-4A26-B91E-A82F53166142</string>
+ <key>content</key>
+ <string>&lt;ref name="${1:label}"&gt; {{Cite pmid|${2:12122621}}}&lt;/ref&gt;</string>
+ <key>name</key>
+ <string>Reference PMID</string>
+ <key>scope</key>
+ <string>text.html.mediawiki</string>
+ <key>tabTrigger</key>
+ <string>ref</string>
+ <key>uuid</key>
+ <string>F36B4588-8104-4A78-8821-188468DB406D</string>
+</dict>
+</plist>

0 comments on commit 580aab8

Please sign in to comment.