appliedepi / epiRhandbook_eng

The repository for the English version of the Epidemiologist R Handbook
Other
94 stars 55 forks source link

Inconsistent code appearance in 42.5 #46

Open pbkeating opened 2 years ago

pbkeating commented 2 years ago

You can normally copy/paste most chunks of code from the book to R studio, but this is different in much of the page on flexdashboards. Unclear if this is intentional but ideally good to have chunks of code that can be copied rather than as images.

nsbatra commented 2 years ago

Thanks for raising this Pat.

I made this page and recall that trying to include the entire flextable scripts as copyable, with YAML header, was preventing the page from rendering. So I was forced to do images. This had the benefit of allowing me to highlight parts of the image, which is nice.

Will revisit this upon revision stage.