nb icon indicating copy to clipboard operation
nb copied to clipboard

nb browse -g is not rendering images

Open trib0r3 opened this issue 3 years ago • 1 comments

Hello,

In my notes I have very often embedded images is such way:

# Test

This is test note

![scr](img.png)

But unfortunately nb browse -g is rendering above note into:

<div class="main">
<h1 id="test">Test</h1>
<p>This is test note</p>
<figure>
<figcaption aria-hidden="true">scr</figcaption>
</figure>
</div>

When I am trying to open image directly it shows:

415 Unsupported Media Type

So the actual image is not rendered. I can understand this behaviour for cli output, but not for the browser. Let me know if I'm doing something incorrectly, but from my perspective this limitation is on nb side.

Btw I know that I can open the note with external editor, but I would prefer to stay in one tool when I'm quickly checking my notes.

trib0r3 avatar Jun 19 '21 13:06 trib0r3

@trib0r3 This should now be working as expected as of version 6.3.5. Let me know if you run into any issues with it. I’m going to leave this issue open for the moment.

xwmx avatar Jul 03 '21 22:07 xwmx