2 unstable releases
0.2.0 | Aug 2, 2024 |
---|---|
0.1.0 | Sep 9, 2022 |
#706 in GUI
31 downloads per month
Used in omega
1MB
19K
SLoC
cursive-syntect
This is a thin adapter to style a string for cursive using a highlighter from syntect.
See the example for usage.
[dependencies]
cursive-syntect = "0.1"
lib.rs
:
Parse text using a syntect
highlighter.
The [parse()
] function can be used to generate a StyledString using a
highlighter and a syntax set.
Dependencies
~8–16MB
~210K SLoC