nextcloud / notes

✎ Distraction-free notes and writing
https://apps.nextcloud.com/apps/notes
GNU Affero General Public License v3.0
598 stars 132 forks source link

Possibility to activate monospace font for Notes #1132

Open Stefomat opened 8 months ago

Stefomat commented 8 months ago

Is your feature request related to a problem? Please describe. Markdown is intended to be readable even without a stylish preview.
Unfortunately, fonts that are not monospace prevent tables in particular from being presented cleanly.

Describe the solution you'd like Could there be a feature in Notes that switches the text output to monospace font? Maybe a default setting that text is displayed as monospace in the editor?

Thanks for considering

benthetechguy commented 5 months ago

+1! This already exists on the official mobile app, so I don't see why it shouldn't on desktop.

Stefomat commented 1 month ago

Is there any update on this? Maybe someone knows of a workaround?

stefan-niedermann commented 1 month ago

Maybe someone knows of a workaround?

Use the Custom CSS app and overide the font (as a workaround).

Stefomat commented 1 month ago

@stefan-niedermann Could you point me in the right direction as to which CSS element I need to overwrite? I only want to hit the editor in Notes, not the complete body. I imagine it like this:

noteseditor { font-family: "monospace"; }