Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render renders the provided raw image to stdout using the legacy boolean API. A true value restricts decoding to built-in decoders. New callers should use RenderWithMode so auto mode cannot accidentally run a process.
func RenderWithMode ¶ added in v0.28.0
RenderWithMode renders an image using the requested image policy. Unknown and auto modes are deliberately built-in-only. External processes are an explicit opt-in because image responses are untrusted input and adapters have a much larger attack surface than the Go decoders.
func RenderWithModeTo ¶ added in v0.28.0
RenderWithModeTo decodes an image and writes its terminal presentation to dst. Keeping the destination explicit lets Markdown presentation buffer image protocols together with the surrounding document.
Types ¶
This section is empty.