Images Not Showing / Catalina / Permissions

nic's Avatar


18 Aug, 2020 01:22 PM

My markdown documents are on my iCloud.

Everything was working fine - when opening a markdown file a dialog would open asking for Marked 2 to be given permission to access the file. Although a little irritating Catalina feature if the root drive was selected and permission granted then it didn't need to be repeated whilst Marked 2 was running.


There is never a request to give marked 2 permission to access a document on iCloud. It appears to have access to Documents (under Preferences | Security & Privacy | Files and Folders | Marked 2) but I cannot change this other than uncheck 'Documents Folder' which appears to have no effect.

I have seen 2 different permissions-related effects.

  • Opening a markdoen file on iCloud with file-includes. The includes show up as

Error: Format of file "file-include" is unrecognized

  • Sometimes a simple 'Refresh' in Marked 2 would cure this. If it didn't then opening the included file in Marked 2, then refreshing the file with the file-includes would cure the problem.

I don't get asked to give permission to Marked 2 to access a document on iCloud. I still get the odd error which can be cured by a refresh as above. This previews the markdown text. The bigger problem is that none of the images show.

Inspecting the image shows an error in the Marked 2 HTML

Failed to load resource: The operation file:/// ... image path.png couldn’t be completed. Operation not permitted.

It isn't a markdown error - the image shows up as expected in Sublime Text using the Markdown Images package.

If I copy the files under Documents I get the permissions challenge and everything displays as expected. There is something about permissions and the iCloud drive that stops this behaviour. I can understand why a link to an image on a remote server might be a security risk but one's own iCloud drive ought not to do this.

Is there any way around this?

  1. Support Staff 1 Posted by Brett on 18 Aug, 2020 01:47 PM

    Brett's Avatar

    Is it safe to assume you're using the Mac App Store version? Permissions
    with included files outside of the directory of the base Markdown file
    get complex with sandboxing. Would you be interested in a free
    crossgrade to the Paddle (non-sandboxed) version?


  2. 2 Posted by nic on 18 Aug, 2020 05:05 PM

    nic's Avatar

    Yes. There’s little point in having a cloud-based set of docs that cannot this include images.

    Is it the web browser? Similar thing seen in Firefox wrt https.

  3. Support Staff 3 Posted by Brett on 18 Aug, 2020 07:43 PM

    Brett's Avatar

    I'll send a license code for the Paddle version to the email account you
    registered here.


  4. Support Staff 4 Posted by Brett on 18 Aug, 2020 07:46 PM

    Brett's Avatar

    In answer to your question about the browser, more or less, yes. An image included in the browser has to be accessible to the program directly, either via http or as a local file. In the case of local files, sandboxing restricts access to only files you have directly opened, not files that are simply referenced in another file. When you open a file in Marked, you're granting permission to use the file's parent folder, but anything outside of that folder (or above it in the tree) is still inaccessible via sandboxing permissions. Marked tries to scan for included files and determine whether it needs to ask for permission, but that has its limits.

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