Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mrvicadai/a12d748ba51489b2753f79b05658610e to your computer and use it in GitHub Desktop.
Save mrvicadai/a12d748ba51489b2753f79b05658610e to your computer and use it in GitHub Desktop.
Sublime Snippet for inserting captions (as comments ###) in Python
<snippet>
<content><![CDATA[
#${1/./#/g}###
# $1 #
#${1/./#/g}###
$0
]]></content>
<tabTrigger>#</tabTrigger>
<scope>source.python</scope>
<description>use comment as a caption</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment