platform-bible-utils
    Preparing search index...

    Function formatScrRef

    • Formats a Scripture reference

      Parameters

      • scrRef: SerializedVerseRef

        The Scripture reference to format.

      • OptionaloptionOrLocalizedBookName: string

        Either 'id' (the default) to format using the "standard" (as defined by SIL/UBS) 3-letter book ID, 'English' to format using the English book name spelled out, or some other string (e.g., a localized book name, vernacular abbreviation, FCBH book id, etc.) to use.

      • OptionalchapterVerseSeparator: string

        The character(s) used to separate the chapter number from the verse number. Default is a colon (:).

      • OptionalbookChapterSeparator: string

        The character(s) used to separate the book from the chapter number. Default is a single space.

      Returns string

      The formatted reference.