CodeEditor is a SwiftUI TextEditor View with syntax highlighting using Highlight.js. It builds on top of Highlightr which does the wrapping of. CodeEditor then packages things up for SwiftUI. The available languages and themes can be accessed using: CodeEditor. availableLanguages Code editor. availableThemes.
Sort: