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

@@ -57,7 +57,8 @@ and A, B, C are the first 3 octets of the IP address. For example
`128/27.18.20.172.in-addr.arpa`
{% include startExample.html %}
{% highlight js %}
```js
D(REV('1.2.3.0/24'), REGISTRAR, DnsProvider(BIND),
PTR('1', 'foo.example.com.'),
PTR('2', 'bar.example.com.'),
@@ -76,8 +77,8 @@ D(REV('2001:db8:302::/48'), REGISTRAR, DnsProvider(BIND),
PTR('2001:db8:302::2', 'two.example.com.'), // '2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0'
PTR('2001:db8:302::3', 'three.example.com.'), // '3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0'
);
```
{%endhighlight%}
{% include endExample.html %}
In the future we plan on adding a flag to `A()` which will insert