I want to create a bunch of resume template designs (using latex files) for users to choose from
then based on the selection, users can key in details in the input field and it the inputted details will replace the placeholders in the latex file. once done, download the updated latex file in pdf
but I am not 100% sure on how i should go about handling the above
i am thinking of putting several latex files into the static folder
i guess once the user choose the template design they desire, i have to find a way to import that corresponding latex file
then, once the user key in their detail in the input field, the input filed will have to update the latex file's placeholders. but how do i go about doing this? do i just copy the contents from the latex files and store it in a variable using javascript and then update the placeholders with the inputted details from the user.
then i have the new string which is in latex code which i need to convert back to latex file and download as pdf.
can someone guide me or give me tips on how should i go about doing this?