stretchr / excerpt-search

Returns a highlighted excerpt from a block of text based on search terms
3 stars 2 forks source link

Return multiple matches #2

Open matryer opened 10 years ago

matryer commented 10 years ago

I'd like to be able to say:

{
  matches: 3
}

or

{
  matches: "all"
}