GedcomLexer is a plugin for the pygments python module. It adds GEDCOM syntax highlighting to pygments.
GedcomLexer can be installed directly from github using pip:
$ sudo pip install git+https://github.com/johnchristopherjones/GedcomLexer.gitFor development, GedcomLexer can be installed using setuptools:
$ git clone https://github.com/johnchristopherjones/GedcomLexer.git
$ cd GedcomLexer
$ sudo python setup.py developeror using pip:
$ git clone https://github.com/johnchristopherjones/GedcomLexer.git
$ sudo pip install --editable GedcomLexer/GedcomLexerInstalling using setuptools allows you to link the cloned git repository into your python dist-packages directory so that any changes you make to the repo are instantly reflected in your python installation.