Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download

Test case for highlighting

Project: Teaching
Views: 88
%md Some text, irrelevat ``` from blah import bloh def blih(x): return bloh(x+1) print(blih(3)) ``` Note that this is _not_ highlighted as Python in the input of the cell, which is quite expected. Compare with ```python from blah import bloh def blih(x): return bloh(x+1) print(blih(3)) ``` which is now highlighted as Python. The problem is, in the output, rendered version, none of them is highlighted. I would like the second one to be highlighted.

Some text, irrelevat

from blah import bloh def blih(x): return bloh(x+1) print(blih(3))

Note that this is not highlighted as Python in the input of the cell, which is quite expected.

Compare with

from blah import bloh def blih(x): return bloh(x+1) print(blih(3))

which is now highlighted as Python.

The problem is, in the output, rendered version, none of them is highlighted. I would like the second one to be highlighted.