traitecoevo / plant

Trait-Driven Models of Ecology and Evolution :evergreen_tree:
https://traitecoevo.github.io/plant
53 stars 20 forks source link

How to format equations in website after pkgdown update? #196

Open dfalster opened 6 years ago

dfalster commented 6 years ago

Awaiting response to https://github.com/r-lib/pkgdown/issues/323

Previously i was using the method described at https://gist.github.com/hturner/3152081e223ade0bb212bcef19f183bf to force pkgdown to use the bookdown::html_document2 format for output, which allows equation numbering and references.

This no longer works in the latest version of pkgdown. A potential solution has been described, that we can override the formats by adding

pkgdown:
  as_is: true

to the yaml frontmatter.

At present, however, the formatting of equations and equation numbers still isn't working.

dfalster commented 5 years ago

Hopefully been some progress on this in last year