tag:support.markedapp.com,2011-09-11:/discussions/questions/6200-is-there-a-way-to-process-marked-special-syntax-and-save-resulting-markdownMarked: Discussion 2014-06-05T16:00:33Ztag:support.markedapp.com,2011-09-11:Comment/332852522014-06-05T14:56:25Z2014-06-05T14:56:25ZIs there a way to process Marked Special Syntax and save resulting Markdown?<div><p>Does running Pandoc as a custom processor not work in this case?
That should pipe the compiled file straight to Pandoc with whatever
arguments you need. If you've tried that and it's not sufficient,
there is a way to use the custom preprocessor feature to save the
compiled markdown:</p>
<p>Make a script like this:</p>
<pre>
<code>#!/bin/bash
cat | tee ~/Desktop/compiled.md</code>
</pre>
<p>Make it executable (<code>chmod a+x filename</code>) and use the
path to it as the Marked custom preprocessor (assuming you're using
Marked 2). That will write out a Markdown document every time it
updates, as well as returning the Markdown for processing in
Marked.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/332852522014-06-05T16:00:31Z2014-06-05T16:00:32ZIs there a way to process Marked Special Syntax and save resulting Markdown?<div><p>I think my problem is that the solution is so simple and obvious
I overlooked it :-/. Yes, that works exactly as I need. Thanks!</p></div>Simeon Fitch