dullage / flatnotes

A self-hosted, database-less note taking web app that utilises a flat folder of markdown files for storage.
MIT License
1.46k stars 86 forks source link

Custom markdown styling support #74

Open ahmednah opened 1 year ago

ahmednah commented 1 year ago

Hi @adullage, I would like to ask if there's any plan to add any way to support markdown custom styling (custome CSS or note themes) as found in Obsidian Themes and controlling font size in final note appearance.

dullage commented 1 year ago

Hi @ahmednah 👋. There are currently no plans in terms of custom theming but the recent implementation of the dark theme would make it fairly simple to implement custom colours. Is custom colours something you'd be interested in?

The font size is something I'd like to work on as for a lot of people, it is too small. I'll try and get to this in the near future.

Apart from colours and font size, is there anything you'd like to see?

bjuergens commented 1 year ago

Apart from colours and font size, is there anything you'd like to see?


For me it wouldn't have to be a full-fledged custom theming system. A quick "at-your-own-risk" option for powerusers would be everything I need.

some suggestions:

I guess modifiying the file on the docker-image could already work, but that will probably break things when updates happen.

note: I am absolutely not familiar with flatnotes (yet). So it is absolutely possible that I am missing something significant here.

[1] similar setting for dokuwiki. Note the security risk associated with this option: https://www.dokuwiki.org/config:htmlok

[2] similar setting for dokuwiki: https://www.dokuwiki.org/devel:css#user_styles