Subtitles module

format_sections_as_html

procedureSource

Appends a complete HTML page showing sections as dialogue, one block per section. Lines of character_to_emphasize are highlighted; name_map swaps speaker ids for display names.

format_sections_as_html :: (
    builder: *String_Builder,
    sections: [] *Subtitles_Section,
    character_to_emphasize := "",
    name_map: *H.Table(string, string) = null
)

Parameters

builder: *String_Builder
sections: [] *Subtitles_Section
character_to_emphasize := ""
name_map: *H.Table(string, string) = null

See also