diff --git a/tools/docs/presets.ts b/tools/docs/presets.ts
index df487bc1d5143001a22099fdb8e34ab3950bee5b..9bbfa8c8760e6e318c491264fcac7df181ba10bf 100644
--- a/tools/docs/presets.ts
+++ b/tools/docs/presets.ts
@@ -48,10 +48,10 @@ export async function generatePresets(dist: string): Promise<void> {
       } else {
         logger.warn(`Preset ${name}:${preset} has no description`);
       }
-      body += '\n```\n';
+      body += '\n```json\n';
       body += JSON.stringify(value, null, 2);
       body += '\n```\n';
-      body += '----\n';
+      body += '\n----\n';
       if (body.includes('{{arg0}}')) {
         header += '(`<arg0>`';
         if (body.includes('{{arg1}}')) {