import html from '../utils/html.js' import markdown from '../utils/markdown.js' 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}