Difference between revisions of "Sandbox:Code"

From NikkiWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
Plaintext.
 
Plaintext.
 
---Nicole Sharp
 
---Nicole Sharp
 +
</syntaxhighlight>
 +
 +
== MW ==
 +
 +
<syntaxhighlight lang="mw">
 +
== Hello! ==
 +
Wikimedia MediaWiki.
 +
~~~~
 +
<!-- Nicole Sharp -->
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 2021-03-28T00:17:34

PRE

Preformatted text.

TEXT

*Hello!*
Plaintext.
---Nicole Sharp

MW

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

HANDLEBARS

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

HTML+HANDLEBARS

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

MOIN

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

MD

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

TID

== 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

.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: /
# Nicole Sharp

APACHE

RewriteEngine On
# Nicole Sharp

INI

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

MAXIMA

"Hello!" /* Nicole Sharp */;

MUPAD

"Hello!" /* Nicole Sharp */;

MMA

"Hello!" * Nicole Sharp *

CONSOLE

echo "Hello!"
# Nicole Sharp

DOS

echo "Hello!"
: Nicole Sharp

DOSCON

echo "Hello!"
: Nicole Sharp

PS1

echo "Hello!"
# Nicole Sharp

PS1CON

echo "Hello!"
# Nicole Sharp