import { CustomElementDefinition } from '../../global/shared-types/custom-element.types'; /** * Takes a string as input and returns a new string * where the text has been converted to HTML. * * If the text is formatted with .md markdown, it will * be transformed to HTML. * * If the text already is in HTML it will be sanitized and * "dangerous" tags such as