![image](image-url) problem

janti.shawash's Avatar


11 Nov, 2013 10:38 AM

Hi Brett,

Thanks for the great app. I'm loving the segmented pdf and the docx generation. This means that my MD files are more useable and I don't have to re-write /copy/paste material in docx.

However, today I'm emailing about an issue I'm having with how Marked parses ![image](url-to-image).
In the png attached you'll see both the text mate view and the Marked view of the same line.

![image](url-to-image) in textmate.
![image][image](url-to-image) in Marked instead of showing the picture.

This worked in earlier versions of Marked.


  1. Support Staff 1 Posted by Brett on 11 Nov, 2013 02:23 PM

    Brett's Avatar

    Try replacing the space in "Google Drive" with %20.

  2. 2 Posted by Evan Travers on 18 Jun, 2019 08:17 PM

    Evan Travers's Avatar

    This is also happening to me today… and your suggestion works Brett… any clue why it suddenly changed?

  3. Support Staff 3 Posted by Brett on 19 Jun, 2019 03:25 PM

    Brett's Avatar

    Hey Evan,

    Nothing has changed. I hate to say it, but at no point in human history
    has a space been valid in a URL, they've always required escaping. Some
    processors handle it automatically, but most will break if the URL
    contains a space.


  4. 4 Posted by janti.shawash on 19 Jun, 2019 03:31 PM

    janti.shawash's Avatar

    That’s *very* fair. I won’t argue. I guess it mostly is a gotcha for me
    because I’m using local images exported from Sketch.app.

    I’ll just build a text-action or use vim to sort it out. Thanks for the
    guidance! Thanks for the _many_ ways that you make my daily life better.

Reply to this discussion

Internal reply

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

Attaching KB article:


Already uploaded files

  • Marked.png 52 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


? 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