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}                               ${renderLicenseLink(data)}
  ## Description
  ${data.desc}\n
  ## Installation
  ${data.inst}\n
  ## Usage
  ${data.use}\n
  ## Contributing
  ${data.cont}\n
  ## Test
  ${data.test}\n
  ## License
  The code used in this project is licensed under the ${data.license} license(s).
  ## Questions
  Github: https://www.github.com/${data.username.toLowerCase().trim().split(' ').join('')}\n
  Email: ${data.email.toLowerCase().trim().split(' ').join('')}\n
  Feel free to email me before 9 p.m. M-F and I will try my best to get back to you ASAP.`;
}
function generateMarkdown ( data ) { return ` ${ data . title } ${ renderLicenseLink ( data ) } ${ data . desc } \n ${ data . inst } \n ${ data . use } \n ${ data . cont } \n ${ data . test } \n ${ data . license } ${ data . username . toLowerCase ( ) . trim ( ) . split ( ' ' ) . join ( '' ) } \n ${ data . email . toLowerCase ( ) . trim ( ) . split ( ' ' ) . join ( '' ) } \n ` ; }
TODO: Create a function to generate markdown for README
TODO : Create a function to generate markdown for README