function generateMarkdown(data) {
  let licenseObj = renderLicenseBadge(data.license);

  return `
  # ${data.title}

  ![license](${licenseObj.lBadge})

  ## Table of contents
  * [Description](#description)

  * [Installation](#installation)

  * [Usage](#usage)

  * [How to contribute](#how-to-contribute)

  * [Tests](#tests)

  * [License](#license)

  * [Questions](#questions)

  ## Description

  ${data.description}
    
  ## Installation
     
  To install and run the application use the following command/s :
      
  * ${data.installation}

  ## Usage

  ${data.repoInfo}
      
  ## How to contribute

  Please feel free to contribute to the project. 
  ${data.repoCont}

  ## Tests

  To run test use following command :

  * ${data.tests}

  ## License

  This project is licensed under the [${data.license}](${licenseObj.lLink}) license.

  ## Questions
  For any additional questions please feel free to reach out to me at:
  * Email : ${data.emailId}
  * Github User Id : ${data.githubId}
`;
}
// A function to generate markdown for README
A function to generate markdown for README
A function to generate markdown for README
function generateMarkdown(data) {
  let licenseObj = renderLicenseBadge(data.license);
  return `
  # ${data.title}
  ![license](${licenseObj.lBadge})
  ## Table of contents
  * [Description](#description)
  * [Installation](#installation)
  * [Usage](#usage)
  * [How to contribute](#how-to-contribute)
  * [Tests](#tests)
  * [License](#license)
  * [Questions](#questions)
  ## Description
  ${data.description}
  ## Installation
  To install and run the application use the following command/s :
  * ${data.installation}
  ## Usage
  ${data.repoInfo}
  ## How to contribute
  Please feel free to contribute to the project. 
  ${data.repoCont}
  ## Tests
  To run test use following command :
  * ${data.tests}
  ## License
  This project is licensed under the [${data.license}](${licenseObj.lLink}) license.
  ## Questions
  For any additional questions please feel free to reach out to me at:
  * Email : ${data.emailId}
  * Github User Id : ${data.githubId}
`;
}
function generateMarkdown ( data ) { let licenseObj = renderLicenseBadge ( data . license ) ; return ` ${ data . title } ${ licenseObj . lBadge } ${ data . description } ${ data . installation } ${ data . repoInfo } ${ data . repoCont } ${ data . tests } ${ data . license } ${ licenseObj . lLink } ${ data . emailId } ${ data . githubId } ` ; }
A function to generate markdown for README
A function to generate markdown for README