Recently i've been building my first open source project. It's a CLI tool to export Markdown files using FrontMatter metadata to styled PDF's based on Jinja2 templates.
If that sounds a bit too technical did you ever have this problem?
The idea came because I found myself adapting the same word docs over and over again. Only to find out I forgot to change the date or a name in one of the documents.
I figured if i had a markdown file with the fields i had to change as metadata and markdown text to rendered into the body of the document this would solve that problem for me.
https://github.com/andy-verstraeten/mdexport
https://github.com/andy-verstraeten/mdexport/blob/main/demo.gif
How come you used Python instead of JS? (just curious not a comment on what is best)
It started out as a quick and dirty script which was in Python. For this use case I think python and node would work equally fine. The availability of python and pip for installation on mac and linux might make distribution a bit easier. One of the downsides of python which i ran into now is i want to add support for mermaid charts. If i used node I guess i would just be able to import it as a dependency. Now i'm looking at running it externally through node which adds some overhead I wish i could avoid.