mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks Replace Jekyll highlight tags with fenced code blocks. Canonicalize javascript to js. Correct highlighting languages. Add highlighting to code blocks. Remove leading $ from bash blocks. Remove empty lines at start and end of code blocks. Stripped trailing whitespace. * Fix language of code highlighting
This commit is contained in:
@@ -163,13 +163,13 @@ Alternatively, on Mac you can install it using homebrew:
|
||||
|
||||
## Via [docker](https://hub.docker.com/r/stackexchange/dnscontrol/)
|
||||
|
||||
```
|
||||
```bash
|
||||
docker run --rm -it -v $(pwd)/dnsconfig.js:/dns/dnsconfig.js -v $(pwd)/creds.json:/dns/creds.json stackexchange/dnscontrol dnscontrol preview
|
||||
```
|
||||
|
||||
The documentation can be viewed via Docker:
|
||||
|
||||
```
|
||||
```bash
|
||||
cd docs
|
||||
docker run --rm -it --volume="$PWD:/srv/jekyll" --volume="$PWD/vendor/bundle:/usr/local/bundle" --env JEKYLL_ENV=production jekyll/jekyll:3.8 jekyll build -V
|
||||
# Open docs/_site/index.html in your web browser to see the results.
|
||||
|
Reference in New Issue
Block a user