diff --git a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md index 2824f66dedaa..7920df3b566d 100644 --- a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md +++ b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md @@ -233,6 +233,15 @@ For example, the following code displays a sun image for light themes and a moon {% data reusables.getting-started.picture-element-example %} +> [!NOTE] +> The `` tag serves as a fallback for browsers that do not support the `` element or for scenarios where neither media query matches. + + + + + Shows an illustrated sun in light mode and a moon with stars in dark mode. + + The old method of specifying images based on the theme, by using a fragment appended to the URL (`#gh-dark-mode-only` or `#gh-light-mode-only`), is deprecated and will be removed in favor of the new method described above. ## Lists