Skip to content

rowtable: Implement space as separator#14

Merged
bluss merged 1 commit intomainfrom
space-separator
Aug 26, 2025
Merged

rowtable: Implement space as separator#14
bluss merged 1 commit intomainfrom
space-separator

Conversation

@bluss
Copy link
Copy Markdown
Member

@bluss bluss commented Aug 26, 2025

Using a space as a separator has special behaviour -- because of how spaces are treated in Typst markup: multiple spaces, tabs, newlines are all collapsed into just whitespace. Using a space as separator splits on any such whitespace.

Previous rowtable behaviour for separator: " " was inconsistent, splitting on single spaces in text but not splitting on whitespace elements in content sequences (splitting for example [two words] but not [two *words*]!). That's considered unuseful and likely never used, the new behaviour is documented and useful.

@bluss bluss merged commit ec352f4 into main Aug 26, 2025
1 check passed
@bluss bluss deleted the space-separator branch August 26, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant