Comments (3)
Lol, I haven't ended the Readme? There's a highlighting section.
So, I still purpose including a highlighting method.
from quick-score.
RTFM! ;)
I could see adding a utility function that, given an array of matches
, wraps the match in some user-supplied string, or calls a user-supplied function that can return the wrapped match. But I wouldn't want to assume the developer would always want HTML strings as opposed to something like React.
Perhaps it could be an option, but I also think you wouldn't necessarily want to pre-wrap every matching result, since you likely won't ever render all of them if it's a long list.
from quick-score.
Yeah, you changed my mind. I close this. So I also discovered it's not so difficult to write a highlighting function. XP
from quick-score.
Related Issues (17)
- Distribute as a JavaScript file? HOT 3
- quickScore is not defined HOT 3
- Can't use query long strings HOT 25
- Option to ignore accents (diacritics) HOT 10
- Option to check similarity with unused/extraneous characters HOT 1
- [Feature request] Option to ignore dots in key names and to score all keys, without specifying a list HOT 10
- [Feature request] Support scoring arrays of strings, in addition to single strings HOT 3
- I just want to thank you for 0.12 release HOT 1
- Allow a threshold below which results are not returned HOT 2
- Odd behaviour in search sesults HOT 1
- Scores that are equal to minimumScore are excluded HOT 1
- Limit result HOT 1
- Would this project be open to using TypeScript? HOT 16
- `setKeys()` and `setItems()` do not support ArrayLike Iterables because they use `[].concat()` for a shallow copy HOT 3
- Results are no longer returned for searches beyond the first letter in our app with 0.1.0 HOT 12
- Question about original QuickSilver algorithim HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quick-score.