Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow child templates to override mathjax #1551

Merged
merged 1 commit into from
May 6, 2021
Merged

Allow child templates to override mathjax #1551

merged 1 commit into from
May 6, 2021

Commits on Apr 12, 2021

  1. Allow child templates to override mathjax

    Right now, mathjax is loaded synchronously in <head>, causing
    render to block before moving forward. This is problematic,
    especially since most notebooks don't actually have any
    math to render.
    
    This PR allows mathjax to be customized by child templates
    that inherit from lab or classic. They can make it empty,
    and load mathjax how they want - in the footer, only if
    there is any math to be rendered, etc.
    
    This should cause no difference in structure for the
    default templates themselves.
    yuvipanda committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    054d14f View commit details
    Browse the repository at this point in the history