Feature #25017
closed
Add '1C: Enterprise'-languages to the code highlighting toolbar button
Added by Сергей Левкин about 8 years ago.
Updated almost 8 years ago.
Description
I would like to be able to have a list of highlighted code markup 1C: Enterprise

Files
- Subject changed from I would like to be able to have a list of highlighted code markup 1C: Enterprise to Add '1C: Enterprise'-languages to the code highlighting toolbar button
- Status changed from New to Closed
- Resolution set to Invalid
I just came around this issue. AFAICS it is requesting to add additional languages1 (which are not [yet] integrated in CodeRay) to the code highlighting toolbar button.
This should not be implemented in Redmine until support for these is added to the CodeRay library itself.
This leaves the OP with two options:
- request the addition of support for these languages in the CodeRay tracker (via an issue or a PR) itself (https://github.com/rubychan/coderay);
- patch source:/trunk/public/javascripts/jstoolbar/jstoolbar.js@16664#L378 yourself (add your languages to the
codeRayLanguages
array and use it according to #14937#note-6).
I'm closing this issue for now.
Also available in: Atom
PDF