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
1.  [Description](#description)
2.  [Installation](#installation)
3.  [Usage](#usage)
4.  [Contribution](#contribution)
5.  [Test](#test)
6.  [Questions](#questions)
7.  [License](#license)
## [Description](#description)
    ${data.description}
## [Installation](#installation)
    ${data.installation}
## [Usage](#usage)
    ${data.usage}
## [Contribution](#contribution)
     ${
      data.contribution
    }
## [Test](#test)
    The testing used for this application
     ${data.test}
## [Questions](Questions)
    If you have any questions, feel free to reach out to me via GitHub: ${
    data.github} or you may also send me an email at: ${data.email}.
    Lets connect with me on LinkedIn: ${data.linkedIn}
${renderLicenseSection(data.license)}
## Show your support
      Give a ⭐ if this project helped you!
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ data . installation } ${ data . usage } ${ data . contribution } ${ data . test } ${ data . github } ${ data . email } ${ data . linkedIn } ${ renderLicenseSection ( data . license ) } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README