MaxLap / standard-notes-indent-editor

A simple text editor that makes it easy to write and read nested notes in https://standardnotes.org/
GNU Affero General Public License v3.0
49 stars 2 forks source link
code-mirror standard-notes

Standard Notes Indent Editor

This is a text editor for the encrypted note taking app https://standardnotes.org/.

A simple text editor that makes it easy to write and read nested notes.

Online demo with explanations: https://maxlap.github.io/standard-notes-indent-editor/demo.html

The demo shows everything nicely, but compared to a basic text editor:

How to install

In Standard Notes (either browser or desktop), click Extension, then Import Extension, paste this link: https://listed.to/p/eUPdNELfEu, press Enter.

You should then be able to select the Indent Editor in your list of editors.

The goals

This means:

Supporting the editor

If you enjoy the editor, please consider hitting the sponsor button at the top of the page to encourage my work.

Basic of how to dev:

Clone the repo.

Install the dependencies:

npm install

To run the server to try out the editor:

python3 -m http.server 8080

To update dist/ files which are sent as editor, run:

grunt

You can use the demo to just try out the editor:

http://localhost:8080/demo.html

To refresh your editor with the modified version, the way that always work is to open the Chrome console, then right-click the refresh icon and do a "Empty cache and hard reload". Other ways of doing hard refreshes may work, but the cache clearing has sometimes been necessary for me.

You can also try it in StandardNotes (but it's more painful to do so):

Import the local test extension if you didn't already. Do it from the desktop app because otherwise, it's a http call within a https one which is refused by your browser. This is the link to the extension:

http://localhost:8080/local_ext.json

Once the app is imported, you can test it from: