You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2023. It is now read-only.
Allowing JavaScript in notes has opened up some amazing possibilities. For example you can now automate note creation, modify a notes content, switch notes, you can automate anything!
I want to take this a step further and have a separate editor (in the settings) where you can input JavaScript that runs in the background. This way your "extension" runs independent of your note.
One example of what could be achieved with this is encryption! You'll be able to hook the loading of a note and decrypt it, then encrypt it when the user saves.
Another possibility is extending markdown. You could again hook note loading and use regex to add syntax for YouTube embeds, for example.
This will be a great start but I'd love for the user to be able to add GitHub projects, then Marknote will download and load the JavaScript automatically.
Allowing JavaScript in notes has opened up some amazing possibilities. For example you can now automate note creation, modify a notes content, switch notes, you can automate anything!
I want to take this a step further and have a separate editor (in the settings) where you can input JavaScript that runs in the background. This way your "extension" runs independent of your note.
One example of what could be achieved with this is encryption! You'll be able to hook the loading of a note and decrypt it, then encrypt it when the user saves.
Another possibility is extending markdown. You could again hook note loading and use regex to add syntax for YouTube embeds, for example.
This will be a great start but I'd love for the user to be able to add GitHub projects, then Marknote will download and load the JavaScript automatically.