annotatedtext-rehype - v1.0.12
    Preparing search index...

      annotatedtext-rehype - v1.0.12

      import { build } from "annotatedtext-rehype";

      const text = "<p>Some <b>bold</b> text.</p>";
      const annotatedtext = build(text);
      const ltdata = JSON.stringify(annotatedtext);

      This module provides a function to build an annotated text from a HTML string using the rehype parser.

      Interfaces

      IOptions

      Variables

      defaults

      Functions

      build
      collecttextnodes
      composeannotation