Opens the rendered markdown file (as html) locally in a browser.

def preview_file(post):
    """
    Opens the rendered markdown file (as html) locally in a browser.
    """
    with open(post) as f:
        content = f.read()
    title = os.path.basename(post)
    Preview(title, content).preview()