Skip to content

Commit 72966f7

Browse files
authored
Minor tidy ups
1 parent 66b7b97 commit 72966f7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

content/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,25 +109,26 @@ You can display an image starting by adding `!` and wrapping the alt text in`[ ]
109109

110110
![Image by the user]()
111111

112-
{% data variables.product.product_name %} supports embedding images into your issues, pull requests{% ifversion fpt %}, discussions{% endif %}, comments and `.md` files. You can either add an image to your repository, add a link to an image or upload an image. For more information, see "[Uploading assets](#uploading-assets)."
112+
{% data variables.product.product_name %} supports embedding images into your issues, pull requests{% ifversion fpt %}, discussions{% endif %}, comments and `.md` files. You can add an image to your repository, add a link to an image, or upload an image. For more information, see "[Uploading assets](#uploading-assets)."
113113

114114
{% tip %}
115115

116116
**Tip:** When you want to link a image which is in your repository, it is recommended that you use relative links instead of absolute links.
117117

118118
When linking an image from a different repository,
119-
obtain raw link of the image from **Download** page of the image.
119+
obtain the raw link of the image from the **Download** page for the image.
120120

121121
{% endtip %}
122122

123-
Example : If you want to use an image that is in the docs repository, you can use the relative link to display the image in a `.md` file in the same repository. If you want to link an image in an issue, pull request or a comment, use the raw link obtained from **Download** on the image page. You can use the same method for linking an image in an `.md` file from a different repository.
123+
For example, if you want to use an image that is in the same repository as your `.md` file, you can use a relative link for the image in a `.md` file. If you want to link an image in an issue, pull request, or a comment, use the raw link obtained from **Download** on the image page. You can use the same method for linking an image in an `.md` file from a different repository.
124124

125-
| Context | Relative Link |
125+
| Context | Relative link |
126126
| ------ | -------- |
127127
| In a `.md` file on the same branch | `/assets/images/electrocat.png` |
128-
| In a `.md` file on another branch | `/../docs/assets/images/electrocat.png` |
129-
| In Issues,Pull Requests & comments of the repository | `(https://raw.githubusercontent.com/github/docs/main/assets/images/electrocat.png)` |
130-
| In `.md` file on another repository | `https://raw.githubusercontent.com/github/docs/main/assets/images/electrocat.png` |
128+
| In a `.md` file on another branch | `/../main/assets/images/electrocat.png` |
129+
| In issues, pull requests and comments in any repository | `https://raw.githubusercontent.com/github/docs/main/assets/images/electrocat.png` |
130+
| In a `.md` file in another repository | `https://raw.githubusercontent.com/github/docs/main/assets/images/electrocat.png` |
131+
131132
For more information see "[Relative Links](#relative-links)."
132133

133134
## Lists

0 commit comments

Comments
 (0)