New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Integrate Agolia Search #691
Conversation
Is it possible to improve plugin support such that this can be implemented as a plugin? It feels odd to integrate an optional third-party service to such an extent in MarkBind. If necessary, then it can be done in a separate PR. |
That might be possible. I'm thinking of extending the plugin support to allow adding scripts and stylesheets in the Alternatively, we could just modify the DOM directly as part of the What are your thoughts on this? |
Those are independent of the content right? They can be functions at the same level as We can accept raw HTML to be more flexible, then we just need
Agreed, don't do this. |
I'm concerned that having to write
would be clunky compared to something like
There might be more methods available (which might be a little more confusing), but I wonder if it is worth the tradeoff for a more pleasant syntax. |
There is more to a
It is better to be flexible for plugin authors.
Plugin can also load HTML file of styles and/or scripts and pass it as string. |
Alright, will do that instead then! 🙂 |
What is the purpose of this pull request? (put "X" next to an item, remove the rest)
• [X] New feature
Resolves #656.
What is the rationale for this request?
Allow users to integrate Agolia search with their site
What changes did you make? (Give an overview)
Testing instructions:
For the
se-book
repository:Update
site.json
:Update
navigation.md
:Agolia search results should be displayed when user enters query in search bar.