FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "评论 HashTag 对象"
interface CommentHashTag { /** hashtag 的 ID. **/ id: string /** 最终的 #hashtag 标签文本,包括 # 符号。 **/ tag: string /** 如果该 hashtag 关联了自定义 URL,则该字段会被定义。 **/ url?: string /** 当评论被更新时,是否应保留该 hashtag,即使它不出现在评论文本中也会保留。对于在不修改评论文本的情况下标记评论很有用。 **/ retain?: boolean }
Result