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 :) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.



