yorkxin / copy-as-markdown

A browser extension to copy tabs and links as Markdown
MIT License
542 stars 83 forks source link

Include groups in list exporting #139

Closed yorkxin closed 6 months ago

yorkxin commented 6 months ago

Summary

Example:

- [Page 0 - Copy as Markdown](http://localhost:5566/0.html)
- Group 1
  - [Page 1 - Copy as Markdown](http://localhost:5566/1.html)
  - [Page 2 - Copy as Markdown](http://localhost:5566/2.html)
- [Page 3 - Copy as Markdown](http://localhost:5566/3.html)
- Untitled green group
  - [Page 4 - Copy as Markdown](http://localhost:5566/4.html)
- [Page 5 - Copy as Markdown](http://localhost:5566/5.html)

Where Group 1 is the custom name of the group, and Untitled green group is a group that has never been named by the user.

For Task List, the group will also become a task:

- [ ] [Page 0 - Copy as Markdown](http://localhost:5566/0.html)
- [ ] Group 1
  - [ ] [Page 1 - Copy as Markdown](http://localhost:5566/1.html)
  - [ ] [Page 2 - Copy as Markdown](http://localhost:5566/2.html)
- [ ] [Page 3 - Copy as Markdown](http://localhost:5566/3.html)
- [ ] Untitled green group
  - [ ] [Page 4 - Copy as Markdown](http://localhost:5566/4.html)
- [ ] [Page 5 - Copy as Markdown](http://localhost:5566/5.html)

Closes #123

Tests

Optional: