Skip to content

Commit

Permalink
readme: highlight text snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Jan 8, 2021
1 parent 6ac76ac commit c9b7e8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ quickstart](https://github.com/seed-rs/seed-quickstart) project to get
started.

Depend on Seed Bootstrap in your Cargo.toml like a normal Rust library.
```

```toml
[dependencies]
seed = "0.8"
seed-bootstrap = "0.1"
Expand All @@ -30,7 +31,7 @@ Seed Bootstrap provides a number of builders that can be used as part
of your Seed view functions. For example, this is how you can create a
variety of Bootstrap-style buttons.

```
```rust
use seed_bootstrap::components::button::{Button, Role, Type};
fn view(model: &Model) -> Node<Msg> {
div![
Expand Down

0 comments on commit c9b7e8c

Please sign in to comment.