utils/generateMarkdown.js
// TODO: Create a function to generate markdown for README
Create a function to generate markdown for README
Create a function to generate markdown for README
function generateMarkdown(data) {
  return `# ${data.title}
${renderLicenseBadge(data.license)}
## Description
${data.description}
## Table of Contents
- [Installation](#installation)
- [Usage Information](#usage)
- [Contribution Guidelines](#contribution)
- [Test Instructions](#tests)
- [Questions](#questions)
${renderLicenseLink(data.license)}
## Installation
${data.installation}
## Usage
${data.usage}
## Contribution
${data.contribution}
## Tests
${data.test}
## Questions
GitHub: [${data.github}](${data.github})
Email : [${data.email}](mailto:${data.email})
${renderLicenseSection(data.license)}
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ renderLicenseLink ( data . license ) } ${ data . installation } ${ data . usage } ${ data . contribution } ${ data . test } ${ data . github } ${ data . github } ${ data . email } ${ data . email } ${ renderLicenseSection ( data . license ) } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README