En MathML-blokk

Skrevet av

i

WordPress 6.9 har fått en byggestein/blokk for MathML:

x1,2=−b±b2−4⋅a⋅c2⋅ax_{1,2} = \frac{-b \pm \sqrt{b^2 – 4 \cdot a \cdot c}}{2 \cdot a}

Hvordan fungerer det i RSS og ActivityPub?

Fediverse Reactions

Kommentarer

5 kommentarer til “En MathML-blokk”

  1. Aslak Raanes avatar

    Ingen blokkeditor i kommentarfeltet?

  2. Piiieps & Brummm avatar

    @aslakr
    With the #Tusky client for #Mastodon I just see the code enclosed in $$.

    1. Aslak Raanes avatar

      That’s because most (all?) Mastodon-servers strips away everything in MathML except the annotation-part, which contains the original LaTeX, and add $$ using the recomendation in #fepdc88 https://fep.swf.pub/fep/dc88/fep-dc88.html

      The original ActivityPub-content looks like https://browser.pub/https://aslakr.folk.ntnu.no/2025/12/en-mathml-blokk/

    2. Piiieps & Brummm avatar

      @aslakr Thank you. I didn't know that.

Omtaler

Likerklikk

Gjenpubliseringer

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.