README.md | ||
ssg5 |
ssg-for-sdf
I just started messing around as part of looking for a way to make contributing to tutorials easier, and got as far as using 'ssg', from https://www.romanzolotarev.com/ssg.html, which was recommended as a markdown-converting static site generator on another board here.
I had problems with Markdown.pl not working (I posted to REQUESTS, somehow the perl Text:Markdown isn't working), but I used cpanm and installed that library locally*, and then ssg worked!
Because I didn't like how it silently would fail on the markdown problem, so I added a little pipeline-tracing with the bash 'caller' command (I looked it up), and so with that it becomes a bash script instead of a plain sh script, but I think it's better. I posted it here on the sdf git if anyone wants to try it out.
*Here's what I used to install the perl module I needed with cpanm which you can ignore installing cpanm because it's already installed on SDF