Remark: MathJax / Katex Problem

Created on 15 Sep 2017  路  5Comments  路  Source: gnab/remark

When using with MathJax, it has problem when there is second underscore bracket:
For example, this one will not show normally:

$$ Q_{t+1}(s_i, u) = r + \gamma \max_{u'} Q_t (s_j, u') $$

However this one will show normally:

$$ Q_{t+1}(s_i, u) = r + \gamma \max Q_t (s_j, u') $$

Most helpful comment

I got it. It is the problem of underscore. Change all '_' to '_' will fix the problem.

For example:

$$ Q\_{t+1}(s\_i, u) = r + \gamma \max\_{u'} Q_t (s\_j, u') $$

Will have no problem

All 5 comments

I got it. It is the problem of underscore. Change all '_' to '_' will fix the problem.

For example:

$$ Q\_{t+1}(s\_i, u) = r + \gamma \max\_{u'} Q_t (s\_j, u') $$

Will have no problem

This is a bug. Text within $$ ... $$ and $ ... $ should be protected.

See my comment on #336

Closing this as "duplicate" of #336
I'm doing the easy triage right now and I'll get back to looking at @yuekai's PRs later.
Feel free to send them if it's not done already, we have new "assistant-maintainers" and you could benefit from the motivation boost and the holiday period ;)

Thanks for the escape solution, I was having the same problem with second underscore brackets and this fixed it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pat-s picture pat-s  路  8Comments

larrycai picture larrycai  路  8Comments

stephentu picture stephentu  路  5Comments

jklymak picture jklymak  路  8Comments

pinkomeo picture pinkomeo  路  4Comments