Early AttemptsΒΆ

Almost the entirety of plannr was written first in lit and then litpro with pandoc and tufte template. I had a requirement to hide lots of sections in the single litpro file, especially the parts where you write final files using the pipe to save and files with API_KEYS. For this I used cog to generate the lipro file. Then later I realised I can use just cog alone to do what litpro does with just plain functions. It turns out you can.

I also remember using reveal.js to make code readable and presentable and implementing a preprocessor that ran shell commands in the middle of the code, like how cog runs python code. You can use ed / ex / awk to pull code in interesting ways, from the file system.