From 456b173ea0a54a2d42d605eda3d43fd4962a35c2 Mon Sep 17 00:00:00 2001 From: Bimochan Shrestha Date: Thu, 20 Aug 2020 11:04:13 +0545 Subject: [PATCH 1/2] Add rust installation check --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 59a4ac6..cd28177 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,15 @@ section which I add to occassionally.__ ## Building -Rust Anthology is built with [mdbook]. To build: +Rust Anthology is built with [mdbook]. +> Make sure Rust is already installed. To install +``` +$ curl https://sh.rustup.rs -sSf | sh +``` + + To build: + ``` cargo install mdbook mdbook build From be634358ecb694c633f41b3f778ed6b1035704a0 Mon Sep 17 00:00:00 2001 From: Bimochan Shrestha Date: Thu, 20 Aug 2020 11:08:21 +0545 Subject: [PATCH 2/2] Better syntax highlighting --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cd28177..693c5e3 100644 --- a/README.md +++ b/README.md @@ -34,23 +34,23 @@ section which I add to occassionally.__ Rust Anthology is built with [mdbook]. > Make sure Rust is already installed. To install -``` +```shell $ curl https://sh.rustup.rs -sSf | sh ``` To build: -``` -cargo install mdbook -mdbook build +```shell +$ cargo install mdbook +$ mdbook build ``` [mdbook]: https://github.com/azerupi/mdBook Testing is again with mdbook: -``` -mdbook test +```shell +$ mdbook test ``` ## Contributing