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

Alt text wrapped in grave marks is deleted #414

Open
moshemoshe137 opened this issue Sep 14, 2023 · 3 comments
Open

Alt text wrapped in grave marks is deleted #414

moshemoshe137 opened this issue Sep 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@moshemoshe137
Copy link

Describe the bug

Alt text wrapped in grave marks is deleted.

Reproduce the bug

For example, the word "Box" is removed by mdformat

-![Stack and heap with a `Box`](images/image-2.png) Now there is just a single array.
+![Stack and heap with a ](images/image-2.png) Now there is just a single array.

List your environment

Python 3.10 on Windows.

> pip list
Package              Version
-------------------- -------
linkify-it-py        2.0.2
markdown-it-py       2.2.0
mdformat             0.7.17
mdformat_footnote    0.1.1
mdformat_frontmatter 2.0.1
mdformat-gfm         0.3.5
mdformat_tables      0.4.1
mdit-py-plugins      0.3.5
mdurl                0.1.2
pip                  23.2.1
ruamel.yaml          0.17.32
ruamel.yaml.clib     0.2.7
setuptools           68.2.2
tomli                2.0.1
uc-micro-py          1.0.2
@moshemoshe137 moshemoshe137 added the bug Something isn't working label Sep 14, 2023
@welcome
Copy link

welcome bot commented Sep 14, 2023

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@hukkin
Copy link
Owner

hukkin commented Jan 2, 2024

Thanks a lot! I can reproduce even without any mdformat plugins. This needs to be fixed.

@hukkin
Copy link
Owner

hukkin commented Nov 2, 2024

(Note to self) Proper fix needs markdown-it-py synced with markdown-it (the JS package) version 14.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants