类型 MarkdownCode

API 文档由 Go 源码生成,内容为英文。

type MarkdownCode struct {
	Bounds ui.Rect // relative to the origin the document is painted at
	Text   string
}

MarkdownCode is a fenced code block of a laid-out document: where it is, so the application can put a copy button on it, and what it holds.