public static enum SyntaxHighlighter.ThemeSet extends Enum<SyntaxHighlighter.ThemeSet>
Curated themes are a hand-picked selection of the best themes for common use cases. Extended themes provide the full highlight.js theme catalog for users who want more variety.
| Enum Constant and Description |
|---|
CURATEDHand-picked selection of high-quality themes (bundled in the main JAR). |
EXTENDEDFull collection of additional themes from highlight.js. |
| Modifier and Type | Method and Description |
|---|---|
static SyntaxHighlighter.ThemeSet | valueOf(String name)Returns the enum constant of this type with the specified name. |
static SyntaxHighlighter.ThemeSet[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final SyntaxHighlighter.ThemeSet CURATED
public static final SyntaxHighlighter.ThemeSet EXTENDED
public static SyntaxHighlighter.ThemeSet[] values()
for (SyntaxHighlighter.ThemeSet c : SyntaxHighlighter.ThemeSet.values()) System.out.println(c);
public static SyntaxHighlighter.ThemeSet valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.