ecohealthalliance / ehastyle

R Markdown templates for EHA documents
8 stars 3 forks source link

Feature/flexdashboard xaringan templates #19

Closed collinschwantes closed 3 years ago

collinschwantes commented 3 years ago

Created templates for xaringan and flex dashboards. Also fixed issues with dependencies, documentation, and out of date function calls for the pptx template. #11 #12 #13 #14

Flexdashboard template no longer requires dev version of bslib.

Avenir font is now hosted in AWS S3 as a woff2 file that can be used directly with bslib and helper css font face file for importing in xaringanthemer.

noamross commented 3 years ago

OK, there are a fair number of things that I think we should change. Sorry I didn't give better guidance on some of this before! You dove in and started fixing things though I hadn't looked at in a long time.

collinschwantes commented 3 years ago

@noamross Should be ready for review

collinschwantes commented 3 years ago

Having the same corrupt file issues with avenir and classic but not with the predict pptx formats. Avenir and Classic both have embedded in the their current iteration so I will try without the embedded fonts.

collinschwantes commented 3 years ago

I can knit using the predict pptx file as the template within the classic function so likely the ppt template.

noamross commented 3 years ago

Looking great! I made a few small tweaks (some notes in the commit messages). My only other request is for eha_helvetica_xar to have the same title background as eha_avenir_xar.

noamross commented 3 years ago

Realized this wasn't merged before your talk! We'll patch if needed.