Skip to content

Instantly share code, notes, and snippets.

@jazzsequence
Created September 25, 2013 17:47
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 jazzsequence/6703324 to your computer and use it in GitHub Desktop.
Save jazzsequence/6703324 to your computer and use it in GitHub Desktop.
SublimeText 2 snippet for creating Pluralsight course .meta files -- copy to your /Packages/User folder
<snippet>
<content><![CDATA[
<?xml version="1.0" encoding="utf-8"?>
<course xmlns="http://pluralsight.com/sapphire/course/2007/11">
<!--
The <title>, <shortDescription> and <longDescription> elements cannot be empty, and are dispayed as-is
on the pluralsight.com home page for your course.
-->
<title>${1:course-title}</title>
<shortDescription>${2:short-description}</shortDescription>
<description>${3:long-description}</description>
<modules>
<module author="${4:author-name}" name="${5:course-slug}-${6:first-module}" />
<module author="${4:author-name}" name="${5:course-slug}-${7:second-module}" />
<module author="${4:author-name}" name="${5:course-slug}-${8:third-module}" />
<module author="${4:author-name}" name="${5:course-slug}-${9:fourth-module}" />
<module author="${4:author-name}" name="${5:course-slug}-${10:fifth-module}" />
</modules>
<topics>
<!-- List the key search terms that are applicable to this course here. -->
<topic>${11:first-topic}</topic>
<topic>${12:second-topic}</topic>
<topic>${13:third-topic}</topic>
<topic>${14:fourth-topic}</topic>
<topic>${15:fifth-topic}</topic>
</topics>
<category>${16:category}</category>
</course>
]]></content>
<description>Pluralsight Course</description>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>pluralsight_course</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.plain - text.meta</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment