The Zephyr documentation system should support code blocks for device tree specifications. .. code-block:: DTS There is a patch for pygments (https://patchwork.ozlabs.org/patch/688187) but it is not upstream.