cursive-syntect 0.2.0

Highlight text with syntect as cursive styled text.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# cursive-syntect

[![crates.io](https://img.shields.io/crates/v/cursive-syntect.svg)](https://crates.io/crates/cursive-syntect)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![Gitter chat](https://badges.gitter.im/gyscos/cursive.png)](https://gitter.im/cursive-rs/cursive)

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

See the example for usage.

<a href="examples/parse.rs"><img src="https://i.imgur.com/a8bfe5s.png" alt="syntect example" width="48%" /></a>

```toml
[dependencies]
cursive-syntect = "0.1"
```