marp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package marp provides a Marp markdown renderer for PRD documents. Marp is a presentation ecosystem that converts Markdown to slides. See https://marp.app/ for more information.

Package marp provides a Marp markdown renderer for PRD documents. This file contains the PRD+Goals combined renderer that includes V2MOM and OKR alignment slides.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PRDGoalsRenderer

type PRDGoalsRenderer struct{}

PRDGoalsRenderer renders PRD documents with expanded goals alignment slides.

func NewPRDGoalsRenderer

func NewPRDGoalsRenderer() *PRDGoalsRenderer

NewPRDGoalsRenderer creates a new PRD+Goals Marp renderer.

func (*PRDGoalsRenderer) FileExtension

func (r *PRDGoalsRenderer) FileExtension() string

FileExtension returns the file extension for Marp output.

func (*PRDGoalsRenderer) Format

func (r *PRDGoalsRenderer) Format() string

Format returns the output format name.

func (*PRDGoalsRenderer) Render

func (r *PRDGoalsRenderer) Render(doc *prd.Document, opts *render.Options) ([]byte, error)

Render converts a PRD with embedded Goals to Marp markdown slides.

type PRDRenderer

type PRDRenderer struct{}

PRDRenderer implements the render.Renderer interface for PRD Marp output.

func NewPRDRenderer

func NewPRDRenderer() *PRDRenderer

NewPRDRenderer creates a new PRD Marp renderer.

func (*PRDRenderer) FileExtension

func (r *PRDRenderer) FileExtension() string

FileExtension returns the file extension for Marp output.

func (*PRDRenderer) Format

func (r *PRDRenderer) Format() string

Format returns the output format name.

func (*PRDRenderer) Render

func (r *PRDRenderer) Render(doc *prd.Document, opts *render.Options) ([]byte, error)

Render converts a PRD to Marp markdown slides.

Jump to

Keyboard shortcuts

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