Skip to content

Instantly share code, notes, and snippets.

@robotanarchy
robotanarchy / pygmentize.sh
Last active August 29, 2015 14:11 — forked from michih57/pygmentize
add global flag to regex
#!/bin/bash
#
# This script caches the pygmentize output.
# Original script by michih57
#
# Modifications by robotanarchy:
# - remove real_pygmentize variable
# - store hash in 'out' folder
# - replace '\$' with '$' to fix syntax highlighting in editors
# - also cache style information