Note level CSS file (referenced in front matter)

Hey guys, hope you’re doing well. Here’s an idea:

Optionally define a CSS file at the note level. Any custom CSS file could be referenced in the front matter, which would then override the CSS of that note.

This would be handy in many situations, for example: overriding the “Readable line length” for notes that contain large tables.

Anyway, that’s my idea. I think it would be super handy dandy.



I tried implementing this as a plug-in but the issue is that when you add css to the page, it applies to everything on the page. As far as I know, there is no way to scope it to one panel. Maybe others know how to accomplish that, if so I can develop the plugin. I also tried using scoped style tags but that doesn’t work in electron from what I can tell.

Hey danbburg, thanks for you interest in this plugin idea. I understand the hurdle you have discovered– Hopefully someone knows a way over it? Or maybe this would warrant an actual feature request?