maaslalani / slides

Terminal based presentation tool
http://maaslalani.com/slides/
MIT License
9.56k stars 262 forks source link

Generic pre-processing of Slides #51

Closed maaslalani closed 3 years ago

maaslalani commented 3 years ago

Add generic preprocessing of slides that allows an arbitrary command to be run to transform text into output.

This will allow slides to:

Considerations:

maaslalani commented 3 years ago

Something like:

example.md

# Slide 1

Graph example

===graph-easy --as=boxart
[ A ] - to -> [ B ]
===
slides example.md
# Slide 1

Graph example

┌───┐  to   ┌───┐
│ A │ ────> │ B │
└───┘       └───┘

Need to think about the syntax some more

maaslalani commented 3 years ago

Maybe:

~~~graph-easy --as=boxart
[ A ] - to -> [ B ] 
~~~