Syntax highlighting

JSON
{
    "hello": "world",
    "number": 1234567890,
    "array": [null, true, false]
}

JSON
[
    "hello", "world"
]

JavaScript
import {abc as cba} from '../test.js';
const abc = require('../../test.js');
class test {
    constructor () {
        return true
    }
}
console.log('hello world');
console.warn(1 + 1);
alert(false);
const abc = true;
for (i = 1; i <= 4; i++) {
    // do something
};
switch (abc) {
    case true:
        window.location.replace('https://juststudio.is-a.dev/');
        break;
    default:
        document.body.classList.add('a');
        break;
}
/**
 * @param {number} b
 * @returns {number}
 */

function a (b) {
    return b + 1;
}
let c = (d) => {
    return a(d) / 2;
}
var e = (f) => f + f;
if (typeof abc != 'boolean') {
    throw new Error('error');
} else if (.2 != 0.2) {
    console.error('what');
} else {
    try {
        new test();
    } catch (_ee) {
        const fewuhfuiwfuiweifuweiewhfiew = globalThis.localStorage.getItem('KEY');
        console.log(fewuhfuiwfuiweifuweiewhfiew);
    } finally {
        fetch();
    }
}

HTML
<!DOCTYPE html>
<span class="hw" id="abc">Hello World!</span>

CSS
* {
    background-color: black;
}
span {
    color: white;
}
.hw {
    border: 1px solid
#6e3bf3
;
}
#abc {
    -webkit-filter: blur(8em);
}
div:before {
    content: 'hello';
}
:root {
    --color:
#ffffff
;
    @media(max-width: 5px) {
        --color:
#000000
;
    }
}
::-webkit-scrollbar {
    width: 7px;
    height: 7px
}

Bash
#!/bin/bash
echo "Hello World!"

Python
#!/usr/bin/env python3
import time
out = int(time.time() * 1000)
print(out)

Lua
print("hiii")
warn(1 + 1)
local abc = true
while wait(1) do
    -- do something
end

Markdown
# markdown inside markdown

Go
// go

Go
// golang

Golo

Golo

Diff
  text
+ added
- removed

Swipe right to open the menu and swipe left to close it.