FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Comment HashTag 对象"
interface CommentHashTag { /** 该 hashtag 的 id。 **/ id: string /** 最终的 #hashtag 标签文本,包括 # 符号。 **/ tag: string /** 如果该 hashtag 关联了自定义 URL,则会定义此项。 **/ url?: string /** 如果我们应在评论更新时保留该 hashtag(即使它不存在于评论文本中)。这对于在不更改评论文本的情况下标注评论很有用。 **/ retain?: boolean }
Result