hugo-theme-even/exampleSite/content/post/syntax-highlighting.md
olOwOlo 1bb6eea8a8
feat: allow set something for a single content
* Now, you can open or close toc, copyright, reward and mathjax for a single content.
* Also change the default global settings: autoCollapseToc = true -> false; mathjax = true -> false
2017-12-06 20:34:22 +08:00

1.5 KiB

title date lastmod draft tags categories toc
Syntax Highlighting 2011-08-30T16:01:23+08:00 2017-08-30T16:01:23+08:00 false
preview
Syntax Highlighting
tag-5
Syntax Highlighting
false
function helloWorld () {
  alert("Hello, World!")
}
public class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello, World!");
  }
}
package hello

fun main(args: Array<String>) {
  println("Hello World!")
}
#include <stdio.h>

/* Hello */
int main(void){
  printf("Hello, World!");
  return 0;
}
// 'Hello World!' program 
 
#include <iostream>
 
int main(){
  std::cout << "Hello World!" << std::endl;
  return 0;
}
using System;
class HelloWorld{
  public static void Main(){ 
    System.Console.WriteLine("Hello, World!");
  }
}
<html>
<body>
  Hello, World!
</body>
</html>
package main
import fmt "fmt"

func main() 
{
   fmt.Printf("Hello, World!\n");
}
object HelloWorld with Application {
  Console.println("Hello, World!");
}
<?php
  echo 'Hello, World!';
?>
print("Hello, World!")