Documentation ¶
Index ¶
- func CreateHeading3(text string) string
- func CreateHorizontalLine() string
- func CreateLink(title string, url string) string
- func CreateTable(headers []string, rows [][]string) (string, error)
- func CreateTableHeader(headers ...string) string
- func CreateTableRow(elements ...string) string
- func MakeBold(text string) string
- type MarkdownFormatter
- func (markdownFormatter MarkdownFormatter) CreateCodeBlock(title string, content string, language string) string
- func (markdownFormatter MarkdownFormatter) CreateHorizontalLine() string
- func (markdownFormatter MarkdownFormatter) CreateLink(title string, url string) string
- func (markdownFormatter MarkdownFormatter) CreateTable(headers []string, rows [][]string) (string, error)
- func (markdownFormatter MarkdownFormatter) MakeBold(text string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHeading3 ¶
func CreateHorizontalLine ¶
func CreateHorizontalLine() string
func CreateLink ¶
func CreateTableHeader ¶
func CreateTableRow ¶
Types ¶
type MarkdownFormatter ¶
type MarkdownFormatter struct{}
func (MarkdownFormatter) CreateCodeBlock ¶
func (markdownFormatter MarkdownFormatter) CreateCodeBlock(title string, content string, language string) string
func (MarkdownFormatter) CreateHorizontalLine ¶
func (markdownFormatter MarkdownFormatter) CreateHorizontalLine() string
func (MarkdownFormatter) CreateLink ¶
func (markdownFormatter MarkdownFormatter) CreateLink(title string, url string) string
func (MarkdownFormatter) CreateTable ¶
func (markdownFormatter MarkdownFormatter) CreateTable(headers []string, rows [][]string) (string, error)
func (MarkdownFormatter) MakeBold ¶
func (markdownFormatter MarkdownFormatter) MakeBold(text string) string
Click to show internal directories.
Click to hide internal directories.