Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceAllRSTRoles ¶
func ReplaceAllRSTRoles(str string, repl func(Rst_format_match) string) string
func Text_and_target ¶
Types ¶
type Context ¶
type Context struct {
Cyan, Green, Blue, Magenta, Red, BrightRed, Yellow, Italic, Bold, Dim, Title, Exe, Opt, Emph, Err, Code func(args ...interface{}) string
Url func(string, string) string
// contains filtered or unexported fields
}
func (*Context) EscapeCodesAllowed ¶
func (*Context) SetAllowEscapeCodes ¶
type Rst_format_match ¶
type Rst_format_match struct {
Role, Payload string
}
Click to show internal directories.
Click to hide internal directories.