#presentation #sent #slide #parser #text #suckless #display

sent_parse

Presentation parsing library based on suckless sent

3 unstable releases

0.2.1 Jun 2, 2021
0.2.0 Jun 2, 2021
0.1.0 Jun 2, 2021

#4 in #suckless

MIT license

5KB
78 lines

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.

No runtime deps