You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the block would output an amp-mathml element when is_amp_endpoint. This could be done via a "conditionally-dynamic" block, for example at the template_redirect action it could check if is_amp_endpoint() and if so, then register a mathml/mathmlblock block in PHP with a render_callback that takes the static markup saved in the editor and convert it to amp-mathml. (Idea comes from conversation with @youknowriad.)
In the same way, potentially_add_front_end_mathjax_script() could short-circuit when is_amp_endpoint().
The text was updated successfully, but these errors were encountered:
It would be nice if the block would output an
amp-mathml
element whenis_amp_endpoint
. This could be done via a "conditionally-dynamic" block, for example at thetemplate_redirect
action it could check ifis_amp_endpoint()
and if so, then register amathml/mathmlblock
block in PHP with arender_callback
that takes the static markup saved in the editor and convert it toamp-mathml
. (Idea comes from conversation with @youknowriad.)In the same way,
potentially_add_front_end_mathjax_script()
could short-circuit whenis_amp_endpoint()
.The text was updated successfully, but these errors were encountered: