Comments (2)
I cannot reproduce this.
When I do jist -d "example description" -f file.sh file
, I create a gist with the name of file.sh
and with Shell syntax highlighting. Next, when I initialize a git repository and push file
to reponame
, my gist changes, so its filename becomes file
and Shell syntax highlighting disappears. I get no highlighting at all.
from jist.
@Gen2ly This would be very useful! Unfortunately the ability is not exposed via the API that jist is using (http://developer.github.com/v3/gists/). The auto-detection done by "git push"ing to the remote looks pretty buggy (in your example it's highlighted the file as Perl —search for "language": https://api.github.com/gists/3242078) so I don't really want to make jist use this directly.
If you can think of a reliable way to do it, please do re-open the issue.
from jist.
Related Issues (20)
- Edit before gisting HOT 5
- Join before gisting [Warning: Feature Creep] HOT 2
- Reformat before gisting HOT 2
- defunkt/gist is broken, ConradIrwin/jist is better ∴ this should be a fork. HOT 12
- no README file in the gem HOT 8
- Better browser launching HOT 1
- Subsume all Gist.vim functionality?
- Failed (but present) pbcopy == ugly exception HOT 2
- Launchy? HOT 1
- will support Gist namespace? HOT 2
- How to show what gists I have now? HOT 4
- can't update only meta-data
- Added --copy_js option ... useful to others? HOT 4
- Support binary files HOT 1
- Missing or invalid User Agent string. HOT 2
- gist compatibility
- Support -
- Error: source sequence is illegal/malformed utf-8 HOT 6
- Bump short desc below English desc in -h output
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 jist.