function
RenderHTML
func RenderHTML(
value store.Value,
renderers map[string]func(store.Values) (string, error),
) (string, error)Render portable nodes to escaped HTML, delegating custom node types to caller-owned renderers.
Source plugins/richtext/richtext.go:253
Text and attributes are escaped and unsafe link schemes are rejected. Supply renderers for uploads, relationships, blocks, or any custom node presentation; application HTML remains outside storage.