Add `cite` attribute (#192) It can appear in a `<blockquote>`. - Closes https://github.com/maragudk/gomponents/issues/189 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M html/elements.go → html/elements.go
@@ -73,6 +73,11 @@ func Cite(children ...g.Node) g.Node { return g.El("cite", children...) } +// Deprecated: Use [Cite] instead. +func CiteEl(children ...g.Node) g.Node { + return Cite(children...) +} + func Code(children ...g.Node) g.Node { return g.El("code", children...) }