render

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MermaidJS []byte

Functions

func File

func File(path string, opts Options) ([]byte, error)

func TempFilePath

func TempFilePath(sourcePath string) (string, error)

Types

type Options

type Options struct {
	WatchMode bool
	Title     string
	Theme     Theme
	Unsafe    bool
}

type Theme

type Theme string
const (
	ThemeDark  Theme = "dark"
	ThemeLight Theme = "light"
)

Jump to

Keyboard shortcuts

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