deathau / markdownload

A Firefox and Google Chrome extension to clip websites and download them into a readable markdown file.
Apache License 2.0
2.81k stars 223 forks source link

[Feature request] Multi-select highlights mode for markdownload #243

Open directentis1 opened 1 year ago

directentis1 commented 1 year ago

Currently, to use Markdownload to clip contents from websites, there are only two possible ways:

tabedzki commented 1 year ago

@deathau I think this is a useful feature to have and the good news is that I've found another extension to model to successfully capture the intended use that I believe would benefit users. something similar to your extension but does not include the front matter like yours does (a major reason why I want to use yours instead).

The extension [copy-selection-as-markdown](https://github.com/0x6b/copy-selection-as-markdown) allows a user to select multiple passages of text and export them to markdown though the app currently doesn't work as intended. Here's an example text, the result from the other extension displaying the intended behavior and the result from this extension. I am using the firefox ability to copy multiple passages of text using the Ctrl+click option via mouse to highlight multiple passages of text and I believe that might be what is causing this.

image

When I copy using [copy-selection-as-markdown](https://github.com/0x6b/copy-selection-as-markdown), I get:

[[Local Sync in Fleeting Notes: A Quick and Easy Setup | Fleeting Notes](https://www.fleetingnotes.app/posts/how-to-setup-local-file-sync)](https://www.fleetingnotes.app/posts/how-to-setup-local-file-sync)

> Are you looking for an easy way to back up your notes in Fleeting Notes? Or perhaps you want to use it with other local file managers like [[Obsidian MD](https://obsidian.md/)](https://obsidian.md/)? Local sync is the solution for you! In this short post, we'll walk you through the simple steps to set it up.
> 
> **Note**: Local file sync is **unavaiable on the web** due to browser restrictions
> 
> -   Navigate to the app's settings by opening the drawer and clicking on "Settings".
> -   Select a "Sync folder location".
> -   Toggle the "Enabled" switch to turn on local sync.
> -   (Optional) Adjust the "Sync type" and "Note template" to your liking.

When using markdownload "Copy Selection as Text", I end up with:

---
created: 2023-09-09T11:38:27 (UTC -04:00)
tags: []
source: https://www.fleetingnotes.app/posts/how-to-setup-local-file-sync
author: 
---

# Local Sync in Fleeting Notes: A Quick and Easy Setup | Fleeting Notes

> ## Excerpt
> Are you looking for an easy way to back up your notes in Fleeting Notes? Or perhaps you want to use it with other local file managers like Obsidian MD? Loc

---
Are you looking for an easy way to back up your notes in Fleeting Notes? Or perhaps you want to use it with other local file managers like [Obsidian MD](https://obsidian.md/)? Local sync is the solution for you! In this short post, we'll walk you through the simple steps to set it up.Are you looking for an easy way to back up your notes in Fleeting Notes? Or perhaps you want to use it with other local file managers like [Obsidian MD](https://obsidian.md/)? Local sync is the solution for you! In this short post, we'll walk you through the simple steps to set it up.Are you looking for an easy way to back up your notes in Fleeting Notes? Or perhaps you want to use it with other local file managers like [Obsidian MD](https://obsidian.md/)? Local sync is the solution for you! In this short post, we'll walk you through the simple steps to set it up.

When I use firefox to highlight a third, non-contiguous block of text, I end up with a third copy of that first block of text. ~Also, is there a way to disable the excerpt selection?~ Found it

directentis1 commented 4 months ago

I think it would be great to be able to take notes from the sidebar with MarkDownload and save it to Obsidian Vaults when I click "Save",

and it would be even better if MarkDownload supported WYSIWYG - allowing you to both format with Richtext types and supports highlighted text and text background with HTML/CSS Color codes.

Not sure if implementing such functions is difficult, I think it is possible because there are other addons that can do it - although there is nothing I want like with MarkDownload. If possible, I'd like to try and create a pull request.