MCPcopy
hub / github.com/cli/cli / WithTheme

Function WithTheme

pkg/markdown/markdown.go:30–32  ·  view source on GitHub ↗
(theme string)

Source from the content-addressed store, hash-verified

28}
29
30func WithTheme(theme string) glamour.TermRendererOption {
31 return ghMarkdown.WithTheme(theme)
32}
33
34func WithBaseURL(u string) glamour.TermRendererOption {
35 return ghMarkdown.WithBaseURL(u)

Callers 15

printHumanViewFunction · 0.92
printHumanCommentFunction · 0.92
renderReleaseTTYFunction · 0.92
renderMarkdownWithFormatFunction · 0.92
printResultsFunction · 0.92
longPagerFunction · 0.92
printHumanIssuePreviewFunction · 0.92
viewRunFunction · 0.92
viewRunFunction · 0.92
renderMarkdownPreviewFunction · 0.92
printHumanPrPreviewFunction · 0.92
formatCommentFunction · 0.92

Calls 1

WithThemeMethod · 0.80

Tested by

no test coverage detected