def summary(content, sep='<!--more-->'):
    """
    get markdown summary (get content before readmore)
    :param str content: markdown content
    """
    index = content.index(sep)
    return content[:index]