Anyone know of a way to 'compile' simple file-to-file inclusions, recursively in text docs?

eg a.txt contains '@include b.txt' and b.txt contains '@include c.txt', and they all get smushed together.

Found a pandoc plugin but it's old and broken.

Follow

@scribe Bad idea: how about using c preprocessor?

@mcz 🙃 I feel like I'm in a similar space, but going with a hastily-written text-processing script for now. The dependency chain started getting silly...

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko