Problem with quotes in rmarkdown to generate html with jinja
Solution 1:
I got the answer after a discussion on another channel.
It is necessary to add a option in the yaml below the html_document:
self_contained: false
and use escape quotes \"
to avoid smart transformations.