-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Add MathML tutorial #19467
Add MathML tutorial #19467
Conversation
An introduction to basic MathML constructions, using similar structure as the lessons for HTML, CSS and JavaScript. This only introduces the "first steps" module but more advanced topics may be added in the future.
files/en-us/learn/mathml/first_steps/fractions_and_roots/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn/mathml/first_steps/fractions_and_roots/index.md
Outdated
Show resolved
Hide resolved
I'll be off for one week but I wanted to make people aware of that. Probably more tweaks are needed (like copying some examples to https://github.com/mdn/learning-area). |
files/en-us/learn/mathml/first_steps/fractions_and_roots/index.md
Outdated
Show resolved
Hide resolved
… yarn filecheck "$x" --save-compression; done
@fred-wang Thank you so much for this PR! I'm excited. I've run the formatter on these files. Some general points:
The content is great. I learned a lot. |
Thanks @Josh-Cena ! One silly question: how I can run the formatter myself? |
I don't think we have tooling in the repo itself yet. I'm using Prettier—you can run |
… math typesetting, but not mentioned in MathML and confusing with MathML display attribute CSS block/inline. Intead just say whether the <math> has a display="block" attribute or not. Also add an initial note about CSS math-style.
@bkardell mentioned that using "display mode" (which is a LaTeX term) is a bit confusing since in CSS you have a property called display and it has inline|block, and even MathML Core has the display attribute which is inline|block and not inline|display. So I tweaked the text to not use inline/display modes. |
An additional question / remark that is recurrent for MathML articles: the content does not seem to show up in the sidebar. Not sure what is missing to make that happen. |
Hi @fred-wang - the It can be updated with these pages once they are merged. Maybe between Accessibility and Tools & Testing? |
Co-authored-by: Ruth John <Rumyra@users.noreply.github.com>
I also left some review comments - most of them very minor and probably even debtable/opinionated. Other than that, lgtm! |
Thanks @teoli2003 It seems this is still blocked on @Rumyra's approval. I believe the only change not address is the question about the copyright, which I explained is not a concern. |
@fred-wang FYI The MathML tutorial is not mentioned in the Topics covered section of the Learn web development page yet. The Web performance guide, on the other hand, is listed there but not yet in the sidebar. |
@caugner Thanks, will check that. |
I opened #20349 |
Summary
An introduction to basic MathML constructions.
This only introduces the "first steps" module but
more advanced topics may be added in the future.
Motivation
Chromium is expected to ship MathML soon, and it is likely that
developers read the documentation as suggested in the
Intent-to-ship thread [1]. Although we've been updating existing
MDN documentation it may still be difficult for people new to MathML
to learn about it. This PR addresses that by following the same
structure as HTML, CSS and JavaScript tutorials.
Supporting details
[1] https://groups.google.com/a/chromium.org/g/blink-dev/c/n4zf_3FWmAA
Related issues
Metadata