搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

所有回复 (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?