Trouble with image size specification from Ulysses into textbundle

Olivier Spinnler's Avatar

Olivier Spinnler

10 Apr, 2020 08:41 PM

I wouldn't want to distract Brett from his work on NVUltra, but I’ve come into an unfortunate issue with images inside Ulysses documents.

Since version 15 of Ulysses, one can specify dimensions in the metadata of images. It works well in the built in preview, but not in Marked. Instead of the sized image, one gets a weird syntax like this :

![Famous castle][Famous castle](https://picsum.photos/id/1040/4496/3000 height=300)
![][](assets/DraggedImage–1.tiff height=75px)

I’ve checked the Markdown source inside the textbundle, it looks OK to me :

![Famous castle](https://picsum.photos/id/1040/4496/3000 height=300)
![](assets/DraggedImage-1.tiff height=75px)

Attached is a demo textbundle.

Thank you very much for your kind attention.

  1. Support Staff 1 Posted by Brett on 10 Apr, 2020 09:56 PM

    Brett's Avatar

    Which processor are you using?

    - Brett

  2. 2 Posted by Olivier Spinnle... on 11 Apr, 2020 04:42 AM

    Olivier Spinnler's Avatar

    I’m using MultiMarkdown and no preprocessor. Attached are the preferences panes in question.

    Olivier :-{)

  3. Support Staff 3 Posted by Brett on 11 Apr, 2020 01:09 PM

    Brett's Avatar

    I'm afraid the version of MultiMarkdown in Marked does not allow image
    attributes within inline image tags.

    -Brett

  4. Support Staff 4 Posted by Brett on 11 Apr, 2020 01:10 PM

    Brett's Avatar

    (though you may have better luck if you switch to the Discount
    processor.)

  5. 5 Posted by lcomai on 22 Jul, 2020 04:28 AM

    lcomai's Avatar

    Hello,
    I was wondering if this issue was addressed. I am using Ulysses and my image links break if I specify size. They work if no size is specified. In the example below, the first image link works. The second does not. In the Marked2 PDF, I see the following in place of the failed second image:
    ![]. For Ulysses, I follow your instructions. I am using the MultiMarkdown processor in Marked2. I have tried the Discount processor but it has not solved the problem. Thanks,
    --LC

    Example in TextBundle

  6. Support Staff 6 Posted by Brett on 22 Jul, 2020 10:59 AM

    Brett's Avatar

    Sorry, that syntax for specifying an image size is still incompatible with Marked. You need to use reference style links if you want to include size specs with the MultiMarkdown processor. Which is, unfortunately, probably not Ulysses compatible.

    ![][img]
    
    [img]: TRAFFIC_scheme.jpg width=300px
    
  7. Support Staff 7 Posted by Brett on 22 Jul, 2020 11:00 AM

    Brett's Avatar

    Although if you set up MultiMarkdown v6 as a custom processor, it would likely solve the issue for you.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • Trouble_with_image_sizing.textbundle.zip 881 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
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