lux
lux copied to clipboard
A Swift library with a dedicated command-line tool to highlight plain code (e.g. for terminal output), HTML files code blocks or attributed strings (e.g. for macOS or iOS apps)
Use a parser rather than regular expressions to parse the code to highlight.
Add the support to install and use the auto-completion feature
Create a dedicated Vapor tag to inject span tags in Html code blocks with [Leaf](https://github.com/vapor/leaf) from [Vapor](https://github.com/vapor/vapor).
Add a [Publish plugin](https://github.com/johnsundell/publish#building-plugins) to inject the span tags into the code blocks. Maybe take also a look at [Ink](https://github.com/JohnSundell/Ink) to decrease complexity when injecting span tags in markdown code...