随笔 - 363, 文章 - 0, 评论 - 2, 阅读 - 23万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 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 26 27 28 29
30 31 1 2 3 4 5

博客园中实现代码高亮

Posted on   心默默言  阅读(49)  评论(0编辑  收藏  举报

https://www.cnblogs.com/linzhongren/p/12751580.html

复制代码
/*

Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/

*/

.cnblogs-markdown .hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #23241f !important;
  color:white;
  font-size:16px !important;
}

.hljs,
.hljs-tag,
.hljs-subst {
  color: #f8f8f2;
}

.hljs-strong,
.hljs-emphasis {
  color: #a8a8a2;
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-link {
  color: #ae81ff;
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-selector-class {
  color: #a6e22e;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-name,
.hljs-attr {
  color: #f92672;
}
.hljs-keyword,.hljs-built_in{
  color:#66d9ef;
}
www.jianshu.com/u/e4cd939cf1adwww.jianshu.com/users/e4cd939cf1ad/liked_noteswww.jianshu.com/users/e4cd939cf1ad/subscriptionswww.jianshu.com/users/e4cd939cf1ad/followingwww.jianshu.com/u/3c1477f946f2www.jianshu.com/users/3c1477f946f2/liked_noteswww.jianshu.com/users/3c1477f946f2/subscriptionswww.jianshu.com/users/3c1477f946f2/followingwww.jianshu.com/u/12521d823dc8www.jianshu.com/users/12521d823dc8/liked_noteswww.jianshu.com/users/12521d823dc8/subscriptionswww.jianshu.com/users/12521d823dc8/followingwww.jianshu.com/u/ca1b4bf231f9www.jianshu.com/users/ca1b4bf231f9/liked_noteswww.jianshu.com/users/ca1b4bf231f9/subscriptionswww.jianshu.com/users/ca1b4bf231f9/followingwww.jianshu.com/u/5f2609e0f4f5www.jianshu.com/users/5f2609e0f4f5/liked_noteswww.jianshu.com/users/5f2609e0f4f5/subscriptionswww.jianshu.com/users/5f2609e0f4f5/following
.hljs-symbol,
.hljs-attribute {
  color: #66d9ef;
}

.hljs-params,
.hljs-class .hljs-title {
  color: #f8f8f2;
}

.hljs-string,
.hljs-type,
.hljs-builtin-name,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
  color: #e6db74;
}

.hljs-comment,
.hljs-deletion{
  color: #75715e;
}

.hljs-meta{
  color: #f92672;
}
复制代码

 

相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示