Skip to content

[REQ] Allow block elements in table fields #35

@mhatzl

Description

@mhatzl

Currently the syntax only allows inline elements inside table fields.
However, sometimes block elements like lists or tables may want to be placed inside table fields.

Using some fancy markup to allow block elements would most likely make tables unreadable,
so the better option might be to define memorables or macros returning block elements,
and use these memorables/macros in the table field.

Caveats:

  • No other content must be allowed inside the fields besides one memorable/macro returning a block element.

    Multiple block elements would need to be separated by blank lines, which is not possible inside a field.
    Therefore, only one memorable/macro returning block elements must be allowed per field.

  • Do not consider headings as new sections

    Headings might be added in table fields, but they must not be considered as new document sections.
    This behaviour is the same as for quotation blocks.

  • Nestception

    To prevent tables in tables in tables in tables, it might be better to restrict block elements at a certain depth.
    Or just leave it up to the user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions