Sublime Forum

Adding a Build System for Markdown?

#1

I want to add a build system for markdown, so that I can write a document and convert it to html by pressing CTRL+B. But I can’t quite figure out how to do it. Here’s what I’ve tried so far:

  • I installed raspberry perl and set the PATH.
  • I copied Markdown.pl to the bin folder of my perl installation.
  • I managed to convert a Markdown file from the command prompt.

I can’t quite figure out how to create the build file for Sublime Text 3. I tried making one, but I get an error for file not found. I keep thinking that there must be an existing build file for this task, but I can’t seem to find that either.

0 Likes

#2

Personally I use markdown editing (package) which works pretty well for me.

0 Likes

#3

I installed the MarkdownEditing package as well, and it works great when creating and editing documents. But I’m referring to the process of converting the file from markdown syntax to html. Using the Build System seems like the way to go, as it’s just a call to a perl script on the command prompt, but I don’t unsderstand how to create a new Build System. And I can’t find one online either.

0 Likes

#4

Okay, I was wrong. The actual package I use for building markdown is “Markdown Preview”. I was on mobile when I wrote the above so I couldn’t verify.

Regarding build systems, check out docs.sublimetext.info/en/latest/ … stems.html

0 Likes

#5

That link to the Build Systems was what I was using for reference. But I don’t understand it all that well.

It seems that the Markdown Preview package will work for me, though. I thought it just previewed the file, but it does let you convert the file to HTML as well.

0 Likes