Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow line breaks to be defined in rules #110

Open
clarkliming opened this issue Jul 17, 2023 · 4 comments
Open

allow line breaks to be defined in rules #110

clarkliming opened this issue Jul 17, 2023 · 4 comments

Comments

@clarkliming
Copy link
Contributor

clarkliming commented Jul 17, 2023

yaml does not support line breaks. However, sometimes we need manual line breaks with rules.

Consider using @ to represent the line breaks in rules.

update: in footnotes we are already using | as line breaks. It might be good to still use this as the line breaks

Question for @Melkiades and @shajoezhu :

is manual line breaks in header/row labels/content causing issues or not?

@Melkiades
Copy link

It is not simple, but it should be supported to some extent. The rendering machinery at the moment does not dial too well with its structure and detecting \n is done at rendering time and should somehow communicate before with the rendering structure (e.g. if there is a newline in a column label to assign the number of lines of the header/column label to 2). I would need a bit of time to reassess the current situation of the rendering with \n

what do you mean with @?

@clarkliming
Copy link
Contributor Author

what do you mean with @?

because we can not define "line breaks" in yaml, so we have to use some symbols, like @ to represent the line breaks (after reading data from yaml)

@clarkliming
Copy link
Contributor Author

@crazycatandy it is not completed

@clarkliming clarkliming reopened this Oct 26, 2023
@clarkliming
Copy link
Contributor Author

we either move it to later PI, or open new issues to track

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants