Confluence: better monospace

Adds a border and a background to monospace text, making it easier to read.

Install as user style?
Author's suggested script

Saatat myös pitää

Install as user style
Tekijä
andrybak
Päivittäiset asennukset
0
Asennuskerrat
9
Arvostelut
0 0 0
Versio
7
Luotu
10.2.2023
Päivitetty
17.12.2023
Lisenssi
MIT
Käytössä

Confluence: better monospace

This style adds a border and a background to monospace text on Confluence, making it easier to distinguish from surrounding text.

This style supports both Confluence Server and Confluence Cloud.

Screenshot comparing sample text with and without this user style

Instructions

The style uses @url-prefix rules to work on any domain that starts with the word confluence. If your Confluence instance uses a domain which doesn't start with the word confluence, you'll have to manually add your custom domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/confluence-simple-floating-toc.user.css

See also

More user scripts and user styles for Jira, Bitbucket, and Confluence in set Atlassian Tweaks.