admin管理员组

文章数量:1391968

I'm looking for a syntax highlighter tool that enables you to highlight selected code in a textarea, and to select the programming language. I would like to select code, then choose the language (java or ruby..).

I tried the ckeditor syntax highlighter plugin but didn't like it.

I'm looking for a syntax highlighter tool that enables you to highlight selected code in a textarea, and to select the programming language. I would like to select code, then choose the language (java or ruby..).

I tried the ckeditor syntax highlighter plugin but didn't like it.

Share Improve this question edited Nov 26, 2015 at 14:27 ROMANIA_engineer 56.8k30 gold badges210 silver badges205 bronze badges asked Feb 4, 2014 at 6:46 user3242743user3242743 1,8615 gold badges23 silver badges33 bronze badges 1
  • This alexgorbatchev./SyntaxHighlighter is used by Oracle (docs.oracle./javase/tutorial/displayCode.html?code=https://…). – ROMANIA_engineer Commented Nov 26, 2015 at 14:26
Add a ment  | 

2 Answers 2

Reset to default 2

Ace and CodeMirror are two of the most popular, used in browsers dev tools (Firefox/Webkit) and GitHub Gists, etc.

There are most popular syntak highlighting tool:

EditArea, CodePress and CodeMirror

本文标签: javascriptSyntax highlighting in a textareaStack Overflow