# Testing code tags. Please ignore

**URL:** https://forum.kirupa.com/t/testing-code-tags-please-ignore/326390
**Category:** Uncategorized
**Created:** [December 11, 2011, 11:28am UTC](https://forum.kirupa.com/t/testing-code-tags-please-ignore/326390 "2011-12-11T11:28:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kadaj](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kadaj/32/9061_2.png) [@kadaj](https://forum.kirupa.com/u/kadaj)
#### Post date: [December 11, 2011, 11:28am UTC](https://forum.kirupa.com/t/testing-code-tags-please-ignore/326390/1 "2011-12-11T11:28:52Z")

</div>

Testing code tags.  
Some description text. Default code below:  
View after installing [this chrome extension](https://github.com/kadaj/kF-beautify/blob/master/bin/kF-beautify.crx).

```auto

print "hello"

```

```auto

//ActionScript 3
import as3.classes.i.forgot.*;

public class Example extends Universe {

    public function Example() {
        super();
    }

    private function secret():void {
        // ..blah
    }
}

```

```auto

//javascript
var a, b;
var sum = function(a , b) {
    return a + b;
};

```

```auto

/* css */
#something {
    padding-left: 1em;
    margin: .5em .5em .5em .5em;
}

.foo {
    display: block;
    margin: auto;
    font-weight: normal;
}

```

```auto

<!DOCTYPE html>
<html>
<head>
</head>
<body>
    <header>Some Header</header>
    <canvas id="myCanvas"/>
    <video id="myVideo"/>
    <footer>Some Footer</footer>
</body>
</html>

```

```auto

#!/usr/bin/python2.4

def fib():
  '''
  a generator that produces the elements of the fibonacci series
  '''

  a = 1
  b = 1
  while True:
    a, b = a + b, a
    yield a

def nth(series, n):
  '''
  returns the nth element of a series,
  consuming the earlier elements of the series
  '''

  for x in series:
    n = n - 1
    if n <= 0: return x

print nth(fib(), 10)

```

```auto

/* SQL
 * A multi-line
 * comment */
'Another string /* Isn\'t a comment',
"A string */"
-- A line comment
SELECT * FROM users WHERE id IN (1, 2.0, +30e-1);
-- keywords are case-insensitive.
-- Note: user-table is a single identifier, not a pair of keywords

```

```auto

<!DOCTYPE series PUBLIC "fibonacci numbers">

<series.root base="1" step="s(n-2) + s(n-1)">
  <element i="0">1</element>
  <element i="1">1</element>
  <element i="2">2</element>
  <element i="3">3</element>
  <element i="4">5</element>
  <element i="5">8</element>
  ...
</series.root>

```

```auto

%YAML 1.1
---
!!map {
  ? !!str ""
  : !!str "value",
  ? !!str "explicit key"
  : !!str "value",
  ? !!str "simple key"
  : !!str "value",
  ? !!seq [
    !!str "collection",
    !!str "simple",
    !!str "key"
  ]
  : !!str "value"
}

```

Phew !!!
