Comments (8)
Any progress regarding this functionality? I want to migrate to docute, but I don't want to use Algolia 😩
from docute.
This vue component might be a good example (or potential component to integrate) to offer this: https://github.com/shayneo/vue-fuse/
from docute.
Now we have a plugin API for searching: https://docute.org/plugin-api#apienablesearchoptions
We just need to figure out how to create/store search-index.json
from docute.
@issuehunt has funded $200.00 to this issue.
- Submit pull request via IssueHunt to receive this reward.
- Want to contribute? Chip in to this issue via IssueHunt.
- Checkout the IssueHunt Issue Explorer to see more funded issues.
- Need help from developers? Add your repository on IssueHunt to raise funds.
from docute.
Given that this runs in browser might as well run it in memory. The files would have to be loaded from sidebar, parsed-https://github.com/markdown-it/markdown-it-, and then fed into a search library such as https://www.npmjs.com/package/lunr which takes objects and appears to return the whole tree made of object keys for a result. Ideally the link would be able to take you to that exact spot in text, or at least a paragraph, something a parser might not support like paragraph 1 after h3. When markdown component loads, do those link work via router or is it something browser supports with markdown?
from docute.
So is it okay if search material is compiled at runtime, instead of having search-index.json produced before then?
from docute.
Working on this. Can you please assign me?
from docute.
I created a pull request #261 that should close this.
from docute.
Related Issues (20)
- Multi-level menu
- Fix Repl.it example HOT 1
- Question: How to change the theme of code highlight?
- Deploy to gitlab pages
- Multilanguage with LTR and RTL languges HOT 2
- Ability for a standalone file:// is broken HOT 3
- Select has inverted colors in dark theme
- Theme search function
- api.onUpdate causes rendering to fail
- Support explicit markdown URLs like docsify
- double horizontal scroll bar in code snippets
- use with `router-link`
- [Feature Request] any chance we get React in markdown support?
- Bug: The vue template doesn't work on the sidebar!
- Bug: "router.base" not work! HOT 1
- Unable to jump between level 1 menus
- docute.org seems to be dead HOT 3
- People visiting docute.egoist.sh are getting HACKED HOT 2
- Is this project still under maintenance?
- How to use document in Vue3? I need to embed it
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 docute.