Add formatting for literal code values in prose

This commit is contained in:
Nate Riffe 2014-09-04 09:19:34 -05:00
parent ff97294b71
commit c2db8a2c91

View File

@ -186,23 +186,23 @@ This resource declaration will result in address records with the addresses 172.
####dns_rr examples
Mail exchangers for a domain. Declares three mail exchangers for the domain
example.com, which are mx.example.com, mx2.example.com, and mx.mail-host.ex
with priorities 10, 20, and 30, respectively:
`example.com`, which are `mx.example.com`, `mx2.example.com`, and `mx.mail-host.ex`
with priorities `10`, `20`, and `30`, respectively:
dns_rr { 'IN/MX/example.com':
rrdata => [ '10 mx', '20 mx2', '20 mx.mail-host.ex.', ],
}
Nameserver records for a zone. Declares three nameserver records for the zone
example.com, which are ns1.example.com, ns2.example.com, and ns.dns-host.ex:
`example.com`, which are `ns1.example.com`, `ns2.example.com`, and `ns.dns-host.ex`:
dns_rr { 'IN/NS/example.com':
rrdata => [ 'ns1', 'ns2', 'ns.dns-host.ex.' ],
}
Service locators records for a domain. Declares a service locator for SIP over
UDP to the domain example.com, in which the service located at port 5060 of
inbound.sip-host.ex is given priority 5 and weight 100.
UDP to the domain `example.com`, in which the service located at port `5060` of
`inbound.sip-host.ex` is given priority `5` and weight `100`.
dns_rr { 'IN/SRV/_sip._udp.example.com':
rrdata => [ '5 100 5060 inbound.sip-host.ex.', ],