Open JAZ-CO opened 2 months ago
When trying to use this package for images, it always gives me a text instead of rendering the image,
For example:
If the markdown data was: "![Sample Image](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)", It will perfectly show an image
but when trying to use an or even converting an already markdown style,
Example: html2md.convert("![Sample Image](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)")<
It will just show it as a text instead of loading the image
This solved the issue for me, to remove all escape characters:
html2md.convert(\'![Sample Image](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)').replaceAll("\", "")
When trying to use this package for images, it always gives me a text instead of rendering the image,
For example:
If the markdown data was: "![Sample Image](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)", It will perfectly show an image
but when trying to use an or even converting an already markdown style,
Example: html2md.convert("![Sample Image](https://github.githubassets.com/images/modules/logos_page/GitHub-Logo.png)")<
It will just show it as a text instead of loading the image