Skip to content
Snippets Groups Projects
Unverified Commit 6d5f4a5c authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

docs: fix preset layout (#13377)

- add newline after preset json
- declare preset json as json
parent da7092e0
No related branches found
No related tags found
No related merge requests found
......@@ -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}}')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment