Skip to content

Commit

Permalink
Fix search highlighting for the default docs theme (helix-editor#8270)
Browse files Browse the repository at this point in the history
  • Loading branch information
zqianem authored Sep 13, 2023
1 parent 729f32d commit fe6b556
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ code.hljs {
--searchresults-header-fg: #5f5f71;
--searchresults-border-color: #5c5c68;
--searchresults-li-bg: #242430;
--search-mark-bg: #acff5;
--search-mark-bg: #a2cff5;
}

.colibri .content .header {
Expand Down
13 changes: 10 additions & 3 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ files, run
cargo xtask docgen
```

inside the project. We use [xtask][xtask] as an ad-hoc task runner and
thus do not require any dependencies other than `cargo` (You don't have
to `cargo install` anything either).
inside the project. We use [xtask][xtask] as an ad-hoc task runner.

To preview the book itself, install [mdbook][mdbook]. Then, run

```shell
mdbook serve book
```

and visit [http://localhost:3000](http://localhost:3000).

# Testing

Expand All @@ -58,4 +64,5 @@ The current MSRV and future changes to the MSRV are listed in the [Firefox docum
[architecture.md]: ./architecture.md
[docs]: https://docs.helix-editor.com/
[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

0 comments on commit fe6b556

Please sign in to comment.