Skip to content
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

[Meta] RTL / BiDi support #1311

Closed
5 tasks
pkra opened this issue Nov 23, 2015 · 1 comment
Closed
5 tasks

[Meta] RTL / BiDi support #1311

pkra opened this issue Nov 23, 2015 · 1 comment

Comments

@pkra
Copy link
Contributor

pkra commented Nov 23, 2015

@pkra pkra added this to the MathJax v3.0 milestone Nov 23, 2015
@pouriaMaleki
Copy link

pouriaMaleki commented Jan 16, 2016

I have written dirty code to run after Mathjax rendered in commonHTML that removes space between Arabic / Persian characters inside \text command, maybe useful for now:

var texts = document.querySelectorAll(".mjx-mtext");
for (var i = 0; i < texts.length; i++)
    if (textContainArabic(texts[i].innerText)) 
           texts[i].innerHTML = texts[i].innerText;

@pkra pkra closed this as completed Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants