init() init()Creates a new syntax highlighter.
A simple Swift syntax highlighter for static HTML output.
struct SwiftSyntaxHighlighterThis provides basic syntax highlighting without requiring JavaScript. It handles common Swift constructs like keywords, strings, numbers, and comments.
init() init()func highlight(String) -> String highlight(_:)Swift.Sendable Swift.SendableMetatype