import Nast from 'notajs-types/nast' import { renderBlock, renderTitle } from '../render-utils' function renderCallout( node: Nast.Callout ): string { let iconHTML = /^http/.test(node.icon || '') ? `` : node.icon let content = `\