mellio_toolbar_html: Generate toolbar HTML for viewer

View source: R/print.R

mellio_toolbar_htmlR Documentation

Generate toolbar HTML for viewer

Description

Creates a quiet local toolbar with an optional Mellio link.

Usage

mellio_toolbar_html(
  mode,
  copy_img_b64 = NULL,
  downloads = list(),
  label = "mellio",
  edit_url = NULL
)

Arguments

mode

"table" or "figure"

copy_img_b64

Base64 data URI for image copy (figures only)

downloads

Named list: html, latex, markdown (text), png_b64 (raw base64)

label

Filename prefix for downloads (e.g., "table1", "figure1")

Value

Character string of HTML (style + toolbar + scripts)


mellio documentation built on Aug. 30, 2026, 1:06 a.m.