WordPress.org

Forums

WP-Markdown
Having issues wrapping link around image (5 posts)

  1. livekeen
    Member
    Posted 2 years ago #

  2. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    Hi livekeen,

    Yes I get this too and I'll look into how to resolve this. One work around is to use the 'insert media' icon, which (after saving) wraps the image in a link as follows:

    [<img src="..." class="...">](...)

  3. karfes
    Member
    Posted 2 years ago #

    How can i set a class attribute to the link itself? the same way i cans set the title may be?

  4. karfes
    Member
    Posted 2 years ago #

    I got it, did some digging, not possible, had to write the full HTML for that.

  5. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    Yup, markdown doesn't let you add a class attribute to links, you have to write out the HTML.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Markdown
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.