Skip to contents

Generates the HTML content for a section, including headers and enrichment results.

Usage

generate_section_content(
  section_info,
  index,
  toc,
  html_content,
  section_header_style,
  toc_style
)

Arguments

section_info

A list containing the information for the section.

index

The index of the current section.

toc

The current state of the Table of Contents.

html_content

The current state of the HTML content.

section_header_style

The CSS style for the section headers.

toc_style

The CSS style for the TOC entries.

Value

A list with updated HTML content and TOC.