Comment

HTML comment.

Extends

Properties

data?

optional data: CommentData

Data associated with the comment.

Overrides

Literal.data

Defined in

node_modules/@types/hast/index.d.ts:175


position?

optional position: Position

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

Inherited from

Literal.position

Defined in

node_modules/@types/unist/index.d.ts:103


type

type: "comment"

Node type of HTML comments in hast.

Overrides

Literal.type

Defined in

node_modules/@types/hast/index.d.ts:171


value

value: string

Plain-text value.

Inherited from

Literal.value

Defined in

node_modules/@types/hast/index.d.ts:145