Skip to content

Instantly share code, notes, and snippets.

@andreberg
Last active January 13, 2021 17:09
Show Gist options
  • Save andreberg/04d969017ad279e0889cb67941ab847c to your computer and use it in GitHub Desktop.
Save andreberg/04d969017ad279e0889cb67941ab847c to your computer and use it in GitHub Desktop.
[Confluence Inline CSS Styling] Make your inline code literals like paths, variable values etc. look nicer than admin intended. #confluence #css #styles #inline #markup #markdown

In Confluence use the Insert Markup featureset it to Markdown and add any CSS styles you want

for example:

<span style="background-color: #eee; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; font-family: monospace; padding: 2px;">
//path/to/folder/with/some_file.ext
</span>

easy copy+paste

<span style="background-color:#eee;border-top:1px solid #aaa;border-bottom:1px solid #aaa;font-family:monospace;padding:2px;">
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment