Skip to content

Link to a specific gist version in dev.to #3267

@suntong

Description

@suntong

Is your feature request related to a problem? Please describe.

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

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

but it is impossible 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.

Describe the solution you'd like

Fix this line
https://github.com/thepracticaldev/dev.to/blob/master/app/liquid_tags/gist_tag.rb#L64
and allow link to a specific gist version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      close