A custom pre-processor perhaps?

Andy Bower's Avatar

Andy Bower

01 Oct, 2012 11:31 PM

I actually misunderstood what the Custom Markdown Processor feature was for. What I was looking for was a very similar feature but not one that replaces the built-in MD processing but one where I could place a pre-processor between the file I'm editing and the one that Marked receives to display.

For example. I want to place MD text inside block comments --[[ --]] in a Lua program. When I save the Lua text, I'd like Marked to spot the file has changed and then run it through the supplied pre-processor which (in my case) will remove everything except the contents of the comment blocks; thus piping only MD text through.

I would have thought this might be a useful feature in general?

best regards

  1. Support Staff 1 Posted by Brett on 02 Oct, 2012 12:06 AM

    Brett's Avatar

    This is already in place for 1.5.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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