Skip to content

@gracious.tech/fetch-client


@gracious.tech/fetch-client / book/bible / BibleBookTypst

Class: BibleBookTypst

Defined in: client/src/book/bible.ts:273

Access to the Typst markup of a Bible book (for compiling to print/PDF)

Extends

  • BibleBookMarkup

Methods

get_whole()

get_whole(__namedParameters?): string

Defined in: client/src/book/bible.ts:165

Get the markup for the entire book

Parameters

__namedParameters?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_whole


get_passage()

get_passage(start_chapter, start_verse, end_chapter, end_verse, options?): string

Defined in: client/src/book/bible.ts:170

Get markup for a specific passage

Parameters

start_chapter

number

start_verse

number

end_chapter

number

end_verse

number

options?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_passage


get_passage_from_ref()

get_passage_from_ref(ref, options?): string

Defined in: client/src/book/bible.ts:191

Get markup for a specific passage specified by a PassageReference object

Parameters

ref

PassageReference

options?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_passage_from_ref


get_chapters()

get_chapters(first, last, options?): string

Defined in: client/src/book/bible.ts:203

Get markup for multiple chapters

Parameters

first

number

last

number

options?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_chapters


get_chapter()

get_chapter(chapter, options?): string

Defined in: client/src/book/bible.ts:211

Get markup for a single chapter

Parameters

chapter

number

options?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_chapter


get_verse()

get_verse(chapter, verse, options?): string

Defined in: client/src/book/bible.ts:217

Get markup for a single verse

Parameters

chapter

number

verse

number

options?

GetMarkupOptions = {}

Returns

string

Inherited from

BibleBookMarkup.get_verse


get_list()

get_list(start_chapter?, start_verse?, end_chapter?, end_verse?): IndividualVerse<string>[]

Defined in: client/src/book/bible.ts:222

Get markup as an array of individual verses (each verse will be in its own paragraph)

Parameters

start_chapter?

number

start_verse?

number

end_chapter?

number

end_verse?

number

Returns

IndividualVerse<string>[]

Inherited from

BibleBookMarkup.get_list


get_list_from_ref()

get_list_from_ref(ref): IndividualVerse<string>[]

Defined in: client/src/book/bible.ts:234

Get markup as an array of individual verses by passing a PassageReference object

Parameters

ref

PassageReference

Returns

IndividualVerse<string>[]

Inherited from

BibleBookMarkup.get_list_from_ref


get_attribution()

get_attribution(license?): string

Defined in: client/src/book/bible.ts:276

Get appropriate text for attribution (defaults to first license, optionally provide one)

Parameters

license?

RuntimeLicense

Returns

string

Overrides

BibleBookMarkup.get_attribution