{/* This is the action template. It determines how the formatting actions are rendered. */} {{define "section"}} {{.FormattedNumber}} {{.Title}} {{range .Elem}}{{elem $.Template .}}{{end}} {{end}} {{define "list"}} {{end}} {{define "text"}} {{if .Pre}}
{{range .Lines}}{{.}}{{end}}
{{else}}

{{range $i, $l := .Lines}}{{if $i}}{{template "newline"}} {{end}}{{style $l}}{{end}}

{{end}} {{end}} {{define "code"}}
{{.Text}}
{{end}} {{define "image"}}
{{end}} {{define "video"}}
{{end}} {{define "background"}}
{{end}} {{define "iframe"}} {{end}} {{define "link"}}{{end}} {{define "html"}}{{.HTML}}{{end}} {{define "caption"}}
{{style .Text}}
{{end}}