Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Word Wrap in confluence Micros/text?

Shruti Wadhokar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 23, 2020

I have splunk logs to preserve on one of the pages, but they are getting displayed in one big lines. Rather i want them to be readable so looking for ways to wrap it.Confluence-Logs.png

1 answer

0 votes
David at David Simpson Apps
Atlassian Partner
September 23, 2020

How are you displaying them?

You could add the following CSS on the page if they are in a pre block:

<style>
pre {
white-space
: pre-wrap;
}
</style>

...perhaps in the HTML macro, if you have that enabled.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events