render

package
v0.0.0-...-fd1fae7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPNG

func ToPNG(input doc.Document, w io.Writer, opts Options) error

Types

type Options

type Options struct {
	FontSize        float64
	LineHeight      float64
	Padding         int
	ShowLineNumbers bool
	Language        lang.Language
	// contains filtered or unexported fields
}

func (Options) WithLineNumbers

func (o Options) WithLineNumbers(enabled bool) Options

Jump to

Keyboard shortcuts

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