import marked from 'marked' export function parseField(field: string) { return (item: T) => ({ ...item, [field]: marked(item[field]), }) }