Syntax Coloring demo

{
    "glossary": {
        "title": "example glossary",
		"GlossDiv": {
            "title": "S",
			"GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
					"SortAs": "SGML",
					"GlossTerm": "Standard Generalized Markup Language",
					"Acronym": "SGML",
					"Abbrev": "ISO 8879:1986",
					"GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
						"GlossSeeAlso": ["GML", "XML"]
                    },
					"GlossSee": "markup"
                }
            }
        }
    }
}
# This is a Python script
# It's designed to print a message to the console

def print_greeting():
    # This function prints a greeting
    message = "Hello, World!"
    print(message)

# We can also print the greeting multiple times
for i in range(3):
    print_greeting()

# End of the script
/*
 * This is a Terraform script
 * It's designed to output a greeting
 */

output "greeting" {
  description = "The greeting to display"
  value       = "Hello, World!"
}

# A second output for good measure
output "another_greeting" {
  description = "Another greeting to display"
  value       = "Hello again, World!"
}

/*
 * End of the script
 */
#!/bin/bash
# This is a bash script
# It's designed to print a message to the console

print_greeting() {
  # This function prints a greeting
  local message="Hello, World!"
  echo $message
}

# We can also print the greeting multiple times
for i in {1..3}
do
   print_greeting
done

# End of the script
/* 
 * This is a Go program
 * It's designed to print a message to the console 
 */
package main

import "fmt"

func main() {
    message := "Hello, World!"
    fmt.Println(message)
    // End of the script
}
<!-- 
  This is a Handlebars template 
  It's designed to generate HTML with a greeting 
-->
<div class="greeting">
  {{#with person}}
    Hello, {{name}}!
  {{/with}}
</div>
<!-- End of the template -->
# This is a PromQL query
# It retrieves some metrics

# Retrieve the up metric
up

# Retrieve the instance_memory_usage_bytes metric
instance_memory_usage_bytes

# Retrieve the rate of the http_requests_total metric over the last 5 minutes
rate(http_requests_total[5m])

# End of the queries
/* 
 * This is a SQL script
 * It's designed to select a greeting message from a table 
 */
CREATE TABLE greetings (message VARCHAR(50));
INSERT INTO greetings VALUES ('Hello, World!');

SELECT message FROM greetings;

DROP TABLE greetings;
-- End of the script
/*
 * This is a JavaScript script
 * It's designed to print a message to the console
 */
let message = "Hello, World!";

for (let i = 0; i < 3; i++) {
    console.log(message);
}

// End of the script