Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConvertTypeNotSupported = errors.New("convert: type not supported")
)
Functions ¶
func ConvertMarkdown ¶
func ConvertMarkdown(ct ConvertType, md []byte) ([]byte, error)
func NewMarkdownRenderer ¶
func NewMarkdownRenderer(ct ConvertType) (markdown.Renderer, error)
Types ¶
type ConvertType ¶
type ConvertType string
const ( ConvertTypeHtml ConvertType = "html" ConvertTypeJira ConvertType = "jira" ConvertTypeSlack ConvertType = "slack" )
func (ConvertType) String ¶
func (ct ConvertType) String() string
Click to show internal directories.
Click to hide internal directories.