Skip to content

Instantly share code, notes, and snippets.

@andrewheiss
Created August 22, 2013 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewheiss/6302774 to your computer and use it in GitHub Desktop.
Save andrewheiss/6302774 to your computer and use it in GitHub Desktop.
knitr plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>Rmd</string>
</array>
<key>name</key>
<string>knitr (Markdown)</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>^(`{3,}\s*\{r)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.parameters.begin.knitr</string>
</dict>
</dict>
<key>end</key>
<string>(\})</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.parameters.end.knitr</string>
</dict>
</dict>
</dict>
<dict>
<key>begin</key>
<string>(\})</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.begin.knitr</string>
</dict>
</dict>
<key>contentName</key>
<string>source.r.embedded.knitr</string>
<key>end</key>
<string>^(`{3,}\s*)$</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.end.knitr</string>
</dict>
</dict>
</dict>
<dict>
<key>include</key>
<string>text.html.markdown</string>
</dict>
</array>
<key>scopeName</key>
<string>text.html.markdown.knitr</string>
<key>uuid</key>
<string>96695da4-0e45-45a0-9c77-1b82941531d6</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment