Develop/utils/generateMarkdown.js
// function to generate markdown for README
function to generate markdown for README
function to generate markdown for README
function generateMarkdown(answers) {
  getLicense(answers)
  return `# ${answers.promptFileName}
![](https://img.shields.io/badge/License-${licenseImg})
## Table Of Contents
1.  [Description](#description)
2.  [Installation](#installation) 
3.  [Usage](#usage)
4.  [Tests](#Tests)
5.  [Questions](#Questions)
6.  [License](#License)
_________________________________
### Description
${answers.promptFileDescription}
_________________________________
### Installaition
${answers.promptFileInstallation}
_________________________________
### Usage
${answers.promptFileUsage}
_________________________________
### Tests
To run test run the following command ${answers.promptUserRepo}
_________________________________
### Questions (Contact Me)
#### ${answers.promptUserName}
- [E-mail](mailto:${answers.promptUserEmail})
- [Github](${answers.promptUserGithub})
_________________________________
### License
This application is [licensed] under the ${answers.promptFileUserLicense}
`;
}
function generateMarkdown ( answers ) { getLicense ( answers ) return ` ${ answers . promptFileName } ${ licenseImg } ${ answers . promptFileDescription } ${ answers . promptFileInstallation } ${ answers . promptFileUsage } ${ answers . promptUserRepo } ${ answers . promptUserName } ${ answers . promptUserEmail } ${ answers . promptUserGithub } ${ answers . promptFileUserLicense } ` ; }
function to generate markdown for README
function to generate markdown for README