Difference between revisions of "Sandbox:Code"

From NikkiWiki
Jump to navigation Jump to search
(Undo revision 1261 by Nicole Sharp (talk))
Tag: Undo
Line 1: Line 1:
[[User:Nicole Sharp|Nicole Sharp]] ([[User talk:Nicole Sharp|talk]]) 2021-03-29T03:47:21 (EDT)
 
 
 
== PRE ==
 
== PRE ==
  

Revision as of 2021-03-29T11:20:54

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