Sublime Forum

Do command on opening .md file

#1

I’m using this fantastic Markdown Preview package.

Now, is it possible, after opening a .md file, to make Sublime Text throw up a dialog box asking if I want to preview current .md file in my browser?

Thanksss

0 Likes

#2

You could probably do that in a plugin. Take a look at the on_load event:

sublimetext.com/docs/2/api_r … ntListener

0 Likes