def parse_markdown ( markdown_content , site_settings ) : markdown_extensions = set_markdown_extensions ( site_settings ) html_content = markdown . markdown ( markdown_content , extensions = markdown_extensions , ) return html_content
rmarkdown 'python' is not recognized as an internal or external command
Parse markdown text to html .
def parse_markdown(markdown_content, site_settings):
    """Parse markdown text to html.

    :param markdown_content: Markdown text lists #TODO#
    """
    markdown_extensions = set_markdown_extensions(site_settings)

    html_content = markdown.markdown(
        markdown_content,
        extensions=markdown_extensions,
    )

    return html_content