codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Comments Feature in CodiMD

Open jakubgs opened this issue 5 years ago • 6 comments

I see https://hackmd.io has comments for documents, which is pretty cool. Is that feature ever coming to CodiMD?

jakubgs avatar Jun 15 '19 16:06 jakubgs

It would be fantastic to have a way of supporting a commenting side bar with the following features:

  • comments stored in document using CriticMarkup
  • tools for add/remove/change/highlight which insert syntax in selected passage
  • marginal marks in edit and rendered view to show an edit
  • buttons for accept/reject of edits
  • tracking of a discussion/chat for each edit
    • this is a bit more difficult. Ideally it would be good to retain data in the CriticMarkup format but it woukd be necessary to add autor tag to comments automatically and also to have the option of collapsing comments in the edit view, or else it could become distracting.

In summary, these features would allow multi-user commenting and editing workflow while retaining consistency with the markdown document and multi-user collaboration.

zeigerpuppy avatar Nov 23 '19 00:11 zeigerpuppy

I would be very happy if commenting support was added with 1) markdown comment, 2) email address/name input field, as a beginning?

Is there any progress, or indication if this functionality can be added?

ei8fdb avatar Jul 22 '20 15:07 ei8fdb

For comment threads, this might bloat the markdown content. CriticMarkup should be extended to support reference to external comments, via IDs, as footnotes or separate files (json / separate db) something like : {## 1 ##} ... {## ef18de ##}

Edit: I'm am not the only one to have this idea. I like this poposal :

Lorem ipsum dolor sit amet, consectetur adipiscing elit. {==Vestibulum at
orci magna. Phasellus augue justo, sodales eu pulvinar ac, vulputate eget
nulla.==}{>>[1,2,3,4,5]<<} Mauris massa sem, tempor sed cursus et, semper
tincidunt lacus.

<!-- At the end of markdown document -->
{[1]}: @gsw This is the first comment.
{[2]}: @abc Another comment.
{[3]}: @xyz Yet another comment.
{[4]}: Fourth comment.
{[5]}: Last comment.

raphaeljolivet avatar Nov 26 '20 10:11 raphaeljolivet

I think we should not mix this and CriticMarkup feature. For us it would be great to have discussion on document outside of document, if we can download it as plain file later.

stgolem avatar Jul 28 '21 11:07 stgolem

any update for this feature?

yanickxia avatar Dec 17 '21 02:12 yanickxia

I am also curious on an update for this feature? If someone is more familiar with how this feature should be architected I am happy to own it.

Iaskebba avatar Jan 17 '22 22:01 Iaskebba