Skip to content

Vizel API / core/src / VizelCommentMark

Variable: VizelCommentMark

ts
const VizelCommentMark: Mark<VizelCommentMarkOptions, any>;

Defined in: packages/core/src/extensions/comment.ts:82

Comment mark extension for highlighting annotated text.

Example

typescript
import { VizelCommentMark } from "@vizel/core";

const extensions = [
  VizelCommentMark.configure({
    onCommentClick: (commentId) => console.log("Clicked:", commentId),
  }),
];

Released under the MIT License.