import {marked} from 'marked'; export const renderer = new marked.Renderer(); renderer.image = (href: string, text: string) => { return `
`; }; renderer.link = (href: string, _title: string, text: string) => { return `${text}`; };