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}
  ${renderLicenseBadge(data.license)}
  # Description
  - ${data.description}
  # Table of Contents
  * [Installation](#installation)
  * [Usage](#usage)
  * [License](#license)
  * [Contributing](#contributing)
  * [Tests](#tests)
  * [Questions](#questions)
  # Installation
  To install necessary dependencies, run the following command:
  \`\`\`bash
  ${data.dependencies}
  \`\`\`
  # Usage
  \`\`\`md
  ${data.usage}
  \`\`\`
  # License
  ${renderLicenseSection(data.license)}
  # Contributing
  \`\`\`md
  ${data.contributing}
  \`\`\`
  # Tests
  \`\`\`bash
  ${data.tests}
  \`\`\`
  # Questions
  If you have any questions feel free to contact me at either [Github](https://github.com/${data.github}), or [${data.email}](${data.email})  
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseBadge ( data . license ) } ${ data . description } \` \` \` ${ data . dependencies } \` \` \` \` \` \` ${ data . usage } \` \` \` ${ renderLicenseSection ( data . license ) } \` \` \` ${ data . contributing } \` \` \` \` \` \` ${ data . tests } \` \` \` ${ data . github } ${ data . email } ${ data . email } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README