Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

If Firefox was able to export bookmarks to markdown, it would be human readable

more options

I use text editors to work with text. Unfortunately, reading firefox bookmarks in plain text is quite painful, in either HTML or JSON. This is because of the large amount of data stored, like icons, and etc.

If I could export to markdown easily, this could be a nice thing and allow me to use my bookmark file directly.

I use text editors to work with text. Unfortunately, reading firefox bookmarks in plain text is quite painful, in either HTML or JSON. This is because of the large amount of data stored, like icons, and etc. If I could export to markdown easily, this could be a nice thing and allow me to use my bookmark file directly.

Alla svar (4)

more options

Possibly there is an extension with that feature. There are numerous bookmark-related extensions.

Or is there a tool to convert HTML to markdown that you could run against the HTML export? Unfortunately, it's not very well formed HTML (lots of tags are not closed, for example).

more options

Easiest workaround is to open a Bookmarks.html export file in a Firefox tab and save this file as a text file.

more options

cor-el said

Easiest workaround is to open a Bookmarks.html export file in a Firefox tab and save this file as a text file.

Yes this works ok, but some bookmarks span multiple lines. I'll probably end up trying to buy something that can import .json files.

more options

What would you want the markdown to look like?

For example, say you have this HTML from an export file, which is a folder title and for simplicity, the one bookmark in that folder. (I stripped the nonessential attributes.)

<DT><H3>StyleSheets</H3> <DL><p>     <DT><A HREF="https://www.google.com/search?q=mdn+stylesheets&ie=utf-8&oe=utf-8&client=firefox-b-1-ab">mdn stylesheets - Google Search</A> </DL>

Since folders can be nested in folders, I would need to know the equivalent markdown. Or maybe the structure isn't important to preserve?