So, over the last 6 months or so, I have put all of the algorithm challenges and other non-trivial challenge solutions in a Github repo. I would like to convert all of these files to md(markdown file) and insert javascript markdown opening and closing tag in the bottom so the syntax will be highlighted.
Rather than doing it manually, I want to turn this into learning opportunity and timesaver. As this is a repetitive simple task I thought it would be a perfect candidate to automate through code or at least perform as a batch process.
In my research, I found something called pandoc that seems to be a popular tool used in Github repository management and other use cases. That’s about as far as I have gotten.
My question is am I headed down the right path and does anyone have any pointers from here?
I’ve been starting to incorporate more and more best practices into all my coding projects. Even for algo challenges, I’m starting to use Github proper version control branching and engineering/compsci practices of pseudocode algorithm development before I even start coding. I find that for most cases rather than slowing me down as I get used to it I end up creating more optimal code in a shorter time on average. Even for small projects I’m trying to keep this habit so it becomes second nature. Not quite there yet, but its always a journey right?
Anyway, any help with this practical application would be greatly appreciated.