modified rainbows to work with python markdown