Develop/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}
## Description
- ${data.why}
- ${data.problem}
- ${data.learn}
## Table of Contents
- [License](#license)
- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [Credits](#credits)
- [Tests](#tests)
- [Questions](#questions)
- [Contribute](#Contribute)
## License
- ${renderLicense(data.license)}
Refer to [https://choosealicense.com/](https://choosealicense.com/).
## Installation
To install this application, please follow the steps below:
- ${data.install}
## Usage
![Screenshot of Application](assets/images/screenshot.png)
![Recording of Application](assets/recordings/recording.mp4)
## Features
- ${data.features}
## Credits
- ${data.contributors}
- ${data.thirdparty}
## Tests
- ${data.test}
## Questions 
If you have any questions about the repo, open an issue or contact me directly at ${data.email}. You can find more of my work at [${data.github}](https://github.com/${data.github}/).
## Contribute
- ${data.contribute}
The [Contributor Covenant](https://www.contributor-covenant.org/) is an industry standard, but you can always write your own if you'd prefer.
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ data . why } ${ data . problem } ${ data . learn } ${ renderLicense ( data . license ) } ${ data . install } ${ data . features } ${ data . contributors } ${ data . thirdparty } ${ data . test } ${ data . email } ${ data . github } ${ data . github } ${ data . contribute } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README