Skip to content

Docgen: table rendering at least for --pe --format ansi #14

Open
@cepsdev

Description

@cepsdev

I' d like to have a nice rendering of tables like the one below (taken from the EXI spec) in a terminal window:

table{ 📎 Table 4-2. Datatype representation of event content items
header{ th{"Content Item" }
th{"Used in" }
th{"Datatype representation" }
}
tr{ td{ name{ }
}
td{PI DT ER }
td{"7.1.10 String" }
}
tr{ td{ prefix{ }
}
td{NS }
td{"7.1.10 String" }
}
tr{ td{ local_element_ns{ }
}
td{NS }
td{"7.1.2 Boolean" }
}
tr{ td{ public{ }
}
td{DT }
td{"7.1.10 String" }
}
tr{ td{ qname{ }
}
td{SE AT }
td{"7.1.7 QName" }
}
tr{ td{ system{ }
}
td{DT }
td{"7.1.10 String" }
}
tr{ td{ text{ }
}
td{CM PI DT }
td{"7.1.10 String" }
}
tr{ td{ uri{ }
}
td{NS }
td{"7.1.10 String" }
}
tr{ td{ value{ }
}
td{CH AT }
td{"According to the schema datatype (see 7, Representing Event Content) if any is in effect, otherwise 7.1.10 String" }
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions