From 41cf302cfbdb35ee4515f8db96c907be45ccd8da Mon Sep 17 00:00:00 2001
From: Syed Ateeb Naveed <101939797+syed-ateeb-naveed@users.noreply.github.com>
Date: Mon, 23 Sep 2024 12:20:41 +0500
Subject: [PATCH] Update basic-writing-and-formatting-syntax.md
In the heading "Specifying the theme an image is shown to", added a Note to clarify the purpose of the tag and added the code itself to display the picture for illustration.
---
.../basic-writing-and-formatting-syntax.md | 9 +++++++++
1 file changed, 9 insertions(+)
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 a982a49cc630..2a7e75607230 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
@@ -164,6 +164,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.
+
+
+
+
+
+
+
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