rundown

package
v0.4.0-beta.21 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadErrors

type LoadErrors []error

func (*LoadErrors) Error

func (le *LoadErrors) Error() string

type LoadedDocument

type LoadedDocument struct {
	Filename string
	Document goldast.Node
	Source   []byte
	Goldmark goldmark.Markdown
	Context  *renderer.Context
}

func (*LoadedDocument) GetInvokes

func (doc *LoadedDocument) GetInvokes() []*ast.InvokeBlock

func (*LoadedDocument) GetSections

func (doc *LoadedDocument) GetSections() []*ast.SectionPointer

func (*LoadedDocument) Render

func (d *LoadedDocument) Render(outputStream io.Writer) error

type LoadedDocuments

type LoadedDocuments struct {
	MasterDocument    *LoadedDocument
	ImportedDocuments []*LoadedDocument
	Context           *renderer.Context
}

func Load

func Load(filename string) (*LoadedDocuments, error)

func LoadString

func LoadString(data string, filename string) (*LoadedDocuments, error)

func (*LoadedDocuments) GetSections

func (doc *LoadedDocuments) GetSections() []*Section

type Section

type Section struct {
	Pointer  *ast.SectionPointer
	Document *LoadedDocument
}

Directories

Path Synopsis
rpc
Package renderer renders the given AST to certain formats.
Package renderer renders the given AST to certain formats.
glamour
Package renderer renders the given AST to certain formats.
Package renderer renders the given AST to certain formats.
styles
The styles here are copied from the awesome Glamour library
The styles here are copied from the awesome Glamour library
term/spinner
Package spinner is a simple package to add a spinner / progress indicator to any terminal application.
Package spinner is a simple package to add a spinner / progress indicator to any terminal application.

Jump to

Keyboard shortcuts

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