This is the most up-to-date lexer and highlighter for Mathematica/Wolfram Language source code using the pygments engine.
It currently supports:
All builtin functions in the System context including unicode symbols like π except those that use characters from the private unicode space (e.g. \[FormalA]).
User defined symbols, including those in a context.
All operators including unicode operators like ∈ and ⊕.
Comments, including multi line and nested.
Strings, including multi line and escaped quotes.
Patterns, slots (including named slots #name introduced in version 10) and slot sequences.
Message names (e.g. the ivar in General::ivar)
Numbers including base notation (e.g. 8 ^^ 23 == 19) and scientific notation (e.g. 1 *^ 3 == 1000).
Local variables in Block, With and Module.
A Sass file containing the styles can be obtained from the package repository for use in static website generators such as Jekyll, Octopress, Pelican, etc.
© 2025 rsmenon
Release files for pygments-mathematica 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygments_mathematica-0.4.2.tar.gz | 55.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_mathematica-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:105.0 kB
Release files / pygments_mathematica-0.4.2.tar.gz
| Download URL | pygments_mathematica-0.4.2.tar.gz |
|---|---|
| Size | 55.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9f2984353c8d4095ce05fa40b59a72a0c9eacf766326dca200ead33a3aedac1
|
|
BLAKE2b-256 checksum How to use checksums |
2ab942847dfbce5e8d193fce713e21f9ed7fb2cdc6df56060e990127ef0b5335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / pygments_mathematica-0.4.2-py3-none-any.whl
| Download URL | pygments_mathematica-0.4.2-py3-none-any.whl |
|---|---|
| Size | 49.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9582da44dad7147067cce2c3f24e5f48b4376862873be7f2226ef9af92bda03f
|
|
BLAKE2b-256 checksum How to use checksums |
37cef437c0436612e2e024f3c836968545059e342b5861029afad619fd68294d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|