pluginComment

HTMLにコメントを出力するプラグイン。

導入手順と使用例はガイドを参照してください。このページは設定値、コンポーネントのprops、制約をまとめています。

Table of Contents

オプション

※オプションはありません

Comment

HTMLにコメントを出力するコンポーネント。

type CommentProps = CommentUseContent | CommentUseChildren

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