sent_parse

Crates.iosent_parse
lib.rssent_parse
version0.2.1
sourcesrc
created_at2021-06-02 01:42:28.229019
updated_at2021-06-02 19:23:52.878218
descriptionPresentation parsing library based on suckless sent
homepagehttps://github.com/mythmakerseven/sent_parse
repositoryhttps://github.com/mythmakerseven/sent_parse
max_upload_size
id405044
size4,878
Camden Mecklem (mythmakerseven)

documentation

README

sent_parse

This crate takes a string (e.g. from a text file) and parses it into a vector of presentation slides in the style of sent. With this, you can implement display features without worrying about parsing the text.

Each slide is returned as a struct with associated metadata. Currently there is a TextSlide struct and an ImageSlide struct.

For example, your program can read presentation.txt into a string and then provide it to sent_parse. But this library isn't opinionated about the source of its input, so you can use it ways that diverge from the original suckless tool.

Commit count: 6

cargo fmt