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

Request: Split long posts between paragraphs instead of mid-sentence, where possible #42

Open
benjamineskola opened this issue Nov 24, 2024 · 0 comments

Comments

@benjamineskola
Copy link

Current behaviour
A post that's too long for bluesky will be split. Splits occur between words (in splitTextBluesky). If the split point is mid-sentence it will split the sentence between two posts.

Desired behavior
If the post is split into paragraphs, split between paragraphs instead. (I would interpret a paragraph break as being two line breaks together, markdown-style: \n\n — however, it would probably also work just to split on line breaks.)

If it can't be split on paragraphs, fall back to the existing method.

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

1 participant