Comments (8)
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.
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.
It's a shame that one has to uglyfy script names with ".sh" just to get syntax coloring in the web viewer...
from gist.
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.
bump. Please guys look into in. It shouldn't be that hard to fix now, should it?
from gist.
+1 for fixing this on the web-interface
from gist.
+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.
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)
- One test failure in Ubuntu on all architectures HOT 4
- Can't establish creds HOT 2
- Feature: Support uploading a complete directory / existing repo with "gist ." or "gist somedir"
- Feature: Limit number of Gists returned with `-l` flag
- Feature: Allow specifying a directory name
- Bug: Gist title and filenames not fetched for some Gists
- texrt
- Feature: Option to show SSH url for cloning a Gist
- For security propose i thin it's better to make private "-p or --private" parameter as default HOT 1
- > Hello @defunkt o/ HOT 4
- Please enable device flow HOT 2
- Terraform plan and strange gibberish at every line start HOT 2
- clipboard interaction issue on windows (has solution)
- > Hello @default
- [feat] avoid unchanged revisions
- Received this error trying to login
- Your token. // Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' }) await octokit.request('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', { owner: 'OWNER', repo: 'REPO', environment_name: 'ENVIRONMENT_NAME', branch_policy_id: 'BRANCH_POLICY_ID', headers: { 'X-GitHub-Api-Version': '2022-11-28' } })
- ![スクリーンショット 2022-04-07 10 04 42](https://user-images.githubusercontent.com/8407272/162099822-637d0cc1-e1d7-495f-a44f-2fc0ab9f5a4f.png) HOT 1
- hdj HOT 1
- he
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gist.