This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |