Documentation ¶
Index ¶
- Variables
- func Convert(githubMD, readMoreURL string) string
- func ConvertHyperlink(content, href string) string
- func ConvertLabels[T *github.Label | github.Label](labelsV []T) string
- func ConvertTeams(teams []*github.Team) string
- func ConvertThreadURL(t *github.PullRequestThread) (url string)
- func ConvertUsers(users []*github.User) string
- func Unescape(src []byte) []byte
- func UnescapeWriter(w io.Writer) io.Writer
- type BasicRenderer
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRenderer renderer.Renderer = &BasicRenderer{}
Functions ¶
func ConvertHyperlink ¶
func ConvertTeams ¶
func ConvertThreadURL ¶
func ConvertThreadURL(t *github.PullRequestThread) (url string)
func ConvertUsers ¶
Types ¶
type BasicRenderer ¶
type BasicRenderer struct{}
BasicRenderer renders the package's ast.Nodes into simple unformatted plain text. It serves as an implementation reference. However, this implementation does not have a state, which is required for Inline and Blockquote.
func (*BasicRenderer) AddOptions ¶
func (r *BasicRenderer) AddOptions(...renderer.Option)
Click to show internal directories.
Click to hide internal directories.