Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
@gitstupid Thank you for updating me!
Actually, the local copy of the cheat repository should update automatically by cheat.sh;
I've updated the cheat repository manually (but the
Apologies for resurrecting a dead ticket here.
FYI, I just released a new version of cheat moments ago (a re-write entirely in Go), which externalized the cheatsheets from the
Fortunately, it shouldn't be necessary at this point. The cheatsheets are now hosted in their own repository here:
You are, of course, welcome to use them!
@chubin - oh, good point. I didn't think about that.
Some of the cheatsheets now have a "front-matter" header, which can be used to specify which syntax the sheets contain. (This is used for syntax-highlighting purposes.) The front-matter can also associate tags with a sheet.
Here's an example of a sheet with front-matter:
Here's some background on the front-matter concept in general, if you're unfamiliar with it:
So: the cheats are still plaintext, but some may display front-matter if you don't parse it out. The front-matter should be relatively straightforward to parse out, though, if you don't want it.
Sorry if I've created a headache for you!
FWIW, I also created a
How much complexity do these changes add on your end? Just shout if I can help somehow.
@chrisallenlane Actually, it should not be too much work on my side; and the front-matter concept seems to be really cool thing indeed! I was not aware of it, so I used external files instead, and that annoyed me. For the beginning, I will simply cut it out,but in future it would be great use its data, such as