mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-12 00:07:42 +03:00
Fix search highlighting for the default docs theme (#8270)
This commit is contained in:
parent
729f32de21
commit
fe6b556f51
@ -164,7 +164,7 @@ code.hljs {
|
|||||||
--searchresults-header-fg: #5f5f71;
|
--searchresults-header-fg: #5f5f71;
|
||||||
--searchresults-border-color: #5c5c68;
|
--searchresults-border-color: #5c5c68;
|
||||||
--searchresults-li-bg: #242430;
|
--searchresults-li-bg: #242430;
|
||||||
--search-mark-bg: #acff5;
|
--search-mark-bg: #a2cff5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colibri .content .header {
|
.colibri .content .header {
|
||||||
|
@ -29,9 +29,15 @@ # Auto generated documentation
|
|||||||
cargo xtask docgen
|
cargo xtask docgen
|
||||||
```
|
```
|
||||||
|
|
||||||
inside the project. We use [xtask][xtask] as an ad-hoc task runner and
|
inside the project. We use [xtask][xtask] as an ad-hoc task runner.
|
||||||
thus do not require any dependencies other than `cargo` (You don't have
|
|
||||||
to `cargo install` anything either).
|
To preview the book itself, install [mdbook][mdbook]. Then, run
|
||||||
|
|
||||||
|
```shell
|
||||||
|
mdbook serve book
|
||||||
|
```
|
||||||
|
|
||||||
|
and visit [http://localhost:3000](http://localhost:3000).
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
|
|
||||||
@ -58,4 +64,5 @@ ## Minimum Stable Rust Version (MSRV) Policy
|
|||||||
[architecture.md]: ./architecture.md
|
[architecture.md]: ./architecture.md
|
||||||
[docs]: https://docs.helix-editor.com/
|
[docs]: https://docs.helix-editor.com/
|
||||||
[xtask]: https://github.com/matklad/cargo-xtask
|
[xtask]: https://github.com/matklad/cargo-xtask
|
||||||
|
[mdbook]: https://rust-lang.github.io/mdBook/guide/installation.html
|
||||||
[helpers.rs]: ../helix-term/tests/test/helpers.rs
|
[helpers.rs]: ../helix-term/tests/test/helpers.rs
|
||||||
|
Loading…
Reference in New Issue
Block a user