The original creators page is here.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <pre class = "brush: php; highlight: [5, 15]; html-script: true" > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <head> <meta http-equiv= "Content-Type" content= "text/html; charset=UTF-8" /> <title>SyntaxHighlighter Demo Page - <?= htmlspecialchars(<img decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-024c4941420e311f76e29c9b11c52b72_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "title) ?></title> </head> <body> <? /*********************************** ** Multiline block comments **********************************/" title= "Rendered by QuickLaTeX.com" height= "84" width= "583" style= "vertical-align: -4px;" >stringWithUrl = "http://alexgorbatchev.com" ; <img decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-322fed3bbb59078c049723348e320452_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "stringWithOutUrl = 'hello world'; ob_start("parseOutputBuffer"); // Start Code Buffering session_start(); function parseOutputBuffer(" title= "Rendered by QuickLaTeX.com" height= "62" width= "560" style= "vertical-align: -4px;" >buf) { global <img decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-c465d0c216777b4600b4f75d33bc0d43_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "portal_small_code," title= "Rendered by QuickLaTeX.com" height= "17" width= "128" style= "vertical-align: -4px;" >portal_gzcompress; global <img loading= "lazy" decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-7104bda554967a787974911d3c2aeb6e_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "PHP_SELF," title= "Rendered by QuickLaTeX.com" height= "16" width= "93" style= "vertical-align: -4px;" >HTTP_ACCEPT_ENCODING; // cleaning out the code. if (<img loading= "lazy" decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-353df8b1dc80aaa5d93b35f7f7556897_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "portal_small_code && !" title= "Rendered by QuickLaTeX.com" height= "17" width= "128" style= "vertical-align: -4px;" >portal_gzcompress) { <img loading= "lazy" decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-14bb4f7c839062edb774b3336eadb544_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "buf = str_replace(" ", ""," title= "Rendered by QuickLaTeX.com" height= "18" width= "185" style= "vertical-align: -4px;" >buf); <img loading= "lazy" decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-211f27fc95ecdf13df86f8b85143a0e2_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "buf = str_replace("\n", ""," title= "Rendered by QuickLaTeX.com" height= "18" width= "185" style= "vertical-align: -4px;" >buf); <img loading= "lazy" decoding= "async" src= "https://www.amarketplaceofideas.com/wp-content/ql-cache/quicklatex.com-6187c2741ce7c98e838ec9557f39e333_l3.svg" class = "ql-img-inline-formula quicklatex-auto-format" alt= "buf = str_replace(chr(13), ""," title= "Rendered by QuickLaTeX.com" height= "18" width= "225" style= "vertical-align: -4px;" >buf); } } ?> <!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. --> </body> </html> </pre> |
1 Comment
This does play well with CKEditor. Might work better as a CKEditor plugin. See:
http://www.patrickjwaters.com/blog/2011-08-21/how-setup-syntaxhighlighter-use-ckeditor-module-drupal-6/3527
http://code.google.com/p/ckeditor-syntaxhighlight/downloads/list