#!python
# -*- coding: utf8 -*-
b'This module requires Python 2.7.x'

# Built-in modules #
import sys, argparse

# Internal modules #
import pymarktex

# Parse the shell arguments #
parser = argparse.ArgumentParser(description=sys.modules[__name__].__doc__)
parser.add_argument("input_file", help="The markdown file to process", type=str)
args = parser.parse_args()
input_path = args.input_file

# Make the document #
doc = pymarktex.Document(input_path)
doc.generate()