marked) {
					// Parse the markdown text as HTML and set it as the popup innerHTML
					content.innerHTML = marked.parse(text);
				} else {
					content.innerHTML = `<pre><code>${text}</code></pre>`;
					window.hljs ? window.hljs.highlightAll() : console.error('nohljs!')
				}
			})
			.catch(function (error) {
				console.error(error);
			});
	} else if (REGEX_TYPE_IMAGE.test(href)) {
		event.preventDefault();
		event.stopImmediatePropagation();
		content.innerHTML = `<img src="${href}">`;
		showModal(p