Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use Markdown as default language for new docs.
# Add this script in your SublimeText Packages/User directory
import sublime, sublime_plugin
class DefaultSyntaxCommand(sublime_plugin.EventListener):
def on_new(self, view):
view.set_syntax_file('Packages/Markdown/Markdown.tmLanguage')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment