Comments (10)
Thanks @forkbabu i'll see what i can do :D
from github-readme-stats.
Ohh, I see, definitely tricky... Didn't think about that... maybe just show the title and description and star count?
Even if you could highlight the code, you wouldn't want to show the full gist. I would imagine as it would take a lot of space.
from github-readme-stats.
Ohh, I see, definitely tricky... Didn't think about that... maybe just show the title and description and star count?
Even if you could highlight the code, you wouldn't want to show the full gist. I would imagine as it would take a lot of space.
Github Gist's doesn't have a title, it only has a Description(optional field), and Files(1 or multiple files) in same gist and gist URL (uniquely generated ID) and star can be counted.
Opt-1:
The project has to use unique ID (randomly generated by Github for Gists) instead of title, since description is optional.
Opt-2:
Let user enter the Gist title in the URL of the API /api?gist_title=Sample-for-Hello-world&...
.
Opt-3:
Let the user decide to use Unique ID of Gist as title OR enter title in the URL of the API.
from github-readme-stats.
That would be a cool addition :)
from github-readme-stats.
@nombrekeff yup, although i don't know how do i handle the syntax highlighting because github-readme-stat returns SVG images and it has to be static. so i think i might have to write a whole syntax highlighter for svg elements..
also SVG texts are not really optimal in terms of alignment, it's a real pain to get things where we want.
from github-readme-stats.
yes true... maybe i can just show the gists stats
from github-readme-stats.
I haven't looked at the source code yet, but I will be taking a look at it this evening and will try and help you out a bit with this.
from github-readme-stats.
Sound good to me :D
from github-readme-stats.
yup, although i don't know how do i handle the syntax highlighting because github-readme-stat returns SVG images and it has to be static. so i think i might have to write a whole syntax highlighter for svg elements..
also SVG texts are not really optimal in terms of alignment, it's a real pain to get things where we want.
The only solution I have is to use <foriegnObject>
and Prism (which can be used backend I think). IMO the pinned gist card should look like a github pinned gist, so it should have a preview of the code...
from github-readme-stats.
I've decided that we won't include this feature even if it's possible since github-readme-stats is focused toward showing statistics and not the gist's contents, so it would be rather nice if we could do something like "Github Gist Stats" Which would show stats of total gists and stars on the gists but this gists card we won't include at the moment.
Feel free to open another issue for further discussions.
from github-readme-stats.
Related Issues (20)
- Different shell color in `Wakatime Stats` and `GitHub Most Used Language`.
- `Most Used Lang` Showing Wrong Output
- Add an option to display byte count for Top-languages HOT 7
- The submission of private warehouses cannot be calculated HOT 2
- Could not resolve to a User with the login of 'gungunsaluja'. HOT 1
- Discrepancy in Total Commits Count for 2024 HOT 1
- Wakatime leaderboards stats HOT 3
- Top Languages Card having issues with picture and source elements for light and dark mode
- Revisiting gist langs
- Commit Count Inaccuracies for Authored and Committed Commits in GitHub Profile Stats
- Private Repository HOT 2
- Inaccurate streak count HOT 4
- Top Langs error (theme=react)
- Streak only tracks to January 1st HOT 2
- Option to include a category for repos without a recognized language on languages card
- GitHub Infer Colourscheme
- Align HOT 3
- Width BUG HOT 4
- Bug in Calculating the Top Langs HOT 1
- Github readme-stats takes too long to update
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 github-readme-stats.