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

Method RequireHighlightJS

internal/context/context.go:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (c *Context) RequireHighlightJS() {
64 c.Require("HighlightJS")
65}
66
67func (c *Context) RequireSimpleMDE() {
68 c.Require("SimpleMDE")

Callers 4

editFileFunction · 0.80
editFilePostFunction · 0.80
loadWebhookFunction · 0.80
DiffFunction · 0.80

Calls 1

RequireMethod · 0.95

Tested by

no test coverage detected