question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Markdown for images isn't playing well with HTML anymore

See original GitHub issue

If 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:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
QingWei-Licommented, Nov 1, 2018

I found this can be rendered by adding spaces in html…

https://codesandbox.io/s/z2k36lqlrp

# Quick start

<div style='color: red;'>

- a
- b
- c

</div>
1reaction
QingWei-Licommented, Oct 31, 2018

But I will add a new custom component feature so that we can use markdown in HTML.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found