Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@tiptap/react.ts>generateText

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function generateText
import { generateText } from "https://deno.land/x/netzo@0.5.106/deps/@tiptap/react.ts";

Generate raw text from a JSONContent

Parameters

The JSONContent to generate text from

extensions: Extensions

The extensions to use for the schema

optional
options: { blockSeparator?: string; textSerializers?: Record<string, TextSerializer>; }

Options for the text generation f.e. blockSeparator or textSerializers

Returns

string

The generated text