Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
# This script consumes Markdown preformatted code blocks delimited by ``` and
# replaces them by inline HTML with line numbers. This would be a good way to
# add syntax hilighting later,
import sys
import pygments
import pygments.formatters
# from pygments.lexers import PythonLexer
charlesdaniels /
Last active February 24, 2018 20:05
UofSC ACM eWeek 2018 DCPU-16 Demo