1
0
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:
Julius Rickert
2022-02-17 18:22:31 +01:00
committed by GitHub
parent 40bc39533f
commit 20dad35167
103 changed files with 631 additions and 585 deletions

View File

@@ -55,7 +55,7 @@ Example 1: Read a BIND zonefile
Most DNS Service Providers have an 'export to zonefile' feature.
```
```bash
dnscontrol get-zones --format=js bind BIND example.com
dnscontrol get-zones --format=js --out=draft.js bind BIND example.com
```
@@ -74,7 +74,7 @@ This requires creating a `creds.json` file as described in
Suppose your `creds.json` file has the name `global_aws`
for the provider `ROUTE53`. Your command would look like this:
```
```bash
dnscontrol get-zones --format=js global_aws ROUTE53 example.com
dnscontrol get-zones --format=js --out=draft.js global_aws ROUTE53 example.com
```