Marked 2 not displaying local images

Charles McKnight's Avatar

Charles McKnight

08 Feb, 2021 09:46 PM

I have a Markdown document with an image in a subdirectory that is a child of the directory the Markdown document is in. I tried using the following Markdown:

my image

but the image did not display. Wondering if it was an HTML issue, I entered the following HTML:

Test Image

but still no image displayed. I loaded the file into another Markdown previewer and the image displayed as I had expected.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Create Markdown file with an image link

// If applicable please attach a sample document that causes the issue for you.

// Configuration (do not edit) Marked 2 1014 (Direct)

macOS Version: 11.2

allowPageBreakInCode: YES
bookTxtIsLeanpub: YES
summaryMdIsGitBook: YES
codeIsPoetry: NO
codeCanWrap: YES
collapsibleHeadlines: NO
convertGithubCheckboxes: YES
convertGithubEmoji: YES
convertYAMLToMMD: NO
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 3
defaultProcessor: Discount (GFM)
enableMiniMap: NO
excludeBlockQuotesFromCounts: NO
excludeFootnotesFromCounts: NO
excludeVerbatimFromCounts: NO
excludeCaptionsFromCounts: NO
folderPreviewExtensionsArray: txt, md, mdown, html, markdown
githubNewlines: YES
h1IsPageBreak: NO
h2IsPageBreak: NO
hrIsPageBreak: NO
includeMathJax: YES
includeKatex: NO
limitTextWidth: NO
mathNumberEquations: NO
mathNumberEquationsSide: 0
mathNumberEquationsAMSOnly: NO
minimalJavaScript: NO
permissionGranted: YES
printHeaderFirstPage: NO
printFooterFirstPage: NO
processHTMLFiles: YES
removeMetadataForPreview: NO
removeYAMLHeaders: NO
scrollToEdit: YES
shouldDetectCritic: YES
shouldHighlightMarkupErrors: NO
shouldLoadCritic: NO
syntaxHighlight: NO
syntaxHighlightOnlyLang: NO
useCustomMarkdownProcessor: NO
useCustomPreprocessor: NO
useFirstH1AsPrintTitle: YES

  1. Support Staff 1 Posted by Brett on 08 Feb, 2021 10:05 PM

    Brett's Avatar

    Could you provide a zip file containing a subfolder with image, and the markdown file that should be loading it? Verify that this is happening in the test file, then zip it and attach it here.

    Normally I would assume this was a sandboxing issue, but you're on the direct version which doesn't have permissions issues. So I'll need to see a sample to be able to replicate the issue.



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