diff --git a/tools/challenge-helper-scripts/helpers/get-step-template.js b/tools/challenge-helper-scripts/helpers/get-step-template.js index dee294f2ec..02705886e5 100644 --- a/tools/challenge-helper-scripts/helpers/get-step-template.js +++ b/tools/challenge-helper-scripts/helpers/get-step-template.js @@ -4,7 +4,7 @@ const { insertErms } = require('./insert-erms'); function getCodeBlock(label, content) { return `\`\`\`${label} ${typeof content !== 'undefined' ? content : ''} -\`\`\``; +\`\`\`\n`; } // Builds a section @@ -72,7 +72,6 @@ ${stepDescription} Test 1 ${getCodeBlock('js')} - # --seed--` + seedChallengeSection + seedHeadSection + diff --git a/tools/challenge-helper-scripts/helpers/get-step-template.test.js b/tools/challenge-helper-scripts/helpers/get-step-template.test.js index 29bfca40ff..2909126e17 100644 --- a/tools/challenge-helper-scripts/helpers/get-step-template.test.js +++ b/tools/challenge-helper-scripts/helpers/get-step-template.test.js @@ -31,7 +31,7 @@ Test 1 --fcc-editable-region-- --fcc-editable-region-- -\`\`\``; +\`\`\`\n`; const props = { challengeId: '60d4ebe4801158d1abe1b18f',