WordPress.org

Ready to get started?Download WordPress

Forums

WP-Markdown
Linked Images (2 posts)

  1. mattshelton
    Member
    Posted 2 years ago #

    I'm seeing that when adding a link to an image, the auto-coded URLs are being re-formatted and removed. Here's what I enter into the editor:

    [![label-here][IMGREF](http://www.example.com/url/here.jpg)
    
      [IMGREF]: http://www.example.com/url/here.jpg

    When I update the post, it is reformatted to:

    [![label-here][2][2]
    
      []: http://www.example.com/url/here.jpg
      [2]: http://www.example.com/url/here.jpg

    I found that even if I change the syntax for the image to be:

    [![label-here][2][2]

    ...and remove the errant [] item, it re-adds it and breaks the image entirely.

    http://wordpress.org/extend/plugins/wp-markdown/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    Yes it seems wrapping links around the short-hand syntax for images is causing problems. I'll need to look into to this.

    In the mean time there is a work around, see this thread: http://wordpress.org/support/topic/plugin-wp-markdown-having-issues-wrapping-link-around-image?replies=2#post-3201225

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.