Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

Ability to copy/paste TODO lists to/from markdown #667

Open davidgilbertson opened 3 years ago

davidgilbertson commented 3 years ago

Describe the problem

It would be useful if I could copy a block from Roam that contained TODO items, and paste it elsewhere and have the checkboxes rendered.

I know 'tasks lists' aren't in the CommonMark or Daring Fireball definitions of markdown, but are of course in GitHub flavoured markdown and listed as 'extended syntax' at https://www.markdownguide.org/extended-syntax/#task-lists

Also, even when not supported, one could make the case that raw - [ ] and - [x] are human readable.

Feature implementation

Two options for implementation I can think of:

  1. When copying to the clipboard at any time, use - [ ] and - [x] for todos and parse this back into {{[[TODO]]}} when pasting into Roam ('interoperability' between markdown lists and Roam lists!)
  2. Add a right-click 'copy to markdown' option that converts to markdown on the clipboard