Textarea与行号和代码荧光笔 [英] Textarea with line numbers and code highlighter
本文介绍了Textarea与行号和代码荧光笔的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人能告诉我在textarea中添加行号和颜色代码的最佳插件吗?我一直在使用editarea插件,但无法自定义它。
解决方案
简单轻巧的插件..检查 http://files.aw20.net/jquery-linedtextarea/jquery-linedtextarea.html
您可以使用CodeMirror Jquery插件。
http://weblogs.asp.net/jongalloway/using-codemirror-to-add-c-syntax-highlighting-to-an-editable- html-textarea [ ^ ]
http://codemirror.net/ [ ^ ]
<集团kquote> http://users.dcc.uchile.cl/~jmunoz/ [ ^ ]
< a href =http://codemirror.net/> http://codemirror.net/ [ ^ ]
http:/ /users.dcc.uchile.cl/~jmunoz/ [ ^ ]
http: //www.cdolivet.com/editarea/editarea/exemples/exemple_full.html [ ^ ]
http://ubuntuincident.wordpress.com/2013/09/26/ht ml-add-syntax-highlight-to-textarea / [ ^ ]
Can anybody tell me the best plugin for adding line numbers and color code in the textarea? I have been using editarea plugin but am unable to customize it.
解决方案
Simple and light weight plugin..Check http://files.aw20.net/jquery-linedtextarea/jquery-linedtextarea.html
You can use CodeMirror Jquery plugin.
http://weblogs.asp.net/jongalloway/using-codemirror-to-add-c-syntax-highlighting-to-an-editable-html-textarea[^]
http://codemirror.net/[^]
http://users.dcc.uchile.cl/~jmunoz/[^]
http://codemirror.net/[^]
http://users.dcc.uchile.cl/~jmunoz/[^]
http://www.cdolivet.com/editarea/editarea/exemples/exemple_full.html[^]
http://ubuntuincident.wordpress.com/2013/09/26/html-add-syntax-highlight-to-textarea/[^]
这篇关于Textarea与行号和代码荧光笔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文