pandoc-latex-color is a pandoc filter for setting the color to
Div that have speficied classes or
See the wiki pages.
To apply the filter, use the following option with pandoc:
Install pandoc-latex-color as root using the bash command
pip install pandoc-latex-color
To upgrade to the most recent release, use
pip install --upgrade pandoc-latex-color
To upgrade to the current code, use
pip install --upgrade --force git+https://github.com/chdemko/pandoc-latex-color
pip is a script that downloads and installs modules from the Python Package Index, PyPI. It should come installed with your python distribution. If you are running linux,
pip may be bundled separately. On a Debian-based system (including Ubuntu), you can install it as root using
apt-get update apt-get install python-pip
It uses the xcolor LaTeX package to handle correctly colors in spans and divs and the soulutf8 package for highlighing the text.
If you have any difficulties with pandoc-latex-color, please feel welcome to file an issue on github so that we can help.