mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-02 09:54:31 +08:00
DOCS: [GitBook] Code block syntax (#2000)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
parent
2c8fdf5bce
commit
947efef612
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue