En MathML-blokk

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

x1,2=b±b24ac2ax_{1,2} = \frac{-b \pm \sqrt{b^2 – 4 \cdot a \cdot c}}{2 \cdot a}

Hvordan fungerer det i RSS og ActivityPub?

Kommentarer

4 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.

Gjenpubliseringer

Legg igjen en kommentar

Din e-postadresse vil ikke bli publisert. Obligatoriske felt er merket med *

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)