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.description}
  ## Table of Contents
  * [Installation](#installation)
  * [Usage](#usage)
  * [License](#license)
  * [Contributions](#contributions)
  * [Tests](#tests)
  * [Questions](#questions)
  ## Installation
  ${data.install}
  ## Usage 
  ${data.usage}
  ## License
  ${renderLicenseBadge(data.license)}
  ${renderLicenseLink(data.license)}
  ## Contributions
  ${data.contributions}
  ## Tests
  ${data.test}
  ## Questions
  If you would like to discuss this project, please reach out via my GitHub or Email:
  GitHub: [${data.questions1}](https://www.github.com/${data.questions1})
  Email: ${data.questions2}
`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ data . description } ${ data . install } ${ data . usage } ${ renderLicenseBadge ( data . license ) } ${ renderLicenseLink ( data . license ) } ${ data . contributions } ${ data . test } ${ data . questions1 } ${ data . questions1 } ${ data . questions2 } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README