egui_extras::syntax_highlighting

Function code_view_ui

Source
pub fn code_view_ui(
    ui: &mut Ui,
    theme: &CodeTheme,
    code: &str,
    language: &str,
) -> Response
Expand description

View some code with syntax highlighting and selection.