Can't live without a search bar on your Feather Wiki? This extension has you covered.
Installation #
To try out the simple search extension, you can do one of the following things:
- Go to your Wiki Settings and add
to the "Custom Head" text area.<script src="https://feather.wiki/extensions/v1.8.x/feather-search.js"></script>
- Save the search extension file to the same folder as your Feather Wiki file and add
to the "Custom Head" text area in Wiki Settings.<script src="./feather-search.js"></script>
- (This way requires that the
feather-search.js
file always remains in the same folder as your wiki file.)
- (This way requires that the
- Go to the source code for the extension, copy the code, and paste the whole script directly into the "Custom JS" text area in Wiki Settings.
What it Does #
Once you add your extension code, you will not be able to see the results until you save your wiki and re-load the file. When it's saved and reloaded, the simple search plugin will inject a search bar just below the "Save Wiki" button that provides an extremely rudimentary way to search content in your wiki's pages! The search results will appear automatically below the search bar if there are any matches found in any of the wiki's content.
Previous Versions #
Starting with Version 1.8.0, extensions are now stored in paths that include the minor version number (i.e. extensions for version 1.8.0 are stored in extensions/v1.8.x/
) to indicate that they are incompatible with lower version numbers. The version of this extension compatible with versions of Feather Wiki below 1.8.0 can still be found at https://feather.wiki/extensions/feather-search.js
, but the old version will no longer receive updates.