# Markdown Example for md2src ``` Hello, text! ``` ```rust fn main() { println!("Hello, Rust!"); } ``` ```rust fn main() { println!("Hello, Rust! Again!"); } ``` ```bash #!/bin/bash STR="Hello, Bash!" echo $STR ``` ```c #include int main(void) { printf("Hello, C!\n"); } ``` ```c #include int main(void) { printf("Hello, C! Again!\n"); // ignore me } ``` ```cpp #include int main() { std::cout << "Hello, C++!\n"; return 0; } ``` ```csharp using System; class Program { static void Main(string[] args) { Console.WriteLine("Hello, C#!"); } } ``` ```ocaml print_endline "Hello, OCaml!";; ``` ```closure (println "Hello, Closure!") ``` ```cobol IDENTIFICATION DIVISION. PROGRAM-ID. hello-world. PROCEDURE DIVISION. DISPLAY "Hello, Cobol!" ``` ```dart main() { print('Hello, Dart!'); } ``` ```erlang -module(hello). -export([hello_world/0]). hello_world() -> io:fwrite("Hello, Erlang!\n"). ``` ```fortran program helloworld print *, "Hello Fortran!" end program helloworld ``` ```go package main import "fmt" func main() { fmt.Println("Hello, Go!") } ``` ```ruby println "Hello, Ruby!" ``` ```java class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello, Java!"); } } ``` ```javascript console.log("Hello, JavaScript!"); ``` ```lisp (print "Hello, Lisp!") ``` ```lua print("Hello World!") ``` ```pascal program HelloWorld(output); begin Write('Hello, Pascal!') end. ``` ```perl print "Hello, Perl!\n"; ``` ```php