Splash
Splash copied to clipboard
A fast, lightweight and flexible Swift syntax highlighter for blogs, tools and fun!
Currently Splash does not support multi line string interpolation for swift. However this is a feature of swift and is very useful to use when blogging as keeping the line...
This PR contains a cleaned up version of #109. It also contains additional tests for AttributedString processing particularly because they make it easy to spot a bug where Splash introduces...
This OutputFormat outputs a Text struct that can be used in a SwiftUI view. It ignores the font as you normally would apply the font with a `.font` modifier in...
Sequential comments are currently output enclosed within a single span tag with newlines between each comment line. This results in a comments like this: ```swift // comment line 1 //...
I just add JS grammar on the basic of existing Swift one. It has some rough edges, but may be helpful for someone.
- support for visionOS I tested it on my project - works! Thanks for great library.
This includes a breaking change related to the `preloaded` case of the `Resource` enum in `Font.swift`, which is necessary in order to make `Resource` sendable.