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

Set word delimiter for Wrap's keep_words #400

Open
fmorroni opened this issue Apr 1, 2024 · 3 comments
Open

Set word delimiter for Wrap's keep_words #400

fmorroni opened this issue Apr 1, 2024 · 3 comments

Comments

@fmorroni
Copy link

fmorroni commented Apr 1, 2024

I want to wrap some long paths I have in my table. The keep_words method seems to only detect spaces as word delimiters. Is it posible to set a custom delimiter? I would like to set it as / for example so the paths are wrapped only at directories.

@zhiburt
Copy link
Owner

zhiburt commented Apr 2, 2024

Hi @fmorroni

Interesting issue.

So yes it's possible, to do, I guess.

Need to test

@zhiburt
Copy link
Owner

zhiburt commented Apr 2, 2024

Though it will be applied to the whole table.
Which is not good.

I mean we need to be able to set delimeter per target (column/row/cell etc.). Which will make thinks complex.

Need to think maybe there's a better solution here.

@fmorroni
Copy link
Author

fmorroni commented Apr 2, 2024

I see, for my use case a global setting would be fine. But yeah I guess ideally you should be able to set the delimiter per target.

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