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>
 +
 +
== HANDLEBARS ==
 +
 +
<syntaxhighlight lang="handlebars">
 +
== Hello! ==
 +
Wikimedia MediaWiki.
 +
~~~~
 +
<!-- Nicole Sharp -->
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 112: Line 121:
 
# Nicole Sharp
 
# Nicole Sharp
 
?>
 
?>
 +
</syntaxhighlight>
 +
 +
== ROBOTSTXT ==
 +
 +
<syntaxhighlight lang="robotstxt">
 +
User-agent: *
 +
Disallow: /
 +
# Nicole Sharp
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 126: Line 143:
 
date.timezone=(America/New_York)
 
date.timezone=(America/New_York)
 
; Nicole Sharp
 
; Nicole Sharp
 +
</syntaxhighlight>
 +
 +
== MAXIMA ==
 +
 +
<syntaxhighlight lang="maxima">
 +
"Hello!" /* Nicole Sharp */;
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 145: Line 168:
 
echo "Hello!"
 
echo "Hello!"
 
# Nicole Sharp
 
# Nicole Sharp
 +
</syntaxhighlight>
 +
 +
== DOS ==
 +
 +
<syntaxhighlight lang="dos">
 +
echo "Hello!"
 +
: Nicole Sharp
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 2021-03-28T00:14:11

PRE

Preformatted text.

TEXT

*Hello!*
Plaintext.
---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