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

Use EmbedLiveSample for all MathML examples #20506

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Commits on Sep 27, 2022

  1. Use EmbedLiveSample for all MathML examples

    Done:
    
    - Add live sample to show the result in the browser, replacing "rendering in your browser" for some examples.
    - Remove "sample rendering" for some examples, the only exception being `<mfenced>` which is not intended to be supported by browsers in the future, so it's still useful show how it was supposed to render.
    - Use display="block" for MathML examples, so they show up more "beautifully" (centered in their own line with optimization on readability).
    - Add a hidden link to math web font for some of them, to ensure that stretchy characters can display correctly.
    - Adjust indentation and spacing.
    - Other minimal tweaks of the examples (adding background to spacing elements, add click instruction to maction, split token element examples into multiple lines, fix one quote in ms example, ...)
    
    Rationale:
    
    - Makes examples a bit clearer and consistent.
    - All browsers are going to have MathML in the short future (or can already be enabled by a flag), using EmbedLiveSample is more convenient for maintenance of the wiki pages.
    fred-wang committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    fd10f5c View commit details
    Browse the repository at this point in the history