Markdown Component
A Markdown renderer for Lens posts and comments, supporting mentions, links, and rich text formatting.
Hello @john, check out #Web3 and $GHO! Visit lens.xyz/docs/chain/using-lens… for more info.
Installation
Usage
import { LensMarkdown } from "@/components/lens-markdown";
import { usePost } from "@lens-protocol/react";
const { data: post } = usePost({ post: postId });
<LensMarkdown content={post.metadata.content} mentions={post.mentions} />