Showing C# tags in Jekyll Github pages using Highlight.js

Jekyll has highlight tag and css (_sass/_syntax-highlighting.scss) onboard. {% highlight csharp %} /// <summary> /// Main class of the project /// </summary> class Program { /// <summary> /// Main entry point of the program /// </summary> /// <param name=”args”>Command line args</param> static void Main(string[] args) { //Do stuff } } {% endhighlight %} This works … Read more

How to add color to GitHub’s README.md file

One way to add color to a README is by utilising a service that provides placeholder images. For example this Markdown can be used: – ![#f03c15](https://via.placeholder.com/15/f03c15/f03c15.png) `#f03c15` – ![#c5f015](https://via.placeholder.com/15/c5f015/c5f015.png) `#c5f015` – ![#1589F0](https://via.placeholder.com/15/1589F0/1589F0.png) `#1589F0` To create a list of any colors you like: #f03c15 #c5f015 #1589F0

Authenticate with GitHub using a token

Your curl command is entirely wrong. You should be using the following curl -H ‘Authorization: token <MYTOKEN>’ … That aside, that doesn’t authorize your computer to clone the repository if in fact it is private. (Taking a look, however, indicates that it is not.) What you would normally do is the following: git clone https://scuzzlebuzzle:<MYTOKEN>@github.com/scuzzlebuzzle/ol3-1.git … Read more