API / @aionbuilders/nabu/extend

PasteInterpretOptions

Type Stability: stable

Definition

TypeScript
import type { PasteInterpretOptions } from '@aionbuilders/nabu/extend';
TypeScript
interface PasteInterpretOptions {
  joinLines?: boolean;
}

Properties

Properties of PasteInterpretOptions
PropertyTypeDescription
joinLinesoptionalboolean

false/absent (paste): one non-blank line = one block. true (importMarkdown): CommonMark semantics, consecutive lines join into one paragraph. Forwarded to block markdown rules as helpers.joinLines (and 3rd arg of consume).

Source: src/lib/utils/extensions.js:115