WordPress.org

Support

Support » Plugins and Hacks » WP-Markdown » [Plugin: WP-Markdown] Having issues wrapping link around image

[Plugin: WP-Markdown] Having issues wrapping link around image

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stephen Harris

    @stephenh1988

    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="...">](...)

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

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

    Plugin Author Stephen Harris

    @stephenharris

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP-Markdown] Having issues wrapping link around image’ is closed to new replies.
Skip to toolbar