wrap in MarkdownWidget function