又一款代码高亮插件:Highlight.js

HTML:

<!DOCTYPE html>
<html>
<head>
    ...
    <link href="css/github.css" rel="stylesheet" />
</head>
<body>
    ...
    <script src="highlight.js"></script>
</body>
</html>

CSS:

.container .content .copy-link{
    border:1px solid #E5E5E5;
    background:#f9f9f9;
    padding:15px 15px 15px 120px;
    margin-bottom:30px;
    position: relative;
    margin-top:90px;
}

Javascript:

let str = 'helloweba';
console.log(str);

PHP:

public function init()
{
    parent::init(); // TODO: Change the autogenerated stub
    if(Yii::$app->user->id)
    {
        $this->redirect(Url::home());
    }
}

Bash:


tar -zxvf nginx-1.12.2.tar.gz 
cd nginx-1.12.2 
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module