Hello! I want to center or justify my snippet's syntax highlighting plugin area text. Currently my syntax highlighted area some text not display. If i added "text-align: justify;" or " text-align: center; "to the CSS this .snippet-reveal pre.sh_sourceCode {padding:.5em 1em; text-align: justify;} code, its not work. How do i do it? I think this screen shot give more information about this situation. Please check the attached screenshot. Thanks!
Ok now i have correct it little-bit by adding this code. Is it OK? white-space: pre-wrap;word-wrap: break-word; However still snippet's syntax highlight area text not justify. How do i do it?
Snippet is a jQuery syntax highlighting plugin built on top of the SHES script found on Source Forge. Snippet provides a quick and easy way of highlighting source code passages in HTML documents. <h1>Snippet style selector</h1> <div class="instructions"> <p>Choose your style below.</p> <p>Preview your style here.</p> </div> <!-- 39 styles to choose from! -->