Homec4science

Add a syntax highlight dropdown, if pygments is enabled.

Authored by Ricky Elrod <ricky@elrod.me> on Jul 4 2011, 00:29.

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

Committed
Ricky Elrod <ricky@elrod.me>Jul 4 2011, 18:23
Pushed
aubortJan 31 2017, 17:16
Parents
rPHfc28ab06c222: Bring Javelin external up to HEAD for autocomplete.
Branches
Unknown
Tags
Unknown

Event Timeline

Ricky Elrod <ricky@elrod.me> committed rPH9454060c2970: Add a syntax highlight dropdown, if pygments is enabled. (authored by Ricky Elrod <ricky@elrod.me>).Jul 4 2011, 18:23