Open eliocamp opened 3 years ago
Thanks !
This is related to discussion in https://github.com/rstudio/rmarkdown/issues/1963 about including more external lua filter in the tools.
This is something that we could consider. The question is how best and where it should live.
Thank you for the suggestion ! We'll see the upvote on this feature request!
Writting the batract section in the yaml is a bit cumbersome, it's not clear how to include inline R code, and RStudio auto indent feature doesn't recognise it properly. Recently I found out about the abstract-to-meta lua filter which allows the user to write the abstract as part of the body and then moves that to the metadata :
https://github.com/pandoc/lua-filters/tree/master/abstract-to-meta
It works like a charm. With it it's even possible to write the abstract as the last section of the document, which would make it even more natural to include results from the analysis.
Would you consider transitioning templates into using this filter?
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.