roam-block icon indicating copy to clipboard operation
roam-block copied to clipboard

Not embed ((UUID)) with overlay

Open randomwangran opened this issue 3 years ago • 3 comments

I have a block reference that is indexed by the database.

If I manually insert ((UUID)) and execute roam-block-mode, the context is successfully redisplayed. As shown in the green arrow in the following example.

However, if ((UUID)) is inserted as an overlay, it will only show the raw ((UUID)).

Would it be possible to have the similar behavior in the overlay?

image

randomwangran avatar Dec 17 '20 17:12 randomwangran

I can't get your point. What's the meaning of "((UUID)) is inserted as an overlay"?

Kinneyzhang avatar Dec 18 '20 07:12 Kinneyzhang

Sorry for jumping too much.

I am using annotate.el to annotate some thoughts. The orange content is an overlay showing the annotations associated the file content.

The meaning of "((UUID)) is inserted as an overlay" is shown in the following demo.

demo-show-uuid

If you are not too busy, you might try to visit this discussion on overlay rendering. I believe your effort in commit can inspire solving the issue in annotate.el.

randomwangran avatar Dec 18 '20 20:12 randomwangran

Sorry for that, I don't want dig into other packages too much, at least not now. After I have implemented the roam-block-embed.el, I will consider the compatibility with other packages.

Thanks for your focus and feedback! You could keep this issue open.

Kinneyzhang avatar Dec 19 '20 01:12 Kinneyzhang