HomePhorge

Add a syntax highlight dropdown, if pygments is enabled.

Description

Add a syntax highlight dropdown, if pygments is enabled.

Summary:

  • Add a default list of supported languages to default.conf.php and make the initial/default value customizable.
  • Store a '' in the database to infer the language from the filename/title.

Test Plan:
Tested in my sandbox with pygments enabled and disabled and various
combinations of filename/extension/dropdown selection.

Reviewers:
epriestley

CC:

Differential Revision: 587

Details

Provenance
Ricky ElrodAuthored on Jul 3 2011, 3:29 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPfc28ab06c222: Bring Javelin external up to HEAD for autocomplete.
Branches
Unknown
Tags
Unknown

Event Timeline