Skip to content

Locally shared css #5

@avidseeker

Description

@avidseeker

Beautiful idea. Thank you for sharing.

My suggestion is to have an option to reference css from a shared path instead of duplicating the same code in all nash notes. By a shared path I mean something like /usr/share/nash/common.css for global css or assets/common.css for relative css.

I understand that the whole idea of nash is to have a self-contained html file, but I think this is worth considering for two reasons:

  1. Saves space of repeated code
  2. It makes a style update effortless. To change theme, simply change one common.css file.

A workaround I can think of is possibly through a script that goes over every nash note and updates its internals to match the new css.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions