哪个 Javascript 代码编辑器支持纯文本行编号?

发布于 2024-08-14 11:34:12 字数 148 浏览 2 评论 0原文

我需要添加一个也具有行编号功能的文本区域。我尝试了 EditArea,但无法使其适用于文本文件。如果它能够突出显示现有编程语言的语法,那就太理想了,但这只是一个附带好处。

我所追求的主要内容是我粘贴到其中的任何内容的行编号。请仅列出开源的。

I need to add a text area that also has line numbering capabilities. I tried EditArea, but I couldn't make it work with text files. It would be ideal if it could highlight syntax for existing programming languages, but that would only be a side bonus.

The main thing I'm after is line numbering for whatever I paste in it. Please only list open source ones.

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

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

发布评论

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

评论(1

淡笑忘祈一世凡恋 2024-08-21 11:34:12

尝试 Etherpad,我们可以将其配置为显示行号。

Etherpad 是一个高度可定制的开源在线编辑器,提供
真正实时的协作编辑

其他开源替代方案 CodeMirrorFirepad

Firepad 功能丰富,基于 Google 的 Firebase,所以不需要设置服务器

Try Etherpad, we can configure it to show line numbers.

Etherpad is a highly customizable Open Source online editor providing
collaborative editing in really real-time

Other opensource alternatives CodeMirror and Firepad

Firepad is feature rich, built on Google's Firebase, so no need to setup a server

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