public virtual void Write(RendererBase renderer, IJupyterObject obj)
        {
            var htmlRenderer = (TRenderer)renderer;
            var typedObj     = (TObject)obj;

            // Try processing
            for (var i = 0; i < TryWriters.Count; i++)
            {
                var tryWriter = TryWriters[i];
                if (tryWriter(htmlRenderer, typedObj))
                {
                    return;
                }
            }

            Write(htmlRenderer, typedObj);
        }
 public virtual bool Accept(RendererBase renderer, IJupyterObject obj)
 {
     return(obj is TObject);
 }