benchdeck

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package benchdeck generates the decks go-slides is benchmarked on, so that the Go benchmarks and the slidesbench command (go-slides against marp-cli) measure the same input. The decks are deterministic: the same call gives the same bytes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background

func Background() string

Background is a 640×360 gradient PNG as a data: URI.

func Gaia

func Gaia(n int) []byte

Gaia is a deck of n slides in the gaia theme, which asks for web fonts (Lato, Roboto Mono) and uses the lead and invert classes.

func Large

func Large(n int) []byte

Large is a deck of n slides in the default theme that exercises what a real talk has: headings, paragraphs with inline markup, nested lists, fenced code, tables, and a background image given as a data: URI.

func MathCode

func MathCode(n int) []byte

MathCode is a deck of n slides in the default theme with inline and display math, left to each tool's default typesetter (marp-cli's is MathJax, go-slides' go-tex/math), and highlighted code in several languages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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