def set_markdown_extensions(site_settings):
    """Set the extensions for markdown parser"""
    # Base markdown extensions support "fenced_code".
    markdown_extensions = ["fenced_code"]
    if site_settings["pygments"]:
        markdown_extensions.extend([
            "extra",
            "codehilite(css_class=hlcode)",
            "toc(title=Table of Contents)"
        ])

    return markdown_extensions