slidewalk/web/embed.go
2026-07-15 20:14:07 +02:00

20 lines
576 B
Go

// Package web embeds the Go templates and static assets (CSS, vendored JS)
// that internal/render, internal/watch, and internal/export share to
// assemble and serve a slidewalk presentation.
package web
import "embed"
// Templates embeds the Go templates used to assemble the combined slide
// deck page.
//
//go:embed templates
var Templates embed.FS
// Assets embeds the static assets shipped alongside a rendered
// presentation: style.css, chroma.css, and the vendored Mermaid script.
//
//go:embed assets
var Assets embed.FS
//go:generate go run gen_chroma_css.go