react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

want to know if this project supports rendering comments,or have some alternative?

Open est7 opened this issue 1 year ago • 3 comments

Description

This is an amazing project. I want to know if this project supports rendering comments, just like the image below. On the right side of the page, I hope to display my comments on the article and link them to the marked content.

image

Notion Test Page ID

https://1est.notion.site/How-to-use-search-engine-optimization-to-drive-sales-381bf16cb7f04ad79d6d20d5915b2185

est7 avatar Mar 13 '23 04:03 est7

I often use web clipper and mark articles, so I want to have this feature so that I can directly see the content of my comments in my static blog in the future

est7 avatar Mar 13 '23 04:03 est7

I want it too

KIMSEUNGGYU avatar May 07 '23 20:05 KIMSEUNGGYU

It looks doable:

  • text chunks can have a decoration "m", with a discussion-id. It's currently ignored.
  • The top-level recordMap, contains discussion and comment. The comments have the discussion as a parent-id.

I think finding them is easy, but figuring out a DOM + styling solution that you can transform into easily is a bit harder. (Especially with the responsiveness Notion provides).

Perhaps the easiest solution would be to add them as footnotes at the bottom of your document or so.

venkr avatar Oct 16 '23 01:10 venkr