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

Function OrgMode

internal/markup/orgmode.go:34–36  ·  view source on GitHub ↗

OrgMode takes a string or []byte and renders to HTML in Org-mode syntax with special links.

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

Source from the content-addressed store, hash-verified

32
33// OrgMode takes a string or []byte and renders to HTML in Org-mode syntax with special links.
34func OrgMode(input any, urlPrefix string, metas map[string]string) []byte {
35 return Render(TypeOrgMode, input, urlPrefix, metas)
36}

Callers 2

renderDirectoryFunction · 0.92
renderFileFunction · 0.92

Calls 1

RenderFunction · 0.85

Tested by

no test coverage detected