Skip to main content

Interface: FormattingData

Defined in: Data/Models/Bible/BibleVerse.ts:22

Legacy formatting_data shape as consumed by the current renderer.

v1 COMPAT — Pass-2 deletion point. Module Format v2 replaces this with VerseFormatting (bible_verse.formatting): plain text plus structured word-range spans. This interface survives only because the shipped modules are still v1 and several services outside the data layer (VerseFormatter, BibleTextService, BibleViewService, the extension DTOs, and the desktop / web / standalone renderers) read it directly. Delete it once those move to BibleVerse.formatting.

Properties

addedWords?

optional addedWords?: object[]

Defined in: Data/Models/Bible/BibleVerse.ts:29

end

end: number

start

start: number


crossReferences?

optional crossReferences?: object[]

Defined in: Data/Models/Bible/BibleVerse.ts:46

marker

marker: string

position

position: number

references

references: number[]


divineName?

optional divineName?: object[]

Defined in: Data/Models/Bible/BibleVerse.ts:39

Word ranges covering the Tetragrammaton, conventionally displayed in small caps ("LORD"/"GOD"). Sources vary in how they encode it: OSIS modules mark it up as <divineName> (which the converter turns into a divine_name span, leaving the literal text in whatever case the source used — the CrossWire KJV writes "Lord"), while some modules bake the capitals straight into the text and carry no span at all. Rendering applies the casing, so both conventions come out identical on screen.

end

end: number

start

start: number


footnotes?

optional footnotes?: object[]

Defined in: Data/Models/Bible/BibleVerse.ts:41

marker

marker: string

position

position: number

text

text: string


paragraphStart?

optional paragraphStart?: boolean

Defined in: Data/Models/Bible/BibleVerse.ts:23


poetry?

optional poetry?: object

Defined in: Data/Models/Bible/BibleVerse.ts:24

indentLevel?

optional indentLevel?: number

isPoetry

isPoetry: boolean


sectionHeading?

optional sectionHeading?: string

Defined in: Data/Models/Bible/BibleVerse.ts:40


wordsOfChrist?

optional wordsOfChrist?: object[]

Defined in: Data/Models/Bible/BibleVerse.ts:28

end

end: number

start

start: number