From a62a3e7755579d93ce3a87243dd277575930fffe Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 5 Nov 2018 21:49:16 -0500 Subject: init --- .../content/post/syntax-highlighting.md | 100 +++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 themes/even/exampleSite/content/post/syntax-highlighting.md (limited to 'themes/even/exampleSite/content/post/syntax-highlighting.md') diff --git a/themes/even/exampleSite/content/post/syntax-highlighting.md b/themes/even/exampleSite/content/post/syntax-highlighting.md new file mode 100644 index 0000000..b2f0770 --- /dev/null +++ b/themes/even/exampleSite/content/post/syntax-highlighting.md @@ -0,0 +1,100 @@ +--- +title: "Syntax Highlighting" +date: 2011-08-30T16:01:23+08:00 +lastmod: 2017-08-30T16:01:23+08:00 +draft: false +tags: ["preview", "Syntax Highlighting", "tag-5"] +categories: ["Syntax Highlighting"] + +toc: false + +--- + + +```js +function helloWorld () { + alert("Hello, World!") +} +``` + + + +```java +public class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` + +```kotlin +package hello + +fun main(args: Array) { + println("Hello World!") +} +``` + +```c +#include + +/* Hello */ +int main(void){ + printf("Hello, World!"); + return 0; +} +``` + +```cpp +// 'Hello World!' program + +#include + +int main(){ + std::cout << "Hello World!" << std::endl; + return 0; +} +``` + +```cs +using System; +class HelloWorld{ + public static void Main(){ + System.Console.WriteLine("Hello, World!"); + } +} +``` + +```html + + + Hello, World! + + +``` + +```go +package main +import fmt "fmt" + +func main() +{ + fmt.Printf("Hello, World!\n"); +} +``` + +```scala +object HelloWorld with Application { + Console.println("Hello, World!"); +} +``` + +```php + +``` + +```python +print("Hello, World!") +``` -- cgit v1.2.3