Documentation ¶
Index ¶
Constants ¶
View Source
const Collection = "MarkdownTemplate"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMarkdownHelper ¶
type MarkdownHelper ¶
func NewIMarkdownHelper ¶
func NewIMarkdownHelper(client *mongo.Client, tt *template.TemplateText) *MarkdownHelper
func (*MarkdownHelper) CreateTemplateMarkdown ¶
func (mh *MarkdownHelper) CreateTemplateMarkdown(markdownTemplate *MarkdownTemplate) (*MarkdownTemplate, error)
func (*MarkdownHelper) MarkdownToHtml ¶
func (mh *MarkdownHelper) MarkdownToHtml(input string) string
func (*MarkdownHelper) TemplateMarkdownToHtml ¶
func (mh *MarkdownHelper) TemplateMarkdownToHtml(templateName string, keyValuePair map[string]string) []byte
Click to show internal directories.
Click to hide internal directories.