def METHOD_NAME(features, markdown):
    prefix = ""
    for f in features:
        print()
        if markdown:
            fheader = f'Feature: {f.name}'
            print(f'| Status | {fheader}')
            print(f'|:------:|:{"".ljust(len(fheader)+1, "-")}|')
        else:
            print(f"{prefix}Feature: {f.name}")
        for s in f.scenarios:
            jtags = " ".join(s.tags)
            prefix = markdown and '|        |' or ''
            if jtags:
                print(f"{prefix} {jtags} - {s.name}")
            else:
                print(f"{prefix} {s.name}")