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

Is it possible to keep img tags inside figures? #243

Open
caraya opened this issue Oct 25, 2023 · 0 comments
Open

Is it possible to keep img tags inside figures? #243

caraya opened this issue Oct 25, 2023 · 0 comments

Comments

@caraya
Copy link

caraya commented Oct 25, 2023

I'm working with WordPress content that uses figure elements. When I convert it to markdown, it produces the following result:

<figure> ![](https://publishing-project.rivendellweb.net/wp-content/uploads/2023/05/small-viewport.png)<figcaption>Small viewport show in light g
reen color. The image shows the browser address bar at the top and the browser navigation bar at the bottom. Source: [Interop 2022](https://githu
b.com/web-platform-tests/interop-2022-viewport/blob/main/explainers/viewport-units.md)</figcaption></figure>

I would like the library not to convert the image tag to markdown, but only when it's inside a figure.

Is this possible?

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

1 participant