meisterluk / maximalexer

A Pygments lexer for Maxima (CAS) code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Lexer for pygments that handles how Maxima (a Computer Algebra System) code is highlighted.

This package based on the asymptote lexer which is also a good option!

Installation

You should be easilly install the package using the command (This package obviously depends on pygments):

$ sudo pip install maximalexer

The package contains a basic test file that you can process:

$ pygmentize -f html -O full -o /tmp/example.html tests/examplefiles/basic.mac
$ firefox /tmp/example.html

Usage

Just like any other pygments lexer, you can highlight Maxima code (not lisp) using pygmentize command, minted latex package, jekyll, and so on.

About

A Pygments lexer for Maxima (CAS) code

License:MIT License


Languages

Language:Python 100.0%