n3wt0n / GitHubSecrets

Repo used for showing GitHub Secrets, Tips and Tricks
16 stars 24 forks source link

Permalinks to File Snippets #3

Open n3wt0n opened 4 years ago

n3wt0n commented 4 years ago
https://github.com/n3wt0n/GitHubSecrets/blob/143df802c67b70443d4ab4a20b423ae2b0e8833b/sources/GitHubSecretsApp/Program.cs#L14-L20

https://github.com/n3wt0n/GitHubSecrets/blob/143df802c67b70443d4ab4a20b423ae2b0e8833b/sources/GitHubSecretsApp/Program.cs#L14-L20

alexandair commented 4 years ago

You haven't mentioned one little thing:

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.
n3wt0n commented 4 years ago

You haven't mentioned one little thing:

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.

Thanks for pointing this out, you're right. Somehow I've missed that in the video.