maaslalani / slides

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

Kotlin code execution #310

Open edwardsnjd opened 3 weeks ago

edwardsnjd commented 3 weeks ago

This uses Kotlin's support for scripts with the .kts extension i.e. kotlin temp.kts.

There's also experimental support in the compiler for script customization e.g. the .main.kts file extension allows for importing other files and dependencies but since this doesn't seem to be well documented this PR sticks to the conservative option.

See:

Changes Introduced