WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. livekeen
    Member
    Posted 1 year ago #

  2. Stephen Harris
    Member
    Plugin Author

    Posted 1 year 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 12 months 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 12 months ago #

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

  5. Stephen Harris
    Member
    Plugin Author

    Posted 12 months 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

About this Topic

Tags

No tags yet.