Comments (5)
As far as I can tell, the first file is chosen (which might not be a markdown file).
This is because the used URL is https://gist.githubusercontent.com/${user}/${id}/raw
rather than an API call. So as a work-around, making sure the desired markdown file is listed first resolves your issue.
The trick I use is naming the first file README.md
and keeping all other filenames lowercase. That way the markdown file is always first.
Besides just markdown, other textual formats are also supported (like HTML and Restructured Text).
This would lead to addition logic being needed if this were to be implemented. For instance, if there are more than one format present in one gist, how would the logic know which one to pick?
Other issues aside, making an API call would allow implementing #43
from gistio.
Weird; when I load this I get a blank page, but the first file in it is markdown.
from gistio.
Aha, <noscript>You need to enable JavaScript to run this app.</noscript>
from gistio.
Actually that doesn't explain it, ublock says it blocked 0 requests on that page, and I don't have any blanket javascript blockers.
from gistio.
Looks like you missed the @
character in your link:
https://gist.io/Daenyth/28243952f1fcfac6e8ef838040e8638e
➡️ https://gist.io/@Daenyth/28243952f1fcfac6e8ef838040e8638e
from gistio.
Related Issues (20)
- Need a new maintainer / someone to help? HOT 18
- iframes in markdown / gists not displaying on gist.io HOT 1
- "Unable to Fetch Gist" for cyrillic filenames HOT 1
- Bookmarklet leads to 404 page HOT 2
- Hungarian accents are not supported by the current web font HOT 1
- not loading if gists filename has an umlaut HOT 2
- Newlines converted to BR tags HOT 3
- Restructured Text not rendering. HOT 2
- This markdown gist doesn't work HOT 1
- Long non-numeric Gist ID's with gist.io HOT 1
- gist.io doesn't seem to work at all? HOT 5
- Gist.io for documents in a full repository? HOT 5
- can't find the page on gist.io HOT 1
- Getting a 404 HOT 8
- no joy - bookmarklet doesn't work "Not Found" HOT 3
- Announcement: gist.io is dead HOT 20
- Switch to using the Github API HOT 2
- Caching too eagerly
- A few things left to format
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 gistio.