Project

General

Profile

Elisp files are not syntax highlighted - is there buit in support for it?

Added by Frank Church over 6 years ago

The source code for Elisp files are not syntax highlighted and I want to know if there is built in support for it present in Redmine.

If there is built in support how can it be configured? Is it one of the rails gems?

If it is not present in the default Redmine what syntax highlighting plugin is recommended?

When I do a quick search I find https://github.com/alecchen/redmine_pygments and https://github.com/alecchen/redmine_pygments but it seems it is a long time since they were updated.

UPDATE:
I just browsed the repository files and it seems there is no syntax-highlighting at all, even for common extensions like bash.


Replies (2)

RE: Elisp files are not syntax highlighted - is there buit in support for it? - Added by Frank Church over 6 years ago

Frank Church wrote:

The source code for Elisp files are not syntax highlighted and I want to know if there is built in support for it present in Redmine.

If there is built in support how can it be configured? Is it one of the rails gems?

If it is not present in the default Redmine what syntax highlighting plugin is recommended?

When I do a quick search I find https://github.com/alecchen/redmine_pygments and https://github.com/alecchen/redmine_pygments but it seems it is a long time since they were updated.

UPDATE:
I just browsed the repository files and it seems there is no syntax-highlighting at all, even for common extensions like bash.

After checking some other installations it appears that syntax highlighting is built into redmine after all, but `lisp` and `bash` files are not supported by coderay. Is there any other highlighter that supports them? I have seen Ultraviolet http://www.redmine.org/plugins/redmine_ultraviolet, Highlight.js https://github.com/dominch/redmine_highlightjs and Rouge http://www.redmine.org/plugins/redmine_rouge.

Ultraviolet looks dated, HighlightJS seems to be designed for client side rendering which I don't like. Rouge plugin looks more up to date and there seems to be some plan to include it in a future release.

Are there any others besides these?

RE: Elisp files are not syntax highlighted - is there buit in support for it? - Added by Go MAEDA over 5 years ago

Since the upcoming Redmine 4.0.0 migrated from CodeRay to Rouge, it supports highlighting of Common Lisp. Please see #24681 and RedmineCodeHighlightingLanguages for details.

    (1-2/2)