pub fn diagnostic_block_renderer(
    diagnostic: Diagnostic,
    is_valid: bool
) -> RenderBlock