From b95505852bb313788bcbc59a99f0e204ce5be60e Mon Sep 17 00:00:00 2001 From: juliusv Date: Fri, 19 Dec 2014 16:19:36 +0100 Subject: [PATCH] Add bash syntax highlighting to README.md. --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6d84b018..132bc763 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,18 @@ Prometheus documentation site. You need to have a working Ruby environment set up and then install the necessary gems: - cd docs - bundle +```bash +cd docs +bundle +``` ## Building To generate the static site, run: - bundle exec nanoc +```bash +bundle exec nanoc +``` The resulting static site will be stored in the `output` directory. @@ -23,10 +27,12 @@ The resulting static site will be stored in the `output` directory. To run a local server that displays the generated site, run: - # Rebuild the site whenever relevant files change: - bundle exec guard - # Start the local development server: - bundle exec nanoc view +```bash +# Rebuild the site whenever relevant files change: +bundle exec guard +# Start the local development server: +bundle exec nanoc view +``` You should now be able to view the generated site at [http://localhost:3000/](http://localhost:3000).