I am using the built-in MathJax support to render math for a while, on both macOS desktop and iOS mobile application. Recently I would like to introduce several shortcuts, so following this I add this script at the beginning of both the front side and the back side in the card template:

```
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: {
Macros: {
R: ['{\\mathbb {R}}']
}
},
});
MathJax.Hub.Configured();
</script>
```

But after this typing `\R`

in math environment doesn’t give the correct render result, and instead gives

What could potentially be the problem? I am using Anki 2.1.37 on macOS 11.1.