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}
  \n## Description
  \n${data.description}
  \n## Table of Contents
  \n- [Installation](#installation)
  \n- [Usage](#usage)
  \n- [License](#license)
  \n- [Contributing](#contributing)
  \n- [Tests](#tests)
  \n- [Questions](#questions)
  \n## Installation
  \n${data.installation}
  \n## Usage
  \n${data.usage}
  \n## License
  \n${renderLicenseBadge(data.license)}
  \n${renderLicenseLink(data.license)}
  \n\`\`\`${renderLicenseSection(data.license)}\n\`\`\`
  \n## Contributing
  \n${data.contributing}
  \n## Tests
  \n${data.tests}
  \n## Questions
  \nhttps://github.com/${data.username}
  \nYou can also reach me at ${data.email} for additional questions.
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } \n \n ${ data . description } \n \n \n \n \n \n \n \n \n ${ data . installation } \n \n ${ data . usage } \n \n ${ renderLicenseBadge ( data . license ) } \n ${ renderLicenseLink ( data . license ) } \n \` \` \` ${ renderLicenseSection ( data . license ) } \n \` \` \` \n \n ${ data . contributing } \n \n ${ data . tests } \n \n ${ data . username } \n ${ data . email } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README