Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@
}
],
"rewrap.autoWrap.enabled": true,
"rewrap.wrappingColumn": 80
"rewrap.wrappingColumn": 80,
"cSpell.words": [
"footgun",
"Gitter",
"irreflexivity",
"preorder"
]
}
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,18 @@ On Windows, you can download the installer from

Once you have Rust and Cargo installed, you can install or upgrade mdBook by running:

```bash
cargo install mdbook@0.4.48
cargo install mdbook-katex
```
cargo install mdbook
```

The version is currentlypinned to 0.4.48 because that is the version supported by katex

## Building the book

To build the book, run:

```
```bash
mdbook serve ./better-code
```

Expand Down
3 changes: 2 additions & 1 deletion better-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Download the installer from [here](https://win.rustup.rs/).
### Install mdBook

```bash
cargo install mdbook
cargo install mdbook@0.4.48
cargo install mdbook-katex
```

### Building and Serving the Book
Expand Down
3 changes: 3 additions & 0 deletions better-code/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ enable = true

[output.html.print]
enable = true

[preprocessor.katex]
after = ["links"]
Loading