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
I've started to use Ranedo to keep my notes organized and the only thing I feel is missing is some kind of color option. I'd like to propose a way to implement it: previously I too had to build a markdown parser and I was tasked to also add support for colors; my solution was introducing a new "special structure" like this |color #696969|, this would be picked up by the parser and convert all the text that came after it to that color. I think this would fit very well in the app it self and could be expanded to also include support for "standard css colors" as well as "default colors" aka colors that can be set with css classes, eg. default would be the default text color, accent would be a highlight color, ecc. this would allow to easily add both dark and light mode + easier integration with theming.
This "special structure" could also be reused in the future to change any number of settings partially throughout the document like alignment, paragraph spacing, ecc.
I hope you like and approve the idea. As much as it's non standard, markdown doesn't really provide any other "official" way to do this.
Let me know what you think
Enrico
The text was updated successfully, but these errors were encountered:
Sounds good Enrico.
We are currently behind on existing features and tests, so we need to get that in a better state.
If you want to spend time on a PR proof-of-concept, we can help you along the way
Hello,
I've started to use Ranedo to keep my notes organized and the only thing I feel is missing is some kind of color option. I'd like to propose a way to implement it: previously I too had to build a markdown parser and I was tasked to also add support for colors; my solution was introducing a new "special structure" like this
|color #696969|
, this would be picked up by the parser and convert all the text that came after it to that color. I think this would fit very well in the app it self and could be expanded to also include support for "standard css colors" as well as "default colors" aka colors that can be set with css classes, eg.default
would be the default text color,accent
would be a highlight color, ecc. this would allow to easily add both dark and light mode + easier integration with theming.This "special structure" could also be reused in the future to change any number of settings partially throughout the document like alignment, paragraph spacing, ecc.
I hope you like and approve the idea. As much as it's non standard, markdown doesn't really provide any other "official" way to do this.
Let me know what you think
Enrico
The text was updated successfully, but these errors were encountered: