Giter Site home page Giter Site logo

Comments (8)

enaeseth avatar enaeseth commented on August 26, 2024

I think this is actually an issue with Gists themselves, not the tool – whenever you type a filename in the web interface, the language dropdown is replaced with the message "language detected by filename".

from gist.

hraban avatar hraban commented on August 26, 2024

This issue bothers me as well. It would be nice to allow overriding the language of a gist, even in the web interface.

from gist.

melissaboiko avatar melissaboiko commented on August 26, 2024

It's a shame that one has to uglyfy script names with ".sh" just to get syntax coloring in the web viewer...

from gist.

ByScripts avatar ByScripts commented on August 26, 2024

I agree. Any news on this problem? Don't understand why Github don't allow us to bypass this, and choose the language we want.

from gist.

larvanitis avatar larvanitis commented on August 26, 2024

bump. Please guys look into in. It shouldn't be that hard to fix now, should it?

from gist.

zanona avatar zanona commented on August 26, 2024

+1 for fixing this on the web-interface

from gist.

zachharkey avatar zachharkey commented on August 26, 2024

+1 for allowing the user to manually set the language in the web interface. Inferring the language from the filename is great for a default behavior, but it usually butchers configuration files, include files, and many kinds of template files. Changing the filename in order to force the correct syntax coloring just solves one problem by creating another.

from gist.

ConradIrwin avatar ConradIrwin commented on August 26, 2024

After the merge you can use -f foo.rb to override the filename completely.

Unfortunately the API doesn't let you specify a file-type independently of file-extension, so this will have to do for now.

from gist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.