Difference between revisions of "Sandbox:Code"

From NikkiWiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== MOIN ==
+
== MW ==
  
<syntaxhighlight lang="moin">
+
<syntaxhighlight lang="mw">
 +
== Hello! ==
 +
Wikimedia MediaWiki.
 +
~~~~
 +
<!-- Nicole Sharp -->
 +
</syntaxhighlight>
 +
 
 +
== HANDLEBARS ==
 +
 
 +
<syntaxhighlight lang="handlebars">
 +
== Hello! ==
 +
Wikimedia MediaWiki.
 +
~~~~
 +
<!-- Nicole Sharp -->
 +
</syntaxhighlight>
 +
 
 +
== MD ==
 +
 
 +
<syntaxhighlight lang="md">
 
== Hello! ==
 
== Hello! ==
 
Wikimedia MediaWiki.
 
Wikimedia MediaWiki.
Line 46: Line 64:
 
<!-- Nicole Sharp -->
 
<!-- Nicole Sharp -->
 
</hello>
 
</hello>
 +
</syntaxhighlight>
 +
 +
== TEX ==
 +
 +
<syntaxhighlight lang="tex">
 +
\text{Hello!}
 +
% Nicole Sharp
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== CSS ==
 
== CSS ==
  
<syntaxhighlight lang="css" line="line">
+
<syntaxhighlight lang="css">
 +
@charset "utf-8";
 
.css { color: black; }
 
.css { color: black; }
 
#hello { background-color: white; }
 
#hello { background-color: white; }
Line 58: Line 84:
 
== JS ==
 
== JS ==
  
<syntaxhighlight lang="js" line="line">
+
<syntaxhighlight lang="js">
 
document.write("Hello!");
 
document.write("Hello!");
 
/* Nicole Sharp */
 
/* Nicole Sharp */
 +
</syntaxhighlight>
 +
 +
== JSON ==
 +
 +
<syntaxhighlight lang="json">
 +
{
 +
"hello": "Nicole Sharp"
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 70: Line 104:
 
# Nicole Sharp
 
# Nicole Sharp
 
?>
 
?>
 +
</syntaxhighlight>
 +
 +
== ROBOTSTXT ==
 +
 +
<syntaxhighlight lang="robotstxt">
 +
User-agent: *
 +
Disallow: /hello.htm
 +
# Nicole Sharp
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== APACHE ==
 
== APACHE ==
  
<syntaxhighlight lang="apache" line="line">
+
<syntaxhighlight lang="apache">
 
RewriteEngine On
 
RewriteEngine On
 
# Nicole Sharp
 
# Nicole Sharp
 +
</syntaxhighlight>
 +
 +
== INI ==
 +
 +
<syntaxhighlight lang="ini">
 +
date.timezone=(America/New_York)
 +
; Nicole Sharp
 +
</syntaxhighlight>
 +
 +
== MAXIMA ==
 +
 +
<syntaxhighlight lang="maxima">
 +
"Hello!" /* Nicole Sharp */;
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== MMA ==
 
== MMA ==
  
<syntaxhighlight lang="mma" line="line">
+
<syntaxhighlight lang="mma">
"Hello!" $
+
"Hello!" * Nicole Sharp *
/* Nicole Sharp */ $
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== CONSOLE ==
 
== CONSOLE ==
  
<syntaxhighlight lang="console" line="line">
+
<syntaxhighlight lang="console">
 
echo "Hello!"
 
echo "Hello!"
 
# Nicole Sharp
 
# Nicole Sharp
Line 95: Line 149:
 
== DOSCON ==
 
== DOSCON ==
  
<syntaxhighlight lang="doscon" line="line">
+
<syntaxhighlight lang="doscon">
 
echo "Hello!"
 
echo "Hello!"
 
: Nicole Sharp
 
: Nicole Sharp
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== POSH ==
+
== PS1CON ==
  
<syntaxhighlight lang="posh" line="line">
+
<syntaxhighlight lang="ps1con">
 
echo "Hello!"
 
echo "Hello!"
 
# Nicole Sharp
 
# Nicole Sharp

Latest revision as of 2021-03-30T02:41:41

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>

XML

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

TEX

\text{Hello!}
% Nicole Sharp

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