You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you guys thinks about adding functionality to specify either number of paragraphs to take, or minimum characters. (so if first paragraph have less than minimum characters, take also next one and so on..)
I can prepare PR if you are interested in it.
The text was updated successfully, but these errors were encountered:
I would add option truncate: stringthat would truncate the snippet to a max. of n characters and add an ellipsis (...). The truncate option could take an instruction string like 50 words/100 chars/1 sentence/ comment. comment would refer to #41. I don't think specifying a minimum is a common need for an excerpt.
webketje
changed the title
Additional options
More precise excerpt selection
Dec 8, 2021
What you guys thinks about adding functionality to specify either number of paragraphs to take, or minimum characters. (so if first paragraph have less than minimum characters, take also next one and so on..)
I can prepare PR if you are interested in it.
The text was updated successfully, but these errors were encountered: