Answered

Is there any way to preserve white space in code blocks?

  • 25 January 2022
  • 1 reply
  • 12 views

I've created a bunch of code blocks in my help article with carefully formatted whitespace. When I save the article the whitespace is stripped. I'm talking specifically about whitespace to the left of content.

 

This:

" some-command"

Becomes:

some-command

 

I had to quote the first example because the help center does the same snipping...

When I edit the article the whitespace is back! How can I keep it in place for viewers of the article?

icon

Best answer by Aparna 27 January 2022, 18:18

View original

1 reply

Hey @frans​ ! Looks like a limitation on our end. But we can open up a bug issue for you, if you could open a conversation with the support team from Messenger in your workspace.

Reply