Custom processor permissions in MAS version

christian.kolen's Avatar

christian.kolen

12 May, 2018 01:57 AM

Instructions to use pandoc as a custom processor with the Mac App Store version:

  1. From https://github.com/jgm/pandoc/releases/latest, obtain the portable version of pandoc, such as https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-macOS.zip

  2. Put the 2 binaries in /Applications/Marked 2.app/Contents/MacOS

  3. Use /Applications/Marked 2.app/Contents/MacOS/pandoc as the path in Marked 2 settings.

  4. Repeat when Marked 2 is updated, because most probably it will be overwritten.

I will turn this into an automated script later.

  1. 1 Posted by christian.kolen on 19 Jul, 2018 02:21 AM

    christian.kolen's Avatar

    I've found that the best way to do this is this one-liner:

    sudo ln "$(which pandoc)" '/Applications/Marked 2.app/Contents/MacOS'  
    <pre><code>
    This creates a hardlink of the pandoc in your PATH to the sandboxed directory that Marked has access to.
    
    After every update of Marked 2, just run this one liner again.</code>
    </pre>
    

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

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