prism-gist.css

prism-gist.css

prism-gist.min.css

[kyubuns/prism-theme-gist]

Support Languages

C#

using System;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            // Hello World
            Console.WriteLine("Hello World!");
        }
    }
}

Haxe

class Sample {
  static public function main():Void {
    // Hello World
    trace("Hello World");
  }
}

Shell

#!/bin/bash

sample() {
  # Hello World
  echo "Hello World!"
}

sample

JavaScript

function sample() {
  // Hello World
  console.log('Hello World!');
}

sample();

Ruby

def sample
  # Hello World
  puts "Hello World!"
end

sample()

Swift

func sample() {
    // Hello World
    print("Hello World!")
}

sample()