Skip to content

Commit a62e1ce

Browse files
jyetheitguyCopilotmchammer01SiaraMist
authored
Update creating-a-permanent-link-to-a-code-snippet.md (#53805)
Co-authored-by: Copilot <[email protected]> Co-authored-by: mc <[email protected]> Co-authored-by: Siara <[email protected]>
1 parent 348f8fe commit a62e1ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ This type of permanent link will render as a code snippet only in the repository
3838

3939
## Linking to Markdown
4040

41-
You can link to specific lines in Markdown files by loading the Markdown file without Markdown rendering. To load a Markdown file without rendering, you can use the `?plain=1` parameter at the end of the url for the file. For example, `github.com/<organization>/<repository>/blob/<branch_name>/README.md?plain=1`.
41+
You can link to specific lines in Markdown files by loading the Markdown file without Markdown rendering. To load a Markdown file without rendering, you can use the `?plain=1` parameter at the end of the URL for the file. For example, `github.com/<organization>/<repository>/blob/<commit_SHA>/README.md?plain=1`.
4242

43-
You can link to a specific line in the Markdown file the same way you can in code. Append `#L` with the line number or numbers at the end of the url. For example, `github.com/<organization>/<repository>/blob/<branch_name>/README.md?plain=1#L14` will highlight line 14 in the plain README.md file.
43+
You can link to a specific line in the Markdown file the same way you can in code. Append `#L` with the line number or numbers at the end of the URL. For example, `github.com/<organization>/<repository>/blob/<commit_SHA>/README.md?plain=1#L14` will highlight line 14 in the plain README.md file.
4444

4545
## Further reading
4646

0 commit comments

Comments
 (0)