crates/mdbook-html/src/theme/searcher.rs
raw| 1 | //! Theme dependencies for in-browser search. Not included in mdbook when |
| 2 | //! the "search" cargo feature is disabled. |
| 3 | |
| 4 | pub(crate) static JS: &[u8] = include_bytes!("../../front-end/searcher/searcher.js"); |
| 5 | pub(crate) static MARK_JS: &[u8] = include_bytes!("../../front-end/searcher/mark.min.js"); |
| 6 | pub(crate) static ELASTICLUNR_JS: &[u8] = |
| 7 | include_bytes!("../../front-end/searcher/elasticlunr.min.js"); |