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.

Index

Interfaces

Variables

Functions