pub fn render_template_highlighted(
frame: &mut Frame<'_>,
area: Rect,
text: &str,
scroll_offset: usize,
title: &str,
is_active: bool,
)Expand description
Render template text with format-aware syntax highlighting.
Detects JSON (starts with { or [) and uses JSON highlighting;
everything else uses YAML highlighting.