Skip to content

Add custom js for mathjax, remove polyfill#1049

Merged
Gorkowski merged 1 commit intouncscode:mainfrom
wkchuang:main
Feb 14, 2026
Merged

Add custom js for mathjax, remove polyfill#1049
Gorkowski merged 1 commit intouncscode:mainfrom
wkchuang:main

Conversation

@wkchuang
Copy link
Collaborator

Resolves #1048
Polyfill was sold and potentially no longer safe.
The website is also no longer live.

Mathjax is updated to v4.1.0.
Custom mathjax.js script added to allow for single dollar signs as math delimiters.

Polyfill was sold and potentially no longer safe.
The website is also no longer live.

Mathjax is updated to v4.1.0.
Custom mathjax.js script added to allow for single dollar signs as
math delimiters.
Copilot AI review requested due to automatic review settings February 10, 2026 00:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the documentation site’s MathJax setup to improve inline math rendering (single-dollar delimiters) and remove the previously used polyfill dependency flagged in #1048.

Changes:

  • Remove the polyfill.io script and update MathJax to v4.1.0 in mkdocs.yml.
  • Add a custom docs/javascripts/mathjax.js to configure MathJax inline delimiters.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
mkdocs.yml Drops polyfill script and updates MathJax CDN URL; keeps custom MathJax config script loaded first.
docs/javascripts/mathjax.js Introduces MathJax config intended to enable $...$ inline math.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Gorkowski
Copy link
Collaborator

@wkchuang!!!!

@Gorkowski Gorkowski added this pull request to the merge queue Feb 14, 2026
Merged via the queue into uncscode:main with commit 71f2844 Feb 14, 2026
13 checks passed
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.

Inline math improperly displayed in documentation

3 participants