Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/docker-agent
/ Render
Method
Render
pkg/tui/components/markdown/renderer.go:5–5 ·
view source on GitHub ↗
(input string)
Source
from the content-addressed store, hash-verified
3
// Renderer is an interface for markdown renderers.
4
type
Renderer
interface
{
5
Render(input string) (string, error)
6
}
7
8
// NewRenderer creates a new markdown renderer with the given width.
Callers
15
TestFastRendererRendererInterface
Function · 0.95
renderLeanWorkingIndicator
Method · 0.65
renderResizeHandle
Method · 0.65
View
Method · 0.65
renderCollapsedSidebar
Method · 0.65
View
Method · 0.65
renderSidebarHandle
Method · 0.65
View
Method · 0.65
BenchmarkGlamourRenderer
Function · 0.65
BenchmarkGlamourRendererSmall
Function · 0.65
BenchmarkGlamourRendererCodeBlock
Function · 0.65
BenchmarkGlamourRendererTable
Function · 0.65
Implementers
5
IncrementalRenderer
pkg/tui/components/markdown/incrementa
FastRenderer
pkg/tui/components/markdown/fast_rende
Transcript
pkg/tui/components/transcript/transcri
messageModel
pkg/tui/components/message/message.go
SidebarComponent
pkg/tui/components/tool/todotool/sideb
Calls
no outgoing calls
Tested by
15
TestFastRendererRendererInterface
Function · 0.76
BenchmarkGlamourRenderer
Function · 0.52
BenchmarkGlamourRendererSmall
Function · 0.52
BenchmarkGlamourRendererCodeBlock
Function · 0.52
BenchmarkGlamourRendererTable
Function · 0.52
BenchmarkGlamourRendererTableWidth20
Function · 0.52
BenchmarkGlamourRendererTableWidth200
Function · 0.52
BenchmarkStreamingGlamourRenderer
Function · 0.52
TestAppendAndRender
Function · 0.52
TestAppendToLastMessageStreamsIntoSameMessage
Function · 0.52
TestConsecutiveToolCallsGroupTightly
Function · 0.52
TestRebuildPreservesContent
Function · 0.52