diff options
author | Yarden Shoham | 2024-08-19 13:01:33 +0300 |
---|---|---|
committer | GitHub | 2024-08-19 12:01:33 +0200 |
commit | aade77281e640f52c1ee19d9336493d953bacc2c (patch) | |
tree | 79309bacb7b1fd88eb9208b08226269bddfe6bd4 /README.md | |
parent | 033f6ac3c36da0e95882d2e00b8cdd54468d3050 (diff) | |
download | gomponents-aade77281e640f52c1ee19d9336493d953bacc2c.tar.lz gomponents-aade77281e640f52c1ee19d9336493d953bacc2c.tar.zst gomponents-aade77281e640f52c1ee19d9336493d953bacc2c.zip |
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>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md index f525c3b..db6097d 100644 --- a/README.md +++ b/README.md @@ -145,10 +145,11 @@ For more complete examples, see [the examples directory](examples/). ### What's up with the specially named elements and attributes? -Unfortunately, there are five main name clashes in HTML elements and attributes, so they need an `El` or `Attr` suffix, +Unfortunately, there are six main name clashes in HTML elements and attributes, so they need an `El` or `Attr` suffix, to be able to co-exist in the same package in Go. I've chosen one or the other based on what I think is the common usage. In either case, the less-used variant also exists in the codebase: +- `cite` (`CiteEl`/`Cite`, `CiteAttr` also exists) - `data` (`DataEl`/`Data`, `DataAttr` also exists) - `form` (`Form`/`FormAttr`, `FormEl` also exists) - `label` (`Label`/`LabelAttr`, `LabelEl` also exists) |