# referenced images in markdown file, cause Marked 2 to double "[]"

#### Victor Warner

18 Dec, 2016 12:07 PM

// Please enter a detailed description of the issue
// Description of the issue:
In a markdown files I have inserted links to images in the following format:

"![](pictures/System%20preferences%20-%20sharing.jpg)"

In Marked 2 all such references are reproduced as

“![][](pictures/System%20preferences%20-%20sharing.jpg)"

The image is not shown.

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

1. Open Markdown file in MultiMarkdown Composer/Byword
2. Preview within these apps displays the images
3. But preview from nvALt, MultiMarkdown composer etc causes the issue described above.

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

// Configuration (do not edit)
Marked 2 925 (Direct)
OS X Version: 10.12.2
---
allowPageBreakInCode: 1
bookTxtIsLeanpub: 0
codeIsPoetry: 0
convertGithubCheckboxes: 1
convertYAMLToMMD: 0
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: 0
defaultProcessor: MultiMarkdown
enableMiniMap: 1
excludeBlockQuotesFromCounts: 0
excludeFootnotesFromCounts: 0
excludeVerbatimFromCounts: 0
excludeCaptionsFromCounts: 0
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: 1
h1IsPageBreak: 0
h2IsPageBreak: 0
hrIsPageBreak: 0
includeMathJax: 0
limitTextWidth: 0
minimalJavaScript: 0
outlineModeExtensions:
permissionGranted: 0
processHTMLFiles: 1
scrollToEdit: 1
shouldDetectCritic: 1
shouldHighlightMarkupErrors: 0
syntaxHighlight: 1

1. Support Staff Posted by Brett on 19 Dec, 2016 06:25 PM

This should be corrected in the next update. It's the result of a change
I made to allow processing of relative paths (any not beginning with a
~, /, or protocol) from within included files, but I made an error in
how it replaces the original text.

-Brett

2. Posted by Victor Warner on 20 Dec, 2016 02:46 PM

Brett,

Thank you for the explanation, and I look forward to the next update...

3. Posted by Jeremy on 10 Aug, 2017 08:51 PM

This is still an issue. Is there a fix coming or is there a workaround. I really need adequate image support.

4. Support Staff Posted by Brett on 12 Aug, 2017 01:02 PM

There's definitely a fix, and coming soon. Sorry the updated got delayed
while I fixed a few other bugs, but I have a beta about to go out for a
quick round of testing then release.

--
Brett Terpstra

5. Posted by torstenkoepke on 30 Mar, 2018 09:34 AM

Brett,

is this still an open issue in Version 2.5.11β (941)? I still see no images but instead ![]

Thanks, Torsten

6. Support Staff Posted by Brett on 30 Mar, 2018 05:29 PM

@torstenkoepke It should definite not be an issue in the beta (941). If you're still seeing it, could you attach a sample Markdown file that replicates the issue?

7. Posted by torstenkoepke on 30 Mar, 2018 07:16 PM

Sorry Brett, my fault. I looked into the respective files again after your hint and realised that all the pics had names including one or more spaces -- changing those to letters made the trick. I can see them know in the output as expected.

Thanks
Torsten

Am 30.03.2018 um 19:29 schrieb Brett <[email blocked]>:

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

### »

• setup.md 1.2 KB

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 24 Feb, 2021 06:25 AM pdflatex not found 23 Feb, 2021 06:39 PM streaming preview beachballs when URL is supplied 21 Feb, 2021 05:24 PM LanguageTool support 21 Feb, 2021 01:11 PM Obsidian and link support 19 Feb, 2021 11:39 AM curly quotes break rendering

## Recent Articles

 Intra-document links in exported PDFs Using Ulysses with Marked Fenced code blocks inside indented code blocks Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked