phoenixcw / hexo-renderer-mathjax

MathJax Renderer Plugin for Hexo
MIT License
36 stars 14 forks source link

It can not render '\colorbox' #15

Open xiongsp opened 2 years ago

xiongsp commented 2 years ago

In my blog, there is a Latex:

$$
[p\to \{i\}],[r\to \{p\}],[q\to \{i\}],\colorbox{red}{$[s\to \{q,i\}]$},[t\to \{p\}]
$$

In my VS Code, it looks like:

截屏2022-08-02 14 19 51

but it didn't work on my blog since it didn't render the '\colorbox':

截屏2022-08-02 14 20 39

So how to fix it?Thanks a lot.