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

Support using < to set up colspan #1

Closed
kherock opened this issue Jan 22, 2024 · 1 comment
Closed

Support using < to set up colspan #1

kherock opened this issue Jan 22, 2024 · 1 comment

Comments

@kherock
Copy link

kherock commented Jan 22, 2024

Hi, thanks for the helpful library. I was wondering if you'd be open to supporting the < character to set up colspan. I find the examples with > hard to read since it doesn't really align with the use of ^ for rowspan as a left-to-right, top-to-bottom reader.

I think the main example in the README is a bit easier to read if the column contents are shown in the left-most cell:

| Head 1       | Head 2       | Head 3       | Head 4       |
| ------------ | ------------ | ------------ | ------------ |
| Merged (2x1) | <            | Cell         | Cell         |
| Merged (1x3) | Merged (2x2) | <            | Cell         |
| ^            | ^            | <            | Cell         |
| ^            | Merged (3x1) | <            | <            |
@Airkro
Copy link
Member

Airkro commented Jan 23, 2024

Add options.mergeTo in v0.1.2, now < is available when options.mergeTo === left, please send me feedback.

@Airkro Airkro pinned this issue Jan 26, 2024
@Airkro Airkro closed this as completed May 25, 2024
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

No branches or pull requests

2 participants