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)} 
  # Table of Contents:
  * [Description](#description)
  * [Installation](#installation)
  * [Usage](#usage)
  * [License](#license)
  * [Contributing](#contributing)
  * [Tests](#tests)
  * [Questions](#questions)
  # Description
  ${data.description}
  ## Installation
  On console, run to install
  ${data.installation}
  ## Usage
  ${data.usage}
  ## License
  ${data.license}
  ## Contributing
  ${data.contributing}
  ## Tests
  on console, run to test
  ${data.tests}
  ## Questions
  ${data.questions}
  * Github: https://github.com/${data.github}
  * Email: ${data.email}
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ data . installation } ${ data . usage } ${ data . license } ${ data . contributing } ${ data . tests } ${ data . questions } ${ data . github } ${ data . email } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README