import html from '../utils/html.js' import markdown from '../utils/markdown.js' /** * @param {import('../schema.d.ts').ResumeSchema['references']} references * @returns {string | false} */ export default function References(references = []) { return ( references.length > 0 && html` References ${references.map( ({ name, reference }) => html` ${reference && markdown(reference)} ${name && html` ${name} `} `, )} ` ) }
${reference && markdown(reference)} ${name && html` ${name} `}
${name}