Skip to content

Commit e965162

Browse files
committed
Try pygments-mathematica
1 parent bcfe3cb commit e965162

File tree

3 files changed

+2
-96
lines changed

3 files changed

+2
-96
lines changed

mathicsscript/mmalexer.py

Lines changed: 0 additions & 95 deletions
This file was deleted.

mathicsscript/termshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from mathics.core.characters import named_characters
1616

1717
from pygments import highlight
18-
from mathicsscript.mmalexer import MathematicaLexer
18+
from mathematica.lexer import MathematicaLexer, MToken
1919

2020
mma_lexer = MathematicaLexer()
2121

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def read(*rnames):
7070
"colorama",
7171
"columnize",
7272
"pygments",
73+
"pygments-mathematica",
7374
"term-background >= 1.0.1",
7475
],
7576
entry_points={"console_scripts": ["mathicsscript = mathicsscript.__main__:main"]},

0 commit comments

Comments
 (0)