Skip to content

Add support for line breaks and grouping #9

@audio-engineer

Description

@audio-engineer

@Zeta611 Cool package! I really like the design, but I found two bugs/suggestions:

  1. It would be great if rows could be inserted that are not productions, i.e., don't require ::= and a RHS. Those rows could be used to write comments like "Arithmetic expressions" to group the following productions together. Basically like the first column in the current setup but without the other columns.
  2. There is no option to force a line break to split a long production into multiple lines. This results in render issues like this one:
Image One solution would be to add another delimiter, e.g., `\\` that can be added on the RHS to force a new line without adding `|`, but keeping the continuation of the production right under the beginning of the RHS on the previous line.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions