MySQL++

Syntax Highlighting Test
Login

This is a test of the Prism syntax highlighting as set up on this site.

C

#include <stdio.h>

int main(void)
{
    printf("Hello, world!\n");
    return 0;
}

C++

#include <iostream>

int main()
{
    std::cout << "Hello, world!" << std::endl;
}

HTML

<html>
  <head>
     <title>Hello, world!</title>
  </head>
  <body lang="en">
    <h1>Hello, world!</h1>
  </body>
</html>

JavaScript

(function() {
  console.log("Hello, world!");
})();

Makefile

MSG := Hello, world!

all:
	@echo "$(MSG)"

Markdown

# Hello

...world!

Perl

#!/usr/bin/env perl -w
use v5.16;
use strict;

say "Hello, world\n";