svgrender

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package svgrender converts SVG to bounded PNG previews with optional CLIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

func New

func New() *Renderer

New discovers converters in priority order. No executable is installed.

func (*Renderer) Render

func (r *Renderer) Render(ctx context.Context, source []byte) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL