Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export comments #20

Open
kingjon3377 opened this issue Feb 10, 2018 · 2 comments · May be fixed by #184
Open

Export comments #20

kingjon3377 opened this issue Feb 10, 2018 · 2 comments · May be fixed by #184

Comments

@kingjon3377
Copy link

It Would Be Nice if an exported Markdown (or HTML, I suppose) version of a document included the comments on the document. This feature is the one reason I keep using Draft to convert my Google Docs to Markdown).

How Draft represents Docs comments (which I'm not sure is the best way, but is one way) is easier to show by way of example than by describing. Suppose I have a document containing the text "The quick brown fox jumped over the lazy dogs", and there was a comment on "lazy", a comment on "quick brown", and a thread of three comments on "quick". This would be represented as the following Markdown:

The _**quick**[a][b][c] brown_[d] fox jumped over the _lazy_[e] dogs"

[a] First comment in the thread

[b] Second comment in the thread

[c] Third comment in the thread

[d] Text of the second comment

[e] Text of the first comment

Draft doesn't include any indication of comment authorship or date in the Markdown it creates, nor does it import marked-resolved comments or comments that are not (or are no longer) attached to specific text locations in the current state of the document, both of which are features I've wished for.

@evbacher
Copy link
Owner

I'm not sure how Draft imports Google Docs -- may be via the REST API, which does support importing comments. From an Apps Script add-on, though, the comments are not accessible. I'm going to mark this as a possible enhancement, in case the comments do become accessible directly from Apps Script.

@evbacher
Copy link
Owner

evbacher commented Jul 3, 2021

See https://developers.google.com/drive/api/v2/reference/comments/. May be possible to use this.

MaxGhenis added a commit to MaxGhenis/gd2md-html that referenced this issue Dec 24, 2024
@MaxGhenis MaxGhenis linked a pull request Dec 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants