annotatedtext-remark - v1.0.10
    Preparing search index...

    annotatedtext-remark - v1.0.10

    annotatedtext-remark

    Node.js CI

    A lightweight JavaScript library based on annotatedtext, remark-parse, and remark-frontmatter for converting markdown documents into an annotated text format consumable by LanguageTool as AnnotatedText.

    Front matter is now tagged as markup.

    For details, please see https://www.prosegrinder.com/annotatedtext-remark.

    This package is ESM only. Node 12+ is needed to use it, and it must be imported instead of required.

    npm:

    npm install annotatedtext-remark
    

    Use build to convert valid Markdown into AnnotatedText.

    import { build } from "annotatedtext-remark";

    const text = "# Hello World\n\nThis is a paragraph.";
    const annotatedtext = build(text);
    const ltdata = JSON.stringify(annotatedtext);