-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tags not added on images with Docusaurus #21
Comments
Ok I spent some time to reproduce this case. I'm on vacation at the moment, I will investigate this bug next week. ^^ |
Checking a bit further, I could get to the point where the token is called and the returned 'eaten' data seems correct:
This is with a default docusaurus install and just this last line added to docusaurus.config.js:
|
Ok, it's exactly what I tried. If you manage to get the 'eaten' data and that seems correct then the problem doesn't come from remark-attr. Thank you for you implication. |
I'm using docusaurus which uses rehype/remark and added remark-attr. Other markups like links, headers, etc. are working fine but image tags just don't get any attributes added. I also tested the paragraph branch which works fine with paragraphs.
Is there any test I could do to help diagnose the problem with images further?
I'm using
which leads to
Images are obviously copied to another folder and the src attribute rewritten in the way. This might just be the reason.
The text was updated successfully, but these errors were encountered: