Skip to content

Instantly share code, notes, and snippets.

@Vaguery
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save Vaguery/d3167ddb06953876f2e6 to your computer and use it in GitHub Desktop.

Select an option

Save Vaguery/d3167ddb06953876f2e6 to your computer and use it in GitHub Desktop.
Fenced-Code-Markdown.sublime-snippet
<snippet>
<content><![CDATA[
~~~ ${1:lang}
${2}
~~~
]]></content>
<tabTrigger>fen</tabTrigger>
<scope>text.html.markdown</scope>
</snippet>
<!-- based on http://kevinthompson.info/blog/2012/12/17/sublime-text-fenced-code-block-snippet.html -->
<!-- save into ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/Your-Snippet-Name.sublime-snippet-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment