Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Multiline string in Python Console is not highlighted properly #136
Comments
TitanSnow
commented
Jun 3, 2018
|
|
The syntax on the screenshot is "pycon" (python console); MagicPython doesn't provide it. This snippet highlighted with "python" syntax: >>> lua_func = lua.eval('''
... function(a, b) -- a plus b
... return a + b
... end
... ''') |
|
But GitHub uses MagicPython to highlight "pycon": And MagicPython provides "python-console.cson": MagicPython/grammars/python-console.cson Line 33 in 935abef |
|
Hm, OK, we'll take a look :) |


