Ruby 有哪些代码高亮库?

发布于 2024-07-07 19:26:54 字数 24 浏览 4 评论 0原文

我还感兴趣的是它或多或少有依赖性。

What'd also interest me is which have more or less dependencies.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

冰之心 2024-07-14 19:26:54

我正在使用 Coderay (在本文底部查看它的实际效果

不确定有多少(如果有)它具有的依赖项。

I'm using Coderay (see it in action at the bottom of this article)

Not sure how many (if any) dependencies it has.

如何视而不见 2024-07-14 19:26:54

另请参阅 Ultraviolet 库。

Ultraviolet 是一个基于 Textpow 的语法高亮引擎。 由于它使用 Textmate 语法文件,因此它为 50 多种语言和 20 种主题提供开箱即用的语法突出显示。

Ultraviolet 同时是一个独立的命令行实用程序和一个 Ruby 库。

See also the Ultraviolet library.

Ultraviolet is a syntax highlighting engine based on Textpow. Since it uses Textmate syntax files, it offers out of the box syntax highlighting for more than 50 languages and 20 themes.

Ultraviolet is at the same time a stand-alone command line utility and a Ruby library.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文