Highlighter

Here you can create custom code highlighting themes for BDFD.

Note

The code highlighter allows you to assign custom colors and styles to BDFD functions, creating syntax highlighting themes that improve code readability. Generate JSON themes to use in the BDFD app’s highlighting settings.

Code Highlighter

Highlight different functions and text using unique colors for better coding experience.

Highlighted Code
Your highlighted code will appear here...
0 functions

Functions

Note

Generated code uses standard BDFD highlighting JSON format.

Base Highlights:

  • Default Text - Main text color
  • Fallback - Functions not in custom list
  • Numbers - Numeric values
  • [] - Bracket characters
  • ; - Semicolon characters

Custom Functions: Add any BDFD function to customize its color and style.

Example

Generated JSON:

{
  "defaultTextHighlight": { "color": 4288341353, "style": 0 },
  "fallbackHighlight": { "color": 4291546079, "style": 0 },
  "bracketHighlight": { "color": 4294921292, "style": 1 },
  "semicolonHighlight": { "color": 4294920266, "style": 1 },
  "functionsHighlights": {
    "$nomention": { "color": 4294932473, "style": 0 },
    "$if": { "color": 4288905212, "style": 0 }
  }
}

Where to paste this JSON body?

Paste this JSON directly into the Highlighting Settings within the BDFD app. To do this, open the app, go to Settings → Change Code Highlight Settings, then click Apply Theme and paste the JSON.