Project

General

Profile

Actions

Feature #38338

closed

JSON formatting

Added by Ivan Cenov about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

It looks that Redmine does not support JSON code formatting.

Pressing "code" button produces a list and there is no "json" in it.

It would be great to have this language added here.


Files

Redmine-code-button.PNG (479 Bytes) Redmine-code-button.PNG Ivan Cenov, 2023-03-07 12:03
Actions #1

Updated by Holger Just about 1 year ago

  • Status changed from New to Closed

Redmine support a lot or languages via the rouge gem, including JSON. To avoid having an incredibly long list of languages in the UI dropdown, Redmine only offers a selected list of languages there (but you can always edit the generated textile / markdown code yourself to change the language)

You can also edit the list of languages you want to use in the drop down for yourself on your My Account page towards the lower right. If you add json there, it will also be made available in the dropdown. This feature was added in #32528 and released with 4.2.0.

Actions

Also available in: Atom PDF