| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
11年前发布

语法高亮工具:Pygments

Pygments支持超过100种语言, 并且支持多种输出格式,比如HTML, RTF等等。Pygments提供了多种样式,比如’native’, ‘emacs’, ‘vs’等等,可以在 Pygments Demo中选择某种语言的例子,体验不同的样式。
语法高亮工具:Pygments

特性:

  • a wide range of common languages and markup formats is supported
  • special attention is paid to details that increase highlighting quality
  • support for new languages and formats are added easily; most languages use a simple regex-based lexing mechanism
  • a number of output formats is available, among them HTML, RTF, LaTeX and ANSI sequences
  • it is usable as a command-line tool and as a library
  • ... and it highlights even Brainf*ck!

项目主页:http://www.open-open.com/lib/view/home/1370414435680

     本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
     转载本站原创文章,请注明出处,并保留原始链接、图片水印。
     本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
     本文地址:https://www.open-open.com/lib/view/open1370414435680.html
    Pygments 源代码语法着色