pass linewidth 0 to avoid breaking lines
This commit is contained in:
parent
c28ba2a5d2
commit
da03a755b2
|
|
@ -161,7 +161,7 @@ class CodexSkillsSetup extends BaseIdeSetup {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build new frontmatter with only skills-spec fields, let yaml handle quoting
|
// Build new frontmatter with only skills-spec fields, let yaml handle quoting
|
||||||
const newFrontmatter = yaml.stringify({ name: skillName, description }).trimEnd();
|
const newFrontmatter = yaml.stringify({ name: skillName, description }, { lineWidth: 0 }).trimEnd();
|
||||||
return `---\n${newFrontmatter}\n---\n${body}`;
|
return `---\n${newFrontmatter}\n---\n${body}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue