Skip to main content

default

ai-research-agent / extractor/pdf-to-html/models/BlockType / default

Functions

blockToText()

function blockToText(block): any

Parameters

ParameterType

block

any

Returns

any


headlineByLevel()

function headlineByLevel(level): object

Parameters

ParameterType

level

any

Returns

object

NameTypeDefault value
headlinebooleantrue
headlineLevelnumber1
namestring'H1'
toText()-

isHeadline()

function isHeadline(type): any

Parameters

ParameterType

type

any

Returns

any