mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.19k stars 29 forks source link

feat: use snippet language strings for executor script name #258

Closed mfontanini closed 3 months ago

mfontanini commented 3 months ago

This changes executor script names so they contain the textual representation of languages that's used in markdown (e.g. "rust", "c++", "js") rather than the textual version of the CodeLanguage enum (e.g. "Rust", "Cpp", "JavaScript"). How this was before it required people to dig into the code to make sure they know what the script name should be; with this change it's more intuitive a it's the same language identifier they use in a snippet.