MarkdownLookFor#
func MarkdownLookFor(theme ui.Theme) MarkdownLookMarkdownLookFor derives a look from a theme.
API 文档由 Go 源码生成,内容为英文。
type MarkdownLook struct {
Text ui.Color // body text, headings and code
Muted ui.Color // quotes, list markers
Link ui.Color
CodeFill ui.Color // behind a fenced block
InlineCodeFill ui.Color // behind code inside a line
Line ui.Color // borders, rules and quote bars
// Code colors the classes of highlighted code, by class; a class left
// transparent is drawn in Text.
Code [MarkdownCodeClasses]ui.Color
Selection ui.Color // behind selected text; transparent paints none
Radius float32 // corners of code blocks and tables
}MarkdownLook colors a MarkdownView.
MarkdownLookFor#func MarkdownLookFor(theme ui.Theme) MarkdownLookMarkdownLookFor derives a look from a theme.