facelessuser / MarkdownPreview

Markdown preview and build plugin for Sublime Text https://facelessuser.github.io/MarkdownPreview/
Other
407 stars 53 forks source link

Use functionality of this plugin in own python-files #67

Closed zaitebaki closed 5 years ago

zaitebaki commented 5 years ago

I want use functionality of this plugin for converting md-files in my own python-files. For example, such as python-lib. Сan I do that? Thanks-)

facelessuser commented 5 years ago

I'm not exactly sure what you mean. Are you talking about a non Sublime plugin project? Like outside the Sublime environment?

zaitebaki commented 5 years ago

Yes, outside the Sublime environment in own python-script

facelessuser commented 5 years ago

You could adapt it. Currently the commands are set up to use the Sublime API library, which obviously won't be available outside of Sublime, but all the non-Sublime code should work, assuming you install the appropriate dependencies.

It won't work out of the box though, you'll have to make some modifications.

zaitebaki commented 5 years ago

Ok, thanks

facelessuser commented 5 years ago

Closed as the question was answered.