I use Pandoc to create Reveal.js presentations from Markdown documents, having switched to it from Google Slides. From the beginning I decided that presentations for different events and lectures are to be combined automatically from multiple files - thus it's easier to maintain separate slides without need to update content constantly in several places.
The solution for now combines Codekit (using its Kit language) and pandoc. So individual parts of presentations are prepared in an editor, then are referred in a single .kit
file with @import statements and then the resulting Markdown file goes processed by pandoc which creates an HTML presentation (the last part being done by Sublime Text build system).
I'd like to simplify this process somehow with some kind of script that would pre-process a combined Markdown file automatically every time pandoc eats it. There are posts on StackExchange that refer to Haskell filters, but Haskell install is way too big for my tiny system (800Mb at minimum).
Is there a way to include files with some other kind of programming language or trick? I know for example, that it's possible to join several files by concatenating their names in pandoc command, but that doesn't make workflow smoother or faster.