mirror of
https://github.com/mike-rambil/Advanced-Git.git
synced 2025-12-30 05:59:31 -06:00
fix: update example formatting in README generation to improve readability
This commit is contained in:
@@ -97,9 +97,7 @@ function renderExamples(examples) {
|
||||
if (!examples || !examples.length) return '';
|
||||
let out = '';
|
||||
examples.forEach((ex) => {
|
||||
out += `- **${ex.description || ''}**\n\n
|
||||
\`\`\`sh\n${ex.code}\n\`\`\`
|
||||
`;
|
||||
out += `- **${ex.description || ''}**\n\n${ex.code}\n`;
|
||||
});
|
||||
return renderSection('Examples', out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user