mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: [GitBook] Code block syntax (#2000)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
committed by
GitHub
parent
2c8fdf5bce
commit
947efef612
@ -25,9 +25,9 @@ For example these two statements are equivalent:
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
DOMAIN_ELSEWHERE("example.com", REG_NAMEDOTCOM, ["ns1.foo.com", "ns2.foo.com"]);
|
DOMAIN_ELSEWHERE("example.com", REG_NAMEDOTCOM, ["ns1.foo.com", "ns2.foo.com"]);
|
||||||
|
```
|
||||||
|
|
||||||
// ...is equivalent to...
|
```javascript
|
||||||
|
|
||||||
D("example.com", REG_NAMEDOTCOM,
|
D("example.com", REG_NAMEDOTCOM,
|
||||||
NO_PURGE,
|
NO_PURGE,
|
||||||
NAMESERVER("ns1.foo.com"),
|
NAMESERVER("ns1.foo.com"),
|
||||||
|
@ -30,9 +30,9 @@ For example these two statements are equivalent:
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
DOMAIN_ELSEWHERE_AUTO("example.com", REG_NAMEDOTCOM, DSP_AZURE);
|
DOMAIN_ELSEWHERE_AUTO("example.com", REG_NAMEDOTCOM, DSP_AZURE);
|
||||||
|
```
|
||||||
|
|
||||||
// ...is equivalent to...
|
```javascript
|
||||||
|
|
||||||
D("example.com", REG_NAMEDOTCOM,
|
D("example.com", REG_NAMEDOTCOM,
|
||||||
NO_PURGE,
|
NO_PURGE,
|
||||||
DnsProvider(DSP_AZURE)
|
DnsProvider(DSP_AZURE)
|
||||||
|
Reference in New Issue
Block a user