<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>codeFormatter demo</title>
</head>

<body>
    <div class="content" contenteditable="true">
        <span>
```
            int foo[10] = { 0 };
            // Comments are great.
            for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) {
                foo[index] = index;
            }
```
        </span>
    </div>
    <script src="assets/microlight.js"></script>
    <script src="codeFormatter.js"></script>
    <script src="demo.js"></script>
</body>

</html>

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>codeFormatter demo</title>
</head>

<body>
    <div class="content" contenteditable="true">
        <span>
```
            int foo[10] = { 0 };
            // Comments are great.
            for (int index = 0; index < (sizeof(foo) / sizeof(foo)[0]); index++) {
                foo[index] = index;
            }
```
        </span>
    </div>
    <button>Format this thing!</button>
    <script src="assets/microlight.js"></script>
    <script src="codeFormatter.js"></script>
    <script src="demo.js"></script>
</body>

</html>

Add button to fire formatting.
Add button to fire formatting.