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

image alt caption not working #2045

Closed
tlylt opened this issue Dec 2, 2022 · 0 comments · Fixed by #2046
Closed

image alt caption not working #2045

tlylt opened this issue Dec 2, 2022 · 0 comments · Fixed by #2046

Comments

@tlylt
Copy link
Contributor

tlylt commented Dec 2, 2022

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

Windows 10

MarkBind version

Master branch

What did you do? Describe the bug

The alt caption should be added to the image element but when the following example shows otherwise:
https://markbind.org/userGuide/readerFacingFeatures.html#images

![alt text here](https://markbind.org/images/logo-lightbackground.png "title here")

See element below => does have title, but alt=""
image

Steps to reproduce

Visit the link above and verify

Expected behavior

to include caption into the element's alt

Actual behavior

alt seems to be cleared

Anything else?

This seems to be due to conflicting functionalities by markdown-it-imsize and mardown-it-linkify

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

Successfully merging a pull request may close this issue.

1 participant