How to force unwrap Code Macro
These instructions on customizing Confluence are not officially supported, per the Atlassian Support Offerings. This has been tested in Confluence 4.3.3.
目的
If the text inserted into a Code Macro in Confluence is too long, Confluence will wrap it to a new line.
ソリューション
- Navigate to the Stylesheet screen in Confluence Admin (at Browse >> Confluence Admin >> Stylesheet)
Add the following CSS:
code { /* forces the text not to wrap */ white-space: nowrap !important; }
- Click Save
Navigate to the page containing the wrapped code block. It should now be unwrapped.
最終更新日 2016 年 4 月 5 日
Powered by Confluence and Scroll Viewport.