Set Custom Width of Code Blocks (<pre> element)?

1 Comments

  • Socorro Fernandez
    Comment actions Permalink

    Hey Paul!

    Have you tried updating the CSS for this?

    In the default Copenhagen theme there is the following in the file CSS:

    If you change the white-space property  to white-space: pre-wrap;

    Does this do the trick? You could also add additional properties here as needed but hoping this property helps with what you need.

    1

Please sign in to leave a comment.

Powered by Zendesk