save_as_html: Save annotated text as HTML document

View source: R/project.R View source: R/annotate_gui.R

save_as_htmlR Documentation

Save annotated text as HTML document

Description

Creates an HTML document containing the annotated text with proper styling for code highlights and formatting.

Creates an HTML document containing the annotated text with proper styling for code highlights and formatting.

Usage

save_as_html(filename, rv)

save_as_html(filename, rv)

Arguments

filename

Character string specifying output file path

rv

ReactiveValues object containing:

  • text: Original text content

  • annotations: Data frame of annotations

  • code_colors: Named character vector of code colors

Value

Invisible NULL, called for side effect

Invisible NULL, called for side effect


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.