Packages for keyword “syntax-highlighting”
These packages are available as a package collection, usable in Xcode or SwiftPM.
Splash
A fast, lightweight and flexible Swift syntax highlighter for blogs, tools and fun!
Neon
A Swift library for efficient, flexible content-based text styling
Highlightr
iOS & OSX Syntax Highlighter.
HighlightSwift
Code syntax highlighting in Swift and SwiftUI
Markdown
Render Markdown in SwiftUI on iOS, macOS and visionOS: a WKWebView preview with GitHub styling, syntax highlighting, KaTeX math, light and dark themes, and custom fonts.
ThemePark
A Swift library for working with syntax highlighting/IDE themes
SwiftHighlight
Fast pure-Swift syntax highlighter: 33 languages, declarative Swift/JSON grammars, 13 themes plus VS Code/TextMate import, incremental highlighting, SwiftUI, UIKit, AppKit, HTML and ANSI output.
HighlightKit
Syntax highlighter in pure Swift. No JavaScript, no WebView, no HTML round-trip. One Swift core → iOS, macOS, tvOS, watchOS, visionOS. NSRange tokens · NSAttributedString. 36 µs/line incremental re-highlighting for block editors. By Phrase (phrase.so).
Moon
A (Linux compatible) Swift library for server-side syntax highlighting using Prism.js
ClaudeUI
Unofficial, open-source SwiftUI recreation of the Claude iOS app UI — offline demo, reusable package, widgets.
Sigil
Render Swift SymbolKit declarations as syntax-highlighted HTML
SwiftHighlight
Swift port of https://highlightjs.org for syntax highlighting. Supports the same HTML output, and also (NS)AttributedString, ANSI Terminal and custom outputs.
syntax-highlight-publish-plugin
Plugin to add syntax highlighting (for multiple languages) to your Publish Site, with the least amount of effort.
13 packages.