Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes to images #46

Closed
oscarotero opened this issue Aug 23, 2017 · 3 comments
Closed

Attributes to images #46

oscarotero opened this issue Aug 23, 2017 · 3 comments

Comments

@oscarotero
Copy link

Hi, I'd like to add some atributes to images but it doesn't work. Not sure whether is a markdown-it-attrs issue or I'm doing something wrong.
Thanks!

Example input:

![Alt text](image.jpg){.image}

Current output:

<p class="image"><img src="image.jpg" alt="Alt text"></p>

Expected output:

<p><img src="image.jpg" alt="Alt text" class="image"></p>
@arve0
Copy link
Owner

arve0 commented Aug 23, 2017

Thanks for reporting. Seems to be a bug. I'll look into it.

arve0 added a commit that referenced this issue Aug 27, 2017
@arve0 arve0 closed this as completed in 84d3f92 Aug 27, 2017
@arve0
Copy link
Owner

arve0 commented Aug 27, 2017

Fixed in v1.1.0.

@oscarotero
Copy link
Author

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants