pluginComment

A plugin that outputs comments in HTML.

See the guide for setup and examples. This page covers settings, component props, and constraints.

Table of Contents

Options

There are no options.

Comment

A component that outputs comments in HTML.

type CommentProps = CommentUseContent | CommentUseChildren

type CommentUseContent = {
  text: string
  children?: string
}
type CommentUseChildren = {
  text?: string
  children: string
}