开发者

Code Colouring for Website Display [closed]

开发者 https://www.devze.com 2023-02-18 03:53 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_StackOverflow中文版

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

Is there a JQuery/Javascript module for colouring code? I've got a website where I talk about the projects I'm currently involved in and that quite often involves outputting some of my code.

I would like some way of colouring the code as it does on this website and many other websites to give it higher readability.

Cheers, Dan


I reccomend SyntaxHighlighter by Alex Gorbatchev.

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.

But there is also:

  • google-code-prettify
  • SHJS
  • and a lot more ...
0

精彩评论

暂无评论...
验证码 换一张
取 消