31/8/17

Syntaxt Highlight Code

Tags


#container {display: block; margin: 20px 20px; padding: 0; background: transparent;}
#container ul {width: 100%; padding: 0; margin: 0; text-align: left;}
#container li {list-style-type: none; float: left; padding: 0}
#container li a {position: relative; font-family: "Ruda"; font-size: 14px; font-weight: 400; background: transparent; color: #838888; display: block; margin: 0; padding: 18px; line-height: 100%; text-decoration: none;}
#container ul > li > a:after {content: ""; position: absolute; width: 0; left: 0; right: 0; margin: auto; bottom: -1px; height: 3px; background: #4791d2; opacity: 0; visibility: hidden; transition: all 0.2s ease-out;}
#container ul > li > a:hover:after {opacity: 1; visibility: visible; width: 90%}
#container ul li a.active, #container ul li.lighigh a {line-height: 100%; text-decoration: none;}
#container ul li a:hover {background: #fdfdfd; color: #4791d2; text-decoration: none}

/***********************************
 ** Multiline block comments
 **********************************/
 
var variable = check_variable();

$stringWithUrl = "http://alexgorbatchev.com";
$stringWithUrl = 'hello world';
 
ob_start("parseOutputBuffer");      // Start Code Buffering
session_start();
 
function parseOutputBuffer($buf) {
    global $portal_small_code, $portal_gzcompress;
    global $PHP_SELF, $HTTP_ACCEPT_ENCODING;
 
    // cleaning out the code.
    if($portal_small_code && !$portal_gzcompress) {
        $buf = str_replace("    ", "", $buf);
        $buf = str_replace("\n", "", $buf);
        $buf = str_replace(chr(13), "", $buf);
    }
}


  <script src='//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/highlight.min.js'/>
  <script>

     hljs.initHighlightingOnLoad();
     var variable = check_variable();

  </script>

This Is The Newest Post


EmoticonEmoticon