diff options
author | 2021-12-13 10:35:21 -0800 | |
---|---|---|
committer | 2021-12-13 10:35:21 -0800 | |
commit | a4322d0ae36d5e84b6861203a4cf6b5cf458c766 (patch) | |
tree | bd64690adb0473bfa56bd6ce5d246927d3a26ed4 /docs/src | |
parent | d9e65227b2d93f31514a0f0781019187e9a31603 (diff) | |
download | astro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.tar.gz astro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.tar.zst astro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.zip |
Update astro-components.md (#2164)
* Update astro-components.md
I don't get it, HTML entities are supported in JSX.
* Update astro-components.md
* Update astro-components.md
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/pages/core-concepts/astro-components.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/pages/core-concepts/astro-components.md b/docs/src/pages/core-concepts/astro-components.md index 84715de7d..66ca91ec5 100644 --- a/docs/src/pages/core-concepts/astro-components.md +++ b/docs/src/pages/core-concepts/astro-components.md @@ -340,8 +340,8 @@ import TwitterTimeline from '../components/TwitterTimeline.astro'; | Fragments | Automatic top-level, `<>` inside functions | Wrap with `<Fragment>` or `<>` | | Multiple frameworks per-file | Yes | No | | Modifying `<head>` | Just use `<head>` | Per-framework (`<Head>`, `<svelte:head>`, etc) | -| Comment Style | `<!-- HTML -->` | `{/* JavaScript */}` | -| Special Characters | ` ` | `{'\xa0'}` or `{String.fromCharCode(160)}` | +| Comment Style | `<!-- HTML -->` | `{/* JavaScript */} | +| Special Characters | ` ` | ` ` | | Attributes | `dash-case` | `camelCase` | ## URL resolution |