• Resolved unhype

    (@unhype)


    I tried adding what I usually use:

    pre {
     white-space: pre-wrap;       /* css-3 */
     white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
     white-space: -pre-wrap;      /* Opera 4-6 */
     white-space: -o-pre-wrap;    /* Opera 7 */
     word-wrap: break-word;       /* Internet Explorer 5.5+ */
    }

    but it didn’t do anything with this plugin. I’m using prism.js

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    That looks correct based on what I’ve used in the past. One way to find out what is happening with the CSS is to inspect the source code. Most likely the issue is that some other styles (like from your theme) are more specific and thus override the general pre selector.

    Plugin Author Jeff Starr

    (@specialk)

    Hi @unhype, do you still need help with this? It’s been a few weeks with no reply, so just want to check if you got it sorted.

    Plugin Author Jeff Starr

    (@specialk)

    Hi @unhype, gonna go ahead and mark this thread as resolved to help keep things organized. Feel free to post again with any further questions, feedback, etc. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you word wrap?’ is closed to new replies.