Skip to content

export notes as website

Liam Doherty edited this page Oct 18, 2021 · 2 revisions

Export notes as website

This script exports all notes in the collection as interlinked HTML files that can be viewed using any web browser.

Additional documentation for this script can be found on the development wiki. The wiki website is also a demo, since it has been written entirely in QOwnNotes and exported directly to HTML using this script.

Usage

Installing the script should add a new custom action ("Export notes as website") to the Scripting menu in QOwnNotes. Clicking this will export all notes in the current collection to HTML files in a new folder called export.

After opening any of the exported HTML files in a browser, it should be possible to click through internal links just like in QOwnNotes.

Using this script with backlinks

Note that in order to include backlinks in the exported HTML you will need to (temporarily) select "Trigger backlink generation on preview" from the backlinks script options. After exporting, this option should be unselected, as it may interfere with performance (since it causes backlinks to be generated "live" whenever the preview changes, instead of just once on opening the note).

Clone this wiki locally