Test av fep-dc88 (MathML i ActivityPub) fra WordPress

Skrevet av

i

WordPress-instikket ActivityPub (AP) tillater fra versjon 1.0.2 mer eller mindre alle HTML-elementer, dvs. en kan legge til MathML. Det blir da opp til AP-mottakeren, f.eks. Mastodon, om en skal fjerne disse elementene, noe de fleste pr. i dag vil gjøre.

Forslaget FEP-dc88: Formatting Mathematics forsøker å rydde opp i det ved å beskrive hvordan MathML kan tilbys, eller alternativt strippes slik at en kun står igjen med innholdet i <annotation> som ofte da vil inneholde en mer tekstlig representasjon.

Følgende er fra eksempelet i FEP-dc88:

LaTeX i <annotation>:

I have a truly marvelous proof that xn+yn≠znx^n + y^n \ne z^n which this note is too small to contain!

AsciiMath i <annotation>:

I have a truly marvelous proof that xn+yn≠znx^n + y^n ≠ z^n which this note is too small to contain!

Fediverse Reactions

Kommentarer

2 kommentarer til “Test av fep-dc88 (MathML i ActivityPub) fra WordPress”

  1. […] Mer tilfeldig test av fep-dc88 (MathML i ActivityPub) fra WordPress. […]

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.