History

Merge pull request #1338 from simon04/readme-syntax-highlighting

Simon Legner committed 5 years ago

Commit 5a05c2a2 parents b078b55 64566961 file · +5 −6Browse files

Unified · Split

README.md+5−6
@@ -24,7 +24,7 @@ DevDocs is made of two pieces: a Ruby scraper that generates the documentation a · 23 unmodified lines
2424
2525 DevDocs requires Ruby 2.6.x, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:
2626
27−```
27+```sh
2828 git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
2929 gem install bundler
3030 bundle install
@@ -40,7 +40,7 @@ The `thor docs:download` command is used to download pre-generated documentation · 9 unmodified lines
4040
4141 Alternatively, DevDocs may be started as a Docker container:
4242
43−```
43+```sh
4444 # First, build the image
4545 git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
4646 docker build -t thibaut/devdocs .
@@ -99,7 +99,7 @@ More information about [scrapers](./docs/scraper-reference.md) and [filters](./d · 52 unmodified lines
9999
100100 The command-line interface uses [Thor](http://whatisthor.com). To see all commands and options, run `thor list` from the project's root.
101101
102−```
102+```sh
103103 # Server
104104 rackup # Start the server (ctrl+c to stop)
105105 rackup --help # List server options
@@ -116,10 +116,9 @@ thor docs:clean # Delete documentation packages · 10 unmodified lines
116116 # Console
117117 thor console # Start a REPL
118118 thor console:docs # Start a REPL in the "Docs" module
119−Note: tests can be run quickly from within the console using the "test" command. Run "help test"
120−for usage instructions.
121119
122−# Tests
120+# Tests can be run quickly from within the console using the "test" command.
121+# Run "help test" for usage instructions.
123122 thor test:all # Run all tests
124123 thor test:docs # Run "Docs" tests
125124 thor test:app # Run "App" tests