Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeBlock ¶
CodeBlock returns a markdown code block.
Note that it expects the code to be a single line if it is used in list entry.
TODO: Add support for multi-line code in list entry.
func FormatSchemaDescription ¶
func InlineCodeBlock ¶
Types ¶
type DescriptionFormatter ¶
type DescriptionFormatter struct {
// contains filtered or unexported fields
}
func NewDescriptionFormatter ¶
func NewDescriptionFormatter() *DescriptionFormatter
func (*DescriptionFormatter) Format ¶
func (f *DescriptionFormatter) Format(description string) string
Click to show internal directories.
Click to hide internal directories.