3 ms·
This is excellent; I developed such a solution some time ago, after asking on StackOverflow if such a thing already existed and being told no. It's actually qu
by bambax 14y ago
This is excellent; I developed such a solution some time ago, after asking on StackOverflow if such a thing already existed and being told no.
It's actually quite simple to do from scratch anyway. My solution involved being able to search non-consecutive terms on a page and return paragraphs containing those terms. AFAIK, in-browser search cannot do this, which is a shame.
- rogerbinns 14y agoSphinx actually does show the paragraphs in browser. Try a search to see. The source files for Sphinx are plain text in rst format (like markdown but with more functionality). It generates HTML from that, but (by default) the original plain text files are also included in the output. The search index tells it which pages match and the javascript grabs the plain text and shows paragraph matches.