package blocks func H1(content string) templ.Component { return renderText(1, content) } func H2(content string) templ.Component { return renderText(2, content) } func H3(content string) templ.Component { return renderText(3, content) } func Text(content string) templ.Component { return renderText(0, content) } templ renderText(level int, text string) { switch level { case 1:

{ text }

case 2:

{ text }

case 3:

{ text }

default:

{ text }

} } templ renderLink(attrs templ.Attributes, text string) { { text } } templ renderStrong(attrs templ.Attributes, text string) { { text } } templ renderEmphasis(attrs templ.Attributes, text string) { { text } } templ renderCode(attrs templ.Attributes, text string) { { text } }