Markdown for images isn't playing well with HTML anymore
See original GitHub issueIf you use the image markdown syntax to render an image and put it near HTML code, Docsify will render it as text. The problem was introduced in version 4.8.0.
For example, this would not render the image:
<div>
![](img.png)
</div>
This would also not render the image:
<br/>
![](img.png)
But this would (empty line between HTML and markdown):
<br/>
![](img.png)
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Markdown and image alignment - html - Stack Overflow
You can embed HTML in Markdown, so you can do something like this: <img style="float: right;" src="whatever. jpg"> Continue markdown text... Save this...
Read more >Images in HTML not portable - Google Groups
If I embed a local image in a markdown file (i.e. using a path to say a PNG file saved previously) and output...
Read more >15 Common Problems with rmarkdown (and some solutions)
15 Common Problems with rmarkdown (and some solutions) · 15.1 Avoiding problems · 15.2 The errors · 15.3 “Duplication”: Duplicated chunk names ·...
Read more >Images | Dev Cheatsheets - Michael Currin - GitHub Pages
Images in markdown as similar to a hyperlink, except it starts with an exclamation mark. The following apply, as with standard links:.
Read more >Thoughts On Markdown - Smashing Magazine
For any markup that is not covered by Markdown's syntax, you simply use HTML itself. There's no need to preface it or delimit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found this can be rendered by adding spaces in html…
https://codesandbox.io/s/z2k36lqlrp
But I will add a new custom component feature so that we can use markdown in HTML.