MCPcopy
hub / github.com/golang/tools / Section

Struct Section

present/parse.go:106–114  ·  view source on GitHub ↗

Section represents a section of a document (such as a presentation slide) comprising a title and a list of elements.

Source from the content-addressed store, hash-verified

104// Section represents a section of a document (such as a presentation slide)
105// comprising a title and a list of elements.
106type Section struct {
107 Number []int
108 Title string
109 ID string // HTML anchor ID
110 Elem []Elem
111 Notes []string
112 Classes []string
113 Styles []string
114}
115
116// HTMLAttributes for the section
117func (s Section) HTMLAttributes() template.HTMLAttr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected