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
At the moment, we can only specify one placeholder for the search plugin, like "Type to search". However, when the user is on a Chinese page, it would be more friendly to use a translated placeholder, like "搜索...“.
I think we can bind the placeholder to the path, just like the sidebar. For example, we can support the following syntax:
window.$docsify={search: {placeholder: {'/' : 'Type to search','/zh-cn' : '搜索...'}}}
The text was updated successfully, but these errors were encountered:
At the moment, we can only specify one placeholder for the search plugin, like "Type to search". However, when the user is on a Chinese page, it would be more friendly to use a translated placeholder, like "搜索...“.
I think we can bind the placeholder to the path, just like the sidebar. For example, we can support the following syntax:
The text was updated successfully, but these errors were encountered: