My index.html (created by docsify-cli v4.2.1 and only change body part):
<body><divid="app">加载中</div><script>window.$docsify={name: '',repo: '',markdown: {gfm: true,tables: true,},plugins: [function(hook){hook.beforeEach(function(content){console.log(content);returncontent.replace(/\$([\s\S]*?)\$/g,function(m,code){returnkatex.renderToString(code,{displayMode: false,});});});}]}</script><scriptsrc="//unpkg.com/docsify/lib/docsify.min.js"></script><scriptdefersrc="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js" integrity="sha384-483A6DwYfKeDa0Q52fJmxFXkcPCFfnXMoXblOkJ4JcA8zATN6Tm78UNL72AKk+0O" crossorigin="anonymous"></script><linkrel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css" integrity="sha384-D+9gmBxUQogRLqvARvNLmA9hS2x//eK1FhVb9PiU86gmcrBrJAQT8okdJ4LMp2uv" crossorigin="anonymous"></body>Markdown file:
$\{x_n\}$,$\lim\limits_{n \rightarrow \infty} x_n = a$
And it displays incorrect:

Environment:
- Mac OS X Mojave 10.14
- Google Chrome v69.0.3497.100 x64
katex v0.10.0-rc.1docsify-cli v4.2.1
I found it change x_n to x<em>n.
My index.html (created by
docsify-cli v4.2.1and only changebodypart):Markdown file:
And it displays incorrect:
Environment:
katexv0.10.0-rc.1docsify-cliv4.2.1I found it change
x_ntox<em>n.