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(inquirerResponse) {
  return `
# ${inquirerResponse.title} 
${renderLicenseBadge(inquirerResponse.license)}
## Table of Contents
1. [Description](#description)
2. [Installation](#installation)
3. [Usage](#usage)
4. [License](#license)
5. [Contribution](#contribution)
6. [Questions](#questions)
## Description
${inquirerResponse.description}
## Installation 
\`\`\` ${inquirerResponse.installation} \`\`\`
## Usage
${inquirerResponse.usage}
## License 
This application is covered under ${inquirerResponse.license} license <br>
${renderLicenseLink(inquirerResponse.license)}
## Contribution
${inquirerResponse.contribution}
## Questions
If you have any questions you can reach me at: <br>
${inquirerResponse.username} <br>
<a href = '${inquirerResponse.githubProfile}'> ${inquirerResponse.githubProfile} </a> <br>
or
<a href = '${inquirerResponse.email}' > ${inquirerResponse.email} </a>
`;
}
function generateMarkdown ( inquirerResponse ) { return ` ${ inquirerResponse . title } ${ renderLicenseBadge ( inquirerResponse . license ) } ${ inquirerResponse . description } \` \` \` ${ inquirerResponse . installation } \` \` \` ${ inquirerResponse . usage } ${ inquirerResponse . license } ${ renderLicenseLink ( inquirerResponse . license ) } ${ inquirerResponse . contribution } ${ inquirerResponse . username } ${ inquirerResponse . githubProfile } ${ inquirerResponse . githubProfile } ${ inquirerResponse . email } ${ inquirerResponse . email } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README