You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Jupyter notebook cell if I want to add a block equation as follows:
$$ a^* = hello $$
hello appears italic while editing text due to the star, even if it was part of the Latex syntax. If I just do $a^* = hello$ (i.e. inline Latex), hello does not appear italic anymore. Is this the intended behaviour?
Screenshot:
(I also tried a^{*} but the behaviour is the same.)
Using Jupyter 4.1.1
Also, thanks for the great project! 😛
The text was updated successfully, but these errors were encountered:
The highlighting while you're editing markdown is provided by Codemirror's markdown mode, which doesn't know about the $math$ bits, as that's an ad hoc extension to markdown syntax. When you render the cell, it should show up correctly. So it's not exactly intended behaviour, but it's a limitation we know about.
Someone may be able to write an extended Markdown mode for Codemirror which knew about this syntax. I think we'd be happy to include the code if someone did that, but it's not high on our priority list.
In the extension both $ and $$ are declared as delimiters. The problem, as the comment in the code says, seems to be that defining $ as a delimiter for the LaTeX mode causes the $$ to be interpreted as two consecutive $ delimiters instead of a single $$ one.
I will investigate the possibility of a workaround.
Hi,
In a Jupyter notebook cell if I want to add a block equation as follows:
hello
appears italic while editing text due to the star, even if it was part of the Latex syntax. If I just do$a^* = hello$
(i.e. inline Latex),hello
does not appear italic anymore. Is this the intended behaviour?Screenshot:
![2016-11-19-171847_149x53_scrot](https://cloud.githubusercontent.com/assets/9915183/20457150/b0aa9420-ae7c-11e6-8732-8750d3e8a292.png)
(I also tried
a^{*}
but the behaviour is the same.)Using Jupyter 4.1.1
Also, thanks for the great project! 😛
The text was updated successfully, but these errors were encountered: