MCPcopy Create free account
hub / github.com/gogs/gogs / Markdown

Function Markdown

internal/markup/markdown.go:160–162  ·  view source on GitHub ↗

Markdown takes a string or []byte and renders to HTML in Markdown syntax with special links.

(input any, urlPrefix string, metas map[string]string)

Source from the content-addressed store, hash-verified

158
159// Markdown takes a string or []byte and renders to HTML in Markdown syntax with special links.
160func Markdown(input any, urlPrefix string, metas map[string]string) []byte {
161 return Render(TypeMarkdown, input, urlPrefix, metas)
162}

Callers 10

composeIssueMessageFunction · 0.92
ReleasesFunction · 0.92
renderWikiPageFunction · 0.92
renderDirectoryFunction · 0.92
renderFileFunction · 0.92
viewIssueFunction · 0.92
UpdateIssueContentFunction · 0.92
UpdateCommentContentFunction · 0.92
MilestonesFunction · 0.92
MarkdownFunction · 0.92

Calls 1

RenderFunction · 0.85

Tested by

no test coverage detected