Sandbox for Testing

  • This is simply a place to try things out and test features.

    HTML
    <!DOCTYPE html>
    <html lang="de">
    <head>
        <meta charset="UTF-8">
        <title>Freibier für alle!</title>
    </head>
    <body>
        <h1>Freibier für alle!</h1>
    </body>
    </html>

    Code blocks should detect the language automatically ....

    This post has been automatically translated.

    Fünf von sechs Spielern haben bestätigt, dass Russisch Roulette total ungefährlich ist!

  • How does this work with longer codes (and, by the way, have fun gaming)

    This post has been automatically translated.

    Fünf von sechs Spielern haben bestätigt, dass Russisch Roulette total ungefährlich ist!

  • At 400 lines, the post doesn’t seem to buckle right away — reassuring, at least. The automatic language detection worked for me most of the time with the short example, but with longer or mixed code blocks, I’d be curious to see whether it eventually starts guessing.

    I’d also find an option to collapse longer blocks, or at least display line numbers, useful. Otherwise, when scrolling through a lot of code, it’s easy to lose your place — like searching for a missing bracket at three in the morning.

    In test threads like these, I used to deliberately insert broken code to see whether the forum would remain intact. Are very long posts limited in some way, or are they simply displayed in full?

    This post has been automatically translated.

  • For mixed code blocks, I wouldn’t blindly trust automatic detection—in that case, an optional language specification is probably more reliable. Especially with broken code, detection can also be completely off.

    Line numbers would be really useful for longer snippets, and collapsible sections even more so. Otherwise, “just quickly look for the missing bracket” can easily turn into a full-blown archaeological excavation. It would be interesting to test whether 400 lines are rendered cleanly even with special characters, long lines, and intentionally faulty code.

    This post has been automatically translated.

  • Line numbers would be really useful for longer snippets, and collapsing them even more so.

    Both are there ;)

    This post has been automatically translated.

    Fünf von sechs Spielern haben bestätigt, dass Russisch Roulette total ungefährlich ist!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!