Retina image support?

Chris Wilson's Avatar

Chris Wilson

01 Jan, 2014 06:51 PM

Is there a way to include retina image support in markdown docs? I'd like to include a screenshot taken from my retina MBP, but when I include the image in the markdown document (i.e. ![my-image][my-image]), it shows up in Marked double size. Is this possible?

  1. Support Staff 1 Posted by Brett on 01 Jan, 2014 07:04 PM

    Brett's Avatar

    In MultiMarkdown you can add width and height CSS to an image in the
    reference:

    ![img][reference]

    [reference]: /path/to/image width=800 height=600

    That will force it to display at a given size, which you can set to half
    dimensions.

  2. 2 Posted by Chris Wilson on 01 Jan, 2014 07:18 PM

    Chris Wilson's Avatar

    I just tried this by copying the text above, but the image doesn't resize at all (still shows up the same size). Anything else I need to do? (settings?)

  3. Support Staff 3 Posted by Brett on 01 Jan, 2014 07:32 PM

    Brett's Avatar

    Sorry, add "px" after each number.

    -Brett

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