I've begun writing stuff in markdown lately, and edit my files in SciTE. I work in Windows, so this means I'm simultaneously running a Windows command prompt to generate output files at various stages of my writing process.
I mostly output my files in the same format, and with basically the same command line switches to pandoc. For instance, my usual command looks something like this:
pandoc [flags] -o output.html input.markdown
I've omitted my usual flags for clarity.
Is there any way to set up SciTE to recognize the file extension I'm using for markdown files and configure it to "Compile" the file with a command string something like this?
Ultimately, if this is possible I'd also like to set the "Build" option to run the file through markdown2pdf as well, and maybe (if I'm really lucky) someday figure out how to configure Go to launch the HTML file that comes from running the "compile" command...
[Edit: I posted this over on the TEX StackExchange site as well, perhaps that's a better place.]
This is not a full Markdown mode, but it is a good example to accomplish what you want.
You can add this file to
/usr/share/scite
asmarkdown.properties
:Then you'll also need to apply this patch like so:
patch -p1 < SciTEGlobal.properties.patch