tag:support.markedapp.com,2011-09-11:/discussions/suggestions/44368-open-document-via-command-lineMarked: Discussion 2015-04-23T20:45:50Ztag:support.markedapp.com,2011-09-11:Comment/366597382015-04-23T20:45:49Z2015-04-23T20:45:49Zopen document via command line<div><p>Marked 1 originally shipped with a <code>mark</code> binary, but
it became problematic when moving to the app store. Just can just
use <code>open -a 'Marked 2' filename.md</code>.</p>
<p>You can also create a shell alias:</p>
<pre>
<code> alias mark="open -a 'Marked 2'"</code>
</pre>
<p>and then just use <code>mark filename.md</code>.</p>
<p>Further, there's a <a href="http://marked2app.com/help/URL_Handler.html">URL handler</a> for
more advanced tasks like previewing arbitrary text, changing
styles, forcing all or individual windows to refresh, etc. This can
also be called with the <code>open</code> command.</p></div>Brett