Function render

Source
#[no_mangle]
pub unsafe fn render(
    errmsg: *mut *const c_char,
    highlights: *const c_char,
    theme: *const c_char,
    renderer: *const c_char,
) -> *const c_char
Expand description

Render code that was previously processed by calling process given the name of a Renderer.

The renderer name is either HTML or Terminal in any casing. To specify a background color for the terminal renderer, append a hex color literal like terminal#282828 or Terminal#fff.

ยงSafety

All parameters must be valid pointers.