Permalink
Browse files

Snippet for syntaxhighlight blocks on Wikipedia. (code→)

  • Loading branch information...
1 parent deb5b71 commit 4ba368453fda0380d18223b68666137697d585fb @tbates tbates committed with infininight May 21, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 Snippets/syntaxhighlight.tmSnippet
@@ -0,0 +1,20 @@
+<?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>content</key>
+ <string>&lt;!-- http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi --&gt;
+&lt;syntaxhighlight lang="${1|rsplus,php|}"${2: line="${3|GESHI_NORMAL_LINE_NUMBERS,GESHI_FANCY_LINE_NUMBERS|}" line start="${4:1}" highlight="${5:1}" enclose="${6|pre,div,none|}"}&gt;
+
+&lt;/syntaxhighlight&gt;
+</string>
+ <key>name</key>
+ <string>syntaxhighlight</string>
+ <key>scope</key>
+ <string>text.html.mediawiki</string>
+ <key>tabTrigger</key>
+ <string>code</string>
+ <key>uuid</key>
+ <string>97042E83-482A-41E0-8044-B8B23457A0BB</string>
+</dict>
+</plist>

0 comments on commit 4ba3684

Please sign in to comment.