Remarkable icon indicating copy to clipboard operation
Remarkable copied to clipboard

Custom CSS remaining set on new documents and sessions

Open paulojraposo opened this issue 11 months ago • 1 comments

Lovely editor, thanks!

I would like to have the app remember and stay set on a custom CSS between sessions and .md files, so that the user doesn't have to always select it again each time (as I seem to have to do on version 1.95 on Ubuntu). Related to issue 124 (https://github.com/jamiemcg/Remarkable/issues/124), but I notice that the app does actually remember my custom CSS in the input window, it just doesn't use that on new documents, instead going back to the default styling. This is all that keeps me from using it as my daily driver.

Thanks!

paulojraposo avatar Jan 16 '25 17:01 paulojraposo

I think I can get the effect you requested by editing the file called styles.py which will be installed in a folder somewhere, e.g. for me it is in /usr/lib/python3/dist-packages/remarkable/. You need to do this with root or admin privilege. Near the top where it says:


Image
You can insert custom css commands between the single inverted commas of custom_css='' and then set it as the default css in the line below. It then uses your custom_css on startup rather than github as shown below:
Image
Hope that helps a bit.

jonbcooper avatar Dec 06 '25 00:12 jonbcooper