Skip to main content

render_yaml_highlighted

Function render_yaml_highlighted 

Source
pub fn render_yaml_highlighted(
    frame: &mut Frame<'_>,
    area: Rect,
    yaml_text: &str,
    scroll_offset: usize,
    title: &str,
    is_active: bool,
)
Expand description

Render text with YAML syntax highlighting, line numbers, and scrollbar.