I am very new with programming (legal professional) and builing a legaltech app. Essentially, I need to be able to have a markdown file where a few variables are changeable from the frontend code which is in NEXT JS.
The markdown file will then be used for a backend code which I have figured out somehow. I want to be in a position where my Frontend variables are dynamically interacting with the markdown file.
I think turndown is a library that can potentially enable this. However, as a beginner, I don’t know how to go about it as there isn’t much content on it. I also explored CodeMirror but I am not sure how that would work with this.
Would really appreciate if someone can help with this or just refer to a project which I can explore to solve this. Been stuck for a few weeks with this.