@@ -126,7 +126,7 @@ extern "C" {
126126 * The service can be referenced using the @p id variable.
127127 *
128128 * Example (with TXT):
129- * @code{c}
129+ * @code{. c}
130130 * #include <zephyr/net/dns_sd.h>
131131 * static const bar_txt[] = {
132132 * "\x06" "path=/"
@@ -140,7 +140,7 @@ extern "C" {
140140 * static uint16_t bar_port;
141141 * DNS_SD_REGISTER_TCP_SERVICE(bar, CONFIG_NET_HOSTNAME,
142142 * "_bar", "local", bar_txt, &bar_port);
143- * @endcode{c}
143+ * @endcode
144144 *
145145 * TXT records begin with a single length byte (hex-encoded)
146146 * and contain key=value pairs. Thus, the length of the key-value pair
@@ -172,13 +172,13 @@ extern "C" {
172172 * The service can be referenced using the @p id variable.
173173 *
174174 * Example (no TXT):
175- * @code{c}
175+ * @code{. c}
176176 * #include <zephyr/net/dns_sd.h>
177177 * #include <zephyr/sys/byteorder.h>
178178 * static const foo_port = sys_cpu_to_be16(4242);
179179 * DNS_SD_REGISTER_UDP_SERVICE(foo, CONFIG_NET_HOSTNAME,
180180 * "_foo", DNS_SD_EMPTY_TXT, &foo_port);
181- * @endcode{c}
181+ * @endcode
182182 *
183183 * @param id variable name for the DNS-SD service record
184184 * @param instance name of the service instance such as "My TFTP Server"
0 commit comments