Documentator Docs
Documentator Docs

Code blocks

You can define code blocks with backtics, these are common markdown markup types.

These are backtics: ```

Whenever you want a small code block on one line, one backtic at the beginning and one backtic at the end of the string is enough. This will look like this: ssh user@127.0.0.1

However when you want to have a bigger code block, you can do tree backtics at the beginning and tree at the end. Make sure that whenever you open, you also type the language you want to define what the language is. If you are using php, then open up like this: ```php, also make sure to close off with 3 backtics.

<?php

echo "Hello word!";
<div class="container"></div>
span {
    color: #FF0000;
}
SELECT id, name
    FROM drivers
WHERE EXISTS
    (SELECT '1'
        FROM fines
    WHERE fines.id = drivers.user_id);