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

Remove recognized keywords from image alternative text #318

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Nov 13, 2021

Updated the structure of marpitImage metadata, to store whether consumed the space-splitted keywords for image. When parsing process was finalized, Marpit image parse plugin will update the token to remove consumed keywords from an alternative text of the image.

Close #316.

@yhatt yhatt merged commit d62392f into main Nov 19, 2021
@yhatt yhatt deleted the remove-keywords-from-image-alt branch November 19, 2021 12:00
@mattwigway
Copy link

Thanks!

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

Successfully merging this pull request may close these issues.

Image sizing directives should be removed from alt text
2 participants