You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a custom placeholder message to the search bar.
// In your `docusaurus.config.js`:
module.exports = {
// ... Your other configurations.
themes: [
// ... Your other themes.
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// ... Your options.
// Set custom message for search bar placeholder
searchPlaceholder: "Search documentation",
}),
],
],
};```
The text was updated successfully, but these errors were encountered:
I would like to request an ability to add a way to set my own placeholder message in the search bar. I was thinking this could be a theme option.
Theme Options
The text was updated successfully, but these errors were encountered: