Difference between revisions of "Sandbox:Code"

From NikkiWiki
Jump to navigation Jump to search
Line 25: Line 25:
  
 
<syntaxhighlight lang="handlebars">
 
<syntaxhighlight lang="handlebars">
== Hello! ==
 
Wikimedia MediaWiki.
 
~~~~
 
<!-- Nicole Sharp -->
 
</syntaxhighlight>
 
 
== HTML+HANDLEBARS ==
 
 
<syntaxhighlight lang="html+handlebars">
 
== Hello! ==
 
Wikimedia MediaWiki.
 
~~~~
 
<!-- Nicole Sharp -->
 
</syntaxhighlight>
 
 
== MOIN ==
 
 
<syntaxhighlight lang="moin">
 
 
== Hello! ==
 
== Hello! ==
 
Wikimedia MediaWiki.
 
Wikimedia MediaWiki.
Line 52: Line 34:
  
 
<syntaxhighlight lang="md">
 
<syntaxhighlight lang="md">
== Hello! ==
 
Wikimedia MediaWiki.
 
~~~~
 
<!-- Nicole Sharp -->
 
</syntaxhighlight>
 
 
== TID ==
 
 
<syntaxhighlight lang="tid">
 
 
== Hello! ==
 
== Hello! ==
 
Wikimedia MediaWiki.
 
Wikimedia MediaWiki.
Line 158: Line 131:
  
 
<syntaxhighlight lang="maxima">
 
<syntaxhighlight lang="maxima">
"Hello!" /* Nicole Sharp */;
 
</syntaxhighlight>
 
 
== MUPAD ==
 
 
<syntaxhighlight lang="mupad">
 
 
"Hello!" /* Nicole Sharp */;
 
"Hello!" /* Nicole Sharp */;
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 178: Line 145:
 
echo "Hello!"
 
echo "Hello!"
 
# Nicole Sharp
 
# Nicole Sharp
</syntaxhighlight>
 
 
== DOS ==
 
 
<syntaxhighlight lang="dos">
 
echo "Hello!"
 
: Nicole Sharp
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 192: Line 152:
 
echo "Hello!"
 
echo "Hello!"
 
: Nicole Sharp
 
: Nicole Sharp
</syntaxhighlight>
 
 
== PS1 ==
 
 
<syntaxhighlight lang="ps1">
 
echo "Hello!"
 
# Nicole Sharp
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 2021-03-28T01:39:28

PRE

Preformatted text.

TEXT

*Hello!*
Plaintext.
---Nicole Sharp

MW

== Hello! ==
Wikimedia MediaWiki.
~~~~
<!-- Nicole Sharp -->

HANDLEBARS

== Hello! ==
Wikimedia MediaWiki.
~~~~
<!-- Nicole Sharp -->

MD

== Hello! ==
Wikimedia MediaWiki.
~~~~
<!-- Nicole Sharp -->

HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<h1>Hello!</h1>
<p>Hypertext markup language.</p>
<!-- Nicole Sharp -->
</body>
</html>

TEX

\text{Hello!}
% Nicole Sharp

XML

<?xml version="1.0" encoding="utf-8"?>
<hello>
<text>Extensible markup language.</text>
<!-- Nicole Sharp -->
</hello>

CSS

@charset "utf-8";
.css { color: black; }
#hello { background-color: white; }
/* Nicole Sharp */

JS

document.write("Hello!");
/* Nicole Sharp */

JSON

{
"hello": "Nicole Sharp"
}

PHP

<?php
echo "Hello!";
# Nicole Sharp
?>

ROBOTSTXT

User-agent: *
Disallow: /hello.htm
# Nicole Sharp

APACHE

RewriteEngine On
# Nicole Sharp

INI

date.timezone=(America/New_York)
; Nicole Sharp

MAXIMA

"Hello!" /* Nicole Sharp */;

MMA

"Hello!" * Nicole Sharp *

CONSOLE

echo "Hello!"
# Nicole Sharp

DOSCON

echo "Hello!"
: Nicole Sharp

PS1CON

echo "Hello!"
# Nicole Sharp