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}
${renderLicenseSection(data.license)}
${renderLicenseBadge(data.license)}
## Description 
${data.description}
## Description
Our motivation to start this project: ${data.motivation}
## What Problem do We Want to Solve?
We want to solve: ${data.problem}  
## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Credits](#credits)
* [License](#license)
* [Test](#test)
* [Github](#github)
* [Questions](#questions)
## Installation
The following necessary dependencies need to be installed to properly run this application:
${data.installation}
## Instructions and Examples for Use:
${data.usage}
## Collaborators, Third-Party APIs, and Tutorials Used:
${data.credits}
## License:
${renderLicenseSection(data.license)}
## Test Instructions:
${data.test}
## Github Link:
${data.github}
## If you have any questions, email me!
${data.questions}
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseSection ( data . license ) } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ data . motivation } ${ data . problem } ${ data . installation } ${ data . usage } ${ data . credits } ${ renderLicenseSection ( data . license ) } ${ data . test } ${ data . github } ${ data . questions } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README