MCPcopy
hub / github.com/docker/docker-agent / FastRenderer

Struct FastRenderer

pkg/tui/components/markdown/fast_renderer.go:272–274  ·  view source on GitHub ↗

FastRenderer is a high-performance markdown renderer optimized for terminal output. It directly parses and renders markdown without building an intermediate AST.

Source from the content-addressed store, hash-verified

270// FastRenderer is a high-performance markdown renderer optimized for terminal output.
271// It directly parses and renders markdown without building an intermediate AST.
272type FastRenderer struct {
273 width int
274}
275
276// NewFastRenderer creates a new fast markdown renderer with the given width.
277func NewFastRenderer(width int) *FastRenderer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected