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 `
  # Title: ${data.projectTitle}
${renderLicenseBadge(data.license)}
  ## Table Of Contents
  * [Description](#description)
  * [Installation](#installation)
  * [Useage](#useage)
  * [License](#license)
  * [Contributions](#contribution)
  * [Testing](#test)
  * [Questions](#questions)
  ## Description
  ${data.description}
  ## Installation
  ${data.installation}
  ## Useage
  ${data.useage}
  ## License
  ${renderLicenseSection(data.license,'2022', data.author)}
  ${renderLicenseLink(data.license)}
  ## Contribution
  ${data.contribution}
  ## Questions
  Please contact me at the email address below:
  ${data.questions}
`;
}
function generateMarkdown ( data ) { return ` ${ data . projectTitle } ${ renderLicenseBadge ( data . license ) } ${ data . description } ${ data . installation } ${ data . useage } ${ renderLicenseSection ( data . license , '2022' , data . author ) } ${ renderLicenseLink ( data . license ) } ${ data . contribution } ${ data . questions } ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README