MarkDownload - Markdown Web Clipper

Thanks for the feedback, @icebear!
I had panned on adding the template stuff (and, in fact, had been part-way through implementing it for a while), but hadn’t considered adding the current date.

But now I’ve gone and added it in, along with the template stuff and an options page (for the template stuff and for specifying markdown formatting options). Just need to wait for it to be reviewed by the various extension directories and the update should be out soon.

(EDIT: Firefox version was reviewed super quick and is already out!)

2 Likes

Great changes!

To clarifying, my request on the date was to allow customization of the document title (not the inline markdown text), so that it’s {Date} {Article title}.md

In any case, already very useful.

Feature request: batch MarkDownload all open tabs in current Firefox window - when I open up a batch of links I know I want to download, but don’t want to repeat the clicks on each page.

Ah. Yes I see how that would be useful. Maybe I can introduce a way to template the note title like the front-matter (and yes, I do have an issue for adding zettelkasten-style ids on titles that this would solve)

That’s not a bad idea either. I’ll add a GitHub issue to track this one. https://github.com/deathau/markdown-clipper/issues/15

Me: I need a good web-clipping addon for obsidian
starts searching the internet for the best web-clipping addon
Other me: The obsidian community is smart and probably already discussed this.
Me: What a splendid idea.

Thanks for this thread. :slight_smile:

5 Likes

Welcome to try this tool to quickly get the information in the web page and convert it into markdown syntax

This is an excellent tool!

Thank you for all of your work, and for making it free/open-source.

Feature Request
If a portion of the page is selected/highlighted, download only that portion (plus any front/back matter in your settings).

I noticed you can edit the raw text in the extension popup and trim it there before saving. But if the part you want is in the middle it can be a lot harder to find in the plain text and tiny popup of the extension.

Would it be possible to check for selected text before the extension grabs the page content?

1 Like

Thanks for the suggestion, @GreenFlux, and this is something I do want to eventually tackle.
In fact, it looks like I already made a GitHub issue for it: https://github.com/deathau/markdown-clipper/issues/2

I had a bit of a look into it just now, and it seems simple enough to implement, but I have a few questions for you (and anyone else who wants to chime in):

  • Would you want the front/back templates to apply to selected text the same way as a whole page grab?
  • Should there be some sort of UI indicating that the extension only grabbed selected text? Is that an issue?
  • Should there be a button to switch to the whole article text, in case the selection was accidental? Or is it easy enough to just click to deselect and click the extension button again?
1 Like

Hi @death.au. Thanks for taking user input on this!

Ideally, I would like to have all options available in the download window, as opposed to having to open the settings and adjust defaults first.

  • Should there be some sort of UI indicating that the extension only grabbed selected text? Is that an issue?

I think if you display the buttons in the download window instead of in settings, then you can just highlight the “Selected Text” button to alert the user.

Thanks for the input. That makes sense.
In the meantime, I’ve also implemented something similar via context menus (not released yet), however it turns out a background script can’t activate the popup, so I’ve implemented them as copy to clipboard, rather than download, which I’m kinda torn about (I mean, “download” is in the name, after all).

When I get some time later, I’ll whip up something like your screenshot. I think that works pretty well :+1:

2 Likes

Good news everyone! A new update is here:
Added:

  • Clip selected text
  • Toggle in popup to clip selected or full page
  • Toggle in popup to include front/back templates
  • Option for title templates
  • Option to always show Save As dialog
  • Context menus for downloading or copying text as markdown
  • Context menus for downloading a tab or all tabs in window as markdown
  • Keyboard shortcut (Alt+Shift+M be default) for showing popup

This resolves quite a few of the pending requests. Let me know if you have any feedback!

The Firefox version is already updated, but Chrome and Edge are both pending review due to needing “all sites” permission for the new “download all tabs” option.

9 Likes

Awesome, I’ll try this out at work tomorrow!

Awesome! Thanks for the update. I can’t wait for the Chrome version!

@death.au Fantastic! Thanks for the tip.

Feedback on the “Download all tabs as Markdown”: this feature doesn’t use the preferences for front and back matter (e.g. title, author, #tags, etc). Can these options be integrated into that usage?

Correction: “Download all tabs as Markdown” is working, but to use the front/back matter preferences you need to first do a single page download and tick the box for “Include front/back template”. After that is done it saves the preference for future batch downloads. Hope that helps anyone else that was similarly confused.

And, thanks to @death.au - this is a really awesome tool.

:thinking: I did foresee something like this and added the front/back template option to the page context menu, but I guess I should add it to the tab context menu in Firefox also.

1 Like

Would it be possible to get this on Safari too now that Apple are providing tools to easily convert extensions from other browsers?


I did start playing around with this locally, but there are a few hurdles to overcome, not least of which is I need to pay for an apple developer account in order to be able to distribute the extension :expressionless:

I also had some issues with the download api not being available, but I found a workaround for that, and I was having some issues with the context menu options not quite working, which I need to have another look at.

I want to make it work, but having to fork out AUD$149 (per year) just to supply a completely free extension I make for fun in my spare time seems a bit steep to me, and is a big roadblock.