def datapackage_to_markdown(datapackage):
    '\n    datapackage: datapackage schema as a dictionary\n    returns: str with the Markdown documentation\n    '
    template = Template(template_to_md)
    rendered = template.render(datapackage)
    return rendered.encode('utf-8')
datapackage: datapackage schema as a dictionary
returns: str with the Markdown documentation
def datapackage_to_markdown(datapackage):
    '\n    datapackage: datapackage schema as a dictionary\n    returns: str with the Markdown documentation\n    '
    template = Template(template_to_md)
    rendered = template.render(datapackage)
    return rendered.encode('utf-8')