def METHOD_NAME(opts):
    # start table with a header row of blank column + all dialects
    table = f"||{'|'.join(dialect_table_headers)}|\n"
    # and a separator row
    table += f"|:-:|:-:{'|:-:'.join('' for d in dialects)}|\n"
    # then rows for each level indicating which dialects support it
    for level_name, level_dialects in opts.items():
        level_yes_no_dialect_string = (
            yes_string if d in level_dialects else no_string for d in dialects
        )
        table += f"|{level_name}|"
        table += f"{'|'.join(level_yes_no_dialect_string)}|\n"
    return table