utils/generateMarkdown.js
// If there is no license, return an empty string
If there is no license, return an empty string
If there is no license return an empty string
function renderLicenseBadge(Licence) {
  let licenseChoice = "No license provided"
  if (Licence == "MIT") {
    licenseChoice = "[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)"
  }
  else if (Licence == "ISC") {
    licenseChoice = "[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)"
  }
  return licenseChoice
}
function renderLicenseBadge ( Licence ) { let licenseChoice = "No license provided" if ( Licence == "MIT" ) { licenseChoice = "[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)" } else if ( Licence == "ISC" ) { licenseChoice = "[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)" } return licenseChoice }
If there is no license, return an empty string
If there is no license return an empty string