Multiple processors depending on file ending
Hi,
I'm constantly switching the processor back and forth depending on
if I do Markdown, reST or Textile.
It would be great if you could have one processor configured per file ending (or per regular expression), or if the filename was available as either an argument or an environment variable to the processor.
/Björn
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 09 Mar, 2012 02:39 PM
I agree, and this is on the roadmap. I haven't decided exactly how I want
to implement it, but I do think it would be useful in many situations.
2 Posted by bjorn.antonsson on 22 Mar, 2012 09:12 AM
A first step could be to make the filename or extension available as an
environment variable that you could use in your scripts.
/Björn
Support Staff 3 Posted by Brett on 22 Mar, 2012 11:44 AM
That would be easy enough to implement, and seems like a really good idea. I'll definitely look into it.
Thanks,
Brett
4 Posted by Dan Sharp on 23 Jan, 2014 11:34 PM
Any progress on this?
I too would love to have this option. I'm starting to write a lot more in asciidoc so I've got a custom processor for Marked to handle that, but I'm also still maintaining markdown docs. Having a configurable processor by file type/extension would be AWESOME!
Thanks,
Danimal
Support Staff 5 Posted by Brett on 23 Jan, 2014 11:36 PM
This is a large undertaking. I'm making progress, but it's been
secondary to getting the App Store version ready. I'm definitely working
on it, though.
-Brett
6 Posted by Dan Sharp on 24 Jan, 2014 02:24 AM
Brett,
Thank you for the reply. No worries at all... glad to hear that it's a work in progress.
:-)
-Danimal