Skip to content

Amendment to repair website formatting errors.#223

Merged
HorridTom merged 3 commits intomasterfrom
bugfix-website-maths-211b
Jan 29, 2026
Merged

Amendment to repair website formatting errors.#223
HorridTom merged 3 commits intomasterfrom
bugfix-website-maths-211b

Conversation

@derrynlovett
Copy link
Copy Markdown
Collaborator

Issue: Math is not rendering correctly on vignettes.

The issue is caused by pkgdown using mathml since version 2.1.0, while bookdown uses mathjax, mentioned here.
One suggestion from here is to "add math_method: mathml in the relevant vignettes under the html_vignette2 format options"
However, some issues were flagged in this approach and instead suggested updating the pkgdown.yml to include math-rendering: mathjax

This appears to resolve the issue.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Owner

@HorridTom HorridTom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me @derrynlovett - shall I go ahead and merge?

@derrynlovett
Copy link
Copy Markdown
Collaborator Author

If you're happy to @HorridTom, I'm hoping it works.

@HorridTom HorridTom merged commit dcd3f60 into master Jan 29, 2026
@HorridTom HorridTom deleted the bugfix-website-maths-211b branch January 29, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants