Reimplemented MathJax with custom $inlineMath$
delimeters to prevent it from rendering SASS and other challenge descriptions as math functions.
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
2ec8cde148
commit
670fe4194e
@ -40,11 +40,8 @@ export class SidePanel extends PureComponent {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.bindTopDiv = this.bindTopDiv.bind(this);
|
||||
// MathJax.Hub.Config({
|
||||
// tex2jax: { inlineMath: [['$', '$'], ['\\(', '\\)']] }
|
||||
// });
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: { inlineMath: [['$$', '$$']] }
|
||||
tex2jax: { inlineMath: [['$inlineMath$', '$inlineMath$']] }
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user