Skip to content

Commit 22f9415

Browse files
[Improvement]: Mention that "Linking to code" isn't supported in markdown files (#54134)
1 parent 8ac7339 commit 22f9415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ shortTitle: Permanent links to code
1818

1919
## Linking to code
2020

21-
This type of permanent link will render as a code snippet only in the repository it originated in. In other repositories, the permalink code snippet will render as a URL.
21+
This type of permanent link will render as a code snippet only in the repository it originated in. In other repositories, the permalink code snippet will render as a URL. This does not work in Markdown files, only in comments.
2222

2323
![Screenshot of an issue comment. A code snippet has a header that lists the file name and line numbers, and a body that lists the code on those lines.](/assets/images/help/repository/rendered-code-snippet.png)
2424

0 commit comments

Comments
 (0)