令人敬畏的代码语法突出显示变得很容易

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了令人敬畏的代码语法突出显示变得很容易相关的知识,希望对你有一定的参考价值。

just drop on a page and boom syntax is all colorfull and pretty
  1. <link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
  2. <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
  3. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
  4. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'></script>
  5. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'></script>
  6. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'></script>
  7. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'></script>
  8. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'></script>
  9. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushphp.js' type='text/javascript'></script>
  10. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'></script>
  11. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'></script>
  12. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'></script>
  13. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'></script>
  14. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'></script>
  15. <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'></script>
  16. <script language='javascript'>
  17. SyntaxHighlighter.config.bloggerMode = true;
  18. SyntaxHighlighter.config.clipboardSwf = 'http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf';
  19. SyntaxHighlighter.all();

以上是关于令人敬畏的代码语法突出显示变得很容易的主要内容,如果未能解决你的问题,请参考以下文章

scss 代码修订1 Sass:语法上令人敬畏的样式表

scss 代码修订1 Sass:语法上令人敬畏的样式表

scss 代码修订1 Sass:语法上令人敬畏的样式表

scss 代码修订1 Sass:语法上令人敬畏的样式表

scss 代码修订1 Sass:语法上令人敬畏的样式表

Highlight.js语法突出显示