# Functions
No description provided by the author
FindRedactionRanges analyzes the text and returns ranges that should be redacted.
GetAvailableLanguages returns a list of all supported languages.
GetAvailableStyles returns a list of all available syntax highlighting styles.
GetLanguageByAlias returns the canonical language name for a given alias.
GetLanguageInfo returns a map of language names to their aliases.
Highlight performs syntax highlighting on the given code.
LoadCustomThemes loads all custom themes from the embedded themes directory.
NewRedactionConfig creates a new redaction configuration with default settings.
No description provided by the author
PrintTokens prints all tokens for debugging.
ShouldRedact returns true if the given position in the text should be redacted.
# Constants
RedactionStyleBlock replaces text with block characters.
RedactionStyleBlur applies a blur effect to the text.
# Variables
DefaultRedactionPatterns contains common patterns for sensitive information.
# Structs
No description provided by the author
No description provided by the author
HighlightedCode represents syntax highlighted code ready for rendering.
Line represents a single line of highlighted code.
RedactionArea represents an area to be redacted in the image.
RedactionConfig holds configuration for the redaction feature.
RedactionPattern represents a pattern to match for redaction.
RedactionRange represents a range of text that should be redacted.
Token represents a syntax highlighted token.
# Type aliases
RedactionStyle represents the style of redaction to apply.