-
Notifications
You must be signed in to change notification settings - Fork 22.4k
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
Format and clean up MathML #34430
Format and clean up MathML #34430
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
For SVG, there's no better way to hand-adjust the content than to manually write it. But MathML is fully reproducible from the TeX source code, which is conveniently embedded via |
I wish that would be the case. In many cases, the |
We should add them, then, otherwise our capability to edit them is severely limited.
In my experience TeXZilla is very stable. We should recommend it (it's made by @fred-wang). I still don't think you should edit MathML by hand very often. There are a lot of fine tunings to equations such as kernings, offsets, and use of Unicode symbols that are usually missed if you don't do it algorithmically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left a few edit suggestions for the prose touched. For the rest, I am deferring to Frédéric Wang's expertise :)
files/en-us/web/api/baseaudiocontext/createperiodicwave/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/baseaudiocontext/createperiodicwave/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/baseaudiocontext/createperiodicwave/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/baseaudiocontext/createperiodicwave/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/canvasrenderingcontext2d/settransform/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/javascript/reference/global_objects/math/log1p/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/mathml/examples/mathml_pythagorean_theorem/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Thanks 👍 I'm happy as long as they are collapsed! Are the Prettier comments necessary? I don't think Prettier touches XML markup in Markdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the capacity to review other pages (the diff is hard to read on GH and slow to render locally), but I have one suggestion for JS.
files/en-us/web/javascript/reference/global_objects/math/log1p/index.md
Outdated
Show resolved
Hide resolved
@Josh-Cena Unfortunately, Prettier is trying to replace |
I see. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've applied the Math.log1p
change to Math.expm1
for consistency. Merge it when you like.
a0156ba
to
48b438e
Compare
48b438e
to
4869fc1
Compare
Thank you everyone! |
* Format and clean up MathML * Update files/en-us/web/css/transform-function/matrix3d/index.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Clean up annotations * Apply suggestions from code review Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * Apply suggestions from code review Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * Apply suggestions from code review Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> * Fix annotations * Collapse block math, add/fix annotations * Update formula from the spec * Fix annotations * Hide annotation from Prettier * Revert some changes * Fix exp1m * Collapse and add annotations --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org> Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Description
display="block"
*xmlns
attributes are removed* this will help with styling, but that’s another task.
Motivation
MathML clean-up project.