xwmx / nb

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
https://xwmx.github.io/nb
GNU Affero General Public License v3.0
6.43k stars 180 forks source link

Implement Custom JS and CSS Injection Support for `nb browse` #285

Closed mweichert closed 7 months ago

mweichert commented 7 months ago

Overview

This PR introduces the ability to inject custom JavaScript and CSS into our application. By utilizing environment variables, we’re providing a flexible method to enhance and customize the UI and behavior of nb browse on demand.

Changes Introduced

The key updates involve the conditional inclusion of custom JavaScript and CSS files:

Impact

Testing

This little enhancement should empower users to personalize their experience and addresses issue #284.

xwmx commented 7 months ago

@mweichert Thanks!