DEV Community

suntong
suntong

Posted on

How to link to a specific gist version in dev.to

The syntax to link to a specific gist file from dev.to is:

{% gist https://gist.github.com/CristinaSolana/1885435 file=gistfile1.md %}
Enter fullscreen mode Exit fullscreen mode

but how to link to a specific gist version of that file?

I tried to replace the above url with url to that specific version, but got 500 Internal error when publishing it.

Top comments (4)

Collapse
 
suntong profile image
suntong • Edited
`{% gist https://gist.github.com/suntong/3a31faf8129d3d7a380122d5a6d48ff6/f77d01e82defbf736ebf4879a812cf9c916a9252 file=Images.tmpl %}`
Enter fullscreen mode Exit fullscreen mode
Collapse
 
rhymes profile image
rhymes

I don't think you can, the current code does not support it

You should open an issue :)

Collapse
 
suntong profile image
suntong

Thanks everyone for your replies, I've opened an issue at
github.com/thepracticaldev/dev.to/...
as per rhymes  :)

Collapse
 
vguleaev profile image
Vladislav Guleaev

I have the same, prob it is a bug