#cursive #syntect #tui

cursive-syntect

Highlight text with syntect as cursive styled text

1 unstable release

0.1.0 Sep 9, 2022

#786 in Command-line interface

Download history 20/week @ 2024-03-12 11/week @ 2024-03-19 30/week @ 2024-03-26 71/week @ 2024-04-02 10/week @ 2024-04-09 24/week @ 2024-04-16 21/week @ 2024-04-23 26/week @ 2024-04-30 1/week @ 2024-05-07 6/week @ 2024-05-14 13/week @ 2024-05-21 8/week @ 2024-05-28 13/week @ 2024-06-04 20/week @ 2024-06-11 13/week @ 2024-06-18 14/week @ 2024-06-25

62 downloads per month
Used in omega

MIT license

730KB
15K SLoC

cursive-syntect

This is a thin adapter to style a string for cursive using a highlighter from syntect.

See the example for usage.


lib.rs:

Parse text using a syntect highlighter.

Dependencies

~4–14MB
~150K SLoC