matze / jekyll-ditaa

Jekyll ditaa Plugin
MIT License
29 stars 9 forks source link

to insert the ditaa image as link and be able to open it at full screen #3

Closed kikitux closed 11 years ago

kikitux commented 11 years ago

Insert the image with a link to see it full screen

kikitux commented 11 years ago

Thanks for your valuable input.

I agree with you.

I did change the line of the image to:

    '<figure><a href="/' + @png_name + '" title="' + @png_name + '" "><img src="/' + @png_name + '" title="' + @png_name + '" max-width ="99%" /></a></figure>'

That is more simple and less hard coded.

I will work in the pice of optional.

How sounds {% ditaa link%} to trigger the link inclusion?

matze commented 11 years ago

How sounds {% ditaa link%} to trigger the link inclusion?

Sounds good. But you might be careful with that the link option is not passed to the ditaa compiler. Other than that, I will merge your changes. Thanks!