Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | 943886f83e494e5e453f2c38135fa052bdaabe99d14ae6a74b9b073d4c838b66 |
---|---|
Page Name: | Syntax Highlighting Test |
Date: | 2019-09-02 19:00:07 |
Original User: | tangent |
Mimetype: | text/x-markdown |
Content
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";