Skip to content

Commit

Permalink
Update .changeset/cold-snakes-train.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
matthewp and sarah11918 authored Apr 10, 2024
1 parent 5c463fc commit 538b67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/cold-snakes-train.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function myRehypePre() {
}
```

Note: if using the built-in `<Code>` component, the output of the component being flattened html, the replacement `<pre>` cannot be accessed using `{ tagName: "pre" }`.
Note: The `<pre>` element is not exposed when using Astro's `<Code />` component which outputs flattened HTML.


It also allows to use the `data-language` attribute in css rules:
Expand Down

0 comments on commit 538b67f

Please sign in to comment.