code/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)}
  ## Table of Contents
  1. [Description](#description)
  2. [Installation](#installation)
  3. [Usage](#usage)
  4. [Tests](#tests)
  5. [Contributing](#contributing)
  6. [Questions](#questions)
  7. [License](#license)
  ## Description
  ${data.description}
  ## installation
  ${data.installation}
  ## Usage
  ${data.usage}
  ## Tests
  ${data.tests}
  ## Contributing
  ${data.contributing}
  ## Questions
  To review the code for this application, visit my [GitHub page](https://github.com/${data.username}). For any additional questions, feel free to email me at ${data.email}.
  ## License
  ${renderLicenseSection(data.license)}`
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ data . installation } ${ data . usage } ${ data . tests } ${ data . contributing } ${ data . username } ${ data . email } ${ renderLicenseSection ( data . license ) } ` }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README